Browse Source

任务管控新增类型

dev
wangxingyuan 8 months ago
parent
commit
fc8d218fd4
2 changed files with 9 additions and 4 deletions
  1. +1
    -1
      src/views/basedata/patrolpointmnt/patrolpointpreset/index.vue
  2. +8
    -3
      src/views/point/site_management.vue

+ 1
- 1
src/views/basedata/patrolpointmnt/patrolpointpreset/index.vue View File

@ -469,7 +469,7 @@ export default {
},
};
</script>
<style lang="scss" scoped>
.fatherID {
color: blue;


+ 8
- 3
src/views/point/site_management.vue View File

@ -247,6 +247,7 @@
<el-button
@click="bindingMonitorBtn(0)"
style="margin-top: 10px"
:disabled="RightBtnShow"
>{{
$t("site_management.BindVisibleLightMonitoringPoints")
}}</el-button
@ -254,6 +255,7 @@
<el-button
@click="bindingMonitorBtn(1)"
style="margin-top: 10px"
:disabled="RightBtnShow"
>{{
$t("site_management.BindThermalImagingMonitoringPoints")
}}</el-button
@ -262,7 +264,7 @@
</el-tab-pane>
<el-tab-pane :label="$t('site_management.tabsTwo')" name="second">
<div class="tabsBtn">
<el-button @click="InspectionBtn">{{
<el-button @click="InspectionBtn" :disabled="RightBtnShow">{{
$t("site_management.BindMonitoringDevices")
}}</el-button>
@ -972,6 +974,7 @@ export default {
deviceIdShow: true,
TreeItem: {},
type: 0,
RightBtnShow: true,
};
},
mounted() {
@ -999,6 +1002,7 @@ export default {
},
handleNodeClick(data, e) {
this.TreeItem = data;
this.RightBtnShow = true;
this.monitorPointForm.areaId = data.areaId;
this.monitorPointForm.deviceId = data.deviceId;
if (data.deviceId) {
@ -1016,8 +1020,8 @@ export default {
if (res.code == 200) {
this.tableData = res.rows;
this.tableData.forEach((item) => {
let id=item.algSubtypeIds.split(",");
item.patrolTypeId = id.map(Number)
let id = item.algSubtypeIds.split(",");
item.patrolTypeId = id.map(Number);
});
}
});
@ -1025,6 +1029,7 @@ export default {
changeCurrentRow(row) {
this.currentRowId = row.id; // ID
this.RightBtnShow=false
this.rowStyle(row);
},
//


Loading…
Cancel
Save