公会信息 - 表头新增公会地区,编辑新增修改公会地区
This commit is contained in:
@@ -143,4 +143,12 @@ export const getGuildOperatorListAll = query => {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
|
};
|
||||||
|
// 获取 国家列表
|
||||||
|
export const getlistByPartitionId = query => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/regionInfo/listByPartitionId',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
};
|
};
|
@@ -81,6 +81,9 @@
|
|||||||
<el-table-column prop="ownerRegionName"
|
<el-table-column prop="ownerRegionName"
|
||||||
align="center"
|
align="center"
|
||||||
label="会长地区" />
|
label="会长地区" />
|
||||||
|
<el-table-column prop="regionName"
|
||||||
|
align="center"
|
||||||
|
label="公会地区" />
|
||||||
<el-table-column prop="name"
|
<el-table-column prop="name"
|
||||||
align="center"
|
align="center"
|
||||||
label="公会昵称" />
|
label="公会昵称" />
|
||||||
@@ -351,6 +354,19 @@
|
|||||||
<el-input v-model="ediObj.guildNick"
|
<el-input v-model="ediObj.guildNick"
|
||||||
style="width: 75%"
|
style="width: 75%"
|
||||||
class="input"></el-input>
|
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>
|
||||||
<!-- 公会头像 -->
|
<!-- 公会头像 -->
|
||||||
<div class="selectBox selectBoxImg">
|
<div class="selectBox selectBoxImg">
|
||||||
@@ -607,7 +623,8 @@ import {
|
|||||||
addMember,
|
addMember,
|
||||||
setManager,
|
setManager,
|
||||||
removeMember,
|
removeMember,
|
||||||
getGuildOperatorListAll
|
getGuildOperatorListAll,
|
||||||
|
getlistByPartitionId
|
||||||
} from "@/api/noblemanNew/noblemanNew";
|
} from "@/api/noblemanNew/noblemanNew";
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { dateFormat } from "@/utils/system-helper";
|
import { dateFormat } from "@/utils/system-helper";
|
||||||
@@ -667,7 +684,8 @@ export default {
|
|||||||
imageUrl2: "",
|
imageUrl2: "",
|
||||||
enableEditInvite: false,
|
enableEditInvite: false,
|
||||||
inviteErbanNo: '',
|
inviteErbanNo: '',
|
||||||
operatorId: ''
|
operatorId: '',
|
||||||
|
regionId:''
|
||||||
},
|
},
|
||||||
// 收款账户弹窗
|
// 收款账户弹窗
|
||||||
payAccountDialog: false,
|
payAccountDialog: false,
|
||||||
@@ -690,6 +708,7 @@ export default {
|
|||||||
memberRemoveDialog: false,
|
memberRemoveDialog: false,
|
||||||
memberRemoveObj: {},
|
memberRemoveObj: {},
|
||||||
adminListArr: [],//负责人列表
|
adminListArr: [],//负责人列表
|
||||||
|
adminCountryArr:[],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
@@ -930,6 +949,12 @@ export default {
|
|||||||
this.ediObj.guildContactType = obj.guildContactType;
|
this.ediObj.guildContactType = obj.guildContactType;
|
||||||
this.ediObj.guildContact = obj.guildContact;
|
this.ediObj.guildContact = obj.guildContact;
|
||||||
this.ediObj.inviteErbanNo = obj.inviteErbanNo;
|
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;
|
this.editDialog = true;
|
||||||
},
|
},
|
||||||
// 二次确认弹窗
|
// 二次确认弹窗
|
||||||
@@ -944,7 +969,8 @@ export default {
|
|||||||
guildContactType: this.ediObj.guildContactType,
|
guildContactType: this.ediObj.guildContactType,
|
||||||
guildContact: this.ediObj.guildContact,
|
guildContact: this.ediObj.guildContact,
|
||||||
inviteErbanNo: this.ediObj.inviteErbanNo,
|
inviteErbanNo: this.ediObj.inviteErbanNo,
|
||||||
operatorId: this.ediObj.operatorId
|
operatorId: this.ediObj.operatorId,
|
||||||
|
regionId:this.ediObj.regionId
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
|
Reference in New Issue
Block a user