Explorar el Código

提交日报选择审核人出问题的情况

Lijy hace 2 años
padre
commit
8a795f3c8e

+ 14 - 14
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

@@ -6281,6 +6281,20 @@
                         type: 'error'
                     })
                 })
+            },
+            // 自定义事件
+            selectCal(obj) {
+                if(obj.distinction == '1') {
+                    this.zhoBao.projectAuditorId = obj.id
+                } else if(obj.distinction == '2') {
+                    this.zhoBao.auditorFirst = obj.id
+                } else if(obj.distinction == '3') {
+                    this.zhoBao.auditorSec = obj.id
+                } else if(obj.distinction == '4') {
+                    this.zhoBao.auditorThird = obj.id
+                } else if(obj.distinction == '5') {
+                    this.zhoBao.ccUserid = obj.id
+                }
             }
         },
         created() {
@@ -6327,20 +6341,6 @@
                 },
             },
             ]);
-        },
-        // 自定义事件
-        selectCal(obj) {
-            if(obj.distinction == '1') {
-                this.zhoBao.projectAuditorId = obj.id
-            } else if(obj.distinction == '2') {
-                this.zhoBao.auditorFirst = obj.id
-            } else if(obj.distinction == '3') {
-                this.zhoBao.auditorSec = obj.id
-            } else if(obj.distinction == '4') {
-                this.zhoBao.auditorThird = obj.id
-            } else if(obj.distinction == '5') {
-                this.zhoBao.ccUserid = obj.id
-            }
         }
     };
 </script>