Quellcode durchsuchen

调整日报导出企业微信用户选择部门没传的问题

Lijy vor 1 Jahr
Ursprung
Commit
56c154b26a

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

@@ -5385,6 +5385,7 @@
                 param.stateKey = this.stateKey
                 // param.departmentId = this.user.departmentId
                 console.log(param, '《=== 导出传的参数')
+                return
                 this.http.post( this.port.report.export, param,
                 res => {
                     this.exportingData = false;
@@ -7893,10 +7894,10 @@
                 this.workForm.domains[obj.idx].projectAuditorId = obj.id
             },
             vueCasader(obj) {
-                // console.log(obj, '看看值')
+                console.log(obj, '看看值')
                 if(obj.distinction == 1 && obj.item) {
                     let arr = []
-                    arr.push(obj.item.id)
+                    arr.push(obj.item.value)
                     this.exportParam.departmentId = arr
                 }
             },