From 587d9d9cec49585729d8f141dd3b0df2ffb637dc Mon Sep 17 00:00:00 2001
From: test <15284381150@163.com>
Date: 星期五, 08 八月 2025 16:50:13 +0800
Subject: [PATCH] 前端精确到小数点后四位,后端质检状态

---
 Pda/js/public.js |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/Pda/js/public.js b/Pda/js/public.js
index 345f420..7083b6a 100644
--- a/Pda/js/public.js
+++ b/Pda/js/public.js
@@ -1,7 +1,8 @@
 //  var IP = "http://47.104.149.73:1991";//鎺ュ彛IP
 // var IP = "https://localhost:44368";
 //var IP = "http://localhost:13243/api";
-var IP = "http://localhost:50515/api";
+//var IP = "http://localhost:50515/api";
+var IP = "https://localhost:5001/api";
 //var IP = "http://192.168.1.2:8017/";
 // var IP = "http://192.168.10.112/WmsService/";
 // var IP = "http://192.168.1.226:8086";
@@ -18,19 +19,19 @@
 		if (!$.cookie('token')) {
 			callbackFun("鐧诲綍浜轰俊鎭凡澶辨晥");
 			try {
-				parent.window.location.href = '/views/Login.html';
+				parent.window.location.href = '/View/login.html';
 			}
 			catch (error) {
-				window.location.href = '/views/Login.html';
+				window.location.href = '/View/login.html';
 			}
 			return;
 		}
 		if (isTokenExpired($.cookie('token'))) {
 			try {
-				parent.window.location.href = '/views/Login.html';
+				parent.window.location.href = '/View/login.html';
 			}
 			catch (error) {
-				window.location.href = '/views/Login.html';
+				window.location.href = '/View/login.html';
 			}
 			return;
 		}
@@ -68,19 +69,19 @@
 		if (!$.cookie('token')) {
 			callbackFun("鐧诲綍浜轰俊鎭凡澶辨晥");
 			try {
-				parent.window.location.href = '/view/Login.html';
+				parent.window.location.href = '/View/login.html';
 			}
 			catch (error) {
-				window.location.href = '/view/Login.html';
+				window.location.href = '/View/login.html';
 			}
 			return;
 		}
 		if (isTokenExpired($.cookie('token'))) {
 			try {
-				parent.window.location.href = '/view/Login.html';
+				parent.window.location.href = '/View/login.html';
 			}
 			catch (error) {
-				window.location.href = '/view/Login.html';
+				window.location.href = '/View/login.html';
 			}
 			return;
 		}

--
Gitblit v1.8.0