13862 选择第二个审批 报错

2024年2月1日V1.0.53
liujun 2024-01-27 15:57:51 +08:00
parent 7c6d7d227d
commit 7dde890a50
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleShow(row)"></el-button> <el-button type="primary" icon="el-icon-edit" size="mini" @click="handleShow(row)"></el-button>
<el-button v-if="row.power_flag === '1'" type="primary" icon="el-icon-s-claim" size="mini" @click="approve([row])"></el-button> <el-button v-if="row.power_flag === '1'" type="primary" icon="el-icon-s-claim" size="mini" @click="approve([row])"></el-button>
<el-button v-if="row.power_flag === '1' && row.FLOWS_STEP === 2" type="primary" icon="el-icon-s-claim" size="mini" @click="entrust([row])"></el-button> <el-button v-if="row.power_flag === '1' && row.FLOWS_STEP === 1" type="primary" 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>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -118,7 +118,7 @@ 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 === 3) this.form.STEP = (e[0].FLOWS_STEP === 2)
this.getDepartmentTree() this.getDepartmentTree()
this.loading = false this.loading = false
}, },