viewer角色只有查看功能,查看技术评估结果页面不需要有“发起补充流程”按钮
This commit is contained in:
@@ -189,6 +189,7 @@
|
||||
data() {
|
||||
return {
|
||||
queryForm: {},
|
||||
cut:'',
|
||||
administrators:false,
|
||||
activeKey: this.$t('CurrentStatusOfTheProject'),
|
||||
url: {
|
||||
@@ -220,7 +221,13 @@
|
||||
getForm() {
|
||||
getAction(this.url.queryById, { id: this.$route.query.id }).then((res) => {
|
||||
if (res.success) {
|
||||
this.cut = res.cut
|
||||
this.queryForm = res.result[0] || {}
|
||||
if(this.cut == 'en'){
|
||||
this.queryForm.brandText = this.queryForm.brandTextEn
|
||||
}else{
|
||||
this.queryForm.brandText = this.queryForm.brandText
|
||||
}
|
||||
} else {
|
||||
this.queryForm = {}
|
||||
}
|
||||
|
||||
@@ -290,6 +290,7 @@
|
||||
queryParam: {},
|
||||
orderBy: '1',
|
||||
orderByField: '',
|
||||
cut: '',
|
||||
administrators: false
|
||||
}
|
||||
},
|
||||
@@ -442,8 +443,17 @@
|
||||
this.getList()
|
||||
return
|
||||
}
|
||||
this.dataSource = res.result.records || []
|
||||
this.total = res.result.total
|
||||
this.cut = res.cut
|
||||
this.dataSource = res.result.records || []
|
||||
this.dataSource.forEach((item) => {
|
||||
if(this.cut == 'en'){
|
||||
item.brandText = item.brandTextEn
|
||||
}else{
|
||||
item.brandText = item.brandText
|
||||
}
|
||||
})
|
||||
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
|
||||
Reference in New Issue
Block a user