Date: Mon, 27 Mar 2023 15:32:52 +0800
Subject: [PATCH 5/8] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E6=B4=BB=E5=8A=A8?=
=?UTF-8?q?=E5=A4=87=E6=A1=88=E5=AD=97=E6=AE=B5=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jero-web/src/common/lang/zh-cn.js | 8 +++---
.../auxiliaryupgradehavechanged.vue | 26 ++-----------------
.../thetargetvehicleofthisupgrade.vue | 1 +
.../components/upgradehavechanged.vue | 2 +-
.../components/upgradeimpactassessment.vue | 17 ++++++++----
.../components/usernotification.vue | 5 +++-
6 files changed, 24 insertions(+), 35 deletions(-)
diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js
index 1aa0154f3..93b2e98a9 100644
--- a/jero-web/src/common/lang/zh-cn.js
+++ b/jero-web/src/common/lang/zh-cn.js
@@ -1618,7 +1618,7 @@ module.exports = {
thetargetvehicleofthisupgrade:'本次升级的目标车辆',
upgradeimpactassessment:'升级影响评估',
upgradehavechanged:'本次升级的系统名称与参数变化',
- auxiliaryupgradehavechanged:'本次升级的架势辅助功能名称与参数变化',
+ auxiliaryupgradehavechanged:'本次升级的驾驶辅助功能名称与参数变化',
usernotification:'用户告知内容及方式',
informationaboutotherupgradetasks:'其他升级任务信息',
totalquantity:'总数量(辆)',
@@ -1735,7 +1735,7 @@ module.exports = {
upgradeactivitiesaffectvehiclesafety:'升级活动是否影响车辆安全',
upgradeactivityprovidesuserconfirmationoptions:'升级活动是否提供用户确认选项',
upgradepackagetest:'升级包测试(可多选)',
- reliabilityofonlineupgradeactivities:'是杏已验证确认在线升级活动的安全性和可靠性',
+ reliabilityofonlineupgradeactivities:'是否已验证确认在线升级活动的安全性和可靠性',
adjustmentofchangedBulletinparameters:'已变更《公告》参数的对应调整(如有)',
preupgrade:'升级前',
afterupgrade:'升级后',
@@ -1746,8 +1746,8 @@ module.exports = {
beforetheOSversionupgraded:'操作系统版本号升级前',
aftertheoperatingsystemversionupgraded:'操作系统版本号升级后',
initialpackageforintegrityinflammatorydata:'初始软件包的完整性验证数据(需统一哈希算法并说明,例如SM3:d192e819d6990624f40e3585106ee134)',
- upgradepackageintegrityverificationdata:'升级包完整性验证数据',
- upgradepackagesize:'升级包大小',
+ upgradepackageintegrityverificationdata:'升级包完整性验证数据(需统一哈希算法并说明,例如SM3:d192e819d6990624f40e3585106ee134)',
+ upgradepackagesize:'升级包大小(MB)',
differentialupgradeornot:'是否差分升级',
upgradedestinationype:'升级目的类型',
functionalchangedescription:'功能变更描述',
diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/auxiliaryupgradehavechanged.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/auxiliaryupgradehavechanged.vue
index 22bcac59c..04e659072 100644
--- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/auxiliaryupgradehavechanged.vue
+++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/auxiliaryupgradehavechanged.vue
@@ -43,18 +43,13 @@
-
-
-
-
-
-
+
{{$t('add')}}
- {{$t('delete')}}
+ {{$t('delete')}}
@@ -155,23 +150,6 @@ export default {
width: 170,
scopedSlots: { customRender: 'upgradetheelectroniccontrollerinvolved' },
},
- {
- title: this.$t('functiondescription'),
- align: 'left',
- dataIndex: 'functiondescription',
- ellipsis: true,
- width: 170,
- scopedSlots: { customRender: 'functiondescription' },
- },
- {
- title: this.$t('applicationconditions'),
- align: 'left',
- dataIndex: 'applicationconditions',
- ellipsis: true,
- width: 170,
- scopedSlots: { customRender: 'applicationconditions' },
- },
-
{
title: this.$t('operation'),
align: 'left',
diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue
index 161896a0e..379e1167e 100644
--- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue
+++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue
@@ -79,6 +79,7 @@
formInline.VINcodelist == null) ? $t('clickUpload') : $t('viewUploadedFiles')
}}
+
支持cxv格式,大下20M以内,数量1-10个
diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradehavechanged.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradehavechanged.vue
index 4193f643a..cd4a3a125 100644
--- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradehavechanged.vue
+++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradehavechanged.vue
@@ -63,7 +63,7 @@
{{$t('addcontroller')}}
- {{$t('delete')}}
+ {{$t('delete')}}
diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment.vue
index 14424544b..6905c3bfe 100644
--- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment.vue
+++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment.vue
@@ -478,8 +478,12 @@ this.$forceUpdate()
border-bottom: none;
vertical-align: top;
overflow: hidden; /*超出部分隐藏*/
- text-overflow: ellipsis; /*超出部分省略号表示*/
- white-space: nowrap;
+ // text-overflow: ellipsis; /*超出部分省略号表示*/
+ white-space: wrap;
+ display: flex;
+ // justify-content: center;
+ align-items: center;
+ line-height: 1.3;
}
//::v-deep .sider .ant-layout-sider .ant-layout-sider-dark{
// min-width: 723px !important;
@@ -511,14 +515,17 @@ this.$forceUpdate()
display: inline-block;
width: 100%;
height: 50px;
- line-height: 50px;
+ line-height: 1.3;
border: black solid 1px;
vertical-align: top;
border-right: none;
border-bottom: none;
overflow: hidden; /*超出部分隐藏*/
- text-overflow: ellipsis; /*超出部分省略号表示*/
- white-space: nowrap;
+ // text-overflow: ellipsis; /*超出部分省略号表示*/
+ white-space: wrap;
+ display: flex;
+ // justify-content: center;
+ align-items: center;
}
.sider-span{
display: inline-block;
diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/usernotification.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/usernotification.vue
index 5a5717e53..58ccc5d5f 100644
--- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/usernotification.vue
+++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/usernotification.vue
@@ -260,7 +260,10 @@ export default {
display: flex;
}
-
+h1{
+ font-weight: 700;
+ font-style: 20px;
+}
.title-text-add {
width: 440px;
text-align: right;
From 276fb7dd704e806a5fed5938dc0f131163c98fbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167>
Date: Mon, 27 Mar 2023 15:55:31 +0800
Subject: [PATCH 6/8] =?UTF-8?q?=E6=B3=95=E8=A7=84=E6=B8=85=E5=8D=95-?=
=?UTF-8?q?=E6=92=A4=E5=9B=9E=E4=B8=8D=E7=AC=A6=E5=90=88=E7=9A=84=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=E8=BF=9B=E8=A1=8C=E6=8F=90=E7=A4=BA;=20=E6=B3=95?=
=?UTF-8?q?=E8=A7=84=E6=B8=85=E5=8D=95-=E6=B3=95=E8=A7=84=E5=B7=A5?=
=?UTF-8?q?=E7=A8=8B=E5=B8=88-=E4=B8=8D=E5=A1=AB=E5=86=99=E7=AC=A6?=
=?UTF-8?q?=E5=90=88=E6=80=A7=E6=B5=81=E7=A8=8B=E7=9A=84=E6=8F=90=E7=A4=BA?=
=?UTF-8?q?=E8=AF=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jero-web/src/common/lang/en-us.js | 1 +
jero-web/src/common/lang/zh-cn.js | 1 +
.../components/certificationList/index.vue | 62 +++++++++++++------
.../components/listOfRegulations.vue | 21 ++++---
4 files changed, 57 insertions(+), 28 deletions(-)
diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js
index 4731695af..73cd82371 100644
--- a/jero-web/src/common/lang/en-us.js
+++ b/jero-web/src/common/lang/en-us.js
@@ -1720,4 +1720,5 @@ module.exports = {
format:'It supports doc/docx/pdf format and is less than 50M in size',
cantTransferToYourself:"Can't transfer to yourself",
theDataYouInitiate:'The data you selected does not meet the process initiation criteria. Please recheck and initiate',
+ dataWithProcessReleasedCannotBeReset:'Data with a process status of list to be released cannot be reset',
}
\ 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 a6a83d627..9369a1133 100644
--- a/jero-web/src/common/lang/zh-cn.js
+++ b/jero-web/src/common/lang/zh-cn.js
@@ -1822,4 +1822,5 @@ module.exports = {
format:'支持doc/docx/pdf格式,大小50M以内',
cantTransferToYourself:"不能转办给自己",
theDataYouInitiate:'您所选的数据,均不符合流程发起条件,请重新检查后发起',
+ dataWithProcessReleasedCannotBeReset:'流程状态为清单待发布的数据不能被重置',
}
\ No newline at end of file
diff --git a/jero-web/src/views/projectManagement/components/certificationList/index.vue b/jero-web/src/views/projectManagement/components/certificationList/index.vue
index 21166c48f..cf788bfe9 100644
--- a/jero-web/src/views/projectManagement/components/certificationList/index.vue
+++ b/jero-web/src/views/projectManagement/components/certificationList/index.vue
@@ -402,6 +402,7 @@
+ {{ $t('Submitting') }}
@@ -514,6 +515,7 @@
pageNo: 1,
pageSize: 50,
total: 0,
+ JTextLoading: false,
CertificationColor: {
'Test passed': 'accordColor',
'Test failed': 'nonConformityColor',
@@ -973,25 +975,49 @@
processResetClick() {
let _this = this
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
- this.$confirm({
- content: _this.$t('confirmResetProcess'),
- onOk() {
- let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
- postAction('/project/projectCertificationInventoryEO/resetFlow', {
- ids: idList.join(','),
- projectLibraryId: _this.$route.query.id,
- operatorType: 'certificationInventoryStudioReset'
- }).then((res) => {
- if (res.success) {
- _this.$message.success(_this.$t('OperationSuccessful'))
- _this.selectedRowKeys = []
- _this.getList()
- } else {
- _this.$message.warning(res.message)
- }
- })
+ let ids = []
+ let notConditions = []
+ for (let i = 0; i < this.selectedRowKeysList.length; i++) {
+ if (this.selectedRowKeysList[i].flowStatus == 'List to be released') {
+ notConditions.push(this.selectedRowKeysList[i].inspectionItem)
+ } else {
+ ids.push(this.selectedRowKeysList[i].id)
}
- })
+ }
+ let data = ''
+ if (notConditions && notConditions.length > 0) {
+ data = this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('conditionsNotMet') + ',' + this.$t('dataWithProcessReleasedCannotBeReset')
+ }
+ if (ids && ids.length > 0) {
+ this.$confirm({
+ content: _this.$t('confirmResetProcess'),
+ onOk() {
+ _this.JTextLoading = true
+ let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
+ postAction('/project/projectCertificationInventoryEO/resetFlow', {
+ ids: idList.join(','),
+ projectLibraryId: _this.$route.query.id,
+ operatorType: 'certificationInventoryStudioReset'
+ }).then((res) => {
+ if (res.success) {
+ _this.$message.success(_this.$t('OperationSuccessful'))
+ _this.selectedRowKeys = []
+ _this.getList()
+ if (notConditions && notConditions.length > 0) {
+ _this.failedMessage(data)
+ }
+ _this.JTextLoading = false
+ } else {
+ _this.$message.warning(res.message)
+ _this.JTextLoading = false
+ }
+ })
+ }
+ })
+ } else {
+ this.failedMessage(data)
+ this.JTextLoading = false
+ }
} else {
this.$message.warning(this.$t('selectLeastOne'))
}
diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue
index ac361119e..7ab49a743 100644
--- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue
+++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue
@@ -1689,19 +1689,20 @@
for (let i = 0; i < this.dataSource.length; i++) {
for (let j = 0; j < selectedRowKeys.length; j++) {
if (this.dataSource[i].id == selectedRowKeys[j]) {
- content.push(this.dataSource[i])
+ // content.push(this.dataSource[i])
+ isTrue = true
}
}
}
- for (let i = 0; i < content.length; i++) {
- if (content[i].designFlowStatus == 'List to be released' &&
- content[i].verifyFlowStatus == 'List to be released') {
- isTrue = false
-
- } else {
- isTrue = true
- }
- }
+ // for (let i = 0; i < content.length; i++) {
+ // if (content[i].designFlowStatus == 'List to be released' &&
+ // content[i].verifyFlowStatus == 'List to be released') {
+ // isTrue = false
+ //
+ // } else {
+ // isTrue = true
+ // }
+ // }
if (isTrue) {
this.changeInterface(selectedRowKeys)
}
From 0e829b33040d11044d99909c553c9c23949b1d28 Mon Sep 17 00:00:00 2001
From: "zyx.net"
Date: Mon, 27 Mar 2023 16:05:27 +0800
Subject: [PATCH 7/8] bug 67300 bug 67307 bug 67303
---
.../components/maintenance.vue | 17 +++++++++---
.../otamanagement/upgradeactivity/index.vue | 4 +--
.../auxiliaryupgradehavechanged.vue | 2 +-
.../thetargetvehicleofthisupgrade.vue | 2 +-
.../components/upgradehavechanged.vue | 2 +-
.../components/upgradeimpactassessment.vue | 2 +-
.../components/upgradetargetmodel.vue | 2 +-
.../components/usernotification.vue | 2 +-
.../components/maintenance.vue | 26 +++++++++++++++----
.../vehicleregistration/index.vue | 6 ++---
10 files changed, 45 insertions(+), 20 deletions(-)
diff --git a/jero-web/src/views/otamanagement/upgradeactivity/components/maintenance.vue b/jero-web/src/views/otamanagement/upgradeactivity/components/maintenance.vue
index 75237d8fc..0993686b4 100644
--- a/jero-web/src/views/otamanagement/upgradeactivity/components/maintenance.vue
+++ b/jero-web/src/views/otamanagement/upgradeactivity/components/maintenance.vue
@@ -41,7 +41,7 @@
:getCalendarContainer="(trigger) => trigger.parentNode"
v-model="formInline.batjsj"
:disabled="false"
- style="width: 100%"/>
+ style="width: 90%"/>
@@ -52,9 +52,10 @@
{{$t('remarks')}}