From fdbaf392415fe3727098a79c800436e7a1bd89bf Mon Sep 17 00:00:00 2001 From: cnf <3200815559@qq.com> Date: 星期四, 14 八月 2025 17:36:54 +0800 Subject: [PATCH] 领料模块 --- Scripts/config.js | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Scripts/config.js b/Scripts/config.js index 7a9c453..faebfc4 100644 --- a/Scripts/config.js +++ b/Scripts/config.js @@ -1,7 +1,10 @@ -锘�/*var APIURL = "http://192.168.1.145:83/api/";*///鍚庣鍙戝竷鐨勫湴鍧� -var APIURL = "http://localhost:5204/api/"; -/*var APIURL_PC = "http://192.168.1.145:81/";*/ //PC鍚庣鐨勫湴鍧� -var APIURL_PC = "http://192.168.1.145:81/";//娴嬭瘯 +锘�//var APIURL = "http://192.168.1.187:8083/api/";//PDA鍚庣鍙戝竷娴嬭瘯鍦板潃锛堝唴缃戯級 +//var APIURL = "http://192.168.1.187:83/api/";//PDA鍚庣鍙戝竷姝e紡鍦板潃锛堝唴缃戯級 +var APIURL = "http://localhost:5204/api/";//鏈湴璋冭瘯鍦板潃 + +//var APIURL_PC = "http://192.168.1.187:81/"; //PC鍚庣鐨勬寮忓湴鍧�锛堝唴缃戯級 +var APIURL_PC = "http://116.148.211.203:8081/"; //PC鍚庣鐨勬祴璇曞湴鍧�锛堝缃戯級 + var APIURL_IMAGE = APIURL_PC+"upload/"; var ISNEEDLOGIN = true; String.prototype.trim = function () { @@ -50,6 +53,7 @@ Vue.prototype.GetLoginInfor = function () { var that = this; var loginInfo = { + // 浠嶤ookies涓幏鍙栫櫥褰曟椂淇濆瓨鐨剈serGuid锛堢櫥褰曟椂瀛樺偍鐨勯敭鏄痩oginGuid锛� loginGuid: Cookies.get('loginGuid'), loginAccount: Cookies.get('loginAccount'), } @@ -208,8 +212,8 @@ Vue.prototype.$playSound = function(type = 'success') { try { const audioMap = { - success: '/audio/OK.wav', - error: '/audio/NG.wav' + success: '/audio/YES.wav', + error: '/audio/NO.wav' }; const audio = new Audio(audioMap[type]); audio.play().catch(error => { -- Gitblit v1.9.3