diff --git a/src/api/productionManagement/WIPChange.js b/src/api/productionManagement/WIPChange.js index 0f2fbd3..4a009f1 100644 --- a/src/api/productionManagement/WIPChange.js +++ b/src/api/productionManagement/WIPChange.js @@ -12,11 +12,29 @@ export const getList = (current, size, params) => { }); }; -// 任务完成 /disTasking/taskComplete +// 任务处理 export const taskComplete = (data) => { return request({ url: '/blade-desk/disTasking/taskComplete', method: 'post', data }); - }; \ No newline at end of file +}; + +// 转派 +export const disTechnician = (data) => { + return request({ + url: '/blade-desk/disTasking/disTechnician', + method: 'post', + data + }); +}; + +// 质量任务处理 +export const taskCompleteOrder = (data) => { + return request({ + url: '/blade-desk/disTasking/taskCompleteOrder', + method: 'post', + data + }); +}; \ No newline at end of file diff --git a/src/views/productionManagement/WIPChange.vue b/src/views/productionManagement/WIPChange.vue index 9bbcf88..5ea69af 100644 --- a/src/views/productionManagement/WIPChange.vue +++ b/src/views/productionManagement/WIPChange.vue @@ -29,12 +29,18 @@ :rowItem="rowItem" > - + @@ -48,7 +54,7 @@ export default { components: { taskHandleDialog, assignDaialog, - taskHandleQuality + taskHandleQuality, }, data() { return { @@ -82,7 +88,7 @@ export default { editBtnIcon: ' ', labelWidth: '200px', dialogWidth: 600, - menuWidth: 120, + menuWidth: 180, dialogClickModal: false, searchEnter: true, filterBtn: true, @@ -224,20 +230,22 @@ export default { }, isHandleShow: false, isAssignShow: false, - isTaskHandleQuality:false, - rowItem:{} + isTaskHandleQuality: false, + rowItem: {}, }; }, mounted() {}, methods: { - taskHandleFun(row){ + taskHandleFun(row) { this.isTaskHandleQuality = true; + this.rowItem = row; }, assignFn(row) { this.isAssignShow = true; + this.rowItem = row; }, handleFn(row) { - this.rowItem = row + this.rowItem = row; this.isHandleShow = true; }, closeDialog() { @@ -246,7 +254,7 @@ export default { this.isTaskHandleQuality = false; this.onLoad(this.page, this.query); }, - currentChange(currentPage) { + currentChange(currentPage) { this.page.currentPage = currentPage; this.onLoad(this.page, this.query); }, diff --git a/src/views/productionManagement/components/assignDaialog.vue b/src/views/productionManagement/components/assignDaialog.vue index 8f34840..90dc9cf 100644 --- a/src/views/productionManagement/components/assignDaialog.vue +++ b/src/views/productionManagement/components/assignDaialog.vue @@ -1,87 +1,95 @@ - \ No newline at end of file + diff --git a/src/views/productionManagement/components/taskHandleDialog.vue b/src/views/productionManagement/components/taskHandleDialog.vue index aee9539..e993e6c 100644 --- a/src/views/productionManagement/components/taskHandleDialog.vue +++ b/src/views/productionManagement/components/taskHandleDialog.vue @@ -22,15 +22,6 @@ -