持证人员信息管理、人员基础信息bug修复

5_7_地图同步
liujun 2024-03-20 18:47:31 +08:00
parent 08ec9b9184
commit 608c7e958a
2 changed files with 3 additions and 2 deletions

View File

@ -49,7 +49,7 @@
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-button v-if="row.power_flag === '1'" type="text" icon="el-icon-s-claim" size="mini" @click="approve([row])"></el-button> <el-button v-if="row.power_flag === '1'" type="text" icon="el-icon-s-claim" size="mini" @click="approve([row])"></el-button>
<el-button v-if="row.power_flag === '1' && row.FLOWS_STEP === 1" type="text" icon="el-icon-s-claim" size="mini" @click="entrust([row])"></el-button> <el-button v-if="row.power_flag === '1' && ((row.FLOWS_TYPE === '1' && row.FLOWS_STEP === 1) || (row.FLOWS_TYPE === '2' && row.FLOWS_STEP === 0))" type="text" icon="el-icon-s-claim" size="mini" @click="entrust([row])"></el-button>
<el-button v-if="false" type="success" icon="el-icon-edit" size="mini" @click="getUserInfo(row)"></el-button> <el-button v-if="false" type="success" icon="el-icon-edit" size="mini" @click="getUserInfo(row)"></el-button>
</el-col> </el-col>
</el-row> </el-row>

View File

@ -141,7 +141,8 @@ export default {
this.visible = true this.visible = true
this.heirloom = JSON.stringify(e) this.heirloom = JSON.stringify(e)
this.form.list = JSON.stringify(e) this.form.list = JSON.stringify(e)
this.form.STEP = (e[0].FLOWS_STEP === 2) // turefalse
this.form.STEP = (e[0].FLOWS_STEP === 2) || (e[0].FLOWS_STEP === 1 && e[0].FLOWS_TYPE === '2')
this.form.TYEP = e[0].FLOWS_TYPE this.form.TYEP = e[0].FLOWS_TYPE
this.getDepartmentTree() this.getDepartmentTree()
this.loading = false this.loading = false