From 88a34566f7c3f77d90daa3fd57fb0abca3e1b5e6 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 27 二月 2025 09:12:06 +0800
Subject: [PATCH] ll

---
 h5/pages/staff/snapshot.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/h5/pages/staff/snapshot.vue b/h5/pages/staff/snapshot.vue
index c5005fb..32bfe7d 100644
--- a/h5/pages/staff/snapshot.vue
+++ b/h5/pages/staff/snapshot.vue
@@ -18,7 +18,7 @@
 					<text>*</text>
 					<text>闅愭偅鍖哄煙</text>
 				</view>
-				<view class="value" @click="isShowArea = true">
+				<view class="value" @click="openArea">
 					<text class="mr6"
 						:style="{ color: param.areaName ? '#000000' : '#999999' }">{{ param.areaName ? param.areaName : "璇烽�夋嫨" }}</text>
 					<u-icon name="arrow-right" color="#CCCCCC" size="20"></u-icon>
@@ -235,7 +235,10 @@
 				this.$set(this.param, 'companyId', item.id)
 				this.$set(this.param, 'companyName', item.name)
 				this.$set(this.param, 'areaId', '')
-				this.$set(this.param, 'areaName', '')
+				this.$set(this.param, 'areaName', '')
+				this.$set(this.param, 'checkUserId', '')
+				this.$set(this.param, 'applyCheckUserId', '')
+				this.$set(this.param, 'checkorName', '')
 				DangerConfigType({
 					type: '0',
 					companyId: item.id
@@ -243,6 +246,10 @@
 					this.areaOptions = [res.data]
 				})
 				this.isShowCompany = false
+			},
+			openArea() {
+				if(!this.param.companyId) return this.showToast('璇峰厛閫夋嫨璐d换閮ㄩ棬')
+				this.isShowArea = true
 			},
 			seletedArea(e) {
 				const item = e.value[0]

--
Gitblit v1.9.3