|
|
|
@ -6,30 +6,40 @@ |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="18"> |
|
|
|
<el-form-item label="属性模板编码/Template ID"> |
|
|
|
<el-input v-model="searchData.propertiesCodeNo" readonly style="width: 150px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label=" "> |
|
|
|
<el-button type="primary" @click="refreshBMPageModal()" v-if="(!ifDisableFlag && isAuth('103002:bmSave') && spForm.sp.includes(searchData.username) && baseForm.status === 'spz') || baseForm.status === 'cg' || superAdmin">更新模板</el-button> |
|
|
|
<el-button type="primary" @click="searchTable()">刷新数据</el-button> |
|
|
|
<el-button type="primary" @click="saveTable()" v-if="(!ifDisableFlag && isAuth('103002:bmSave') && spForm.sp.includes(searchData.username) && baseForm.status === 'spz') || baseForm.status === 'cg' || superAdmin">保存数据</el-button> |
|
|
|
<template v-if="defaultValue"> |
|
|
|
<el-button v-if="baseForm.status === 'spz' && ((!ifDisableFlag && spForm.sp.includes(searchData.username)) || (superAdmin))" type="primary" :loading="submitLoading" @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"> |
|
|
|
<el-form-item label="当前节点/Status" style="width: 100%"> |
|
|
|
<el-input v-model="spForm.nodeName" disabled></el-input> |
|
|
|
<el-form-item label="属性模板编码/Template ID"> |
|
|
|
<el-input v-model="searchData.propertiesCodeNo" readonly style="width: 150px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item label="当前节点审批人/Authorizer" style="width: 100%"> |
|
|
|
<el-input v-model="spForm.sp" disabled></el-input> |
|
|
|
<el-form-item label=" "> |
|
|
|
<el-button type="primary" @click="refreshBMPageModal()" v-if="(!ifDisableFlag && isAuth('103002:bmSave') && spForm.sp.includes(searchData.username) && baseForm.status === 'spz') || baseForm.status === 'cg' || superAdmin">更新模板</el-button> |
|
|
|
<el-button type="primary" @click="searchTable()">刷新数据</el-button> |
|
|
|
<template v-if="isAuth('103002:bmSave')"> |
|
|
|
<template v-if="baseForm.status === 'cg' || (baseForm.status === 'spz' && ((spForm.sp && spForm.sp.includes(searchData.username)) || superAdmin))"> |
|
|
|
<el-button type="primary" @click="saveTable()">保存数据</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template v-if="defaultValue"> |
|
|
|
<template v-if="superAdmin || (spForm.sp && spForm.sp.includes(searchData.username))"> |
|
|
|
<el-button v-if="baseForm.status === 'spz'" type="primary" :loading="submitLoading" @click="agreeSubmit">同意</el-button> |
|
|
|
</template> |
|
|
|
<template v-if="superAdmin || (spForm.sp && spForm.sp.includes(searchData.username))"> |
|
|
|
<el-button v-if="baseForm.status === 'spz' && baseForm.isReject === 'Y'" type="primary" @click="submitDataModal">驳回</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"> |
|
|
|
<div class="grid-content bg-purple"> |
|
|
|
<el-form-item label="当前节点/Status" style="width: 100%"> |
|
|
|
<el-input v-model="spForm.nodeName" disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"> |
|
|
|
<div class="grid-content bg-purple"> |
|
|
|
<el-form-item label="当前节点审批人/Authorizer" style="width: 100%"> |
|
|
|
<el-input v-model="spForm.sp" disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div class="rq "> |
|
|
|
|