From 46eab42ac1dcb641e2a3aa392d4952aa0f52b69c Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Wed, 30 Apr 2025 10:09:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=8B=E8=BD=BD=E6=93=8D?= =?UTF-8?q?=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epc-template/components/addAndEditForm.vue | 1 + src/views/data-create/epc-template/index.vue | 10 +++++++++- .../gw-template/components/addAndEditForm.vue | 1 + .../nw-template/components/addAndEditForm.vue | 1 + src/views/data-create/nw-template/index.vue | 10 +++++++++- .../components/addAndEditForm.vue | 1 + 6 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/views/data-create/epc-template/components/addAndEditForm.vue b/src/views/data-create/epc-template/components/addAndEditForm.vue index 1a35ffc..da5d9e0 100644 --- a/src/views/data-create/epc-template/components/addAndEditForm.vue +++ b/src/views/data-create/epc-template/components/addAndEditForm.vue @@ -1110,6 +1110,7 @@ export default { font-size: 14px; font-weight: 600; margin: 10px 0; + text-align: left !important; } .title-box { padding: 8px 0; diff --git a/src/views/data-create/epc-template/index.vue b/src/views/data-create/epc-template/index.vue index 8d5ef83..291a7af 100644 --- a/src/views/data-create/epc-template/index.vue +++ b/src/views/data-create/epc-template/index.vue @@ -175,7 +175,15 @@ export default { this.dialogConfig.outerVisible = true }, // 下载 - onHandleDownload(row) {}, + onHandleDownload(row) { + this.downloadNew( + '/stateGrid/downloadEpcTemp', + { + id: row.id, + }, + `国网模板_${row.name}.doc`, + ) + }, // 获取EPC模板列表列表 async getEpcTemplateList() { diff --git a/src/views/data-create/gw-template/components/addAndEditForm.vue b/src/views/data-create/gw-template/components/addAndEditForm.vue index d7255cc..641f614 100644 --- a/src/views/data-create/gw-template/components/addAndEditForm.vue +++ b/src/views/data-create/gw-template/components/addAndEditForm.vue @@ -1697,6 +1697,7 @@ export default { font-size: 14px; font-weight: 600; margin: 10px 0; + text-align: left !important; } .title-box { padding: 8px 0; diff --git a/src/views/data-create/nw-template/components/addAndEditForm.vue b/src/views/data-create/nw-template/components/addAndEditForm.vue index 28bd146..447bf57 100644 --- a/src/views/data-create/nw-template/components/addAndEditForm.vue +++ b/src/views/data-create/nw-template/components/addAndEditForm.vue @@ -1110,6 +1110,7 @@ export default { font-size: 14px; font-weight: 600; margin: 10px 0; + text-align: left !important; } .title-box { padding: 8px 0; diff --git a/src/views/data-create/nw-template/index.vue b/src/views/data-create/nw-template/index.vue index bf4f4cb..eda9aa8 100644 --- a/src/views/data-create/nw-template/index.vue +++ b/src/views/data-create/nw-template/index.vue @@ -175,7 +175,15 @@ export default { this.dialogConfig.outerVisible = true }, // 下载 - onHandleDownload(row) {}, + onHandleDownload(row) { + this.downloadNew( + '/stateGrid/downloadSouthTemp', + { + id: row.id, + }, + `国网模板_${row.name}.doc`, + ) + }, // 获取NW模板列表列表 async getNwTemplateList() { diff --git a/src/views/sub-manage/sub-performance-manage/components/addAndEditForm.vue b/src/views/sub-manage/sub-performance-manage/components/addAndEditForm.vue index c1bbc1d..bb27633 100644 --- a/src/views/sub-manage/sub-performance-manage/components/addAndEditForm.vue +++ b/src/views/sub-manage/sub-performance-manage/components/addAndEditForm.vue @@ -458,6 +458,7 @@ export default { if (newVal && Object.keys(newVal).length > 0) { const newValueObj = JSON.parse(JSON.stringify(newVal)) Object.assign(this.addAndEditForm, { ...newValueObj }) + this.getSubKeyPersonList(newValueObj.subId) this.addAndEditForm.startAndEndTime = [newValueObj.startTime, newValueObj.endTime] this.addTableList = [] this.addTableList = newValueObj.tbCompanyPerfRelList