From cc9d89400ac9568a8459287f124a678d6971eba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Thu, 15 Jun 2023 17:10:20 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF=E6=96=87=E6=A1=A3=E5=BA=93=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/projectManagement/components/listOfRegulations.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index 08feba3fc..2978772ae 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -2802,6 +2802,7 @@ if (this.updateFlowStatusList && this.updateFlowStatusList.length > 0) { this.updateFlowStatusBatch() } + this.completeTaskList = [] for (let i = 0; i < this.startProcessList.length; i++) { if (this.startProcessList[i].type == 2) { this.startProcessList[i].dataList.designDutyDueDate = this.formInline.designDutyDueDate @@ -2829,6 +2830,7 @@ Promise.all(this.completeTaskList).then((res) => { if (this.requestsNum == res.length) { this.visible = false + this.formInline = {} this.selectedRowKeys = [] this.$message.success(this.$t('OperationSuccessful')) this.confirmLoading = false From eaab063e5d78f03e7b1351c83f9c1107bd89bce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Thu, 15 Jun 2023 17:26:32 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=8D=E5=88=B6=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 2 ++ jero-web/src/common/lang/zh-cn.js | 2 ++ .../components/problemKnowledgeBaseList.vue | 20 +++++++++++++++---- .../problemKnowledgeBaseListView.vue | 10 ++++++++++ 4 files changed, 30 insertions(+), 4 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 94256c6a6..c678d6f42 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1848,4 +1848,6 @@ module.exports = { approvalcycle:'Approval cycle(day)', transittime:'Transit Time', returntime:'Return time', + copyLink:'Copy link', + successfulReplication:'Successful replication', } \ 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 5fabf20f7..bf98567da 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1949,4 +1949,6 @@ module.exports = { approvalcycle:'审批周期(天)', transittime:'通过时间', returntime:'退回时间', + copyLink:'复制链接', + successfulReplication:'复制成功', } \ No newline at end of file diff --git a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseList.vue b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseList.vue index 4486e7def..e8198ea15 100644 --- a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseList.vue +++ b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseList.vue @@ -30,7 +30,7 @@ - +
+
+ + {{$t('copyLink')}} +
{{$t('contactTheFounder')}} @@ -424,9 +428,9 @@ this.queryForm = row this.$refs.SelectedByRef.getPush() }, - pushJump(row){ + pushJump(row) { let query = { - userName: row.createBy, + userName: row.createBy } postAction('/lark/getLarkApplinkByUserName', query).then((res) => { if (res.code === 200) { @@ -465,6 +469,12 @@ }, handleToggleSearch() { this.toggleSearchStatus = !this.toggleSearchStatus + }, + copyLinkClick(item) { + let text = window.location.host + this.$route.path + '?id=' + item.id + navigator.clipboard.writeText(text).then((res) => { + this.$message.success(this.$t('successfulReplication')) + }) } } } @@ -476,10 +486,12 @@ overflow: hidden; /*margin: 0 auto;*/ } - .jumpicon{ + + .jumpicon { height: 13.72px; width: 15.44px; } + .box-title-text { line-height: 1.4; width: 360px; diff --git a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseListView.vue b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseListView.vue index bd7912d77..5c8071ca9 100644 --- a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseListView.vue +++ b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseListView.vue @@ -53,6 +53,10 @@
+
+ + {{$t('copyLink')}} +
{{$t('contactTheFounder')}} @@ -493,6 +497,12 @@ this.$refs.SelectedByRef.submitLoading = false } }) + }, + copyLinkClick(item) { + let text = window.location.host + this.$route.path + '?id=' + item.id + navigator.clipboard.writeText(text).then((res) => { + this.$message.success(this.$t('successfulReplication')) + }) } } } From dc8977f6876bb4dabc2f1b6acc7814adc2b2558e Mon Sep 17 00:00:00 2001 From: wangzhijiang <1358525938@qq.com> Date: Thu, 15 Jun 2023 17:49:48 +0800 Subject: [PATCH 3/5] =?UTF-8?q?UAT=E9=97=AE=E9=A2=98=E6=B8=85=E5=8D=95-223?= =?UTF-8?q?=E6=9D=A1=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/ParamsReportDetailEOServiceImpl.java | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/report/service/impl/ParamsReportDetailEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/report/service/impl/ParamsReportDetailEOServiceImpl.java index 684750ec1..fc8e14cdd 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/report/service/impl/ParamsReportDetailEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/cert/report/service/impl/ParamsReportDetailEOServiceImpl.java @@ -1398,11 +1398,12 @@ public class ParamsReportDetailEOServiceImpl extends ServiceImpl paramsReportConfigDataEOS = paramsReportConfigDataEOService.queryByConfigIdListAndCollectManifestId(configIdList, paramsCollectManifestId); - StringBuilder configDataBuilder = new StringBuilder(); // 重新组合配置数据 + List configDataList = new ArrayList<>(); // 重新组合配置数据 for (ParamsReportConfigDataEO paramsConfigDataEO : paramsReportConfigDataEOS) { StringBuilder configDataBuilderTemp = new StringBuilder(); // 重新组合配置数据 @@ -1458,17 +1459,15 @@ public class ParamsReportDetailEOServiceImpl extends ServiceImpl Date: Thu, 15 Jun 2023 18:12:30 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=95=E8=A7=84?= =?UTF-8?q?=E9=A2=84=E8=AD=A6=E6=90=9C=E7=B4=A2=E6=97=B6=E9=97=B4=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/warn/service/LawsWarnService.java | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/warn/service/LawsWarnService.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/warn/service/LawsWarnService.java index 1887f6bb7..7ab80fe57 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/warn/service/LawsWarnService.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/warn/service/LawsWarnService.java @@ -98,9 +98,13 @@ public class LawsWarnService { //处理法规预警模块预警时间查询条件 flag = 0(新车实施日期), flag = 1(在产车实施日期) String flag = String.valueOf(parameter.get("flag")); if(StringUtils.equals(flag,"0")){ - parameter.put("xin1_che1_xing2_shi2_shi1_ri4_qi1",parameter.get("WarnTime")); + if(ObjectUtils.isEmpty(parameter.get("xin1_che1_xing2_shi2_shi1_ri4_qi1"))){ + parameter.put("xin1_che1_xing2_shi2_shi1_ri4_qi1",parameter.get("WarnTime")); + } } else if(StringUtils.equals(flag,"1")){ - parameter.put("implement_time",parameter.get("WarnTime")); + if(ObjectUtils.isEmpty(parameter.get("implement_time"))){ + parameter.put("implement_time",parameter.get("WarnTime")); + } } // parameter.remove("WarnTime"); @@ -249,7 +253,9 @@ public class LawsWarnService { Date newCarModelDate = null; try { - newCarModelDate = DateUtils.parseDate((String) data.get("xin1_che1_xing2_shi2_shi1_ri4_qi1"), "yyyy-MM-dd"); + if(ObjectUtils.isNotEmpty(data.get("xin1_che1_xing2_shi2_shi1_ri4_qi1"))){ + newCarModelDate = DateUtils.parseDate((String) data.get("xin1_che1_xing2_shi2_shi1_ri4_qi1"), "yyyy-MM-dd"); + } } catch (ParseException e) { e.printStackTrace(); } @@ -269,7 +275,9 @@ public class LawsWarnService { }).map(PhasedImplementationDetailsEO::getImplementationDate).collect(Collectors.toList()); Date implementTime = null; try { - implementTime = DateUtils.parseDate((String) data.get("implement_time"), "yyyy-MM-dd"); + if(ObjectUtils.isNotEmpty(data.get("implement_time"))){ + implementTime = DateUtils.parseDate((String) data.get("implement_time"), "yyyy-MM-dd"); + } } catch (ParseException e) { e.printStackTrace(); } From 8cc068f823bb9fd4cd069bff7f19cca1bb3e3084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E5=B5=A9?= Date: Thu, 15 Jun 2023 18:12:59 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=95=E8=A7=84?= =?UTF-8?q?=E9=A2=84=E8=AD=A6=E6=90=9C=E7=B4=A2=E6=97=B6=E9=97=B4=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/search/index.vue | 7 +- .../views/regulatoryEarlyWarning/index.vue | 638 ++++++++++-------- 2 files changed, 346 insertions(+), 299 deletions(-) diff --git a/jero-web/src/components/search/index.vue b/jero-web/src/components/search/index.vue index 465f35037..9b0e2148b 100644 --- a/jero-web/src/components/search/index.vue +++ b/jero-web/src/components/search/index.vue @@ -230,7 +230,12 @@ // this.queryParam['WarnTimeText'] = '2' // } let startTime = moment(new Date()).format('YYYY-MM-DD') - let endTime = this.getNowdate() + let endTime = '' + if (!this.queryParam['WarnTimeText']){ + endTime = '2099-01-01' + }else{ + endTime = this.getNowdate() + } if(this.queryParam['WarnTimeText'] == '5'){ this.queryParam['WarnTime'] = [endTime, startTime] }else{ diff --git a/jero-web/src/views/regulatoryEarlyWarning/index.vue b/jero-web/src/views/regulatoryEarlyWarning/index.vue index 6554970ac..2f5a04935 100644 --- a/jero-web/src/views/regulatoryEarlyWarning/index.vue +++ b/jero-web/src/views/regulatoryEarlyWarning/index.vue @@ -5,19 +5,19 @@ :searchQueryList="searchQueryList" :flag="'1'" :isDefault="true" - :url="url"/> + :url="url" />
- - {{$t('share')}} + + {{ $t('share') }}
- - {{$t('export')}} + + {{ $t('export') }}
@@ -40,39 +40,39 @@ :columns="columns" > - {{text}} + {{ text }} - {{text}} + {{ text }} - {{text}} + {{ text }} - {{text}} + {{ text }} - {{text}} + {{ text }} - {{text}} + {{ text }} - {{text}} + {{ text }} - {{text}} + {{ text }} - {{text}} + {{ text }} - {{text}} + {{ text }} @@ -98,253 +98,292 @@ \ No newline at end of file