修改 外部署名推荐审批流程 人员选择冲突
This commit is contained in:
@@ -163,7 +163,7 @@
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input :disabled="disabledXX" v-model="roleForm.directorUser" style="display: none;"></el-input>
|
||||
<el-input :disabled="disabledXX" v-model="roleForm.directorUserName" readonly placeholder="选择技术管理中心主任"
|
||||
@click.native="choiceZRR('directorUser', '选择技术管理中心主任', roleForm.directorUser)"></el-input>
|
||||
@click.native="choiceDirector('directorUser', '选择技术管理中心主任', roleForm.directorUser)"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -349,6 +349,13 @@
|
||||
@checkedRole="checkedRole"
|
||||
:nodeList="nodeList"
|
||||
></Role-tree>
|
||||
<Role-tree v-if="!disabledXX"
|
||||
check-box
|
||||
:is-title="drawerTitle"
|
||||
:is-visible.sync="modalshowflagDirector"
|
||||
@checkedRole="checkedRole"
|
||||
:nodeList="nodeList"
|
||||
></Role-tree>
|
||||
<Role-tree v-if="!disabledXX"
|
||||
:is-title="drawerTitle"
|
||||
:is-visible.sync="modalshowflagDOCK"
|
||||
@@ -389,6 +396,7 @@ export default {
|
||||
modalshowflag: false, // 选择人员drawer开关
|
||||
modalshowflag2: false,
|
||||
modalshowflagDOCK: false,
|
||||
modalshowflagDirector: false,
|
||||
standModel: false, //添加标准抽屉
|
||||
zrIndex: "",
|
||||
nodeList: [], //存放人员信息数组
|
||||
@@ -803,6 +811,13 @@ export default {
|
||||
this.drawerTitle = title;
|
||||
this.modalshowflag = true;
|
||||
},
|
||||
choiceDirector(type, title, id) {
|
||||
this.nodeList = [];
|
||||
this.nodeList.push(id);
|
||||
this.drawerTitle = title;
|
||||
this.type = type;
|
||||
this.modalshowflagDirector = true;
|
||||
},
|
||||
choiceDOCK(type, title, id) {
|
||||
this.nodeList = [];
|
||||
if (id.length > 0) {
|
||||
@@ -832,6 +847,7 @@ export default {
|
||||
} else if (this.type === "directorUser") {
|
||||
this.roleForm.directorUser = data[0].id;
|
||||
this.roleForm.directorUserName = data[0].name;
|
||||
this.modalshowflagDirector = false
|
||||
}else if(this.type === 'ministerUser'){
|
||||
this.roleForm.ministerUser = data[0].id;
|
||||
this.roleForm.ministerUserName = data[0].name;
|
||||
|
||||
Reference in New Issue
Block a user