From d1df09a8a286ee050acd6e0bfa295f9016004381 Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Mon, 8 Dec 2025 18:03:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E7=AE=97=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/material/cost/component/applyDetail.vue | 3 +++ src/views/material/cost/component/applyHome.vue | 2 +- src/views/material/cost/component/unreportHome.vue | 3 +-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/material/cost/component/applyDetail.vue b/src/views/material/cost/component/applyDetail.vue index abe66597..21657fcb 100644 --- a/src/views/material/cost/component/applyDetail.vue +++ b/src/views/material/cost/component/applyDetail.vue @@ -685,11 +685,14 @@ export default { settlementType: this.rowData[0].settlementType || '' } console.log('2222222222222', params) + this.loading = true submitCosts(params).then(response => { + this.loading = false this.$message({ type: 'success', message: '提交成功' }) + this.$emit('isReset') }) }) diff --git a/src/views/material/cost/component/applyHome.vue b/src/views/material/cost/component/applyHome.vue index 4174300c..14648500 100644 --- a/src/views/material/cost/component/applyHome.vue +++ b/src/views/material/cost/component/applyHome.vue @@ -637,7 +637,7 @@ export default { async getRepairList() { try { this.isLoading = true - const res = await viewRepairCodeApi({ ...this.repairQuery }) + const res = await viewRepairCodeApi({ ...this.repairQuery,settlementType:this.queryParams.settlementType }) this.repairList = res.rows || [] this.repairTotal = res.total || 0 } catch (error) { diff --git a/src/views/material/cost/component/unreportHome.vue b/src/views/material/cost/component/unreportHome.vue index d8e0bf33..85d98f3d 100644 --- a/src/views/material/cost/component/unreportHome.vue +++ b/src/views/material/cost/component/unreportHome.vue @@ -579,7 +579,6 @@ import Treeselect from "@riophae/vue-treeselect"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; import * as XLSX from 'xlsx'; import request from '@/utils/request' -import { download,downloadJson,downloadZip } from '@/utils/request' export default { name: 'UnreportHome', @@ -933,7 +932,7 @@ export default { console.log("xxxxxxxxxxtaskId",this.taskId) const param = { taskId: this.taskId } this.downloadZip( - 'material/slt_agreement_info/downloadExZip', + 'material/slt_agreement_info/dlExProgress', JSON.stringify(param), `未结算批量明细导出_${new Date().getTime()}.zip`, )