修改 企标制修订-技术标准 研究总院主管副院长 单选 改为 多选
This commit is contained in:
@@ -832,7 +832,7 @@
|
|||||||
:disabled="disabledXX"
|
:disabled="disabledXX"
|
||||||
readonly="readonly"
|
readonly="readonly"
|
||||||
placeholder="选择研究总院主管副院长"
|
placeholder="选择研究总院主管副院长"
|
||||||
@click.native="choiceZRR('zhrUserId', '选择研究总院主管副院长', roleForm.zhrUserId)"
|
@click.native="choiceZHR('zhrUserId', '选择研究总院主管副院长', roleForm.zhrUserId)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -1083,6 +1083,15 @@
|
|||||||
:nodeList="nodeList"
|
:nodeList="nodeList"
|
||||||
@checkedRole="checkedRole"
|
@checkedRole="checkedRole"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<!--选择研究总院主管副院长-->
|
||||||
|
<Role-tree
|
||||||
|
v-if="!disabledXX"
|
||||||
|
:is-title="drawerTitle"
|
||||||
|
:is-visible.sync="modalShowFlagZHR"
|
||||||
|
:nodeList="nodeList"
|
||||||
|
@checkedRole="checkedRoleZHR"
|
||||||
|
/>
|
||||||
<!-- 选择标准的弹框 -->
|
<!-- 选择标准的弹框 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
v-if="!disabledXX"
|
v-if="!disabledXX"
|
||||||
@@ -1758,6 +1767,7 @@ export default {
|
|||||||
modalShowFlag: false, // drawer开关
|
modalShowFlag: false, // drawer开关
|
||||||
showreceive: false,
|
showreceive: false,
|
||||||
modalShowRoleFlag: false, // drawer开关
|
modalShowRoleFlag: false, // drawer开关
|
||||||
|
modalShowFlagZHR: false, // drawer开关
|
||||||
modalShowFlag1: false, // drawer开关
|
modalShowFlag1: false, // drawer开关
|
||||||
modalShowFlag2: false, // drawer开关
|
modalShowFlag2: false, // drawer开关
|
||||||
modalShowFlag3: false, // drawer开关
|
modalShowFlag3: false, // drawer开关
|
||||||
@@ -2294,6 +2304,20 @@ export default {
|
|||||||
const res = new Map();
|
const res = new Map();
|
||||||
return newArr.filter((newArr) => !res.has(newArr) && res.set(newArr, 1));
|
return newArr.filter((newArr) => !res.has(newArr) && res.set(newArr, 1));
|
||||||
},
|
},
|
||||||
|
checkedRoleZHR (data) {
|
||||||
|
let idList = ''
|
||||||
|
let nameList = ''
|
||||||
|
data.forEach(item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ','
|
||||||
|
idList += ','
|
||||||
|
}
|
||||||
|
idList += item.id
|
||||||
|
nameList += item.name
|
||||||
|
})
|
||||||
|
this.roleForm.zhrUserId = idList
|
||||||
|
this.roleForm.zhrUserName = nameList
|
||||||
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
if (this.type === 0) {
|
if (this.type === 0) {
|
||||||
this.roleForm.deptUserId = data[0].id
|
this.roleForm.deptUserId = data[0].id
|
||||||
@@ -2759,6 +2783,13 @@ export default {
|
|||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalShowFlag = true
|
this.modalShowFlag = true
|
||||||
},
|
},
|
||||||
|
choiceZHR (type, title, id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList = JSON.parse(JSON.stringify(id.split(',')))
|
||||||
|
this.userType = type
|
||||||
|
this.drawerTitle = title
|
||||||
|
this.modalShowFlagZHR = true
|
||||||
|
},
|
||||||
choiceZRRS (row, type, index) {
|
choiceZRRS (row, type, index) {
|
||||||
this.type = type
|
this.type = type
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
|
|||||||
@@ -995,7 +995,7 @@
|
|||||||
:disabled="disabledXX"
|
:disabled="disabledXX"
|
||||||
readonly="readonly"
|
readonly="readonly"
|
||||||
placeholder="选择研究总院主管副院长"
|
placeholder="选择研究总院主管副院长"
|
||||||
@click.native="choiceZRR('zhrUserId', '选择研究总院主管副院长', roleForm.zhrUserId)"
|
@click.native="choiceZHR('zhrUserId', '选择研究总院主管副院长', roleForm.zhrUserId)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -1247,6 +1247,15 @@
|
|||||||
:nodeList="nodeList"
|
:nodeList="nodeList"
|
||||||
@checkedRole="checkedRole"
|
@checkedRole="checkedRole"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<!--选择研究总院主管副院长-->
|
||||||
|
<Role-tree
|
||||||
|
v-if="!disabledXX"
|
||||||
|
:is-title="drawerTitle"
|
||||||
|
:is-visible.sync="modalShowFlagZHR"
|
||||||
|
:nodeList="nodeList"
|
||||||
|
@checkedRole="checkedRoleZHR"
|
||||||
|
/>
|
||||||
<!-- <el-drawer v-if="!disabledXX" -->
|
<!-- <el-drawer v-if="!disabledXX" -->
|
||||||
<!-- :title="drawerTitle"-->
|
<!-- :title="drawerTitle"-->
|
||||||
<!-- :visible.sync="modalShowFlag"-->
|
<!-- :visible.sync="modalShowFlag"-->
|
||||||
@@ -2000,6 +2009,7 @@ export default {
|
|||||||
key3: 4,
|
key3: 4,
|
||||||
treeData: [], // 人员数据
|
treeData: [], // 人员数据
|
||||||
modalShowFlag: false, // drawer开关
|
modalShowFlag: false, // drawer开关
|
||||||
|
modalShowFlagZHR: false, // drawer开关
|
||||||
modalShowRoleFlag: false, // drawer开关
|
modalShowRoleFlag: false, // drawer开关
|
||||||
modalShowFlag1: false, // drawer开关
|
modalShowFlag1: false, // drawer开关
|
||||||
modalShowFlag2: false, // drawer开关
|
modalShowFlag2: false, // drawer开关
|
||||||
@@ -2560,6 +2570,20 @@ export default {
|
|||||||
const res = new Map();
|
const res = new Map();
|
||||||
return newArr.filter((newArr) => !res.has(newArr) && res.set(newArr, 1));
|
return newArr.filter((newArr) => !res.has(newArr) && res.set(newArr, 1));
|
||||||
},
|
},
|
||||||
|
checkedRoleZHR (data) {
|
||||||
|
let idList = ''
|
||||||
|
let nameList = ''
|
||||||
|
data.forEach(item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ','
|
||||||
|
idList += ','
|
||||||
|
}
|
||||||
|
idList += item.id
|
||||||
|
nameList += item.name
|
||||||
|
})
|
||||||
|
this.roleForm.zhrUserId = idList
|
||||||
|
this.roleForm.zhrUserName = nameList
|
||||||
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
if (this.type === 0) {
|
if (this.type === 0) {
|
||||||
this.roleForm.deptUserId = data[0].id
|
this.roleForm.deptUserId = data[0].id
|
||||||
@@ -3124,6 +3148,13 @@ export default {
|
|||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalShowFlag = true
|
this.modalShowFlag = true
|
||||||
},
|
},
|
||||||
|
choiceZHR (type, title, id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList = JSON.parse(JSON.stringify(id.split(',')))
|
||||||
|
this.userType = type
|
||||||
|
this.drawerTitle = title
|
||||||
|
this.modalShowFlagZHR = true
|
||||||
|
},
|
||||||
choiceZRRS (row, type, index) {
|
choiceZRRS (row, type, index) {
|
||||||
this.type = type
|
this.type = type
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user