Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH
This commit is contained in:
@@ -1719,4 +1719,6 @@ module.exports = {
|
|||||||
note:'Note: The attachment includes the list of test items and test report. Test standard or technical specification',
|
note:'Note: The attachment includes the list of test items and test report. Test standard or technical specification',
|
||||||
format:'It supports doc/docx/pdf format and is less than 50M in size',
|
format:'It supports doc/docx/pdf format and is less than 50M in size',
|
||||||
cantTransferToYourself:"Can't transfer to yourself",
|
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',
|
||||||
}
|
}
|
||||||
@@ -77,7 +77,7 @@ module.exports = {
|
|||||||
yes: '是',
|
yes: '是',
|
||||||
not: '否',
|
not: '否',
|
||||||
have:'有',
|
have:'有',
|
||||||
|
|
||||||
notOnlyRz: '否',
|
notOnlyRz: '否',
|
||||||
EnterValue: '请输入值',
|
EnterValue: '请输入值',
|
||||||
SavedQuery: '保存的查询',
|
SavedQuery: '保存的查询',
|
||||||
@@ -1618,7 +1618,7 @@ module.exports = {
|
|||||||
thetargetvehicleofthisupgrade:'本次升级的目标车辆',
|
thetargetvehicleofthisupgrade:'本次升级的目标车辆',
|
||||||
upgradeimpactassessment:'升级影响评估',
|
upgradeimpactassessment:'升级影响评估',
|
||||||
upgradehavechanged:'本次升级的系统名称与参数变化',
|
upgradehavechanged:'本次升级的系统名称与参数变化',
|
||||||
auxiliaryupgradehavechanged:'本次升级的架势辅助功能名称与参数变化',
|
auxiliaryupgradehavechanged:'本次升级的驾驶辅助功能名称与参数变化',
|
||||||
usernotification:'用户告知内容及方式',
|
usernotification:'用户告知内容及方式',
|
||||||
informationaboutotherupgradetasks:'其他升级任务信息',
|
informationaboutotherupgradetasks:'其他升级任务信息',
|
||||||
totalquantity:'总数量(辆)',
|
totalquantity:'总数量(辆)',
|
||||||
@@ -1735,7 +1735,7 @@ module.exports = {
|
|||||||
upgradeactivitiesaffectvehiclesafety:'升级活动是否影响车辆安全',
|
upgradeactivitiesaffectvehiclesafety:'升级活动是否影响车辆安全',
|
||||||
upgradeactivityprovidesuserconfirmationoptions:'升级活动是否提供用户确认选项',
|
upgradeactivityprovidesuserconfirmationoptions:'升级活动是否提供用户确认选项',
|
||||||
upgradepackagetest:'升级包测试(可多选)',
|
upgradepackagetest:'升级包测试(可多选)',
|
||||||
reliabilityofonlineupgradeactivities:'是杏已验证确认在线升级活动的安全性和可靠性',
|
reliabilityofonlineupgradeactivities:'是否已验证确认在线升级活动的安全性和可靠性',
|
||||||
adjustmentofchangedBulletinparameters:'已变更《公告》参数的对应调整(如有)',
|
adjustmentofchangedBulletinparameters:'已变更《公告》参数的对应调整(如有)',
|
||||||
preupgrade:'升级前',
|
preupgrade:'升级前',
|
||||||
afterupgrade:'升级后',
|
afterupgrade:'升级后',
|
||||||
@@ -1746,8 +1746,8 @@ module.exports = {
|
|||||||
beforetheOSversionupgraded:'操作系统版本号升级前',
|
beforetheOSversionupgraded:'操作系统版本号升级前',
|
||||||
aftertheoperatingsystemversionupgraded:'操作系统版本号升级后',
|
aftertheoperatingsystemversionupgraded:'操作系统版本号升级后',
|
||||||
initialpackageforintegrityinflammatorydata:'初始软件包的完整性验证数据(需统一哈希算法并说明,例如SM3:d192e819d6990624f40e3585106ee134)',
|
initialpackageforintegrityinflammatorydata:'初始软件包的完整性验证数据(需统一哈希算法并说明,例如SM3:d192e819d6990624f40e3585106ee134)',
|
||||||
upgradepackageintegrityverificationdata:'升级包完整性验证数据',
|
upgradepackageintegrityverificationdata:'升级包完整性验证数据(需统一哈希算法并说明,例如SM3:d192e819d6990624f40e3585106ee134)',
|
||||||
upgradepackagesize:'升级包大小',
|
upgradepackagesize:'升级包大小(MB)',
|
||||||
differentialupgradeornot:'是否差分升级',
|
differentialupgradeornot:'是否差分升级',
|
||||||
upgradedestinationype:'升级目的类型',
|
upgradedestinationype:'升级目的类型',
|
||||||
functionalchangedescription:'功能变更描述',
|
functionalchangedescription:'功能变更描述',
|
||||||
@@ -1821,4 +1821,6 @@ module.exports = {
|
|||||||
note:'注:附件包括测试项目清单、测试报告.测试标准或技术规范',
|
note:'注:附件包括测试项目清单、测试报告.测试标准或技术规范',
|
||||||
format:'支持doc/docx/pdf格式,大小50M以内',
|
format:'支持doc/docx/pdf格式,大小50M以内',
|
||||||
cantTransferToYourself:"不能转办给自己",
|
cantTransferToYourself:"不能转办给自己",
|
||||||
|
theDataYouInitiate:'您所选的数据,均不符合流程发起条件,请重新检查后发起',
|
||||||
|
dataWithProcessReleasedCannotBeReset:'流程状态为清单待发布的数据不能被重置',
|
||||||
}
|
}
|
||||||
+2
-24
@@ -43,18 +43,13 @@
|
|||||||
<span slot="upgradetheelectroniccontrollerinvolved" slot-scope="text,record">
|
<span slot="upgradetheelectroniccontrollerinvolved" slot-scope="text,record">
|
||||||
<a-input :placeholder="$t('pleaseEnter')" :title="$t('ifNot')" v-model="record.sjsjkzq"></a-input>
|
<a-input :placeholder="$t('pleaseEnter')" :title="$t('ifNot')" v-model="record.sjsjkzq"></a-input>
|
||||||
</span>
|
</span>
|
||||||
<span slot="functiondescription" slot-scope="text,record">
|
|
||||||
<a-input :placeholder="$t('pleaseEnter')" :title="$t('ifNot')" v-model="record.gnbgms"></a-input>
|
|
||||||
</span>
|
|
||||||
<span slot="applicationconditions" slot-scope="text,record">
|
|
||||||
<a-input :placeholder="$t('pleaseEnter')" :title="$t('ifNot')" v-model="record.sytjbg"></a-input>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 操作列-->
|
<!-- 操作列-->
|
||||||
<span slot="operation" slot-scope="text,record">
|
<span slot="operation" slot-scope="text,record">
|
||||||
<a class="text-operation" @click="addlineAtBot">{{$t('add')}}</a>
|
<a class="text-operation" @click="addlineAtBot">{{$t('add')}}</a>
|
||||||
<a class="text-operation" @click="deleteData(record)">{{$t('delete')}}</a>
|
<a class="text-operation" @click="deleteData(record)" v-if="dataSource.length > 1">{{$t('delete')}}</a>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
<div>
|
<div>
|
||||||
@@ -155,23 +150,6 @@ export default {
|
|||||||
width: 170,
|
width: 170,
|
||||||
scopedSlots: { customRender: 'upgradetheelectroniccontrollerinvolved' },
|
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'),
|
title: this.$t('operation'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|||||||
+1
@@ -79,6 +79,7 @@
|
|||||||
formInline.VINcodelist == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
formInline.VINcodelist == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
||||||
}}
|
}}
|
||||||
</a-button>
|
</a-button>
|
||||||
|
<p>支持cxv格式,大下20M以内,数量1-10个</p>
|
||||||
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"></uploadFile>
|
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"></uploadFile>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+1
-1
@@ -63,7 +63,7 @@
|
|||||||
<!-- 操作列-->
|
<!-- 操作列-->
|
||||||
<span slot="operation" slot-scope="text,record">
|
<span slot="operation" slot-scope="text,record">
|
||||||
<a class="text-operation" @click="addlineAtBot">{{$t('addcontroller')}}</a>
|
<a class="text-operation" @click="addlineAtBot">{{$t('addcontroller')}}</a>
|
||||||
<a class="text-operation" @click="deleteData(record)">{{$t('delete')}}</a>
|
<a class="text-operation" @click="deleteData(record)" v-if="dataSource.length > 1">{{$t('delete')}}</a>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
+12
-5
@@ -478,8 +478,12 @@ this.$forceUpdate()
|
|||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
overflow: hidden; /*超出部分隐藏*/
|
overflow: hidden; /*超出部分隐藏*/
|
||||||
text-overflow: ellipsis; /*超出部分省略号表示*/
|
// text-overflow: ellipsis; /*超出部分省略号表示*/
|
||||||
white-space: nowrap;
|
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{
|
//::v-deep .sider .ant-layout-sider .ant-layout-sider-dark{
|
||||||
// min-width: 723px !important;
|
// min-width: 723px !important;
|
||||||
@@ -511,14 +515,17 @@ this.$forceUpdate()
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 50px;
|
line-height: 1.3;
|
||||||
border: black solid 1px;
|
border: black solid 1px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
overflow: hidden; /*超出部分隐藏*/
|
overflow: hidden; /*超出部分隐藏*/
|
||||||
text-overflow: ellipsis; /*超出部分省略号表示*/
|
// text-overflow: ellipsis; /*超出部分省略号表示*/
|
||||||
white-space: nowrap;
|
white-space: wrap;
|
||||||
|
display: flex;
|
||||||
|
// justify-content: center;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
.sider-span{
|
.sider-span{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
+4
-1
@@ -260,7 +260,10 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
h1{
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: 20px;
|
||||||
|
}
|
||||||
.title-text-add {
|
.title-text-add {
|
||||||
width: 440px;
|
width: 440px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|||||||
@@ -402,6 +402,7 @@
|
|||||||
<SelectedBy ref="SelectedByRef" :isSingleChoice="true"
|
<SelectedBy ref="SelectedByRef" :isSingleChoice="true"
|
||||||
:title="$t('turnToDo')" @SelectedByForm="SelectedByForm"></SelectedBy>
|
:title="$t('turnToDo')" @SelectedByForm="SelectedByForm"></SelectedBy>
|
||||||
<viewFileModel ref="viewFileModelRef"/>
|
<viewFileModel ref="viewFileModelRef"/>
|
||||||
|
<JLoading :loading="JTextLoading">{{ $t('Submitting') }}</JLoading>
|
||||||
<!-- <a-modal-->
|
<!-- <a-modal-->
|
||||||
<!-- :title="listTitle"-->
|
<!-- :title="listTitle"-->
|
||||||
<!-- :width="500"-->
|
<!-- :width="500"-->
|
||||||
@@ -514,6 +515,7 @@
|
|||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 50,
|
pageSize: 50,
|
||||||
total: 0,
|
total: 0,
|
||||||
|
JTextLoading: false,
|
||||||
CertificationColor: {
|
CertificationColor: {
|
||||||
'Test passed': 'accordColor',
|
'Test passed': 'accordColor',
|
||||||
'Test failed': 'nonConformityColor',
|
'Test failed': 'nonConformityColor',
|
||||||
@@ -973,25 +975,49 @@
|
|||||||
processResetClick() {
|
processResetClick() {
|
||||||
let _this = this
|
let _this = this
|
||||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
this.$confirm({
|
let ids = []
|
||||||
content: _this.$t('confirmResetProcess'),
|
let notConditions = []
|
||||||
onOk() {
|
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
||||||
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
if (this.selectedRowKeysList[i].flowStatus == 'List to be released') {
|
||||||
postAction('/project/projectCertificationInventoryEO/resetFlow', {
|
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
|
||||||
ids: idList.join(','),
|
} else {
|
||||||
projectLibraryId: _this.$route.query.id,
|
ids.push(this.selectedRowKeysList[i].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 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 {
|
} else {
|
||||||
this.$message.warning(this.$t('selectLeastOne'))
|
this.$message.warning(this.$t('selectLeastOne'))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1528,7 +1528,7 @@
|
|||||||
_this.selectedRowKeys = []
|
_this.selectedRowKeys = []
|
||||||
_this.getList()
|
_this.getList()
|
||||||
if (detailedWarningList && detailedWarningList.length > 0) {
|
if (detailedWarningList && detailedWarningList.length > 0) {
|
||||||
this.promptInformation(detailedWarningList)
|
_this.promptInformation(detailedWarningList)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
_this.$message.warning(_this.$t('operationFailed'))
|
_this.$message.warning(_this.$t('operationFailed'))
|
||||||
@@ -1689,19 +1689,20 @@
|
|||||||
for (let i = 0; i < this.dataSource.length; i++) {
|
for (let i = 0; i < this.dataSource.length; i++) {
|
||||||
for (let j = 0; j < selectedRowKeys.length; j++) {
|
for (let j = 0; j < selectedRowKeys.length; j++) {
|
||||||
if (this.dataSource[i].id == selectedRowKeys[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++) {
|
// for (let i = 0; i < content.length; i++) {
|
||||||
if (content[i].designFlowStatus == 'List to be released' &&
|
// if (content[i].designFlowStatus == 'List to be released' &&
|
||||||
content[i].verifyFlowStatus == 'List to be released') {
|
// content[i].verifyFlowStatus == 'List to be released') {
|
||||||
isTrue = false
|
// isTrue = false
|
||||||
|
//
|
||||||
} else {
|
// } else {
|
||||||
isTrue = true
|
// isTrue = true
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
if (isTrue) {
|
if (isTrue) {
|
||||||
this.changeInterface(selectedRowKeys)
|
this.changeInterface(selectedRowKeys)
|
||||||
}
|
}
|
||||||
@@ -2389,9 +2390,11 @@
|
|||||||
_this.detailedWarningList.push(
|
_this.detailedWarningList.push(
|
||||||
< div > { dataList[i].serialNumber + _this.$t('pleaseSelectTheDataverificationVerified') } < /div>)
|
< div > { dataList[i].serialNumber + _this.$t('pleaseSelectTheDataverificationVerified') } < /div>)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if (this.requestsNum == 0) {
|
if (this.requestsNum == 0) {
|
||||||
_this.promptInformation(_this.detailedWarningList)
|
this.$message.warning(_this.$t('theDataYouInitiate'))
|
||||||
|
// _this.promptInformation(_this.detailedWarningList)
|
||||||
this.JTextLoading = false
|
this.JTextLoading = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user