Преглед на файлове

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

Lijy преди 2 години
родител
ревизия
8a795f3c8e
променени са 1 файла, в които са добавени 14 реда и са изтрити 14 реда
  1. 14 14
      fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

+ 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>