From 5a9312f6ea6df08d97d59ff8d7cd187b3235f39c Mon Sep 17 00:00:00 2001 From: zhangqi1 Date: Wed, 29 Sep 2021 10:51:08 +0800 Subject: [PATCH] =?UTF-8?q?GFRS-2618=E3=80=90=E5=89=8D=E7=AB=AF=E3=80=91?= =?UTF-8?q?=E7=88=B6=E6=AF=8D=E5=88=97=E8=A1=A8=E5=B7=A6=E4=B8=8A=E8=A7=92?= =?UTF-8?q?=E5=8A=A0=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE=E4=B8=8D=E7=94=9F?= =?UTF-8?q?=E6=95=88=EF=BC=8C=E6=8F=90=E4=BA=A4=E4=B8=80=E4=B8=AA=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=BB=99=E5=8E=9F=E7=94=9F=E5=B8=AE=E5=BF=99=E7=9C=8B?= =?UTF-8?q?=E4=B8=8B=E9=97=AE=E9=A2=98--=E6=8F=90=E4=BA=A4=E4=BA=BA?= =?UTF-8?q?=EF=BC=9A=E5=BC=A0=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/allowance/js/methods.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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({