diff --git a/WebRoot/html/study/add.html b/WebRoot/html/study/add.html index 98ed40f..13ec05e 100644 --- a/WebRoot/html/study/add.html +++ b/WebRoot/html/study/add.html @@ -62,6 +62,14 @@ layui.extend({ admin: '{/}../static/js/admin' }); + function GetQueryString(name,istop) { + var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); + var r = window.location.search.substr(1).match(reg); + if(typeof(istop) != "undefined") r = top.location.search.substr(1).match(reg); + + if (r != null) return unescape(r[2]); + return null; + } layui.use(['form', 'jquery', 'admin', 'layer'], function () { var form = layui.form, $ = layui.jquery, diff --git a/WebRoot/html/study/documentList.html b/WebRoot/html/study/documentList.html index 7bc90bf..364be08 100644 --- a/WebRoot/html/study/documentList.html +++ b/WebRoot/html/study/documentList.html @@ -5,6 +5,20 @@