公会信息-增加联系方式类型

This commit is contained in:
khalil
2025-05-27 19:24:18 +08:00
parent d694a8ebee
commit a22e4b8e6e

View File

@@ -115,6 +115,11 @@
</template>
</el-table-column>
<el-table-column prop="adminName" align="center" label="操作人" />
<el-table-column
prop="guildContactType"
align="center"
label="联系方式类型"
/>
<el-table-column
prop="guildContact"
align="center"
@@ -223,6 +228,31 @@
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.guildContactType"
style="width: 75%"
class="input">
<el-option value="whatsapp">whatsapp</el-option>
<el-option value="facebook">facebook</el-option>
</el-select>
</div>
<div style="margin-bottom: 25px">
<span
style="display: inline-block; margin-right: 20px; width: 100px"
class="col-sm-2 control-label"
>联系方式</span
>
<el-input
v-model="resource.guildContact"
style="width: 75%"
class="input"
></el-input>
</div>
<div style="margin-bottom: 25px">
<span
style="display: inline-block; margin-right: 20px; width: 100px"
@@ -382,6 +412,29 @@
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.guildContactType">
<el-option value="whatsapp">whatsapp</el-option>
<el-option value="facebook">facebook</el-option>
</el-select>
</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-input
v-model="ediObj.guildContact"
style="width: 75%"
class="input"
></el-input>
</div>
<!-- 邀请人ID -->
<div style="margin-bottom: 25px; margin-top: 10px">
<span
@@ -598,6 +651,8 @@ export default {
id: "",
nick: "",
referrer: "",
guildContactType: "whatsapp",
guildContact:'',
inviteErbanNo:''
},
// 表格
@@ -821,6 +876,8 @@ export default {
create({
erbanNo: this.resource.id,
referrer: this.resource.referrer,
guildContactType: this.resource.guildContactType,
guildContact: this.resource.guildContact,
inviteErbanNo: this.resource.inviteErbanNo,
}).then((res) => {
if (res.code == 200) {
@@ -850,6 +907,8 @@ export default {
this.ediObj.imageUrl1 = obj.backgroundUrl;
this.ediObj.imageUrl2 = obj.avatar;
this.ediObj.enableEditInvite = obj.enableEditInvite;
this.ediObj.guildContactType = obj.guildContactType;
this.ediObj.guildContact = obj.guildContact;
this.ediObj.inviteErbanNo = obj.inviteErbanNo;
this.editDialog = true;
},
@@ -862,6 +921,8 @@ export default {
backgroundUrl: this.ediObj.imageUrl1,
avatar: this.ediObj.imageUrl2,
name: this.ediObj.guildNick,
guildContactType:this.ediObj.guildContactType,
guildContact:this.ediObj.guildContact,
inviteErbanNo:this.ediObj.inviteErbanNo
}).then((res) => {
if (res.code == 200) {