From a71e10b7944016bf4e1ccb6ce96ac73182feeedb Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Mon, 4 Jul 2022 15:31:32 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=B3=95=E8=A7=84?= =?UTF-8?q?=E6=9C=88=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 3 + jero-web/src/common/lang/zh-cn.js | 3 + .../components/RegulationMonthlyFill.vue | 32 ++- .../components/modules/defaultTemplate.vue | 191 ++++++++++++++---- .../components/modules/fillAdd.vue | 170 +++++++++++----- .../components/modules/fillTableAdd.vue | 4 +- .../components/modules/releaseStandard.vue | 48 ++++- .../components/modules/solicitOpinions.vue | 48 +++-- 8 files changed, 374 insertions(+), 125 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 973899589..8949aa8bf 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1075,4 +1075,7 @@ module.exports = { TheEngineerAndCertification:'The regulatory engineer and Certification Engineer of cannot be empty', bringInTheProjectInterface:'Bring in the project interface', theCurrentListSaved:'The current list data has been submitted and cannot be temporarily saved', + defaultTemplate:'Default template', + newRequestCommentListTemplate:'New request for comment list template', + NewReleasedStandardTemplate:'New released standard template', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 2aba9452a..f02aaedd0 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1079,4 +1079,7 @@ module.exports = { requiredParametersEmpty:'必填参数不能为空', bringInTheProjectInterface:'带入工程接口人', theCurrentListSaved:'当前列表数据已全部提交,无法进行暂存', + defaultTemplate:'默认模板', + newRequestCommentListTemplate:'新征求意见清单模板', + NewReleasedStandardTemplate:'新发布标准模板', } \ No newline at end of file diff --git a/jero-web/src/views/businessSupport/regulationReport/components/RegulationMonthlyFill.vue b/jero-web/src/views/businessSupport/regulationReport/components/RegulationMonthlyFill.vue index c57c1a2da..466f3f69a 100644 --- a/jero-web/src/views/businessSupport/regulationReport/components/RegulationMonthlyFill.vue +++ b/jero-web/src/views/businessSupport/regulationReport/components/RegulationMonthlyFill.vue @@ -90,7 +90,8 @@ return { //url传参严格按照当前命名 url: { - deleteBatch: '' + deleteBatch: '/report/lawsMonthlyReportWriteEO/deleteBatch', + list:'/report/lawsMonthlyReportWriteEO/page', }, loading: false, dataSource: [], @@ -103,7 +104,7 @@ { title: this.$t('chapterContents'), align: 'center', - dataIndex: 'chapterContents', + dataIndex: 'memoriesChapterName', width: 170 }, { @@ -124,21 +125,21 @@ align: 'center', width: 170, ellipsis: true, - dataIndex: 'regulatoryContact' + dataIndex: 'lawsContact' }, { title: this.$t('completedBy'), align: 'center', ellipsis: true, width: 170, - dataIndex: 'completedBy' + dataIndex: 'createBy' }, { title: this.$t('exportStatus'), align: 'center', ellipsis: true, width: 170, - dataIndex: 'exportStatus' + dataIndex: 'exportStateName' }, { title: this.$t('operation'), @@ -183,7 +184,26 @@ this.getList() }, getList() { - + let query = { + pageNo: this.pageNo, + pageSize: this.pageSize, + ...this.queryParam + } + this.loading = true + getAction(this.url.list, query).then((res) => { + if (res.success) { + if (res.result.current > 1 && res.result.records.length == 0) { + this.pageNo = res.result.current - 1 + this.getList() + return + } + this.dataSource = res.result.records || [] + this.total = res.result.total + this.loading = false + } else { + this.loading = false + } + }) }, monthlyTitleTemplateClick() { this.$refs.fillTableRef.getData() diff --git a/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue b/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue index 1fb8577ec..80632e53a 100644 --- a/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue +++ b/jero-web/src/views/businessSupport/regulationReport/components/modules/defaultTemplate.vue @@ -7,10 +7,10 @@ {{$t('title')}} - + @@ -21,10 +21,10 @@ {{$t('englishTitle')}} - + @@ -59,7 +59,7 @@ :title="$t('vehicleType')">{{$t('vehicleType')}} - @@ -75,7 +75,7 @@ :title="$t('scopeOfApplication')">{{$t('scopeOfApplication')}} - @@ -89,7 +89,7 @@ :title="$t('status')">{{$t('status')}} - {{$t('usage')}} - + :triggerChange="false" :dictCode="'yong4_fa3'"/> @@ -120,10 +120,10 @@ {{$t('implementationModel')}} - + @@ -136,10 +136,10 @@ {{$t('releaseDate')}} - + @@ -150,10 +150,10 @@ {{$t('ImplementationDate')}} - + @@ -166,10 +166,10 @@ {{$t('vehicleInProductionDate')}} - + @@ -181,10 +181,10 @@
{{$t('primaryCoverageCn')}}
- + + v-model.trim="formInline.contentCn" :rows="4"/> @@ -195,10 +195,10 @@
{{$t('primaryCoverageEn')}}
- + + v-model.trim="formInline.contentEn" :rows="4"/> @@ -209,10 +209,10 @@
{{$t('workProgressCn')}}
- + + v-model.trim="formInline.workProgressCn" :rows="4"/> @@ -223,10 +223,10 @@
{{$t('workProgressEn')}}
- + + v-model.trim="formInline.workProgressEn" :rows="4"/> @@ -238,10 +238,11 @@ {{$t('regulatoryContact')}} - + @@ -252,7 +253,7 @@
{{$t('link')}}
- +