feat:审批中心前端优化

This commit is contained in:
weifashi 2023-09-13 22:21:12 +08:00
parent 651194f12e
commit f23ece5e9e

View File

@ -177,9 +177,9 @@
<!--审批操作-->
<div class="approve-operation">
<Button type="success" v-if="isShowAgreeBtn" :loading="loadIng > 0" @click="approve(1)">{{$L('同意')}}</Button>
<Button type="error" v-if="isShowAgreeBtn" :loading="loadIng > 0" @click="approve(2)">{{$L('拒绝')}}</Button>
<Button type="warning" v-if="isShowWarningBtn" :loading="loadIng > 0" @click="revocation">{{$L('撤销')}}</Button>
<Button type="success" v-if="isShowAgreeBtn && !loadIng" @click="approve(1)">{{$L('同意')}}</Button>
<Button type="error" v-if="isShowAgreeBtn && !loadIng" @click="approve(2)">{{$L('拒绝')}}</Button>
<Button type="warning" v-if="isShowWarningBtn && !loadIng" @click="revocation">{{$L('撤销')}}</Button>
<Button type="success" @click="comment" :loading="loadIng > 0" ghost>+{{$L('添加评论')}}</Button>
</div>