From a6035a9ea8298467ec7f8d4d339a0cc1bec41ddd Mon Sep 17 00:00:00 2001 From: cnf <3200815559@qq.com> Date: 星期二, 26 八月 2025 15:25:44 +0800 Subject: [PATCH] 期初打印和入库加声音提示 --- Scripts/config.js | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Scripts/config.js b/Scripts/config.js index 5308bad..faebfc4 100644 --- a/Scripts/config.js +++ b/Scripts/config.js @@ -1,7 +1,10 @@ -锘�/*var APIURL = "http://192.168.1.187:8083/api/";*///鍚庣鍙戝竷娴嬭瘯鍦板潃 -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/";// +锘�//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 () { @@ -209,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