From 0069b25d77cf2dd36b030fa4c86d4f3738f552e8 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期二, 13 五月 2025 08:44:37 +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