[update] 按钮权限

This commit is contained in:
zhaomeijing
2022-06-11 17:50:44 +08:00
parent db79cd2e51
commit 3a8bdb0a99
@@ -73,7 +73,7 @@
<a-popconfirm overlayClassName='popconfirm' placement="bottomRight"> <a-popconfirm overlayClassName='popconfirm' placement="bottomRight">
<template slot="title" id="popconfirm"> <template slot="title" id="popconfirm">
<!-- 退回--> <!-- 退回-->
<div @click="returnDataJurisdiction" class="operator-text-title" v-if='currentPersonRole == "sdt" || currentPersonRole == "homo"'> <div @click="returnDataJurisdiction" class="operator-text-title" v-if='currentPersonRole == "sdt" || currentPersonRole == "homo" || currentPersonRole == "dre"'>
<a-icon type="delete"/> <a-icon type="delete"/>
{{$t('sendBack')}} {{$t('sendBack')}}
</div> </div>
@@ -103,12 +103,12 @@
{{$t('Assignedby')}} {{$t('Assignedby')}}
</div> </div>
<!-- 引用参数--> <!-- 引用参数-->
<div @click="referenceparameter" class="operator-text-title"> <div @click="referenceparameter" class="operator-text-title" v-if='currentPersonRole == "dre" '>
<a-icon type="plus"/> <a-icon type="plus"/>
{{$t('referenceparameter')}} {{$t('referenceparameter')}}
</div> </div>
<!-- 截止时间--> <!-- 截止时间-->
<div @click="TaskCutOffTimeLibrary" class="operator-text-title"> <div @click="TaskCutOffTimeLibrary" class="operator-text-title" v-if='currentPersonRole == "homo" '>
<a-icon type="bulb"/> <a-icon type="bulb"/>
{{$t('TaskCutOffTime')}} {{$t('TaskCutOffTime')}}
</div> </div>
@@ -123,7 +123,7 @@
{{$t('addTo')}} {{$t('addTo')}}
</div> </div>
<!-- 提交--> <!-- 提交-->
<div @click="handleSubmit" class="operator-text"> <div @click="handleSubmit" class="operator-text" v-if='currentPersonRole == "dre"'>
<a-icon type="check-circle"/> <a-icon type="check-circle"/>
{{$t('submit')}} {{$t('submit')}}
</div> </div>