审核类型* |
@@ -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"}
|