commit
This commit is contained in:
@@ -144,7 +144,7 @@
|
||||
<h4>责任部门对接人</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.dockUserList" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择责任人" @click.native="choiceZRRS">
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择责任人" @click.native="choiceZRRS('1')">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -167,7 +167,7 @@
|
||||
<h4>技术管理中心主任</h4>
|
||||
<div style="margin-top: 10px;width: 300px;">
|
||||
<el-input v-model="roleForm.directorUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择技术管理中心主任" @click.native="choiceZRR('directorUser', '选择技术管理中心主任', roleForm.directorUser)"></el-input>
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择技术管理中心主任" @click.native="choiceZRRS('2')"></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
@@ -196,7 +196,7 @@
|
||||
>
|
||||
</ProcessFooter>
|
||||
<Role-tree
|
||||
is-title="选择责任部门对接人"
|
||||
:is-title="drawerTitle2"
|
||||
:is-visible.sync="modalshowflag2"
|
||||
@checkedRole="checkedRole2"
|
||||
:nodeList="nodeList2"
|
||||
@@ -261,6 +261,8 @@
|
||||
name: "bzdyStep1-1",
|
||||
data() {
|
||||
return {
|
||||
drawerTitle2: '',
|
||||
type2: '',
|
||||
foldFormFlag: false,
|
||||
fileMadel2: false,
|
||||
nodeList: [],
|
||||
@@ -370,8 +372,13 @@
|
||||
idList += item.id
|
||||
nameList += item.name
|
||||
})
|
||||
this.roleForm.dockUserList = idList
|
||||
this.roleForm.dockUserName = nameList
|
||||
if (this.type2 === '1') {
|
||||
this.roleForm.dockUserList = idList
|
||||
this.roleForm.dockUserName = nameList
|
||||
} else {
|
||||
this.roleForm.directorUser = idList
|
||||
this.roleForm.directorUserName = nameList
|
||||
}
|
||||
},
|
||||
checkedRole (data) {
|
||||
if (this.type === 'dockUser') {
|
||||
@@ -389,9 +396,18 @@
|
||||
}
|
||||
},
|
||||
choiceZRRS () {
|
||||
this.type2 = type
|
||||
this.nodeList2 = []
|
||||
if ( this.roleForm.dockUserList.length > 0) {
|
||||
this.nodeList2 = this.roleForm.dockUserList.split(',')
|
||||
if (type === '1') {
|
||||
this.drawerTitle2 = '选择责任部门对接人'
|
||||
if ( this.roleForm.dockUserList.length > 0) {
|
||||
this.nodeList2 = this.roleForm.dockUserList.split(',')
|
||||
}
|
||||
} else {
|
||||
this.drawerTitle2 = '选择技术管理中心主任'
|
||||
if ( this.roleForm.directorUser.length > 0) {
|
||||
this.nodeList2 = this.roleForm.directorUser.split(',')
|
||||
}
|
||||
}
|
||||
this.modalshowflag2 = true
|
||||
},
|
||||
|
||||
@@ -372,7 +372,6 @@ export default {
|
||||
this.roleForm.directorUser = idList
|
||||
this.roleForm.directorUserName = nameList
|
||||
}
|
||||
|
||||
},
|
||||
checkedRole (data) {
|
||||
if (this.type === 'dockUser') {
|
||||
|
||||
Reference in New Issue
Block a user