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',
|
||||
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',
|
||||
}
|
||||
@@ -77,7 +77,7 @@ module.exports = {
|
||||
yes: '是',
|
||||
not: '否',
|
||||
have:'有',
|
||||
|
||||
|
||||
notOnlyRz: '否',
|
||||
EnterValue: '请输入值',
|
||||
SavedQuery: '保存的查询',
|
||||
@@ -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:'功能变更描述',
|
||||
@@ -1821,4 +1821,6 @@ module.exports = {
|
||||
note:'注:附件包括测试项目清单、测试报告.测试标准或技术规范',
|
||||
format:'支持doc/docx/pdf格式,大小50M以内',
|
||||
cantTransferToYourself:"不能转办给自己",
|
||||
theDataYouInitiate:'您所选的数据,均不符合流程发起条件,请重新检查后发起',
|
||||
dataWithProcessReleasedCannotBeReset:'流程状态为清单待发布的数据不能被重置',
|
||||
}
|
||||
+2
-24
@@ -43,18 +43,13 @@
|
||||
<span slot="upgradetheelectroniccontrollerinvolved" slot-scope="text,record">
|
||||
<a-input :placeholder="$t('pleaseEnter')" :title="$t('ifNot')" v-model="record.sjsjkzq"></a-input>
|
||||
</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">
|
||||
<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>
|
||||
</a-table>
|
||||
<div>
|
||||
@@ -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',
|
||||
|
||||
+1
@@ -79,6 +79,7 @@
|
||||
formInline.VINcodelist == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
||||
}}
|
||||
</a-button>
|
||||
<p>支持cxv格式,大下20M以内,数量1-10个</p>
|
||||
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"></uploadFile>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@
|
||||
<!-- 操作列-->
|
||||
<span slot="operation" slot-scope="text,record">
|
||||
<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>
|
||||
</a-table>
|
||||
<div>
|
||||
|
||||
+12
-5
@@ -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;
|
||||
|
||||
+4
-1
@@ -260,7 +260,10 @@ export default {
|
||||
display: flex;
|
||||
|
||||
}
|
||||
|
||||
h1{
|
||||
font-weight: 700;
|
||||
font-style: 20px;
|
||||
}
|
||||
.title-text-add {
|
||||
width: 440px;
|
||||
text-align: right;
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
<SelectedBy ref="SelectedByRef" :isSingleChoice="true"
|
||||
:title="$t('turnToDo')" @SelectedByForm="SelectedByForm"></SelectedBy>
|
||||
<viewFileModel ref="viewFileModelRef"/>
|
||||
<JLoading :loading="JTextLoading">{{ $t('Submitting') }}</JLoading>
|
||||
<!-- <a-modal-->
|
||||
<!-- :title="listTitle"-->
|
||||
<!-- :width="500"-->
|
||||
@@ -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'))
|
||||
}
|
||||
|
||||
@@ -1528,7 +1528,7 @@
|
||||
_this.selectedRowKeys = []
|
||||
_this.getList()
|
||||
if (detailedWarningList && detailedWarningList.length > 0) {
|
||||
this.promptInformation(detailedWarningList)
|
||||
_this.promptInformation(detailedWarningList)
|
||||
}
|
||||
} else {
|
||||
_this.$message.warning(_this.$t('operationFailed'))
|
||||
@@ -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)
|
||||
}
|
||||
@@ -2389,9 +2390,11 @@
|
||||
_this.detailedWarningList.push(
|
||||
< div > { dataList[i].serialNumber + _this.$t('pleaseSelectTheDataverificationVerified') } < /div>)
|
||||
}
|
||||
|
||||
}
|
||||
if (this.requestsNum == 0) {
|
||||
_this.promptInformation(_this.detailedWarningList)
|
||||
this.$message.warning(_this.$t('theDataYouInitiate'))
|
||||
// _this.promptInformation(_this.detailedWarningList)
|
||||
this.JTextLoading = false
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user