Compare commits
2 Commits
9d7d7c0cbd
...
2025-11
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a92786f60 | ||
|
|
e8ce98f80c |
@@ -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()
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
// 给每一个元件绑定下拉框数据
|
||||
|
||||
Reference in New Issue
Block a user