...
|
...
|
@@ -17,6 +17,13 @@ |
|
|
<i-option :value="9">已退驻</i-option>
|
|
|
</i-select>
|
|
|
</i-form-item>
|
|
|
<i-form-item prop="entryType">
|
|
|
<i-select placeholder="商家类型" v-model="filter.entryType" style="width: 100px">
|
|
|
<i-option :value="1">普通入驻</i-option>
|
|
|
<i-option :value="2">超级入驻</i-option>
|
|
|
<i-option :value="3">前期白名单</i-option>
|
|
|
</i-select>
|
|
|
</i-form-item>
|
|
|
</i-form>
|
|
|
</LayoutFilter>
|
|
|
<LayoutTable
|
...
|
...
|
@@ -33,10 +40,15 @@ |
|
|
import dayjs from 'dayjs';
|
|
|
import Api from '@/api/api';
|
|
|
import qs from 'qs';
|
|
|
import ISelect from "../../../node_modules/iview/src/components/select/select";
|
|
|
import IOption from "../../../node_modules/iview/src/components/select/option";
|
|
|
|
|
|
const api = new Api();
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
IOption,
|
|
|
ISelect},
|
|
|
name: 'SendRecordPage',
|
|
|
data() {
|
|
|
return {
|
...
|
...
|
@@ -45,6 +57,7 @@ export default { |
|
|
mobile: '',
|
|
|
uid: '',
|
|
|
validStatus: '',
|
|
|
entryType: ''
|
|
|
},
|
|
|
page: 1,
|
|
|
total: 0,
|
...
|
...
|
@@ -53,7 +66,15 @@ export default { |
|
|
title: 'UID',
|
|
|
key: 'uid',
|
|
|
width: 100
|
|
|
}, {
|
|
|
},
|
|
|
{
|
|
|
title: '商家类型',
|
|
|
render(h, {row}) {
|
|
|
return h('span', {}, ['','普通入驻', '超级入驻', '前期白名单'][row.entryType]);
|
|
|
},
|
|
|
width: 100
|
|
|
},
|
|
|
{
|
|
|
title: '商家名称',
|
|
|
key: 'certName',
|
|
|
width: 100
|
...
|
...
|
@@ -73,7 +94,16 @@ export default { |
|
|
title: '违规次数',
|
|
|
key: 'breakRuleTimes',
|
|
|
width: 100
|
|
|
}, {
|
|
|
},
|
|
|
{
|
|
|
title: '账户余额',
|
|
|
render(h, {row}) {
|
|
|
let color = parseInt(row.money, 10) > 999 ? 'inherit' : 'red';
|
|
|
return h('span', {style: {color: color}}, row.money);
|
|
|
},
|
|
|
width: 100
|
|
|
},
|
|
|
{
|
|
|
title: '入驻时间',
|
|
|
render(h, {row}) {
|
|
|
return (
|
...
|
...
|
@@ -128,6 +158,7 @@ export default { |
|
|
}, this.getParams(params)));
|
|
|
|
|
|
if (result.code === 200) {
|
|
|
// console.log('listData:', result);
|
|
|
this.total = result.data.total;
|
|
|
this.data = result.data.list;
|
|
|
this.$Loading.finish();
|
...
|
...
|
@@ -142,6 +173,7 @@ export default { |
|
|
mobile: params.mobile,
|
|
|
uid: params.uid,
|
|
|
validStatus: parseInt(params.validStatus) >= 0 ? params.validStatus : void 0,
|
|
|
entryType: parseInt(params.entryType) >= 0 ? params.entryType : void 0,
|
|
|
};
|
|
|
}
|
|
|
},
|
...
|
...
|
|