修改 企标制修订-技术标准 研究总院主管副院长 单选 改为 多选
This commit is contained in:
@@ -175,9 +175,9 @@
|
|||||||
<span style="margin-left: 7px;">
|
<span style="margin-left: 7px;">
|
||||||
<i class="el-icon-view" style="font-size: 18px" title="预览" @click="viewOnlyOffice(item)" />
|
<i class="el-icon-view" style="font-size: 18px" title="预览" @click="viewOnlyOffice(item)" />
|
||||||
</span>
|
</span>
|
||||||
<!-- <span v-if="item.id !== ''" style="margin-left: 7px;">-->
|
<!-- <span v-if="item.id !== ''" style="margin-left: 7px;">-->
|
||||||
<!-- <i class="el-icon-download" title="下载" @click="handleFilePreview2(item,'down')" />-->
|
<!-- <i class="el-icon-download" title="下载" @click="handleFilePreview2(item,'down')" />-->
|
||||||
<!-- </span>-->
|
<!-- </span>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 20%;">
|
<div style="width: 20%;">
|
||||||
@@ -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) {
|
||||||
@@ -3930,21 +3961,21 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
/deep/ .fileClass {
|
/deep/ .fileClass {
|
||||||
line-height: 22px !important;
|
line-height: 22px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClassName {
|
.fileClassName {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ #active2 .el-form-item__content {
|
/deep/ #active2 .el-form-item__content {
|
||||||
margin-left: 0px !important;
|
margin-left: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bzrkStep1 {
|
.bzrkStep1 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
border: none;
|
border: none;
|
||||||
@@ -4000,9 +4031,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.standard-content {
|
.standard-content {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 10px 0 0;
|
padding: 10px 0 0;
|
||||||
|
|
||||||
@@ -4025,9 +4056,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-form-item__error {
|
/deep/ .el-form-item__error {
|
||||||
right: 50px !important;
|
right: 50px !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -254,14 +254,14 @@
|
|||||||
style="color: #409eff;cursor:pointer;margin-left: 12px;"
|
style="color: #409eff;cursor:pointer;margin-left: 12px;"
|
||||||
class="fileClass"
|
class="fileClass"
|
||||||
>
|
>
|
||||||
<!-- @click="handleFilePreview(item)"-->
|
<!-- @click="handleFilePreview(item)"-->
|
||||||
<span style="" :title="item.name" @click="handleFilePreview2(item,'preview')"> {{ item.name }}</span>
|
<span style="" :title="item.name" @click="handleFilePreview2(item,'preview')"> {{ item.name }}</span>
|
||||||
<span style="margin-left: 7px;">
|
<span style="margin-left: 7px;">
|
||||||
<i class="el-icon-view" style="font-size: 18px" title="预览" @click="viewOnlyOffice(item)" />
|
<i class="el-icon-view" style="font-size: 18px" title="预览" @click="viewOnlyOffice(item)" />
|
||||||
</span>
|
</span>
|
||||||
<!-- <span v-if="item.id !== ''" style="margin-left: 7px;">-->
|
<!-- <span v-if="item.id !== ''" style="margin-left: 7px;">-->
|
||||||
<!-- <i class="el-icon-download" title="下载" @click="handleFilePreview2(item,'down')" />-->
|
<!-- <i class="el-icon-download" title="下载" @click="handleFilePreview2(item,'down')" />-->
|
||||||
<!-- </span>-->
|
<!-- </span>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 20%;">
|
<div style="width: 20%;">
|
||||||
@@ -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) {
|
||||||
@@ -4056,21 +4087,21 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
/deep/ .fileClass {
|
/deep/ .fileClass {
|
||||||
line-height: 22px !important;
|
line-height: 22px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClassName {
|
.fileClassName {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ #active2 .el-form-item__content {
|
/deep/ #active2 .el-form-item__content {
|
||||||
margin-left: 0px !important;
|
margin-left: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bzrkStep1 {
|
.bzrkStep1 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
border: none;
|
border: none;
|
||||||
@@ -4126,9 +4157,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.standard-content {
|
.standard-content {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 10px 0 0;
|
padding: 10px 0 0;
|
||||||
|
|
||||||
@@ -4151,15 +4182,15 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.process-manuscript /deep/ .el-form-item__error {
|
.process-manuscript /deep/ .el-form-item__error {
|
||||||
right: 45px !important;
|
right: 45px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.standard-table-search /deep/ .el-form-item span.el-input__suffix {
|
.standard-table-search /deep/ .el-form-item span.el-input__suffix {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px
|
right: 10px
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user