diff --git a/src/api/order.js b/src/api/order.js index 85c25e4..079fcc6 100644 --- a/src/api/order.js +++ b/src/api/order.js @@ -125,3 +125,24 @@ params: query, }); } + + +// /business/deptAssessReport/page 考核报告 +export function deptAssessReportPage(query) { + return request({ + url: '/business/deptAssessReport/page', + method: 'get', + params: query, + }); +} + + +// /business/deptAssessReport/{id} +export function getDeptAssessReport(id) { + return request({ + url: '/business/deptAssessReport/' + id, + method: 'get', + }); +} + +// business/deptAssessReport/assessRuleDownload 获取考核评估 \ No newline at end of file diff --git a/src/api/order.js b/src/api/order.js index 85c25e4..079fcc6 100644 --- a/src/api/order.js +++ b/src/api/order.js @@ -125,3 +125,24 @@ params: query, }); } + + +// /business/deptAssessReport/page 考核报告 +export function deptAssessReportPage(query) { + return request({ + url: '/business/deptAssessReport/page', + method: 'get', + params: query, + }); +} + + +// /business/deptAssessReport/{id} +export function getDeptAssessReport(id) { + return request({ + url: '/business/deptAssessReport/' + id, + method: 'get', + }); +} + +// business/deptAssessReport/assessRuleDownload 获取考核评估 \ No newline at end of file diff --git a/src/store/modules/order.js b/src/store/modules/order.js index 37b78d7..27bf78c 100644 --- a/src/store/modules/order.js +++ b/src/store/modules/order.js @@ -7,6 +7,7 @@ state: () => { return { deptList: [], + systemDeptList: [], userList: [], }; }, @@ -23,6 +24,12 @@ // this.deptList = handleTree(response.data, 'deptId'); // console.log('🚀 ~ listDept ~ this.deptList:', this.deptList, response); }); + listDept(data).then(response => { + // this.systemDeptList = handleTree(response.data, 'deptId'); + this.systemDeptList = response.data; + // console.log('🚀 ~ listDept ~ this.systemDeptList:', this.systemDeptList, response); + }); + }, getUserList(data = {}) { listWorkOrderHandler(data).then(response => { diff --git a/src/api/order.js b/src/api/order.js index 85c25e4..079fcc6 100644 --- a/src/api/order.js +++ b/src/api/order.js @@ -125,3 +125,24 @@ params: query, }); } + + +// /business/deptAssessReport/page 考核报告 +export function deptAssessReportPage(query) { + return request({ + url: '/business/deptAssessReport/page', + method: 'get', + params: query, + }); +} + + +// /business/deptAssessReport/{id} +export function getDeptAssessReport(id) { + return request({ + url: '/business/deptAssessReport/' + id, + method: 'get', + }); +} + +// business/deptAssessReport/assessRuleDownload 获取考核评估 \ No newline at end of file diff --git a/src/store/modules/order.js b/src/store/modules/order.js index 37b78d7..27bf78c 100644 --- a/src/store/modules/order.js +++ b/src/store/modules/order.js @@ -7,6 +7,7 @@ state: () => { return { deptList: [], + systemDeptList: [], userList: [], }; }, @@ -23,6 +24,12 @@ // this.deptList = handleTree(response.data, 'deptId'); // console.log('🚀 ~ listDept ~ this.deptList:', this.deptList, response); }); + listDept(data).then(response => { + // this.systemDeptList = handleTree(response.data, 'deptId'); + this.systemDeptList = response.data; + // console.log('🚀 ~ listDept ~ this.systemDeptList:', this.systemDeptList, response); + }); + }, getUserList(data = {}) { listWorkOrderHandler(data).then(response => { diff --git a/src/views/order/departmentalAssessment/index.vue b/src/views/order/departmentalAssessment/index.vue index f3a5238..2f7cfec 100644 --- a/src/views/order/departmentalAssessment/index.vue +++ b/src/views/order/departmentalAssessment/index.vue @@ -4,12 +4,12 @@
考核维度 - +
部门 - - + +
@@ -41,21 +46,21 @@ - - + + - - - - - - - - - + + + + + + + + +