|
|
@@ -39,7 +39,7 @@
|
|
|
placeholder="请选择状态"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="dict in dict.type.VideoIntegrityState"
|
|
|
+ v-for="dict in dict.type.video_integrity_state"
|
|
|
:key="dict.value"
|
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
|
@@ -53,7 +53,7 @@
|
|
|
placeholder="请选择状态"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="dict in dict.type.VideoDaysState"
|
|
|
+ v-for="dict in dict.type.video_days_state"
|
|
|
:key="dict.value"
|
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
|
@@ -67,7 +67,7 @@
|
|
|
placeholder="请选择状态"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="dict in dict.type.VideoDiagnosisState"
|
|
|
+ v-for="dict in dict.type.video_diagnosis_state"
|
|
|
:key="dict.value"
|
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
|
@@ -155,10 +155,10 @@
|
|
|
label="实际/计划存储(天)"
|
|
|
prop="planDays"
|
|
|
>
|
|
|
- <template slot="r">
|
|
|
- {{r.row.realDays}}/{{r.row.planDays}}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ <template slot="r">
|
|
|
+ {{ r.row.realDays }}/{{ r.row.planDays }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
label="无视频信号"
|
|
|
@@ -176,7 +176,9 @@
|
|
|
></el-table-column>
|
|
|
<el-table-column label="操作" align="center" width="120">
|
|
|
<template slot-scope="r">
|
|
|
- <el-button type="text" @click="openDetail(r.row.hostCode,r.row.channelC)"
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click="openDetail(r.row.hostCode, r.row.channelC)"
|
|
|
>详情</el-button
|
|
|
>
|
|
|
</template>
|
|
|
@@ -192,7 +194,13 @@
|
|
|
/>
|
|
|
</div>
|
|
|
<!--详情页面-->
|
|
|
- <detail ref="DialogDetail" @success="refresh(true)"></detail>
|
|
|
+ <detail
|
|
|
+ ref="DialogDetail"
|
|
|
+ @success="refresh(true)"
|
|
|
+ :videoDaysState="dict.type.video_integrity_state"
|
|
|
+ :videoDiagnosisState="dict.type.video_diagnosis_state"
|
|
|
+ :videoIntegrityState="dict.type.video_diagnosis_state"
|
|
|
+ ></detail>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -200,10 +208,10 @@
|
|
|
import OrgTree from "@/components/orgTree/orgQuerySelector.vue";
|
|
|
import dayjs from "dayjs";
|
|
|
import detail from "./detail.vue";
|
|
|
-import {list} from "@/api/iot/videoDiagnosis.js"
|
|
|
+import { list } from "@/api/iot/videoDiagnosis.js";
|
|
|
export default {
|
|
|
components: { detail, OrgTree },
|
|
|
- dicts: ["VideoIntegrityState","VideoDaysState","VideoDiagnosisState"],
|
|
|
+ dicts: ["video_integrity_state", "video_days_state", "video_diagnosis_state"],
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -219,10 +227,10 @@ export default {
|
|
|
hostName: null,
|
|
|
channelName: null,
|
|
|
integrityState: null,
|
|
|
- daysState:null,
|
|
|
- diagnosisState:null,
|
|
|
+ daysState: null,
|
|
|
+ diagnosisState: null,
|
|
|
orgId: this.$store.getters.orgId,
|
|
|
- checkSub:false,
|
|
|
+ checkSub: false,
|
|
|
},
|
|
|
dataList: [],
|
|
|
};
|
|
|
@@ -232,8 +240,8 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
dayjs,
|
|
|
- openDetail(hostCode,channelCode) {
|
|
|
- this.$refs.DialogDetail.show(hostCode,channelCode);
|
|
|
+ openDetail(hostCode, channelCode) {
|
|
|
+ this.$refs.DialogDetail.show(hostCode, channelCode);
|
|
|
},
|
|
|
getDefaultKey(key) {
|
|
|
this.queryParams.orgId = key;
|