...
|
...
|
@@ -33,23 +33,15 @@ |
|
|
|
|
|
<script>
|
|
|
import _ from 'lodash';
|
|
|
import {express as expressStore} from '../store';
|
|
|
import TradeService from 'services/trade/trade-service';
|
|
|
import dataStore from '../store/express';
|
|
|
|
|
|
export default {
|
|
|
name: 'TabDone',
|
|
|
data() {
|
|
|
return {
|
|
|
self: this,
|
|
|
filters: {},
|
|
|
page: {},
|
|
|
table: {},
|
|
|
useFilter: false
|
|
|
};
|
|
|
return expressStore.apply(this);
|
|
|
},
|
|
|
created() {
|
|
|
this.tradeService = new TradeService();
|
|
|
const store = dataStore.apply(this);
|
|
|
const params = {
|
|
|
pageNo: 1,
|
|
|
pageSize: 20,
|
...
|
...
|
@@ -57,9 +49,7 @@ |
|
|
statusList: [2, 3]
|
|
|
};
|
|
|
|
|
|
this.page = store.page;
|
|
|
this.table = store.table;
|
|
|
this.filters = store.filters;
|
|
|
this.tradeService = new TradeService();
|
|
|
this.getExpList(params);
|
|
|
},
|
|
|
methods: {
|
...
|
...
|
@@ -84,7 +74,9 @@ |
|
|
this.getExpList(this.params());
|
|
|
this.page.current = 1;
|
|
|
}
|
|
|
this.filters = dataStore.apply(this).filters;
|
|
|
_.each(this.filters, item => {
|
|
|
item.model = '';
|
|
|
});
|
|
|
},
|
|
|
pageChange(page) {
|
|
|
let params = this.params();
|
...
|
...
|
|