监测对象
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user