From 89cc717e3ccd49d49539b25d7a8554126504b51f Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期五, 02 十一月 2018 08:53:20 +0800 Subject: [PATCH] 电池配组记录区/县添加 --- gx_tieta/WebRoot/pages/js/common.js | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/gx_tieta/WebRoot/pages/js/common.js b/gx_tieta/WebRoot/pages/js/common.js index 19ee467..a690ea9 100644 --- a/gx_tieta/WebRoot/pages/js/common.js +++ b/gx_tieta/WebRoot/pages/js/common.js @@ -481,6 +481,7 @@ var outerHTML = i[0].outerHTML; return outerHTML; } + //鐢熸垚闃块噷鍥炬爣鐨勫厓绱� function create_fa_font(cla, color, data) { var i = $('<i class="fa"></i>'); @@ -496,3 +497,28 @@ var outerHTML = i[0].outerHTML; return outerHTML; } + +// 鐢熸垚璺宠浆鐨勯摼鎺� +function skipUrl(page, province, city, county, home,battid,monnum) { + var str = page+'?'; + if(province){ + str += '&province='+province; + } + if(city){ + str +='&city='+city; + } + if(county){ + str += '&county='+county; + } + if(home){ + str += '&home='+home; + } + if(battid){ + str += '&battid='+battid; + } + if(monnum){ + str += '&monnum'+monnum; + } + //var str = page+'?province='+province+'&city='+city+'&county='+county+'&home='+home; + return str; +} \ No newline at end of file -- Gitblit v1.9.1