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 @@ - +