监测对象

This commit is contained in:
liuye
2022-03-29 16:38:01 +08:00
parent 0a66569d4e
commit 4d6f0e8334
2 changed files with 4 additions and 4 deletions

View File

@@ -367,7 +367,7 @@ export default {
...this.form, ...this.form,
id: this.isEdit ? this.id : '' id: this.isEdit ? this.id : ''
}).then(res => { }).then(res => {
if (res.code === 0) { if (res.code == 0) {
this.$u.toast(this.isEdit ? '保存成功' : '提交成功') this.$u.toast(this.isEdit ? '保存成功' : '提交成功')
uni.$emit('reload') uni.$emit('reload')
uni.navigateBack({ uni.navigateBack({

View File

@@ -85,13 +85,13 @@ export default {
this.$dict.load('fpPrtpStatus').then(() => { this.$dict.load('fpPrtpStatus').then(() => {
this.isGirdUser() this.isGirdUser()
}) })
uni.$on('reload', () => {
this.getListInit()
})
}, },
onShow() { onShow() {
document.title = '监测对象' document.title = '监测对象'
uni.$on('reload', () => {
this.getListInit()
})
}, },
methods: { methods: {
isGirdUser() { isGirdUser() {