Compare commits

...

2 Commits

Author SHA1 Message Date
stt
6a92786f60 Merge branch 'master' of http://192.168.1.22:3000/Web/svgeditor2.0 2025-12-01 14:14:23 +08:00
stt
e8ce98f80c 加入ypt判断 2025-12-01 14:14:11 +08:00

View File

@@ -42,13 +42,13 @@
</el-form>
</div>
<!-- 无锡监测点 指标 -->
<div v-if="useData.graphicDisplay == 'wx'">
<div v-if="useData.graphicDisplay == 'wx' || useData.graphicDisplay == 'ypt'">
<el-form label-width="60px" label-position="left">
<el-form-item label="监测点" size="small" class="mt-10px">
<div>
<el-cascader
:key="cascaderKey"
:options="treeData_wx"
:options="useData.graphicDisplay == 'ypt' ? treeData : treeData_wx"
:props="{ value: 'id', label: 'name', children: 'children' }"
clearable
placeholder="请选择"
@@ -190,6 +190,11 @@ watch(
if (item_title.value == '绑定指标' && deptIds.value) {
indexList()
}
if (useData.graphicDisplay == 'ypt') {
if (deptIds.value) {
indexList()
}
}
})
}
})
@@ -334,6 +339,12 @@ const handleDeptChange = (deptId: []) => {
indexList()
}
}
if (useData.graphicDisplay == 'ypt') {
if (deptId) {
indexList()
}
}
})
}
// 给每一个元件绑定下拉框数据