|
|
|
@ -13,8 +13,10 @@ |
|
|
|
<el-button type="primary" @click="refreshBMPageModal()" v-if="!ifDisableFlag&&isAuth('103002:bmModel')">更新模板</el-button> |
|
|
|
<el-button type="primary" @click="searchTable()" >刷新数据</el-button> |
|
|
|
<el-button type="primary" @click="saveTable()" v-if="(!ifDisableFlag&&isAuth('103002:bmSave'))||(superAdmin)">保存数据</el-button> |
|
|
|
<!-- <el-button v-if="baseForm.status === 'spz'&&((!ifDisableFlag&&spForm.sp.includes(searchData.username))||(superAdmin))" type="primary" @click="agreeSubmit">同意</el-button>--> |
|
|
|
<!-- <el-button v-if="baseForm.status === 'spz' &&(( baseForm.isReject === 'Y' &&!ifDisableFlag&&spForm.sp.includes(searchData.username))||(superAdmin))" type="primary" @click="submitDataModal">驳回</el-button>--> |
|
|
|
<template v-if="defaultValue"> |
|
|
|
<el-button v-if="baseForm.status === 'spz'&&((!ifDisableFlag&&spForm.sp.includes(searchData.username))||(superAdmin))" type="primary" @click="agreeSubmit">同意</el-button> |
|
|
|
<el-button v-if="baseForm.status === 'spz' &&(( baseForm.isReject === 'Y' &&!ifDisableFlag&&spForm.sp.includes(searchData.username))||(superAdmin))" type="primary" @click="submitDataModal">驳回</el-button> |
|
|
|
</template> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"><div class="grid-content bg-purple"> |
|
|
|
@ -136,7 +138,13 @@ |
|
|
|
components: { |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
props:{ |
|
|
|
// 审批显示控制 |
|
|
|
defaultValue:{ |
|
|
|
type:Boolean, |
|
|
|
default:true, |
|
|
|
} |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
superAdmin:false, |
|
|
|
|