Prechádzať zdrojové kódy

调整项目报告审核的而项目选择问题

Lijy 1 rok pred
rodič
commit
e76a64df84

+ 4 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/list.vue

@@ -498,7 +498,8 @@
                 approveinDialog: false,
                 isbatch: false,
                 defaultExpandAllFlg: false,
-                showTable: true
+                showTable: true,
+                projectList: []
             };
         },
         filters: {
@@ -899,7 +900,8 @@
                 this.http.post( this.port.project.list, {},
                 res => {
                     if (res.code == "ok") {
-                        this.projectList = res.data;
+                        console.log(res, '数据')
+                        this.$set(this, 'projectList', res.data);
                     } else {
                         this.$message({
                             message: res.msg,