From 35259bbd9bd0f0bf624093d31b010b673bdec363 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Fri, 12 Sep 2025 15:23:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A6=96=E6=AC=A1=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E9=A1=B5=E9=9D=A2=E9=80=9F=E5=BA=A6=EF=BC=8C=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=AD=A6=E7=94=9FId=E4=B8=8D=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=A4=96=E5=87=BA=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 14 +++++++++++++- subpages/goOut/goOut/goOut.wxml | 4 ++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index e9a90d5..d9e3987 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -76,7 +76,6 @@ Page({ selectMzGraduateInfo(obj){ selectMzGraduateInfo({idCard:obj.idCard}).then(res=>{ if (res.data.signType === 0 && res.data.contract) { - //线上支付去跳转签合同 app.globalData.userInfo.chooseRoomId = res.data.chooseRecId console.log(res.data.contract, '链接》》》》'); res.data.contract = res.data.contract.replace('https://h5.esign.cn', 'https://hxm5112004501.h5.esign.cn') @@ -216,6 +215,19 @@ Page({ wx.switchTab({ url: '/pages/serve/serve', }) + } + if(e.currentTarget.dataset.url === '/subpages/goOut/goOut/goOut'){ + if(this.data.userInfo.graduateId){ + wx.navigateTo({ + url: '/subpages/goOut/goOut/goOut', + }) + }else{ + wx.showToast({ + title: '未绑定入住信息', + icon:'none' + }) + return + } } wx.navigateTo({ url: e.currentTarget.dataset.url, diff --git a/subpages/goOut/goOut/goOut.wxml b/subpages/goOut/goOut/goOut.wxml index e53972a..448a6b1 100644 --- a/subpages/goOut/goOut/goOut.wxml +++ b/subpages/goOut/goOut/goOut.wxml @@ -22,9 +22,9 @@ - + - +