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