From 74612d64c6bd2d28dcf80450f2cb94ffbee9970d Mon Sep 17 00:00:00 2001
From: yubo <autumnal_wind@yeah.net>
Date: 星期四, 12 三月 2026 11:13:27 +0800
Subject: [PATCH] feat(user): 添加员工档案拍照上传功能

---
 src/views/dashboard/index.vue |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index fb370d9..4ea87eb 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -257,6 +257,7 @@
     <sfz-user ref="sfzUser" :dialog-visible="dialog.dialogShowSfz" :title="title" @cancleChooseUser="cancleSfzUser" />
     <ct-user ref="ctUser" :dialog-visible="dialog.dialogShowct" :title="title" @cancleChooseUser="canclectUser" />
     <zz-user ref="zzUser" :dialog-visible="dialog.dialogShowProbation" :title="title" @cancleChooseUser="cancleZzUser" />
+    <!--    四险提醒统计-->
     <insurance-user ref="insuranceUser" :dialog-visible="dialog.dialogShowInsurance" :title="title" @cancleChooseUser="cancleInsuranceUser" />
   </div>
 </template>
@@ -334,7 +335,6 @@
         sfz: 0,
         ygtg: 0,
         bljl: 0,
-        zzyg: 0,
         sxyg: 0,
         probation: 0,
         insurance: 0
@@ -516,17 +516,8 @@
       const values = this.value2
       const btime = values[0]
       const etime = values[1]
-      const index = this.selectIndex // 传入当前 dashboard 选中的时间维度
-      this.$refs.zzUser.setjobUser(btime, etime, index, null)
-    },
-    showProbation(title) {
-      this.dialog.dialogShowInsurance = true
-      this.title = title
-      const values = this.value2
-      const btime = values[0]
-      const etime = values[1]
       const index = this.selectIndex
-      this.$refs.insuranceUser.setjobUser(btime, etime, index, null)
+      this.$refs.zzUser.setjobUser(btime, etime, index, null)
     },
     showInsurance(title) {
       this.dialog.dialogShowInsurance = true

--
Gitblit v1.8.0