fix(金币代理页面): 修复修改功能的接口,并调整搜索条件
This commit is contained in:
parent
a15a5d1074
commit
1f1965fb67
@ -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: "", //支持的国家
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user