fix(richedit): 修复退改按钮显示条件并优化复审按钮逻辑

调整退改按钮的显示条件,使其在用户类型为'01'或'02'时均可显示,同时优化复审按钮的显示逻辑
This commit is contained in:
zzp 2025-09-24 20:08:06 +08:00
parent 3b07df53c8
commit 1e8385e419
1 changed files with 13 additions and 3 deletions

View File

@ -244,9 +244,19 @@
</div>
<!-- 二审相关 -->
<div v-if="Session.get('userInfoLocal').userType == '02'">
<el-button v-if="scope.row.status == 3" type="text" style="margin-left: 3px" @click="doNewCheckFn(scope.row)">复审</el-button>
<el-button v-if="scope.row.status == 3" type="text" style="color: #ff1818; margin-left: 5px" @click="doNewReturnFn(scope.row)"
<div>
<el-button
v-if="scope.row.status == 3 && Session.get('userInfoLocal').userType == '02'"
type="text"
style="margin-left: 3px"
@click="doNewCheckFn(scope.row)"
>复审</el-button
>
<el-button
v-if="scope.row.status == 3 && (Session.get('userInfoLocal').userType == '02' || Session.get('userInfoLocal').userType == '01')"
type="text"
style="color: #ff1818; margin-left: 5px"
@click="doNewReturnFn(scope.row)"
>退改</el-button
>
</div>