From a58208ba19f52c8d13a0ab1a88bd62ffe8802dd3 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 20 三月 2025 17:03:45 +0800
Subject: [PATCH] 最新版本541200007
---
admin/src/components/operation/HiddenDangerParam.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/admin/src/components/operation/HiddenDangerParam.vue b/admin/src/components/operation/HiddenDangerParam.vue
index babe186..bef7aff 100644
--- a/admin/src/components/operation/HiddenDangerParam.vue
+++ b/admin/src/components/operation/HiddenDangerParam.vue
@@ -39,7 +39,7 @@
</el-select>
</el-form-item>
<el-form-item label="澶勭悊浜�" prop="checkUserId">
- <el-select v-model="param.checkUserId" placeholder="璇烽�夋嫨">
+ <el-select v-model="param.checkUserId" filterable placeholder="璇烽�夋嫨">
<el-option
v-for="item in memberList"
:key="item.id"
@@ -151,7 +151,7 @@
this.initData()
},
methods: {
-
+
initData () {
allList({ type: 1 }).then(res => { // 绫诲瀷
this.typeList = res || []
@@ -173,9 +173,12 @@
const { companyId } = this.param
this.$set(this.param, 'areaId', '')
this.$set(this.param, 'checkUserId', '')
- allList({ type: 0,companyId }).then(res => { // 浣嶇疆
- this.addrList = res || []
- })
+ this.addrList = []
+ if(companyId){
+ allList({ type: 0,companyId }).then(res => { // 浣嶇疆
+ this.addrList = res || []
+ })
+ }
},
changeArea (e) {
const item = this.addrList.find(i => i.id === e)
--
Gitblit v1.9.3