From cc27667b09ca45de771c679bc72613351f69a1a6 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期一, 01 四月 2024 15:57:58 +0800 Subject: [PATCH] 修改交接接口 --- src/components/view/b1-inspect-order-plan.vue | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue index 1827d74..a1d2ee0 100644 --- a/src/components/view/b1-inspect-order-plan.vue +++ b/src/components/view/b1-inspect-order-plan.vue @@ -245,9 +245,9 @@ font: '澶嶆牳', type: 'text', method: 'handleReview', - // disabFun: (row, index) => { - // return row.userId == null || row.insState != 4 - // } + disabFun: (row, index) => { + return row.userId == null || row.insState != 4 + } }, { id: '', font: '璁ら', @@ -506,14 +506,10 @@ this.$axios.post(this.$api.insOrderPlan.upPlanUser, { orderId:this.orderId, userId:this.connectPerson - }, { - headers: { - 'Content-Type': 'application/json' - } - }).then(res => { + }).then(res => { if (res.code === 200 && res.data) { this.loading = false; - this.$message.success("浜ゆ帴鎴愬姛") + this.$message.success("鎿嶄綔鎴愬姛") this.refreshTable() } this.connectVisible = false -- Gitblit v1.9.3