入会人员多选
This commit is contained in:
@@ -462,6 +462,8 @@ export default {
|
|||||||
comityOptionsOne: [],
|
comityOptionsOne: [],
|
||||||
comityOptionsTwo: [],
|
comityOptionsTwo: [],
|
||||||
comityOptionsTree: [],
|
comityOptionsTree: [],
|
||||||
|
comityOpRole: '',
|
||||||
|
comityOpRoleId: '',
|
||||||
},
|
},
|
||||||
comityRoleOptions: [
|
comityRoleOptions: [
|
||||||
{value: '0', label: '委员'},
|
{value: '0', label: '委员'},
|
||||||
|
|||||||
@@ -113,8 +113,9 @@
|
|||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<el-form-item class="add-form-item" label="入会人员:">
|
<el-form-item class="add-form-item" label="入会人员:">
|
||||||
<el-input
|
<el-input
|
||||||
:disabled="true"
|
placeholder="请选择入会成员"
|
||||||
style="width: 30%"
|
style="width: 50%"
|
||||||
|
@click.native="choiceRole"
|
||||||
v-model="rh_pageData.comityOpRole"
|
v-model="rh_pageData.comityOpRole"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -212,6 +213,13 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
|
||||||
|
<Role-tree
|
||||||
|
is-title="选择入会人员"
|
||||||
|
:is-visible.sync="roleShowflag"
|
||||||
|
:nodeList="nodeList"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -257,7 +265,7 @@ export default {
|
|||||||
workPath: '',
|
workPath: '',
|
||||||
comityTel: [],
|
comityTel: [],
|
||||||
comityOpRole: '',
|
comityOpRole: '',
|
||||||
comityInRoleId: '',
|
comityOpRoleId: '',
|
||||||
},
|
},
|
||||||
roleForm: {},
|
roleForm: {},
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -317,7 +325,6 @@ export default {
|
|||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData
|
this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData
|
||||||
this.rh_pageData.comityOpRole = this.$store.getters.userInfo.userName
|
|
||||||
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
|
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
|
||||||
this.infoSourcesLength = this.rh_pageData.infoSources.length
|
this.infoSourcesLength = this.rh_pageData.infoSources.length
|
||||||
// this.rh_pageData.comityFileNum = this.fileTextList
|
// this.rh_pageData.comityFileNum = this.fileTextList
|
||||||
@@ -371,6 +378,28 @@ export default {
|
|||||||
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/** 选择入会人员 */
|
||||||
|
choiceRole(id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.roleShowflag = true
|
||||||
|
},
|
||||||
|
drawerCheck(data) {
|
||||||
|
var idList = ''
|
||||||
|
var nameList = ''
|
||||||
|
data.forEach(item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ','
|
||||||
|
idList += ','
|
||||||
|
}
|
||||||
|
idList += item.id;
|
||||||
|
nameList += item.name;
|
||||||
|
})
|
||||||
|
this.rh_pageData.comityOpRole = nameList
|
||||||
|
this.rh_pageData.comityOpRoleId = idList
|
||||||
|
this.roleShowflag = false
|
||||||
|
},
|
||||||
// 退回按钮
|
// 退回按钮
|
||||||
handleSubmitNo() {
|
handleSubmitNo() {
|
||||||
if (this.commentText === '') {
|
if (this.commentText === '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user