diff --git a/dist.zip b/dist.zip deleted file mode 100644 index 3525796..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/App.vue b/src/App.vue index e9b701a..edec5d4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -40,7 +40,7 @@ const resetTimer = () => { } }; onMounted(() => { - // window.addEventListener("mousemove", resetTimer); - // window.addEventListener("keydown", resetTimer); + window.addEventListener("mousemove", resetTimer); + window.addEventListener("keydown", resetTimer); }); diff --git a/src/view/dialog/dialogLC.vue b/src/view/dialog/dialogLC.vue index 27a8216..3ee7d41 100644 --- a/src/view/dialog/dialogLC.vue +++ b/src/view/dialog/dialogLC.vue @@ -312,12 +312,11 @@ const openLCQXs = () => { data.active = res.data.length; if (res.data && res.data.length > 0) { - data.content.sendTime = res.data[0]?.sendTime.split(" ")[0]; + data.content.sendTime = res.data[0]?.sendTime; data.content.ywdw = res.data[1]?.ywdw; data.content.ywfzr = res.data[1]?.ywfzr; - data.content.disposalTime = res.data[1]?.disposalTime.split(" ")[0]; - data.content.completionTime = - res.data[2]?.completionTime.split(" ")[0]; + data.content.disposalTime = res.data[1]?.disposalTime; + data.content.completionTime = res.data[2]?.completionTime; data.content.nr = res.data[2]?.nr; data.content.verifyName = res.data[3]?.verifyName; data.content.verifyTime = res.data[3]?.verifyTime; diff --git a/src/view/guide.vue b/src/view/guide.vue index aca4c5f..2adb888 100644 --- a/src/view/guide.vue +++ b/src/view/guide.vue @@ -206,12 +206,10 @@ const login = () => { // } else { // document.cookie = `lytoken=${tokenU}`; // } - - var token = tokenU; - // var token= 'Bearer 6b0e380b4a8f46baae4923f83faf670d'; - // var token= '6b0e380b4a8f46baae4923f83faf670d'; + // var token= '6b0e380b4a8f46baae4923f83faf670d'; + tools.data.set("token", token); tools.data.set("type", 2); getMenu(); @@ -221,10 +219,9 @@ const login = () => { window.location.href = backurl; tools.data.remove("backUrl"); } - } - else { + } else { // var tokenPd = getCookie("lytoken"); - var tokenLogin=tools.data.get("token"); + var tokenLogin = tools.data.get("token"); if (!tokenLogin) { window.location.href = "https://jzzf.longyou.gov.cn:998/api/login?returnURL=" + diff --git a/src/view/sy_details.vue b/src/view/sy_details.vue index 318ae1c..7f1ac90 100644 --- a/src/view/sy_details.vue +++ b/src/view/sy_details.vue @@ -988,12 +988,12 @@ const openLCQX = () => { Process.data.verifyTime = ""; Process.data.active = res.data.length; if (res.data && res.data.length > 0) { - Process.data.sendTime = res.data[0]?.sendTime.split(" ")[0]; + Process.data.sendTime = res.data[0]?.sendTime; Process.data.ywdw = res.data[1]?.ywdw; Process.data.ywfzr = res.data[1]?.ywfzr; - Process.data.disposalTime = res.data[1]?.disposalTime.split(" ")[0]; + Process.data.disposalTime = res.data[1]?.disposalTime; Process.data.completionTime = - res.data[2]?.completionTime.split(" ")[0]; + res.data[2]?.completionTime; Process.data.nr = res.data[2]?.nr; Process.data.verifyName = res.data[3]?.verifyName; Process.data.verifyTime = res.data[3]?.verifyTime;