From cd197acb8e9263f6b91db02d63d887c04699ce6b Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 31 十月 2024 12:03:08 +0800
Subject: [PATCH] ll
---
admin/src/components/operation/HiddenDangerParam.vue | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/admin/src/components/operation/HiddenDangerParam.vue b/admin/src/components/operation/HiddenDangerParam.vue
index c2b75eb..30386b0 100644
--- a/admin/src/components/operation/HiddenDangerParam.vue
+++ b/admin/src/components/operation/HiddenDangerParam.vue
@@ -23,7 +23,7 @@
/>
</el-form-item>
<el-form-item label="璐d换閮ㄩ棬" prop="companyId">
- <el-select v-model="param.companyId">
+ <el-select @change="getAddrList" clearable filterable v-model="param.companyId">
<el-option v-for="op in department" :key="op.id" :label="op.name" :value="op.id"></el-option>
</el-select>
</el-form-item>
@@ -155,12 +155,9 @@
allList({ type: 1 }).then(res => { // 绫诲瀷
this.typeList = res || []
})
- allList({ type: 0 }).then(res => { // 浣嶇疆
- this.addrList = res || []
- })
- memberList({}).then(res => {
- this.memberList = res || []
- })
+ // memberList({}).then(res => {
+ // this.memberList = res || []
+ // })
this.getfindCompanyTreePage()
},
getfindCompanyTreePage() {
@@ -171,6 +168,12 @@
}
})
},
+ getAddrList() {
+ const { companyId } = this.param
+ allList({ type: 0,companyId }).then(res => { // 浣嶇疆
+ this.addrList = res || []
+ })
+ },
changeArea (e) {
const item = this.addrList.find(i => i.id === e)
const arr = []
--
Gitblit v1.9.3