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
@@ -8,7 +8,7 @@
<!-- </span>-->
{{$route.query.serialNumber +' '+$t('evaluationResults')}}
</div>
<div class="doc-detail-right">
<div class="doc-detail-right" v-if='!this.flag'>
<div @click="endProcessClick"
v-if="(formInline.createBy == this.userInfoQuery.username || administrators) && formInline.gatherResult == 'Underway'"
class="operator-text-text" :title="$t('endProcess')">
@@ -92,6 +92,7 @@
total: 0,
pageSize: 10,
pageNo: 1,
flag:'',
dataSource: [],
formInline: {},
administrators:false,
@@ -161,6 +162,12 @@
}
})
}
getAction('/project/projectUserPermission/hasProcessControlButton', {type: 'LawsOpinionGather',id : this.$route.query.id}).then((res) => {
if (res.success) {
this.flag = res
} else {
}
})
},
methods: {
...mapGetters(['userInfo']),
@@ -8,7 +8,7 @@
<!-- </span>-->
{{$route.query.serialNumber +' '+$t('regulatoryTechnicalEvaluationResults')}}
</div>
<div class="doc-detail-right">
<div class="doc-detail-right" v-if='!this.flag'>
<div @click="CurrentStandard" class="operator-text-text" :title="$t('initiateSupplementaryProcess')">
<a-icon type="profile"/>
{{$t('initiateSupplementaryProcess')}}
@@ -96,6 +96,7 @@
return {
queryParam: {},
dataSource: [],
flag:'',
userInfoQuery: {},
administrators: false,
url: {
@@ -180,6 +181,12 @@
}
})
}
getAction('/project/projectUserPermission/hasProcessControlButton', {type: 'LawsTechnologyEvaluation',id : this.$route.query.id}).then((res) => {
if (res.success) {
this.flag = res
} else {
}
})
},
methods: {
...mapGetters(['userInfo']),