|
|
@@ -130,7 +130,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="fx-field x-grid-col-12" v-if="form.auditStatus==2">
|
|
|
+ <div class="fx-field x-grid-col-12" v-if="(form.auditStatus==2 || form.auditStatus==1) && name=='todo'">
|
|
|
<div class="field-label">
|
|
|
<span class="field-required">*</span>
|
|
|
<div class="field-name">审批意见</div>
|
|
|
@@ -168,11 +168,13 @@
|
|
|
</el-timeline>
|
|
|
</div>
|
|
|
<div class="fx-field x-grid-col-12">
|
|
|
- <div>
|
|
|
- <el-button v-if="form.auditStatus==1" type="primary" @click="handleRevocation()" v-loading.fullscreen.lock="fullscreenLoading">撤回</el-button>
|
|
|
- <el-button v-if="form.auditStatus==2" @click="handleAudit(false)" v-loading.fullscreen.lock="fullscreenLoading">驳回</el-button>
|
|
|
- <el-button v-if="form.auditStatus==2" type="primary" @click="handleAudit(true)" v-loading.fullscreen.lock="fullscreenLoading">同意</el-button>
|
|
|
- </div>
|
|
|
+ <div v-if="name=='todo'">
|
|
|
+ <el-button type="primary" @click="handleAudit(true)" v-loading.fullscreen.lock="fullscreenLoading">同意</el-button>
|
|
|
+ <el-button @click="handleAudit(false)" v-loading.fullscreen.lock="fullscreenLoading">驳回</el-button>
|
|
|
+ </div>
|
|
|
+ <div v-if="name=='my'">
|
|
|
+ <el-button v-if="form.auditStatus==1" type="warning" @click="handleRevocation()" v-loading.fullscreen.lock="fullscreenLoading">撤回</el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
@@ -188,6 +190,10 @@ export default {
|
|
|
type: [String, Number],
|
|
|
default: undefined
|
|
|
},
|
|
|
+ name: {
|
|
|
+ type: String,
|
|
|
+ default: undefined
|
|
|
+ },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|