viewer角色只有查看功能,查看技术评估结果页面不需要有“发起补充流程”按钮

This commit is contained in:
zyx.net
2022-12-30 11:59:24 +08:00
parent 76f958ae74
commit a9118dc7b7
5 changed files with 35 additions and 5 deletions
@@ -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 = {}
}