|
|
|
@ -108,7 +108,7 @@ |
|
|
|
|
Finished: 0, |
|
|
|
|
Unconfirmed: 0, |
|
|
|
|
}, |
|
|
|
|
status: '10', |
|
|
|
|
status: '1', |
|
|
|
|
search: '', |
|
|
|
|
tabbarShow: true, |
|
|
|
|
queryType: '1', |
|
|
|
@ -155,6 +155,7 @@ |
|
|
|
|
queryTypeChange(e) { |
|
|
|
|
this.queryType = e |
|
|
|
|
this.page = 1; |
|
|
|
|
this.$.setData('pageType', e) |
|
|
|
|
this.list = []; |
|
|
|
|
this.isMore = true |
|
|
|
|
this.getList() |
|
|
|
@ -166,7 +167,7 @@ |
|
|
|
|
this.isMore = true |
|
|
|
|
switch (tab) { |
|
|
|
|
case 1: |
|
|
|
|
this.status = '10'; |
|
|
|
|
this.status = '1'; |
|
|
|
|
this.queryType = null |
|
|
|
|
break; |
|
|
|
|
// case 2: |
|
|
|
@ -177,7 +178,7 @@ |
|
|
|
|
this.queryType = '1' |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.status = '20'; |
|
|
|
|
this.status = '2'; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
this.getList() |
|
|
|
@ -205,12 +206,13 @@ |
|
|
|
|
getList() { |
|
|
|
|
let datas = { |
|
|
|
|
nuserid: this.$.getData('token'), |
|
|
|
|
status: this.status, |
|
|
|
|
status: '10', |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
this.loadmorestatus = 'loading' |
|
|
|
|
let query=this.status==2?`pageNum=${this.page}&pageSize=${10}&search=${this.search}&approve=${this.status}&classification=${this.queryType}`:`pageNum=${this.page}&pageSize=${10}&search=${this.search}&approve=${this.status}` |
|
|
|
|
this.$request.globalRequest( |
|
|
|
|
`/hiddenDanger/highDanger/getHigDangerDealt?pageNum=${this.page}&pageSize=${10}&search=${this.search}&classificatio=${this.queryType}`, |
|
|
|
|
`/hiddenDanger/highDanger/getHigDangerDealt?${query}`, |
|
|
|
|
datas, 'POST') |
|
|
|
|
.then(res => { |
|
|
|
|
this.loadmorestatus = 'loadmore' |
|
|
|
@ -229,10 +231,10 @@ |
|
|
|
|
} else { |
|
|
|
|
this.$.toast(res.message) |
|
|
|
|
} |
|
|
|
|
if (this.status == 10) { |
|
|
|
|
if (this.status == 1) { |
|
|
|
|
this.$set(this.totalData, 'UnderInvestigation', res.result.total) |
|
|
|
|
} |
|
|
|
|
if (this.status == 20) { |
|
|
|
|
if (this.status == 2) { |
|
|
|
|
this.$set(this.totalData, 'InGovernance', res.result.total) |
|
|
|
|
} |
|
|
|
|
}).catch((err) => { |
|
|
|
|