From e630a2ca2fcf150493ad816bd65004c94f47b825 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 27 六月 2024 14:19:05 +0800
Subject: [PATCH] ''

---
 h5/pages/staff/snapshot.vue |   24 +++++++++++++++++++-----
 1 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/h5/pages/staff/snapshot.vue b/h5/pages/staff/snapshot.vue
index 2ef9221..8ddde02 100644
--- a/h5/pages/staff/snapshot.vue
+++ b/h5/pages/staff/snapshot.vue
@@ -48,9 +48,13 @@
       <view class="upload_line">
         <view class="name">鐜板満鎯呭喌</view>
         <view class="wrap">
-          <view class="adduser_list_item_ipt1_upload" @click="showUpload = true"
-            ><u-icon name="plus" color="rgb(153, 153, 153)" size="28"></u-icon
-          ></view>
+          <view
+            class="adduser_list_item_ipt1_upload"
+            @click="showUpload = true"
+          >
+            <u-icon name="plus" color="rgb(153, 153, 153)" size="20"></u-icon>
+            <view class="mt6">鍥剧墖/瑙嗛</view>
+          </view>
           <view
             class="adduser_list_item_ipt1_upload"
             v-for="(item, i) in submitFileList"
@@ -250,6 +254,15 @@
       this.$set(this.param, 'areaId', item.id)
       this.$set(this.param, 'areaName', item.name)
       console.log(item)
+      if (item.memberIds && item.memberIds.indexOf(',') === -1) {
+        this.$set(this.param, 'checkUserId', item.memberIds)
+        this.$set(this.param, 'applyCheckUserId', item.memberIds)
+        this.$set(this.param, 'checkorName', item.memberNames)
+      }else{
+        this.$set(this.param, 'checkUserId', '')
+        this.$set(this.param, 'applyCheckUserId', '')
+        this.$set(this.param, 'checkorName', '')
+      }
       this.isShowArea = false
     },
     seletedType(e) {
@@ -260,7 +273,7 @@
       this.isShowType = false
     },
     seletedSafety(e) {
-  
+
     },
     seletedDate(e) {
       this.$set(this.param, 'submitTime', dayjs(e.value).format('YYYY-MM-DD HH:mm:ss'))
@@ -275,7 +288,7 @@
       })
     },
     selMember() {
-      if(!this.param.areaId) return uni.showToast({
+      if (!this.param.areaId) return uni.showToast({
         title: '璇峰厛閫夋嫨闅愭偅鍖哄煙',
         icon: 'none'
       })
@@ -429,6 +442,7 @@
       color: #666666;
       font-size: 22rpx;
       display: flex;
+      flex-direction: column;
       align-items: center;
       justify-content: center;
       position: relative;

--
Gitblit v1.9.3