更新:增加充值商品类型
This commit is contained in:
@@ -27,7 +27,10 @@
|
||||
>新增</el-button
|
||||
>
|
||||
</div>
|
||||
|
||||
<el-radio-group v-model="radio" style="margin-bottom: 20px;" @change="selectMethod">
|
||||
<el-radio label="IOS">IOS商品</el-radio>
|
||||
<el-radio label="Google">Google商品</el-radio>
|
||||
</el-radio-group>
|
||||
<el-table
|
||||
height="70vh"
|
||||
:data="dataList"
|
||||
@@ -139,6 +142,7 @@ import AddOrUpdate from "./views/add.vue";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
radio: 'Google',
|
||||
dataForm: {
|
||||
key: "",
|
||||
qudao: "Android"
|
||||
@@ -202,6 +206,11 @@ export default {
|
||||
// this.bookIds = e.bookIds
|
||||
// })
|
||||
},
|
||||
selectMethod() {
|
||||
console.log(this.radio);
|
||||
this.getDataList()
|
||||
|
||||
},
|
||||
// 获取数据列表
|
||||
getDataList() {
|
||||
this.dataListLoading = true;
|
||||
@@ -215,8 +224,8 @@ export default {
|
||||
page: this.pageIndex,
|
||||
limit: this.pageSize,
|
||||
type: "point",
|
||||
|
||||
qudao: this.dataForm.qudao
|
||||
//qudao: "Google"
|
||||
qudao: this.radio
|
||||
},
|
||||
header: {
|
||||
//默认 无 说明:请求头
|
||||
|
||||
Reference in New Issue
Block a user