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