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