From 22a890a385d9ab4f77111c9503d20d526d898e52 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Wed, 8 Jan 2025 16:37:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E4=BB=B6=E9=A2=86=E7=94=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=9C=AA=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../partLease/component/addToolsApply.vue | 12 ++--- .../part/partLease/component/homeApply.vue | 46 +++++++++---------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/views/material/part/partLease/component/addToolsApply.vue b/src/views/material/part/partLease/component/addToolsApply.vue index 1faab655..2cc17614 100644 --- a/src/views/material/part/partLease/component/addToolsApply.vue +++ b/src/views/material/part/partLease/component/addToolsApply.vue @@ -257,13 +257,13 @@ export default { }, //获取任务详情-列表数据 getTaskInfo() { - this.loading = true; - getAuditInfo({ taskId: this.taskId }).then((response) => { - this.maForm = this.paramTemp; - this.equipmentList = response.rows; - this.total = response.total; + // this.loading = true; + // getAuditInfo({ taskId: this.taskId }).then((response) => { + // this.maForm = this.paramTemp; + // this.equipmentList = response.rows; + // this.total = response.total; this.loading = false; - }); + // }); }, //单个通过 handlePass(row) { diff --git a/src/views/material/part/partLease/component/homeApply.vue b/src/views/material/part/partLease/component/homeApply.vue index 7e324097..5ff35a38 100644 --- a/src/views/material/part/partLease/component/homeApply.vue +++ b/src/views/material/part/partLease/component/homeApply.vue @@ -317,21 +317,21 @@ export default { } }, getList() { - this.loading = true; - const params = { - keyword: this.queryParams.keyword, - startTime: this.queryParams.time && this.queryParams.time[0], - endTime: this.queryParams.time && this.queryParams.time[1], - pageSize: this.queryParams.pageSize, - pageNum: this.queryParams.pageNum, - taskStatus: this.queryParams.taskStatus, - taskType:5, - }; - getListTestExamineApply(this.addDateRange(params)).then((response) => { - this.typeList = response.rows; - this.total = response.total; + // this.loading = true; + // const params = { + // keyword: this.queryParams.keyword, + // startTime: this.queryParams.time && this.queryParams.time[0], + // endTime: this.queryParams.time && this.queryParams.time[1], + // pageSize: this.queryParams.pageSize, + // pageNum: this.queryParams.pageNum, + // taskStatus: this.queryParams.taskStatus, + // taskType:5, + // }; + // getListTestExamineApply(this.addDateRange(params)).then((response) => { + // this.typeList = response.rows; + // this.total = response.total; this.loading = false; - }); + // }); }, /** 搜索按钮操作 */ handleQuery() { @@ -468,15 +468,15 @@ export default { /** 导出按钮操作 */ handleExport() { - this.download( - "/material/repair_audit_details/export", - { - ...this.queryParams, - startTime: this.queryParams.time && this.queryParams.time[0], - endTime: this.queryParams.time && this.queryParams.time[1], - }, - `修试审核_${new Date().getTime()}.xlsx` - ); + // this.download( + // "/material/repair_audit_details/export", + // { + // ...this.queryParams, + // startTime: this.queryParams.time && this.queryParams.time[0], + // endTime: this.queryParams.time && this.queryParams.time[1], + // }, + // `修试审核_${new Date().getTime()}.xlsx` + // ); }, //发布按钮