ly il y a 3 ans
Parent
commit
eaee39fa71
1 fichiers modifiés avec 2 ajouts et 38 suppressions
  1. 2 38
      ui/src/views/invoicing/hazardwork/index.vue

+ 2 - 38
ui/src/views/invoicing/hazardwork/index.vue

@@ -3216,19 +3216,16 @@ export default {
       if (res.signType == 'dSafeImplSign11') {
         this.form.dSafeImplSign11 = res.staffName
         this.form.dSafeImplDate11 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate11);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign11)
       }
       if (res.signType == 'dDkdyxImplSign') {
         this.form.dDkdyxImplSign = res.staffName
         this.form.dDkdyxImplDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dDkdyxImplDate);
         console.log('刷卡人姓名:' + this.form.dDkdyxImplSign)
       }
       if (res.signType == 'dDisFeederImplSign') {
         this.form.dDisFeederImplSign = res.staffName
         this.form.dDisFeederImplDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dDisFeederImplDate);
         console.log('刷卡人姓名:' + this.form.dDisFeederImplSign)
       }
       if (res.signType == 'dBreakInclImplSign') {
@@ -3240,7 +3237,6 @@ export default {
       if (res.signType == 'dDqhlImplSign') {
         this.form.dDqhlImplSign = res.staffName
         this.form.dDqhlImplDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dDqhlImplDate);
         console.log('刷卡人姓名:' + this.form.dDqhlImplSign)
       }
       if (res.signType == 'dSafeImplSign12') {
@@ -3252,137 +3248,116 @@ export default {
       if (res.signType == 'dSafeImplSign13') {
         this.form.dSafeImplSign13 = res.staffName
         this.form.dSafeImplDate13 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate13);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign13)
       }
       if (res.signType == 'dSafeImplSign14') {
         this.form.dSafeImplSign14 = res.staffName
         this.form.dSafeImplDate14 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate14);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign14)
       }
       //D[2]
       if (res.signType == 'dSafeImplSign21') {
         this.form.dSafeImplSign21 = res.staffName
         this.form.dSafeImplDate21 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate21);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign21)
       }
       if (res.signType == 'dSafeImplSign22') {
         this.form.dSafeImplSign22 = res.staffName
         this.form.dSafeImplDate22 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate22);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign22)
       }
       if (res.signType == 'dSafeImplSign23') {
         this.form.dSafeImplSign23 = res.staffName
         this.form.dSafeImplDate23 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate23);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign23)
       }
       if (res.signType == 'dSafeImplSign24') {
         this.form.dSafeImplSign24 = res.staffName
         this.form.dSafeImplDate24 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate24);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign24)
       }
       if (res.signType == 'dSafeImplSign25') {
         this.form.dSafeImplSign25 = res.staffName
         this.form.dSafeImplDate25 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate25);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign25)
       }
       if (res.signType == 'dSafeImplSign26') {
         this.form.dSafeImplSign26 = res.staffName
         this.form.dSafeImplDate26 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate26);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign26)
       }
       if (res.signType == 'dSafeImplSign27') {
         this.form.dSafeImplSign27 = res.staffName
         this.form.dSafeImplDate27 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate27);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign27)
       }
       if (res.signType == 'dSafeImplSign28') {
         this.form.dSafeImplSign28 = res.staffName
         this.form.dSafeImplDate28 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate28);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign28)
       }
       if (res.signType == 'dSafeImplSign29') {
         this.form.dSafeImplSign29 = res.staffName
         this.form.dSafeImplDate29 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate29);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign29)
       }
       if (res.signType == 'dSafeImplSign210') {
         this.form.dSafeImplSign210 = res.staffName
         this.form.dSafeImplDate210 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate210);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign210)
       }
       //D[3]
       if (res.signType == 'dSafeImplSign31') {
         this.form.dSafeImplSign31 = res.staffName
         this.form.dSafeImplDate31 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate31);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign31)
       }
       if (res.signType == 'dSafeImplSign32') {
         this.form.dSafeImplSign32 = res.staffName
         this.form.dSafeImplDate32 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate32);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign32)
       }
       if (res.signType == 'dSafeImplSign33') {
         this.form.dSafeImplSign33 = res.staffName
         this.form.dSafeImplDate33 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate33);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign33)
       }
       if (res.signType == 'dSafeImplSign34') {
         this.form.dSafeImplSign34 = res.staffName
         this.form.dSafeImplDate34 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate34);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign34)
       }
       //D[4]
       if (res.signType == 'dSafeImplSign41') {
         this.form.dSafeImplSign41 = res.staffName
         this.form.dSafeImplDate41 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate41);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign41)
       }
       if (res.signType == 'dSafeImplSign42') {
         this.form.dSafeImplSign42 = res.staffName
         this.form.dSafeImplDate42 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate42);
