From 5a1863a51ae39568dac1524dbe39c2d4259e734a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=8A=B2=E9=BE=99?= <2860996570@qq.com> Date: Thu, 21 Nov 2024 19:29:43 +0800 Subject: [PATCH] =?UTF-8?q?xiugai=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/renwuApi/index.js | 8 ++++ src/views/auditPages/taskManagement/audit.vue | 11 ++++- src/views/auditPages/taskManagement/info.vue | 40 ++++++++++++++----- src/views/unitPages/myTask/audit.vue | 18 ++++++++- src/views/unitPages/myTask/info.vue | 24 ++++++----- 5 files changed, 76 insertions(+), 25 deletions(-) diff --git a/src/api/renwuApi/index.js b/src/api/renwuApi/index.js index 7ea499d..a5d83b7 100644 --- a/src/api/renwuApi/index.js +++ b/src/api/renwuApi/index.js @@ -62,4 +62,12 @@ export function addassetTaskadd(data) { method: "post", data, }) + } + + export function assetTaskdwHc(data) { + return request({ + url: `/unit/assetTask/dwHc`, + method: "post", + data, + }) } \ No newline at end of file diff --git a/src/views/auditPages/taskManagement/audit.vue b/src/views/auditPages/taskManagement/audit.vue index 71184ea..9dd4f6d 100644 --- a/src/views/auditPages/taskManagement/audit.vue +++ b/src/views/auditPages/taskManagement/audit.vue @@ -6,7 +6,7 @@ 基本信息
- + @@ -2670,7 +2670,7 @@ 不通过 - 通过 + 通过
@@ -2889,6 +2889,8 @@ export default { methods:{ // 获取详情 getInfo(obj){ + this.loading = true; + assetTasktaskSh(obj).then(res=>{ this.ruleForm = res.data; if(!this.ruleForm.xjgywxt) { @@ -2929,6 +2931,8 @@ export default { this.dlwz = [this.ruleForm.sheng] } }) + this.loading = false; + }, changeRadio(id){ this.ruleForm.xjgywxt = { @@ -3050,9 +3054,12 @@ export default { }, // 新增资产确认按钮 newAssets(type) { + // this.loading = true; + let tijioaobj = { taskId: this.$route.query.taskId, assetId: this.$route.query.assetId, + xtmc:this.ruleForm.xtmc, status: 4 } if (type == 0) { diff --git a/src/views/auditPages/taskManagement/info.vue b/src/views/auditPages/taskManagement/info.vue index 42c78d1..c608fb1 100644 --- a/src/views/auditPages/taskManagement/info.vue +++ b/src/views/auditPages/taskManagement/info.vue @@ -76,7 +76,7 @@ - +