From 5a07da2b852ff4b73036a364ebd4c8077ab33223 Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期四, 28 十二月 2023 11:17:03 +0800 Subject: [PATCH] 提交 --- src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue b/src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue index fd08923..c217ea4 100644 --- a/src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue +++ b/src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue @@ -195,7 +195,7 @@ <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" - label="鍏抽敭璁惧?" + label="鍏抽敭璁惧" class="hightColor" > <span @@ -642,13 +642,13 @@ //寮�宸� handleStart() { const that = this; - that.confirmLoading = true; this.$confirm({ title: '缁翠慨宸ュ崟寮�宸�', content: '鎻愮ず锛氬紑宸ュ悗鏃犳硶鎾ゅ洖锛岃璋ㄦ厧鎿嶄綔锛�', okText: '纭', cancelText: '鍙栨秷', onOk() { + that.confirmLoading = true; putAction(that.url.orderStart, that.repairOrder).then(res => { if (res.result) { that.$message.success('寮�宸ユ垚鍔�'); @@ -689,13 +689,13 @@ }, handleReport() { const that = this; - that.confirmLoading = true; this.$confirm({ title: '缁翠慨宸ュ崟鎶ュ伐', content: '鎻愮ず锛氭姤宸ュ悗缁翠慨瀹屽伐锛岃璋ㄦ厧鎿嶄綔锛�', okText: '纭', cancelText: '鍙栨秷', onOk() { + that.confirmLoading = true; putAction(that.url.orderReport, that.repairOrder).then(res => { if (res.result) { that.$message.success('鎶ュ伐鎴愬姛'); @@ -714,13 +714,13 @@ //鎾ら攢 handleRevoke() { const that = this; - that.confirmLoading = true; this.$confirm({ title: '瀹屽伐鎾ら攢', content: '鎻愮ず锛氬畬宸ユ挙閿�鍚庡彲缁х画鎶ュ伐鎿嶄綔锛�', okText: '纭', cancelText: '鍙栨秷', onOk() { + that.confirmLoading = true; putAction(that.url.orderRevoke, that.repairOrder).then(res => { if (res.result) { that.$message.success('鎾ら攢鎴愬姛'); @@ -737,13 +737,13 @@ }, handleSpare(){ const that = this; - that.confirmLoading = true; this.$confirm({ title: '绛夐噰璐欢', content: '鎻愮ず锛氳鎿嶄綔涓嶅彲鎾ら攢锛岀‘璁ゅ紑濮嬬瓑閲囪喘浠�?', okText: '纭', cancelText: '鍙栨秷', onOk() { + that.confirmLoading = true; putAction(that.url.handleSpare, that.repairOrder).then(res => { if (res.result) { that.$message.success('鎿嶄綔鎴愬姛'); @@ -761,13 +761,13 @@ }, handleSpareStop(){ const that = this; - that.confirmLoading = true; this.$confirm({ title: '鍋滄绛夐噰璐欢', content: '鎻愮ず锛氳鎿嶄綔涓嶅彲鎾ら攢锛岀‘璁ゅ仠姝㈢瓑閲囪喘浠�?', okText: '纭', cancelText: '鍙栨秷', onOk() { + that.confirmLoading = true; putAction(that.url.handleSpareStop, that.repairOrder).then(res => { if (res.result) { that.$message.success('鎿嶄綔鎴愬姛'); @@ -785,13 +785,13 @@ }, handlePart(){ const that = this; - that.confirmLoading = true; this.$confirm({ title: '绛夐噰璐欢', content: '鎻愮ず锛氳鎿嶄綔涓嶅彲鎾ら攢锛岀‘璁ょ瓑閲囪喘浠�?', okText: '纭', cancelText: '鍙栨秷', onOk() { + that.confirmLoading = true; putAction(that.url.handlePart, that.repairOrder).then(res => { if (res.result) { that.$message.success('鎿嶄綔鎴愬姛'); @@ -809,13 +809,13 @@ }, handlePartStop(){ const that = this; - that.confirmLoading = true; this.$confirm({ title: '鍋滄绛夐噰璐欢', content: '鎻愮ず锛氳鎿嶄綔涓嶅彲鎾ら攢锛岀‘璁ゅ仠姝㈢瓑閲囪喘浠�?', okText: '纭', cancelText: '鍙栨秷', onOk() { + that.confirmLoading = true; putAction(that.url.handlePartStop, that.repairOrder).then(res => { if (res.result) { that.$message.success('鎿嶄綔鎴愬姛'); -- Gitblit v1.9.3