yubo
2026-03-12 74612d64c6bd2d28dcf80450f2cb94ffbee9970d
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