From 1b62e6eebfe18a263c67b107dc52f65cbdc9f427 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Fri, 12 Sep 2025 10:59:19 +0800 Subject: [PATCH] =?UTF-8?q?kpi=E7=95=8C=E9=9D=A2=EF=BC=8C=E6=9C=88?= =?UTF-8?q?=E6=97=A5=E5=B8=88=E5=82=85=E4=BA=8C=E7=BA=A7tab=E8=AE=BE?= =?UTF-8?q?=E4=B8=BA=E4=B8=80=E6=A0=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rvDriverAuthentication/personAudit.vue | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/src/views/rvDriverAuthentication/personAudit.vue b/src/views/rvDriverAuthentication/personAudit.vue index 01efeba1..e15df2e4 100644 --- a/src/views/rvDriverAuthentication/personAudit.vue +++ b/src/views/rvDriverAuthentication/personAudit.vue @@ -106,29 +106,14 @@ if( this.show ) { await this.getDetail() } - let flag=this.getUrlParam('esignFlag') - console.log("flag",flag) - const urlParams = new URLSearchParams(window.location.search); - console.log("urlParams",urlParams) - console.log("window---",window.location) - console.log("11111---",urlParams.get('token')) - console.log("2222---",urlParams.get('esignFlag')) - - // let aaa = urlParams.get('esignFlag'); - // console.log("aaa",aaa) - // console.log('urlParams.get(\'esignFlag\')',urlParams.get('esignFlag')) - // console.log('localStorage.getItem("esignFlag")',localStorage.getItem("esignFlag")) + console.log("decodeURIComponent( window.location.href)",decodeURIComponent( window.location.href)) + decodeURIComponent( window.location.href) this.esignFlag = urlParams.get('esignFlag') || localStorage.getItem("esignFlag") localStorage.setItem("esignFlag",this.esignFlag ) console.log("this.esignFlag ",this.esignFlag ) }, methods: { - getUrlParam(name){ - let reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); - let r = window.location.search.substr(1).match(reg); - if (r!=null) return unescape(r[2]); return null; - }, async getDetail() { let res = await driverInfoVerifyDetail( { verifyType: 1