From a36e6401d9dba93d519512cd01509fd32974ce6e Mon Sep 17 00:00:00 2001 From: hdm Date: Tue, 23 Nov 2021 17:30:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E6=95=B0=E6=8D=AE=E4=BD=93?= =?UTF-8?q?=E9=AA=8C=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/home/view/check/add.html | 14 ++----- app/home/view/check/index.html | 40 +++++++++++-------- app/home/view/keywords/add.html | 12 ++---- app/home/view/keywords/index.html | 31 +++++++++------ app/home/view/role/index.html | 5 +-- app/home/view/schedule/cate.html | 58 ++++++++++++++-------------- app/home/view/schedule/cate_add.html | 11 ++---- 7 files changed, 83 insertions(+), 88 deletions(-) diff --git a/app/home/view/check/add.html b/app/home/view/check/add.html index 428d79e..65852de 100644 --- a/app/home/view/check/add.html +++ b/app/home/view/check/add.html @@ -6,8 +6,9 @@ {block name="body"}
+

审核人配置

{if condition="$id eq 0"} - +
审核类型* @@ -63,7 +64,6 @@ - {/block} @@ -75,8 +75,7 @@ function init(layui) { var form = layui.form , employeepicker = layui.employeepicker - , layer = layui.layer; - + , layer = layui.layer; //添加人员 function addEmployee(){ @@ -110,7 +109,7 @@ success: function (e) { if (e.code == 0) { layer.confirm('保存成功,返回列表页吗?', { icon: 3, title: '提示' }, function (index) { - window.location.href="{:url('home/check/index')}"; + parent.location.reload(); }); } else { layer.msg(e.msg); @@ -119,11 +118,6 @@ }) return false; }); - //监听返回 - $('.body-content').on('click', '[lay-event="back"]', function () { - history.back(-1); - return false; - }); } diff --git a/app/home/view/check/index.html b/app/home/view/check/index.html index 3614161..3720717 100644 --- a/app/home/view/check/index.html +++ b/app/home/view/check/index.html @@ -6,7 +6,7 @@ {/block} @@ -17,6 +17,7 @@ -{include file="common/layui" base="base" extend="[]" callback="init" /} +{include file="common/layui" base="base" extend="['rightpage']" callback="init" /} {/block} \ No newline at end of file diff --git a/app/home/view/keywords/add.html b/app/home/view/keywords/add.html index 19471ce..5d63bf3 100644 --- a/app/home/view/keywords/add.html +++ b/app/home/view/keywords/add.html @@ -2,7 +2,8 @@ {block name="body"}
- +

知识关键字

+
关键字名称* @@ -29,7 +30,6 @@ - {/block} @@ -51,8 +51,7 @@ success: function (e) { if (e.code == 0) { layer.confirm('保存成功,返回列表页吗?', { icon: 3, title: '提示' }, function (index) { - history.back(-1); - layer.close(index); + parent.location.reload(); }); } else { layer.msg(e.msg); @@ -61,11 +60,6 @@ }) return false; }); - //监听返回 - $('.body-content').on('click', '[lay-event="back"]', function () { - history.back(-1); - return false; - }); } diff --git a/app/home/view/keywords/index.html b/app/home/view/keywords/index.html index 4b2d816..b77a398 100644 --- a/app/home/view/keywords/index.html +++ b/app/home/view/keywords/index.html @@ -16,7 +16,7 @@ {/block} @@ -27,6 +27,7 @@ -{include file="common/layui" base="base" extend="[]" callback="init" /} +{include file="common/layui" base="base" extend="['rightpage']" callback="init" /} {/block} \ No newline at end of file diff --git a/app/home/view/role/index.html b/app/home/view/role/index.html index 81c7036..b8d2600 100644 --- a/app/home/view/role/index.html +++ b/app/home/view/role/index.html @@ -41,10 +41,7 @@ , { field: 'title', title: '权限组名称', width: 200 } , { field: 'desc', title: '备注' } , { field: 'status', title: '状态', toolbar: '#status', align: 'center', width: 80 } - , { width: 100, - title: '操作', - align: 'center', - templet: function (d) { + , { width: 100,title: '操作',align: 'center',templet: function (d) { var html = '
'; return html; } diff --git a/app/home/view/schedule/cate.html b/app/home/view/schedule/cate.html index d910661..a262685 100644 --- a/app/home/view/schedule/cate.html +++ b/app/home/view/schedule/cate.html @@ -10,7 +10,7 @@ {/block} @@ -21,6 +21,7 @@ -{include file="common/layui" base="base" extend="[]" callback="init" /} +{include file="common/layui" base="base" extend="['rightpage']" callback="init" /} {/block} \ No newline at end of file diff --git a/app/home/view/schedule/cate_add.html b/app/home/view/schedule/cate_add.html index 36f93b1..46e501f 100644 --- a/app/home/view/schedule/cate_add.html +++ b/app/home/view/schedule/cate_add.html @@ -2,8 +2,9 @@ {block name="body"}
+

工作类型

{if condition="$id eq 0"} - +
工作类型名称* @@ -65,7 +66,6 @@ - {/block} @@ -87,7 +87,7 @@ success: function (e) { if (e.code == 0) { layer.confirm('保存成功,返回列表页吗?', { icon: 3, title: '提示' }, function (index) { - window.location.href="{:url('home/schedule/cate')}"; + parent.location.reload(); }); } else { layer.msg(e.msg); @@ -96,11 +96,6 @@ }) return false; }); - //监听返回 - $('.body-content').on('click', '[lay-event="back"]', function () { - history.back(-1); - return false; - }); }