fix(金币代理页面): 修复修改功能的接口,并调整搜索条件

This commit is contained in:
hzj 2025-12-10 15:34:51 +08:00
parent a15a5d1074
commit 1f1965fb67

View File

@ -29,8 +29,8 @@
clearable
@change="handleSearch"
>
<el-option label="显示" :value="false" />
<el-option label="不显示" :value="true" />
<el-option label="显示" :value="true" />
<el-option label="不显示" :value="false" />
</el-select>
<el-select
v-model="listQuery.dealer"
@ -129,28 +129,18 @@
align="center"
min-width="100"
/>
<el-table-column
width="200"
label="显示/不显示"
align="center"
min-width="100"
>
<el-table-column width="200" label="显示" align="center" min-width="100">
<template slot-scope="scope">
<el-switch
v-model="scope.row.h5Display"
:active-value="false"
:inactive-value="true"
:active-value="true"
:inactive-value="false"
:disabled="scope.row.close"
@change="showSwitchChange(scope.row)"
/>
</template>
</el-table-column>
<el-table-column
width="200"
label="正常/关闭"
align="center"
min-width="100"
>
<el-table-column width="200" label="正常" align="center" min-width="100">
<template slot-scope="scope">
<el-switch
v-model="scope.row.close"
@ -570,7 +560,7 @@ export default {
const that = this;
that.infoData = {
id: row.userId,
id: row.id,
supportedCountries: row.supportedCountries || "",
contactInfo: row.contactInfo || ""
};
@ -634,6 +624,7 @@ export default {
that.updateLoading = true; //
updateInfoCP(that.infoData)
.then(res => {
that.handleSearch(); //
that.infoData = {
id: 0, //id
supportedCountries: "", //