路由页面
This commit is contained in:
@@ -66,6 +66,7 @@ export default {
|
||||
pages: 0,
|
||||
deletShow: false,
|
||||
deletId: '',
|
||||
moduleId: ''
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -76,8 +77,9 @@ export default {
|
||||
},
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
onLoad(o) {
|
||||
this.areaId = this.user.areaId
|
||||
this.moduleId = o.moduleId
|
||||
this.getList()
|
||||
},
|
||||
mounted() {},
|
||||
@@ -90,6 +92,7 @@ export default {
|
||||
current: this.current,
|
||||
areaId: this.areaId,
|
||||
title: this.keyword,
|
||||
moduleId: this.moduleId
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
@@ -116,7 +119,7 @@ export default {
|
||||
}
|
||||
if (type == null) {
|
||||
console.log('添加')
|
||||
uni.navigateTo({ url: `./Add` })
|
||||
uni.navigateTo({ url: `./Add?moduleId=${this.moduleId}` })
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user