走访慰问,返乡登记页面未刷新
This commit is contained in:
@@ -546,15 +546,19 @@ export default {
|
||||
checkPhoto: JSON.stringify(this.form.checkPhoto),
|
||||
})
|
||||
.then((res) => {
|
||||
|
||||
this.$hideLoading();
|
||||
this.flag = false;
|
||||
if (res.code == 0) {
|
||||
uni.$emit("update");
|
||||
console.log(res)
|
||||
uni.$emit("updateBackList");
|
||||
setTimeout(() => {
|
||||
uni.navigateTo({url: `./Success?status=1&corpId=${this.form.corpId}`})
|
||||
}, 400);
|
||||
}
|
||||
}).catch(() => {
|
||||
}).catch((err) => {
|
||||
console.log(err)
|
||||
uni.$emit("updateBackList");
|
||||
uni.navigateTo({url: `./Success?status=1&corpId=${this.form.corpId}`})
|
||||
})
|
||||
},
|
||||
|
||||
@@ -104,8 +104,10 @@ export default {
|
||||
},
|
||||
onLoad() {
|
||||
this.isGirdUser()
|
||||
uni.$on('update').then(() => {
|
||||
this.isGirdUser()
|
||||
uni.$on('updateBackList', () => {
|
||||
console.log(123)
|
||||
this.getListInit()
|
||||
this.getTotal()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
|
||||
@@ -102,9 +102,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="info">
|
||||
<div class="title">异常处理情况</div>
|
||||
<div class="error-list" v-if="list.length">
|
||||
<div class="info" v-if="list.length || info.releaseName">
|
||||
<div class="title" >异常处理情况</div>
|
||||
<div class="error-list" v-if="list.length">
|
||||
<div class="item" v-for="(item, index) in list" :key="index">
|
||||
<p>{{item.content}}</p>
|
||||
<div>{{item.createTime}}
|
||||
|
||||
@@ -82,6 +82,10 @@ export default {
|
||||
this.$dict.load('appSpecialTypeFive').then(() => {
|
||||
this.typeList = this.$dict.getDict('appSpecialTypeFive')
|
||||
})
|
||||
uni.$on('specialPeopleList', () => {
|
||||
this.current = 1
|
||||
this.getUsers()
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
toAdd() {
|
||||
|
||||
Reference in New Issue
Block a user