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