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