From 09c46e67c54d9ea538e2041565f57e995c60ccb8 Mon Sep 17 00:00:00 2001 From: Administrator <pjb> Date: 星期日, 25 五月 2025 12:58:52 +0800 Subject: [PATCH] 外置输送线修改 --- src/main/webapp/static/wcs/js/common.js | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/wcs/js/common.js b/src/main/webapp/static/wcs/js/common.js index 3779158..a5e6652 100644 --- a/src/main/webapp/static/wcs/js/common.js +++ b/src/main/webapp/static/wcs/js/common.js @@ -1,4 +1,4 @@ -var baseUrl = "/wcs"; +var baseUrl = "/glccwcs"; // 璧嬪�� function setVal(el, val) { @@ -281,4 +281,15 @@ ,{field: 'source$', align: 'center',title: '鍒惰喘', hide: true} ,{field: 'check$', align: 'center',title: '瑕佹眰妫�楠�', hide: true} ,{field: 'danger$', align: 'center',title: '鍗遍櫓鍝�', hide: true} -] \ No newline at end of file +] + +function getQueryVariable(variable) +{ + var query = window.location.search.substring(1); + var vars = query.split("&"); + for (var i=0;i<vars.length;i++) { + var pair = vars[i].split("="); + if(pair[0] == variable){return pair[1];} + } + return(false); +} \ No newline at end of file -- Gitblit v1.9.1