Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
@@ -708,7 +708,7 @@ module.exports = {
|
|||||||
versionName: 'Version Name',
|
versionName: 'Version Name',
|
||||||
finalizationTime: 'Finalization Time',
|
finalizationTime: 'Finalization Time',
|
||||||
setting: 'Setting',
|
setting: 'Setting',
|
||||||
incorrectsubmitted: 'The data status is incorrect; Only data with status to be confirmed can be submitted',
|
incorrectsubmitted: 'The data status is incorrect; Only data with status to be confirmed or rejected can be submitted',
|
||||||
date: 'Date',
|
date: 'Date',
|
||||||
time: 'Time',
|
time: 'Time',
|
||||||
uploadMaximumATime: 'Upload a Maximum of 20 Images at a time',
|
uploadMaximumATime: 'Upload a Maximum of 20 Images at a time',
|
||||||
|
|||||||
@@ -703,7 +703,7 @@ module.exports = {
|
|||||||
confirmOverrule: '确认驳回?',
|
confirmOverrule: '确认驳回?',
|
||||||
The: '第',
|
The: '第',
|
||||||
submitted: '条数据已提交不能重复提交',
|
submitted: '条数据已提交不能重复提交',
|
||||||
incorrectsubmitted: '条数据状态有误;只能提交状态为待确认的数据',
|
incorrectsubmitted: '条数据状态有误;只能提交状态为待确认或拒绝的数据',
|
||||||
basicInformationOfParameters: '项目基本信息',
|
basicInformationOfParameters: '项目基本信息',
|
||||||
regulatoryCertificationTaskPlan: '法规/认证任务计划',
|
regulatoryCertificationTaskPlan: '法规/认证任务计划',
|
||||||
bringInRelevantPersonnel: '带入相关人员',
|
bringInRelevantPersonnel: '带入相关人员',
|
||||||
|
|||||||
@@ -256,7 +256,7 @@
|
|||||||
let selectedRowKeysRecord = JSON.parse(JSON.stringify(_this.selectedRowKeysRecord))
|
let selectedRowKeysRecord = JSON.parse(JSON.stringify(_this.selectedRowKeysRecord))
|
||||||
for (let i = 0; i < selectedRowKeysRecord.length; i++) {
|
for (let i = 0; i < selectedRowKeysRecord.length; i++) {
|
||||||
if ((selectedRowKeysRecord[i].gatherResult == 'Completed' &&
|
if ((selectedRowKeysRecord[i].gatherResult == 'Completed' &&
|
||||||
selectedRowKeysRecord[i].createBy == this.userInfo().username) || this.administrators) {
|
selectedRowKeysRecord[i].createBy == _this.userInfo().username) || _this.administrators) {
|
||||||
idList.push(selectedRowKeysRecord[i].id)
|
idList.push(selectedRowKeysRecord[i].id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -343,8 +343,8 @@
|
|||||||
let idList = []
|
let idList = []
|
||||||
let selectedRowKeysRecord = JSON.parse(JSON.stringify(_this.selectedRowKeysRecord))
|
let selectedRowKeysRecord = JSON.parse(JSON.stringify(_this.selectedRowKeysRecord))
|
||||||
for (let i = 0; i < selectedRowKeysRecord.length; i++) {
|
for (let i = 0; i < selectedRowKeysRecord.length; i++) {
|
||||||
if ((selectedRowKeysRecord[i].flowStatus == 'Completed' && selectedRowKeysRecord[i].createBy == this.userInfo().username)
|
if ((selectedRowKeysRecord[i].flowStatus == 'Completed' && selectedRowKeysRecord[i].createBy == _this.userInfo().username)
|
||||||
|| this.administrators) {
|
|| _this.administrators) {
|
||||||
idList.push(selectedRowKeysRecord[i].id)
|
idList.push(selectedRowKeysRecord[i].id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -359,7 +359,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
_this.$message.warning(_this.$t('onlyCompletedDataCanBeDeleted'))
|
_this.$message.warning(_this.$t('doNotHavePermissionDeleteData'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1880,7 +1880,7 @@
|
|||||||
this.rowKeysSuccessList = []
|
this.rowKeysSuccessList = []
|
||||||
this.rowKeysWarningList = []
|
this.rowKeysWarningList = []
|
||||||
for (let i = 0; i < dataSource.length; i++) {
|
for (let i = 0; i < dataSource.length; i++) {
|
||||||
if (dataSource[i].inventoryAffirmStatus == 'List to confirm') {
|
if (dataSource[i].inventoryAffirmStatus == 'List to confirm' || dataSource[i].inventoryAffirmStatus == 'Rejected') {
|
||||||
if (dataSource[i].roleCode == 1 && dataSource[i].regulationOwnerSubmitStatus) {
|
if (dataSource[i].roleCode == 1 && dataSource[i].regulationOwnerSubmitStatus) {
|
||||||
|
|
||||||
this.rowKeysWarningList.push( < div > { dataSource[i].serialNumber + this.$t('submitted') } < /div>)
|
this.rowKeysWarningList.push( < div > { dataSource[i].serialNumber + this.$t('submitted') } < /div>)
|
||||||
|
|||||||
Reference in New Issue
Block a user