党员
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
|
||||
<el-form-item label="候选人" prop="candidateUsers">
|
||||
<ai-person-select :instance="instance" :customClicker="true" :chooseUserList="chooseCandidateList"
|
||||
url="/app/appgirdmemberinfo/list" headerTitle="党员列表"
|
||||
:url="`/app/appparty/list?partyOrgId=${form.partyOrgId}`" headerTitle="党员列表"
|
||||
:isMultiple="true" dialogTitle="选择" @selectPerson="selectCandidate" class="aipersonselect">
|
||||
<template name="option" v-slot:option="{ item }">
|
||||
<span class="iconfont iconProlife">{{ item.name }}</span>
|
||||
@@ -98,7 +98,7 @@
|
||||
|
||||
<el-form-item label="投票人" prop="voteUsers">
|
||||
<ai-person-select :instance="instance" :customClicker="true" :chooseUserList="chooseVoteList"
|
||||
url="/app/appgirdmemberinfo/list" headerTitle="党员列表"
|
||||
:url="`/app/appparty/list?partyOrgId=${form.partyOrgId}`" headerTitle="党员列表"
|
||||
:isMultiple="true" dialogTitle="选择" @selectPerson="selectVote" class="aipersonselect">
|
||||
<template name="option" v-slot:option="{ item }">
|
||||
<span class="iconfont iconProlife">{{ item.name }}</span>
|
||||
@@ -154,7 +154,8 @@ export default {
|
||||
votingDate: '',
|
||||
candidateUsers: [],
|
||||
voteUsers: [],
|
||||
partyOrganizations: []
|
||||
partyOrganizations: [],
|
||||
partyOrgId: ''
|
||||
},
|
||||
formRules: {
|
||||
title: [{required: true, message: "请输入标题", trigger: "blur"}],
|
||||
@@ -215,6 +216,7 @@ export default {
|
||||
if(v) {
|
||||
this.form.organizationName = v[0]?.name
|
||||
this.form.partyOrganizations = [v[0]]
|
||||
this.form.partyOrgId = v[0]?.id
|
||||
} else {
|
||||
this.form.organizationName = this.chooseUserList[0]?.name
|
||||
this.form.partyOrganizations = this.chooseUserList
|
||||
|
||||
Reference in New Issue
Block a user