浏览代码

明夷审核,先改回去。

seyason 1 年之前
父节点
当前提交
4f2537ef4f
共有 1 个文件被更改,包括 15 次插入15 次删除
  1. 15 15
      fhKeeper/formulahousekeeper/timesheet/src/views/workReport/list.vue

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

@@ -616,13 +616,13 @@
                 for (var i=0;i<this.multipleSelection.length; i++) {
                     var line = this.multipleSelection[i];
                     var array = line.data;
-                    if (this.user.company.companyName == '成都明夷电子科技有限公司') {
-                        ids += line.reportIds+',';
-                    } else {
+                    // if (this.user.company.companyName == '成都明夷电子科技有限公司') {
+                    //     ids += line.reportIds+',';
+                    // } else {
                         for (var m=0;m<array.length; m++) {
                             ids += array[m].id+',';
                         }
-                    }
+                    // }
                 }
                 if (ids.length > 0) {
                     ids = ids.substring(0, ids.length-1);
@@ -754,9 +754,9 @@
                 }
                 //明夷电子特殊处理
                 let url = this.port.report.portList;
-                if (this.user.company.companyName == '成都明夷电子科技有限公司') {
-                    url = '/report-batch/getAuditList';
-                }
+                // if (this.user.company.companyName == '成都明夷电子科技有限公司') {
+                //     url = '/report-batch/getAuditList';
+                // }
                 this.http.post(url, this.search,
                 res => {
                     this.listLoading = false;
@@ -783,13 +783,13 @@
             approve(id,date, item) {
                 let ids = '';
                 let data = item.data;
-                if (this.user.company.companyName == '成都明夷电子科技有限公司') {
-                    ids = item.reportIds;
-                } else {
+                // if (this.user.company.companyName == '成都明夷电子科技有限公司') {
+                //     ids = item.reportIds;
+                // } else {
                     data.forEach(element => {
                         ids +=(element.id+',');
                     });
-                }
+                // }
                 
                 this.isbatch = false
                 this.approveinData = {
@@ -871,14 +871,14 @@
             showDenyDialog(id,i, date, item) {
                 this.denyReasonDialog = true;
                 var ids = '';
-                if (this.user.company.companyName == '成都明夷电子科技有限公司') {
-                    ids = item.reportIds;
-                } else {
+                // if (this.user.company.companyName == '成都明夷电子科技有限公司') {
+                //     ids = item.reportIds;
+                // } else {
                     var data = item.data;
                     data.forEach(element => {
                         ids +=(element.id+',');
                     });
-                }
+                // }
                 
                 this.denyForm = {id: id ,i:i, date: date, reportIds: ids, reason:null};
             },