[update]
This commit is contained in:
@@ -933,14 +933,14 @@ module.exports = {
|
||||
reportNotUploaded: 'Report not uploaded',
|
||||
position: 'position',
|
||||
// 认证权限状态
|
||||
CollectionInitiated: 'Collection to be initiated、',
|
||||
handledInterface: 'To be handled by the project interface、',
|
||||
ReturnedPerson: 'Returned by project contact person、',
|
||||
completed: 'To be completed、',
|
||||
Filledreturn: 'Filled by return、',
|
||||
Submitted: 'Submitted、',
|
||||
ReturnedEngineer: 'Returned by Certification Engineer、',
|
||||
SynchronizedLibrary: 'Synchronized to the upper reporting Library、',
|
||||
CollectionInitiated: 'Collection to be initiated',
|
||||
handledInterface: 'To be handled by the project interface',
|
||||
ReturnedPerson: 'Returned by project contact person',
|
||||
completed: 'To be completed',
|
||||
Filledreturn: 'Filled by return',
|
||||
Submitted: 'Submitted',
|
||||
ReturnedEngineer: 'Returned by Certification Engineer',
|
||||
SynchronizedLibrary: 'Synchronized to the upper reporting Library',
|
||||
Statusis: 'Statusis',
|
||||
toHavePermission: 'To Have Permission',
|
||||
and: 'and',
|
||||
|
||||
@@ -738,7 +738,7 @@ module.exports = {
|
||||
|
||||
ParameteItemCollectionList: '参数项收集清单',
|
||||
Areyousureparameteritems: '确认提交所选参数项嘛?',
|
||||
Theselectedconfiguration: '参数清单中参数项均为 待发起收集或变更时,才能添加配置',
|
||||
Theselectedconfiguration: '参数清单中参数项均为待发起收集或变更时,才能添加配置',
|
||||
theCurrent: '此数据当前状态为',
|
||||
thisbuttonCompleted: '当状态为"已完成"时,才可操作此按钮',
|
||||
Frozenstatus: '冻结状态,仅可以查看',
|
||||
@@ -939,14 +939,14 @@ module.exports = {
|
||||
reportNotUploaded: '报告未上传',
|
||||
position: '职位',
|
||||
// 认证权限状态
|
||||
CollectionInitiated: '待发起收集、',
|
||||
handledInterface: '待工程接口人处理、',
|
||||
ReturnedPerson: '工程接口人退回、',
|
||||
completed: '待填写、',
|
||||
Filledreturn: '填写人退回、',
|
||||
Submitted: '已提交、',
|
||||
ReturnedEngineer: '认证工程师退回、',
|
||||
SynchronizedLibrary: '已同步至上报库、',
|
||||
CollectionInitiated: '待发起收集',
|
||||
handledInterface: '待工程接口人处理',
|
||||
ReturnedPerson: '工程接口人退回',
|
||||
completed: '待填写',
|
||||
Filledreturn: '填写人退回',
|
||||
Submitted: '已提交',
|
||||
ReturnedEngineer: '认证工程师退回',
|
||||
SynchronizedLibrary: '已同步至上报库',
|
||||
Statusis: '状态为',
|
||||
toHavePermission: '才有权限',
|
||||
and: '并且',
|
||||
|
||||
@@ -474,7 +474,36 @@
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
this.dataSource = res.result
|
||||
let tt = []
|
||||
if(this.currentPersonRole !== 'dre') {
|
||||
res.result.forEach((Obj) => {
|
||||
Object.keys(Obj).forEach((item) => {
|
||||
if(Obj[item] instanceof Object && Obj[item].controlType !== undefined){
|
||||
Obj[item].list.forEach((itemLi) => {
|
||||
itemLi.isLock = 1
|
||||
if(itemLi.type === 'pull_more'){
|
||||
itemLi.dataValue = itemLi.dataValue === null ? [] : itemLi.dataValue.split(',')
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
tt.push(Obj)
|
||||
})
|
||||
} else {
|
||||
res.result.forEach((Obj) => {
|
||||
Object.keys(Obj).forEach((item) => {
|
||||
if(Obj[item] instanceof Object && Obj[item].controlType !== undefined){
|
||||
Obj[item].list.forEach((itemLi) => {
|
||||
if(itemLi.type === 'pull_more'){
|
||||
itemLi.dataValue = itemLi.dataValue === null ? [] : itemLi.dataValue.split(',')
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
tt.push(Obj)
|
||||
})
|
||||
}
|
||||
this.dataSource = tt
|
||||
this.total = res.result.total
|
||||
this.selectedRowKeys = []
|
||||
this.selectedRowrowValue = []
|
||||
|
||||
@@ -131,7 +131,7 @@ export default {
|
||||
formData: {},
|
||||
rules: {
|
||||
title: [
|
||||
{ required: true, message: this.$t('enterTitle'), trigger: 'blur' }
|
||||
{ required: true, message: this.$t('PleaseEnter')+this.$t('title'), trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
areaTable: [],
|
||||
|
||||
Reference in New Issue
Block a user