diff --git a/src/views/ebiz/allowance/js/methods.js b/src/views/ebiz/allowance/js/methods.js index f60b119b6..fa1973614 100644 --- a/src/views/ebiz/allowance/js/methods.js +++ b/src/views/ebiz/allowance/js/methods.js @@ -5,6 +5,19 @@ export function selectComp(that, index, type = '') { // index:1-父母列表;2-职业类别;3-弹出申请人身份证扫描功能;4-弹出享受人身份证扫描功能 if (index == 1) { ;[that.parentShowPicker, title] = [true, '父母列表'] + + setTimeout(() => { + console.log('进入左上角返回方法了吗?') + that.$jump({ + flag: 'navigation', + extra: { + title, + hiddenLeft: '1' + } + }) + goBackBtn(that) + }, 400) + } else if (index == 2) { ;[that.occupationShowPicker, title] = [true, '职业类别'] } else if (index == 3) { @@ -29,6 +42,17 @@ export function selectComp(that, index, type = '') { }, 400) } +function goBackBtn(that) { + console.log('是的,已经进入左上角返回方法了') + that.$jump({ + flag: 'webview_left_button', + extra: { + img: that.$assetsUrl + 'images/del-close.png', + route: { flag: '', extra: {} } + } + }) +} + // 关闭按钮的显示 function closeBtn(that) { that.$jump({