From 67b14dd97636b948fc9e4eaaab52658146d0c21c Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Thu, 1 Feb 2024 14:50:00 +0800 Subject: [PATCH] 'commit' --- WebRoot/view/tb/org/postpone.html | 2 -- WebRoot/view/tb/org/publish.html | 4 ---- WebRoot/view/tb/org/publish_type.html | 4 +--- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/WebRoot/view/tb/org/postpone.html b/WebRoot/view/tb/org/postpone.html index 83ddaa4b..66f2c64f 100644 --- a/WebRoot/view/tb/org/postpone.html +++ b/WebRoot/view/tb/org/postpone.html @@ -60,7 +60,6 @@ var jobId = GetQueryString("job_id"); - // 自定义验证 form.verify({ taskName: [/^.{2,32}$/, '任务名称长度必须为2到32位'] @@ -95,7 +94,6 @@ return false; }); - function GetQueryString(name, istop) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); diff --git a/WebRoot/view/tb/org/publish.html b/WebRoot/view/tb/org/publish.html index 23f87db0..8f875e6b 100644 --- a/WebRoot/view/tb/org/publish.html +++ b/WebRoot/view/tb/org/publish.html @@ -126,7 +126,6 @@ - @@ -140,7 +139,6 @@ 发布 - @@ -340,8 +338,6 @@ }); } - - form.on('submit(publish)', function (data) { var checkStatus = table.checkStatus('groupTable'); diff --git a/WebRoot/view/tb/org/publish_type.html b/WebRoot/view/tb/org/publish_type.html index 69551846..969a8e8e 100644 --- a/WebRoot/view/tb/org/publish_type.html +++ b/WebRoot/view/tb/org/publish_type.html @@ -54,14 +54,12 @@ var form = layui.form; var $ = layui.jquery; - - form.on('submit(save)', function (data) { + form.on('submit(save)', function (data) { parent.layer.close(parent.layer.getFrameIndex(window.name)); parent.publish_save(parseInt(data.field["fill_type"])); return false; }); - function GetQueryString(name, istop) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg);