正式环境 - 区分 公会信息 - 表头新增公会地区,编辑新增修改公会地区

This commit is contained in:
2025-08-21 19:12:22 +08:00
parent 2b4d966dac
commit 3d8861550a

View File

@@ -67,6 +67,9 @@
<el-table-column prop="ownerRegionName"
align="center"
label="会长地区" />
<el-table-column prop="regionName"
align="center"
label="公会地区" />
<el-table-column prop="name"
align="center"
label="公会昵称" />
@@ -334,6 +337,19 @@
<el-input v-model="ediObj.guildNick"
style="width: 75%"
class="input"></el-input>
</div>
<!-- 公会地区 -->
<div style="margin-bottom: 25px; margin-top: 10px">
<span style="display: inline-block; margin-right: 20px"
class="col-sm-2 control-label">公会地区</span>
<el-select v-model="ediObj.regionId"
placeholder="请选择">
<el-option v-for="item in adminCountryArr"
:key="item.id"
:label="item.name"
:value="item.id">
</el-option>
</el-select>
</div>
<!-- 公会头像 -->
<div class="selectBox selectBoxImg">
@@ -590,7 +606,8 @@ import {
addMember,
setManager,
removeMember,
getGuildOperatorListAll
getGuildOperatorListAll,
getlistByPartitionId
} from "@/api/noblemanNew/noblemanNew";
// @ts-ignore
import { dateFormat } from "@/utils/system-helper";
@@ -650,7 +667,8 @@ export default {
imageUrl2: "",
enableEditInvite: false,
inviteErbanNo: '',
operatorId: ''
operatorId: '',
regionId:''
},
// 收款账户弹窗
payAccountDialog: false,
@@ -673,6 +691,7 @@ export default {
memberRemoveDialog: false,
memberRemoveObj: {},
adminListArr: [],//负责人列表
adminCountryArr:[],
};
},
mounted () {
@@ -913,6 +932,12 @@ export default {
this.ediObj.guildContactType = obj.guildContactType;
this.ediObj.guildContact = obj.guildContact;
this.ediObj.inviteErbanNo = obj.inviteErbanNo;
this.ediObj.regionId = obj.regionId;
getlistByPartitionId({ partitionId: obj.partitionId,containAll: false }).then((res) => {
if (res.code == 200) {
this.adminCountryArr = res.data;
}
});
this.editDialog = true;
},
// 二次确认弹窗
@@ -927,7 +952,8 @@ export default {
guildContactType: this.ediObj.guildContactType,
guildContact: this.ediObj.guildContact,
inviteErbanNo: this.ediObj.inviteErbanNo,
operatorId: this.ediObj.operatorId
operatorId: this.ediObj.operatorId,
regionId:this.ediObj.regionId
}).then((res) => {
if (res.code == 200) {
ElMessage({