|
@@ -0,0 +1,13 @@
|
|
|
+function utils_get_param(name){
|
|
|
+ var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
|
|
|
+ var r = window.location.search.substr(1).match(reg);
|
|
|
+ if(r!=null)return unescape(r[2]); return null;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+var scheduleId = utils_get_param("scheduleId");
|
|
|
+var flowId = utils_get_param("flowId");
|
|
|
+
|
|
|
+if(flowId == null || scheduleId == null){
|
|
|
+ alert("出错啦!请检查参数完整性");
|
|
|
+}
|