+
         console.log('刷卡人姓名:' + this.form.dSafeImplSign42)
       }
       if (res.signType == 'dSafeImplSign43') {
         this.form.dSafeImplSign43 = res.staffName
         this.form.dSafeImplDate43 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate43);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign43)
       }
       if (res.signType == 'dSafeImplSign44') {
         this.form.dSafeImplSign44 = res.staffName
         this.form.dSafeImplDate44 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate44);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign44)
       }
       if (res.signType == 'dSafeImplSign45') {
         this.form.dSafeImplSign45 = res.staffName
         this.form.dSafeImplDate45 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate45);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign45)
       }
       //D[5]
       if (res.signType == 'dSafeImplSign51') {
         this.form.dSafeImplSign51 = res.staffName
         this.form.dSafeImplDate51 = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dSafeImplDate51);
         console.log('刷卡人姓名:' + this.form.dSafeImplSign51)
       }
       //D[6]
@@ -3393,7 +3368,6 @@ export default {
           this.form.dPartakeBriefingSign = this.form.dPartakeBriefingSign + "," + res.staffName
         }
         this.form.dPartakeBriefingDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.dPartakeBriefingDate);
         console.log('刷卡人姓名:' + this.form.dPartakeBriefingSign)
       }
       //E
@@ -3405,78 +3379,68 @@ export default {
       if (res.signType == 'gFirstSign') {
         this.form.gFirstSign = res.staffName
         this.form.gFirstDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.gFirstDate);
         console.log('刷卡人姓名:' + this.form.gFirstSign)
       }
       if (res.signType == 'gSecondSign') {
         this.form.gSecondSign = res.staffName
         this.form.gSecondDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.gSecondDate);
         console.log('刷卡人姓名:' + this.form.gSecondSign)
       }
       if (res.signType == 'gThirdSign') {
         this.form.gThirdSign = res.staffName
         this.form.gThirdDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.gThirdDate);
         console.log('刷卡人姓名:' + this.form.gThirdSign)
       }
       //H
       if (res.signType == 'hSafeMesSign') {
         this.form.hSafeMesSign = res.staffName
         this.form.hSafeMesDate = this.dateformat('y-M-d h:m:s')
+        this.$set(this.value1, 0, this.form.hSafeMesDate);
         console.log('刷卡人姓名:' + this.form.hSafeMesSign)
       }
       //I
       if (res.signType == 'iOneASign') {
         this.form.iOneASign = res.staffName
         this.form.iOneADate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.iOneADate);
         console.log('刷卡人姓名:' + this.form.iOneASign)
       }
       if (res.signType == 'iOneBSign') {
         this.form.iOneBSign = res.staffName
         this.form.iOneBDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.iOneBDate);
         console.log('刷卡人姓名:' + this.form.iOneBSign)
       }
       //J
       if (res.signType == 'jOneBSign') {
         this.form.jOneBSign = res.staffName
         this.form.jOneBDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.jOneBDate);
         console.log('刷卡人姓名:' + this.form.jOneBSign)
       }
       if (res.signType == 'jResMemberSign') {
         this.form.jResMemberSign = res.staffName
         this.form.jResMemberDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.jResMemberDate);
         console.log('刷卡人姓名:' + this.form.jResMemberSign)
       }
       if (res.signType == 'jEISign') {
         this.form.jEISign = res.staffName
         this.form.jEIDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.jEIDate);
         console.log('刷卡人姓名:' + this.form.jEISign)
       }
       //K
       if (res.signType == 'kConfirmSign') {
         this.form.kConfirmSign = res.staffName
         this.form.kConfirmDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.kConfirmDate);
         console.log('刷卡人姓名:' + this.form.kConfirmSign)
       }
       //L
       if (res.signType == 'lNoticeSign') {
         this.form.lNoticeSign = res.staffName
         this.form.lNoticeDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.lNoticeDate);
         console.log('刷卡人姓名:' + this.form.lNoticeSign)
       }
       //M
       if (res.signType == 'mAssessDSign') {
         this.form.mAssessDSign = res.staffName
         this.form.mAssessDDate = this.dateformat('y-M-d h:m:s')
-        this.$set(this.value1, 0, this.form.mAssessDDate);
         console.log('刷卡人姓名:' + this.form.mAssessDSign)
       }
     },