Authored by jiran.zhao

'一件代发'

... ... @@ -50,7 +50,7 @@ export default function() {
model: '',
},
pageNo: 1,
pageSize: 20,
pageSize: 10,
},
tableCols: [
{
... ... @@ -141,6 +141,7 @@ export default function() {
pageData: {
total: 0,
current: 1,
pageSize: 10,
},
};
}
... ...
... ... @@ -102,7 +102,7 @@ export default {
filterValues() {
const values = {
pageNo: 1,
pageSize: 20,
pageSize: 10,
};
const fields = this.filters;
const keysMap = {
... ... @@ -134,12 +134,11 @@ export default {
this.list(params);
this.pageData.current = 1;
},
timeFlag(day) {
this.filters.timeFlag.model = day;
timeFlag(flag) {
let params = {};
this.enableFilter = true;
this.enableFilter = false;
params = this.filterValues();
params.timeFlag = day;
params.timeFlag = flag;
this.list(params);
this.pageData.current = 1;
},
... ...