29529
This commit is contained in:
@@ -37,7 +37,7 @@ export default {
|
|||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = this.parentName
|
document.title = this.parentName
|
||||||
if(this.parentName.length) {
|
if(this.parentName) {
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -144,14 +144,15 @@ export default {
|
|||||||
this.$http.post(url, params).then((res) => {
|
this.$http.post(url, params).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast(successText)
|
this.$u.toast(successText)
|
||||||
uni.$emit('updateDeatil')
|
uni.$emit('update')
|
||||||
uni.$emit('getListInit')
|
// uni.$emit('getListInit')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (this.status == 4) {
|
uni.navigateBack({delta: 2})
|
||||||
uni.navigateBack({delta: 2})
|
// if (this.status == 4) {
|
||||||
} else {
|
// uni.navigateBack({delta: 2})
|
||||||
uni.navigateBack()
|
// } else {
|
||||||
}
|
// uni.navigateBack()
|
||||||
|
// }
|
||||||
}, 600)
|
}, 600)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ export default {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.code == 0) {
|
if (res?.data) {
|
||||||
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
||||||
this.pages = res.data.pages
|
this.pages = res.data.pages
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
@@ -153,7 +153,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getStaticList() {
|
getStaticList() {
|
||||||
this.$http.post('/app/appclapeventinfo/clapEventStatisticByGirdMember').then((res) => {
|
this.$http.post('/app/appclapeventinfo/clapEventStatisticByGirdMember').then((res) => {
|
||||||
if (res.code == 0) {
|
if (res?.data) {
|
||||||
Object.keys(res.data).forEach(() => {
|
Object.keys(res.data).forEach(() => {
|
||||||
this.staticName[0].value = res.data['待处理']
|
this.staticName[0].value = res.data['待处理']
|
||||||
this.staticName[1].value = res.data['上报数']
|
this.staticName[1].value = res.data['上报数']
|
||||||
|
|||||||
Reference in New Issue
Block a user