diff --git a/src/store/modules/order.js b/src/store/modules/order.js index d5c2aec..37b78d7 100644 --- a/src/store/modules/order.js +++ b/src/store/modules/order.js @@ -19,14 +19,16 @@ } */ listWorkOrderDept(data).then(response => { - this.deptList = handleTree(response.data, 'deptId'); - console.log('🚀 ~ listDept ~ this.deptList:', this.deptList, response); + this.deptList = response.data; + // this.deptList = handleTree(response.data, 'deptId'); + // console.log('🚀 ~ listDept ~ this.deptList:', this.deptList, response); }); }, getUserList(data = {}) { listWorkOrderHandler(data).then(response => { - this.userList = handleTree(response.data, 'deptId'); - console.log('🚀 ~ listUser ~ this.userList:', this.userList, response); + // this.userList = handleTree(response.data, 'deptId'); + this.userList = response.data; + // console.log('🚀 ~ listUser ~ this.userList:', this.userList, response); }); }, }, diff --git a/src/store/modules/order.js b/src/store/modules/order.js index d5c2aec..37b78d7 100644 --- a/src/store/modules/order.js +++ b/src/store/modules/order.js @@ -19,14 +19,16 @@ } */ listWorkOrderDept(data).then(response => { - this.deptList = handleTree(response.data, 'deptId'); - console.log('🚀 ~ listDept ~ this.deptList:', this.deptList, response); + this.deptList = response.data; + // this.deptList = handleTree(response.data, 'deptId'); + // console.log('🚀 ~ listDept ~ this.deptList:', this.deptList, response); }); }, getUserList(data = {}) { listWorkOrderHandler(data).then(response => { - this.userList = handleTree(response.data, 'deptId'); - console.log('🚀 ~ listUser ~ this.userList:', this.userList, response); + // this.userList = handleTree(response.data, 'deptId'); + this.userList = response.data; + // console.log('🚀 ~ listUser ~ this.userList:', this.userList, response); }); }, }, diff --git a/src/views/order/components/orderDia.vue b/src/views/order/components/orderDia.vue index 4cb1241..4e10a78 100644 --- a/src/views/order/components/orderDia.vue +++ b/src/views/order/components/orderDia.vue @@ -144,7 +144,7 @@ {{ item }} - + { - this.deptList = handleTree(response.data, 'deptId'); - console.log('🚀 ~ listDept ~ this.deptList:', this.deptList, response); + this.deptList = response.data; + // this.deptList = handleTree(response.data, 'deptId'); + // console.log('🚀 ~ listDept ~ this.deptList:', this.deptList, response); }); }, getUserList(data = {}) { listWorkOrderHandler(data).then(response => { - this.userList = handleTree(response.data, 'deptId'); - console.log('🚀 ~ listUser ~ this.userList:', this.userList, response); + // this.userList = handleTree(response.data, 'deptId'); + this.userList = response.data; + // console.log('🚀 ~ listUser ~ this.userList:', this.userList, response); }); }, }, diff --git a/src/views/order/components/orderDia.vue b/src/views/order/components/orderDia.vue index 4cb1241..4e10a78 100644 --- a/src/views/order/components/orderDia.vue +++ b/src/views/order/components/orderDia.vue @@ -144,7 +144,7 @@ {{ item }} - + diff --git a/src/store/modules/order.js b/src/store/modules/order.js index d5c2aec..37b78d7 100644 --- a/src/store/modules/order.js +++ b/src/store/modules/order.js @@ -19,14 +19,16 @@ } */ listWorkOrderDept(data).then(response => { - this.deptList = handleTree(response.data, 'deptId'); - console.log('🚀 ~ listDept ~ this.deptList:', this.deptList, response); + this.deptList = response.data; + // this.deptList = handleTree(response.data, 'deptId'); + // console.log('🚀 ~ listDept ~ this.deptList:', this.deptList, response); }); }, getUserList(data = {}) { listWorkOrderHandler(data).then(response => { - this.userList = handleTree(response.data, 'deptId'); - console.log('🚀 ~ listUser ~ this.userList:', this.userList, response); + // this.userList = handleTree(response.data, 'deptId'); + this.userList = response.data; + // console.log('🚀 ~ listUser ~ this.userList:', this.userList, response); }); }, }, diff --git a/src/views/order/components/orderDia.vue b/src/views/order/components/orderDia.vue index 4cb1241..4e10a78 100644 --- a/src/views/order/components/orderDia.vue +++ b/src/views/order/components/orderDia.vue @@ -144,7 +144,7 @@ {{ item }} - + diff --git a/src/views/order/workOrderQuery/index.vue b/src/views/order/workOrderQuery/index.vue index a9a84c7..4a1b4ec 100644 --- a/src/views/order/workOrderQuery/index.vue +++ b/src/views/order/workOrderQuery/index.vue @@ -85,7 +85,7 @@