feat: 优化跳转地址栏带参数

This commit is contained in:
chenli
2026-01-29 11:53:50 +08:00
parent 112a036dd5
commit ebb46dc1b3
6 changed files with 26 additions and 14 deletions

View File

@@ -261,11 +261,17 @@
},
launch(item) {
console.log(item,'item-------')
if (item.tabType == 'flow') return this.JumpFlow(item)
if (item.tabType == 'menu') return this.JumpApply(item)
const config = {
billNoPrefix: item.billNoPrefix,
id: item.id,
name: item.name,
tableTitle: item.tableTitle,
}
if (item.tabType == 'flow') return this.JumpFlow(config)
if (item.tabType == 'menu') return this.JumpApply(config)
},
JumpApply(item) {
let url = "/pages/apply/dynamicModelList/index?config=" + this.jnpf.base64.encode(JSON.stringify(item))
let url = "/pages/apply/dynamicModelList/index?config=" + JSON.stringify(item)
// if (item.type == 1) {
// getChildList(item.id).then(res => {
// this.listChild = res.data || []
@@ -458,7 +464,7 @@
}
uni.navigateTo({
url: '/pages/apply/dynamicModelList/form?config=' +
this.jnpf.base64.encode(JSON.stringify(config))
JSON.stringify(config)
})
}
})