src/views/screen/components/screen-examine/components/video-chart.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/system/data-manage/data-detail/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/screen/components/screen-examine/components/video-chart.vue
@@ -55,7 +55,7 @@ // "keyCommandImageOnline": 96.41, //月运行率 // "operatingRate": 96.07 //重点指挥图像在线率 this.dataList = []; let item = { value: 0, name: "", id: 0, routerUrl: "" } item.value = this.videoList.platformOnline item.name = "平台在线率" @@ -141,69 +141,18 @@ this.dataList.push(item11) let item12 = { value: 0, name: "", id: 0, routerUrl: "" } item12.value = this.videoList.keyCommandImageInspection item12.name = "重点指挥图像巡检结果" item12.value = this.videoList.keyCommandImageOnline item12.name = "重点指挥图像在线率" item12.id = 13 item12.routerUrl = "" this.dataList.push(item12) let item13 = { value: 0, name: "", id: 0, routerUrl: "" } item13.value = this.videoList.keyCommandImageDirectoryTree item13.name = "重点指挥图像目录树" item13.value = this.videoList.imageResourceSecurity item13.name = "图像资源安全管理" item13.id = 14 item13.routerUrl = "" this.dataList.push(item13) let item14 = { value: 0, name: "", id: 0, routerUrl: "" } item14.value = this.videoList.onlineInspectionPlatform item14.name = "平台部署及运行率" item14.id = 15 item14.routerUrl = "" this.dataList.push(item14) let item15 = { value: 0, name: "", id: 0, routerUrl: "" } item15.value = this.videoList.videoTransmissionAssetsAccuracy item15.name = "资产准确率" item15.id = 16 item15.routerUrl = "" this.dataList.push(item15) let item16 = { value: 0, name: "", id: 0, routerUrl: "" } item16.value = this.videoList.videoTransmissionAssetsWeakPasswordScore item16.name = "资产弱口令得分比率" item16.id = 17 item16.routerUrl = "" this.dataList.push(item16) let item17 = { value: 0, name: "", id: 0, routerUrl: "" } item17.value = this.videoList.videoTransmissionDangerousAssetsScore item17.name = "危险资产得分比重" item17.id = 18 item17.routerUrl = "" this.dataList.push(item17) let item18 = { value: 0, name: "", id: 0, routerUrl: "" } item18.value = this.videoList.videoTransmissionBoundaryIntegrityDetection item18.name = "边界完整性检测扣分项" item18.id = 19 item18.routerUrl = "" this.dataList.push(item18) let item19 = { value: 0, name: "", id: 0, routerUrl: "" } item19.value = this.videoList.keyCommandImageOnline item19.name = "月运行率" item19.id = 20 item19.routerUrl = "" this.dataList.push(item19) let item20 = { value: 0, name: "", id: 0, routerUrl: "" } item20.value = this.videoList.operatingRate item20.name = "重点指挥图像在线率" item20.id = 21 item20.routerUrl = "" this.dataList.push(item20) }, } }; src/views/system/data-manage/data-detail/index.vue
@@ -36,22 +36,26 @@ </el-form-item> </el-form> <el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8" v-show = "index === 'platform_online'"> <!-- <el-col :span="1.5">--> <!-- <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"--> <!-- v-hasPermi="['platform:platform:add']">新增</el-button>--> <!-- </el-col>--> <!-- <el-col :span="1.5">--> <!-- <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"--> <!-- v-hasPermi="['platform:platform:edit']">修改</el-button>--> <!-- </el-col>--> <!-- <el-col :span="1.5">--> <!-- <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"--> <!-- v-hasPermi="['platform:platform:remove']">删除</el-button>--> <!-- </el-col>--> <!-- <el-col :span="1.5">--> <!-- <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"--> <!-- v-hasPermi="['platform:platform:export']">导出</el-button>--> <!-- </el-col>--> <el-col :span="1.5"> <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" v-hasPermi="['platform:platform:add']">新增</el-button> </el-col> <el-col :span="1.5"> <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" v-hasPermi="['platform:platform:edit']">修改</el-button> </el-col> <el-col :span="1.5"> <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" v-hasPermi="['platform:platform:remove']">删除</el-button> </el-col> <el-col :span="1.5"> <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" v-hasPermi="['platform:platform:export']">导出</el-button> <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" v-hasPermi="['platform:platform:export']">导入</el-button> </el-col> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> @@ -150,7 +154,8 @@ ], }, tableHead: [], cardList: [] cardList: [], index: null }; }, beforeRouteEnter(to, from, next) { @@ -158,11 +163,12 @@ next(); }, created() { this.index =this.$route.query.index; if (this.$route.query.type === '1') { let data = videoData.table.filter(item => item.index === this.$route.query.index)[0] this.tableHead = data.columns; this.cardList = data.card; }; } if (this.$route.query.type === '2') { let data = carData.table.filter(item => item.index === this.$route.query.index)[0] this.tableHead = data.columns;