公会信息 - 添加的时候增加选择负责人
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
@click="getData()">查询</el-button>
|
||||
<el-button class="primary"
|
||||
type="primary"
|
||||
@click="addDialog = true">添加</el-button>
|
||||
@click="addDialog = true;resource.operatorId = ''">添加</el-button>
|
||||
<el-button class="primary"
|
||||
type="primary"
|
||||
@click="exportInfoFun()">导出</el-button>
|
||||
@@ -244,6 +244,18 @@
|
||||
style="width: 75%"
|
||||
class="input"></el-input>
|
||||
</div>
|
||||
<div style="margin-bottom: 25px">
|
||||
<span style="display: inline-block; margin-right: 20px; width: 100px"
|
||||
class="col-sm-2 control-label">负责人</span>
|
||||
<el-select v-model="resource.operatorId"
|
||||
placeholder="请选择">
|
||||
<el-option v-for="item in partitionAdminList"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
<!-- <div style="margin-bottom: 25px">
|
||||
<span
|
||||
style="display: inline-block; margin-right: 20px; width: 100px"
|
||||
@@ -619,7 +631,8 @@ export default {
|
||||
referrer: "",
|
||||
guildContactType: "whatsapp",
|
||||
guildContact: '',
|
||||
inviteErbanNo: ''
|
||||
inviteErbanNo: '',
|
||||
operatorId:''
|
||||
},
|
||||
// 表格
|
||||
tableData: [],
|
||||
@@ -679,7 +692,7 @@ export default {
|
||||
partitionAdminList () {
|
||||
return this.adminListArr.filter(admin => {
|
||||
return (!this.inquire.partitionId || this.inquire.partitionId == admin.partitionId)
|
||||
&& (!this.inquire.regionId || admin.regionIds.includes(this.inquire.regionId)); // 请根据实际数据结构调整此条件
|
||||
&& (!this.inquire.regionId || admin.regionIds.includes(this.inquire.regionId));
|
||||
});
|
||||
}
|
||||
},
|
||||
@@ -871,6 +884,7 @@ export default {
|
||||
guildContactType: this.resource.guildContactType,
|
||||
guildContact: this.resource.guildContact,
|
||||
inviteErbanNo: this.resource.inviteErbanNo,
|
||||
operatorId: this.resource.operatorId,
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
ElMessage({
|
||||
|
Reference in New Issue
Block a user