路由页面

This commit is contained in:
liuye
2021-12-23 11:03:06 +08:00
parent f4a377955f
commit f520a17c68
23 changed files with 339 additions and 2 deletions

View File

@@ -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}` })
}
},