From 5108857c79350f00ed0ee7bb6fa6fd5d58beabe6 Mon Sep 17 00:00:00 2001 From: kyy <3283105747@qq.com> Date: 星期一, 11 八月 2025 13:51:47 +0800 Subject: [PATCH] 1、蓝牙打印连接 2、平板来料检验新增未审核标识 --- Scripts/config.js | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Scripts/config.js b/Scripts/config.js index 97d05c2..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/";*/ -var APIURL_PC = "http://192.168.1.145:8081/";//娴嬭瘯 +锘�//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