From 3d3620b81b9c2ae8e8f41ef542f0e5fa8ae43c00 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 06 三月 2025 10:53:27 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit
---
admin/src/components/operation/HiddenDangerParam.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/admin/src/components/operation/HiddenDangerParam.vue b/admin/src/components/operation/HiddenDangerParam.vue
index babe186..ab8e973 100644
--- a/admin/src/components/operation/HiddenDangerParam.vue
+++ b/admin/src/components/operation/HiddenDangerParam.vue
@@ -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