若干bug修改

pull/7/head
liujun 2024-01-22 18:11:55 +08:00
parent cdbeacee28
commit 6735862038
2 changed files with 5 additions and 3 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'" 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 === 2" 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

@ -12,7 +12,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item v-if="form.STATUS === '1' " prop="APPOINT_DEPARTMENT_ID" label="指定监管部门:"> <el-form-item v-if="form.STATUS === '1' && !form.STEP" prop="APPOINT_DEPARTMENT_ID" label="指定监管部门:">
<Treeselect <Treeselect
:options="departmentTree" :options="departmentTree"
:normalizer="normalizer" :normalizer="normalizer"
@ -32,7 +32,7 @@
<el-input v-model="form.OPINION" :rows="2" type="textarea" placeholder="填写审批意见"/> <el-input v-model="form.OPINION" :rows="2" type="textarea" placeholder="填写审批意见"/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col v-if="form.STATUS === '1' " :span="12"> <el-col v-if="form.STATUS === '1' && !form.STEP " :span="12">
<el-form-item v-if="form.STATUS === '1'" prop="APPOINT_USER_ID" label="指定监管部门审批人:"> <el-form-item v-if="form.STATUS === '1'" prop="APPOINT_USER_ID" label="指定监管部门审批人:">
<el-select v-model="form.user" style="width: 300px" placeholder="请选择" @change="chooseUser"> <el-select v-model="form.user" style="width: 300px" placeholder="请选择" @change="chooseUser">
<el-option v-for="item in peopleList" :key="item.USER_ID" :value="JSON.stringify(item)" :label="item.NAME"/> <el-option v-for="item in peopleList" :key="item.USER_ID" :value="JSON.stringify(item)" :label="item.NAME"/>
@ -76,6 +76,7 @@ export default {
APPOINT_USER_ID: null, APPOINT_USER_ID: null,
APPOINT_USER_NAME: '', APPOINT_USER_NAME: '',
OPINION: '', OPINION: '',
STEP: false,
user: '', user: '',
tm: new Date().getTime(), tm: new Date().getTime(),
list: [], list: [],
@ -117,6 +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.getDepartmentTree() this.getDepartmentTree()
this.loading = false this.loading = false
}, },