feat: 优化跳转地址栏带参数
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user