diff --git a/app/base/BaseController.php b/app/base/BaseController.php
index 93af6fb..e74d72f 100644
--- a/app/base/BaseController.php
+++ b/app/base/BaseController.php
@@ -101,9 +101,9 @@ abstract class BaseController
}
if (!$this->checkAuth()) {
if ($this->request->isAjax()) {
- return to_assign(202, '你没有权限,请联系管理员或者人事部');
+ return to_assign(405, '你没有权限,请联系管理员或者人事部');
} else {
- echo '
你没有权限,请联系管理员或者人事部
';exit;
+ echo '你没有权限访问,请联系管理员或者人事部
';exit;
}
}
}
diff --git a/app/contract/view/cate/cate.html b/app/contract/view/cate/cate.html
index 0e38dc0..591b146 100644
--- a/app/contract/view/cate/cate.html
+++ b/app/contract/view/cate/cate.html
@@ -31,8 +31,7 @@
,toolbar: '#toolbarDemo'
,title:'合同类型列表'
,url: "/contract/cate/cate"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/customer/view/grade/index.html b/app/customer/view/grade/index.html
index 73ec512..372ef82 100644
--- a/app/customer/view/grade/index.html
+++ b/app/customer/view/grade/index.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'客户等级列表'
,url: "/customer/grade/index"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/customer/view/source/index.html b/app/customer/view/source/index.html
index 62c9520..cd8dd96 100644
--- a/app/customer/view/source/index.html
+++ b/app/customer/view/source/index.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'客户渠道列表'
,url: "/customer/source/index"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/home/view/cate/car_cate.html b/app/home/view/cate/car_cate.html
index fbe9860..f54d332 100644
--- a/app/home/view/cate/car_cate.html
+++ b/app/home/view/cate/car_cate.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'车辆类型列表'
,url: "/home/cate/car_cate"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/home/view/cate/cost_cate.html b/app/home/view/cate/cost_cate.html
index cb5005d..dbed009 100644
--- a/app/home/view/cate/cost_cate.html
+++ b/app/home/view/cate/cost_cate.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'费用类型列表'
,url: "/home/cate/cost_cate"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/home/view/cate/expense_cate.html b/app/home/view/cate/expense_cate.html
index 9958f82..3caa8ba 100644
--- a/app/home/view/cate/expense_cate.html
+++ b/app/home/view/cate/expense_cate.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'报销类别列表'
,url: "/home/cate/expense_cate"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/home/view/cate/flow_type.html b/app/home/view/cate/flow_type.html
index 2fa151d..dfcb514 100644
--- a/app/home/view/cate/flow_type.html
+++ b/app/home/view/cate/flow_type.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'审批模块列表'
,url: "/home/cate/flow_type"
- ,page: false //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/home/view/cate/industry_cate.html b/app/home/view/cate/industry_cate.html
index 0990a0b..cad2fee 100644
--- a/app/home/view/cate/industry_cate.html
+++ b/app/home/view/cate/industry_cate.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'工作类型列表'
,url: "/home/cate/industry_cate"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/home/view/cate/seal_cate.html b/app/home/view/cate/seal_cate.html
index 91bdcbf..56ad67b 100644
--- a/app/home/view/cate/seal_cate.html
+++ b/app/home/view/cate/seal_cate.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'印章类型列表'
,url: "/home/cate/seal_cate"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/home/view/cate/services_cate.html b/app/home/view/cate/services_cate.html
index d6345d4..60389a8 100644
--- a/app/home/view/cate/services_cate.html
+++ b/app/home/view/cate/services_cate.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'工作类型列表'
,url: "/home/cate/services_cate"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/home/view/cate/subject.html b/app/home/view/cate/subject.html
index 61d4ba1..21c4103 100644
--- a/app/home/view/cate/subject.html
+++ b/app/home/view/cate/subject.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'报销类别列表'
,url: "/home/cate/subject"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/home/view/cate/work_cate.html b/app/home/view/cate/work_cate.html
index 73e7602..da8c163 100644
--- a/app/home/view/cate/work_cate.html
+++ b/app/home/view/cate/work_cate.html
@@ -23,8 +23,7 @@
,toolbar: '#toolbarDemo'
,title:'工作类型列表'
,url: "/home/cate/work_cate"
- ,page: true //开启分页
- ,limit: 20
+ ,page: false
,cellMinWidth: 80
,cols: [[
{field:'id',width:80, title: 'ID号', align:'center'}
diff --git a/app/home/view/index/main.html b/app/home/view/index/main.html
index 7059b6f..95dc50c 100644
--- a/app/home/view/index/main.html
+++ b/app/home/view/index/main.html
@@ -345,7 +345,7 @@
title: {
top: '12px',
text: '近一年员工活跃度',
- left: '68px',
+ left: '8px',
textStyle: {
fontSize: '18',
color: '#333',