diff --git a/src/api/productionManagement/productionMonitoring.js b/src/api/productionManagement/productionMonitoring.js
index 5ace83d..39ece0a 100644
--- a/src/api/productionManagement/productionMonitoring.js
+++ b/src/api/productionManagement/productionMonitoring.js
@@ -12,4 +12,54 @@ export const getList = (current, size, params) => {
});
};
-//
\ No newline at end of file
+// 调整优先级 /
+export const updatePrioritye = data => {
+ return request({
+ url: '/blade-desk/workOrder/updatePrioritye',
+ method: 'post',
+ data: data,
+ });
+};
+
+// 分批
+export const inBatches = data => {
+ return request({
+ url: '/blade-desk/workOrder/inBatches',
+ method: 'post',
+ data: data,
+ });
+};
+// 获取分批详情
+export const batchesPrepare = woId => {
+ return request({
+ url: `/blade-desk/workOrder/batchesPrepare/${woId}`,
+ method: 'get',
+ });
+};
+
+// 获取转外协所需数据
+export const getListProProcess = data => {
+ return request({
+ url: '/blade-desk/workOrder/listProProcess',
+ method: 'post',
+ data: data,
+ });
+};
+
+// 转外协 /
+export const transferBill = data => {
+ return request({
+ url: '/blade-desk/workOrder/transferBill',
+ method: 'post',
+ data: data,
+ });
+};
+
+// 关闭 /
+export const updateStatus = data => {
+ return request({
+ url: '/blade-desk/workOrder/updateStatus',
+ method: 'post',
+ data: data,
+ });
+};
diff --git a/src/views/productionManagement/components/closedDialog.vue b/src/views/productionManagement/components/closedDialog.vue
index c39ad89..a6f5d4b 100644
--- a/src/views/productionManagement/components/closedDialog.vue
+++ b/src/views/productionManagement/components/closedDialog.vue
@@ -1,45 +1,91 @@
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/productionManagement/components/productionMonitoringDialog.vue b/src/views/productionManagement/components/productionMonitoringDialog.vue
index c110cbb..424bc6c 100644
--- a/src/views/productionManagement/components/productionMonitoringDialog.vue
+++ b/src/views/productionManagement/components/productionMonitoringDialog.vue
@@ -1,73 +1,97 @@
-
-
- 一级
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/productionManagement/productionMonitoring.vue b/src/views/productionManagement/productionMonitoring.vue
index 0c5bb5c..c70d397 100644
--- a/src/views/productionManagement/productionMonitoring.vue
+++ b/src/views/productionManagement/productionMonitoring.vue
@@ -20,7 +20,7 @@
过程记录打印
打印标签
- 优先级调整
+ 优先级调整
@@ -92,8 +92,6 @@
-->
-
-
@@ -128,7 +126,12 @@
-
+
@@ -138,6 +141,7 @@
>
+
{
+
+ // })
+
+ // this.$message.success(
+ // `优先级已调整为${data.priority === 1 ? '一级' : data.priority === 2 ? '二级' : '三级'}`
+ // );
},
selectionChange(val) {
this.selectionList = val;
@@ -705,9 +677,11 @@ export default {
this.showScheduling = true;
},
// 关闭
- handleClose() {
+ handleClose(row) {
+ this.itemData = [row];
this.showClose = true;
},
+
// 转烧结
handleSintering() {
this.$confirm('确定将此订单转到烧结中心吗?', '是否继续', {
@@ -760,7 +734,7 @@ export default {
this.showAbnormal = true;
},
// 关闭弹窗
- closeDialog() {
+ closeDialog(type) {
this.showDialog = false;
this.monitorDialog = false;
this.showBatches = false;
@@ -769,6 +743,9 @@ export default {
this.showScheduling = false;
this.showAbnormal = false;
this.isPriorityOpen = false;
+ if (type) {
+ this.onLoad(this.page, this.query);
+ }
},
currentChange(currentPage) {
this.page.currentPage = currentPage;
@@ -799,7 +776,11 @@ export default {
},
onLoad(page, params = {}) {
// this.loading = true;
- getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
+ getList(
+ page.currentPage,
+ page.pageSize,
+ Object.assign(params, this.query, { yieldType: 1 })
+ ).then(res => {
this.data = res.data.data.records;
// this.loading = false;
this.page.total = res.data.data.total;