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