|
|
@@ -171,7 +171,7 @@ export default { |
|
|
|
this.total = result.total |
|
|
|
this.page = result.page + 1 |
|
|
|
// this.list = isConcat ? this.list.concat(result.rows) : result.rows; |
|
|
|
if(result.rows.length)this.list = [result.rows] |
|
|
|
if(result.rows.length)this.list = result.rows |
|
|
|
|
|
|
|
// this.tips = `已加载 ${Math.min(result.page, result.total)} / ${result.total} 页,共 ${result.records} 项` |
|
|
|
this.tips = this.searchData.year?this.searchData.year+'年'+this.searchData.month+'月':'请按月份进行搜索...' |
|
|
@@ -222,7 +222,8 @@ export default { |
|
|
|
async action(type, item) { |
|
|
|
switch (type) { |
|
|
|
case 'view': |
|
|
|
this.NAV_TO(`./single?year=${this.searchData.year}&month=${this.searchData.month}`, item, true) |
|
|
|
let obj = item.find(e=>e.Item1 == '发放次数') |
|
|
|
this.NAV_TO(`./single?year=${this.searchData.year}&month=${this.searchData.month}&cs=${obj?obj.Item2:''}`, item, true) |
|
|
|
return |
|
|
|
|
|
|
|
default: |
|
|
|