diff --git a/application/admin/view/auth_group/index.html b/application/admin/view/auth_group/index.html index 0d948d77..f66d0749 100644 --- a/application/admin/view/auth_group/index.html +++ b/application/admin/view/auth_group/index.html @@ -40,9 +40,6 @@ diff --git a/application/admin/view/auth_rule/index.html b/application/admin/view/auth_rule/index.html index a29e3cf3..121f8530 100644 --- a/application/admin/view/auth_rule/index.html +++ b/application/admin/view/auth_rule/index.html @@ -40,9 +40,6 @@ diff --git a/application/admin/view/index/index.html b/application/admin/view/index/index.html index f841c739..9138efb9 100644 --- a/application/admin/view/index/index.html +++ b/application/admin/view/index/index.html @@ -40,9 +40,6 @@ diff --git a/application/common/view/list.html b/application/common/view/list.html index ff9fe9e6..a41a450a 100644 --- a/application/common/view/list.html +++ b/application/common/view/list.html @@ -39,7 +39,7 @@ {block name="table"}{/block} @@ -118,7 +119,7 @@ layui.use(['table','laypage','form','cjgl'], function(){ {field: 'bfdate', title: '开始时间',sort: true}, {field: 'enddate', title: '结束时间', sort: true}, {field: 'status', title: '状态',templet:'#status', sort: true}, - {field: 'id', title: '操作',toolbar: '#barDemo',minWidth:140} + {field: 'id', title: '操作',toolbar: '#barDemo',minWidth:175} ]], }); @@ -177,6 +178,9 @@ layui.use(['table','laypage','form','cjgl'], function(){ cjgl.del(obj,"/kaoshi"); break; case 'edit':// 编辑 + cjgl.add('编辑考试','/kaoshi/'+obj.data.id+'/edit','','',true); + break; + case 'set':// 编辑 cjgl.add('设置考试','/kaoshi/'+obj.data.id+'/edit','','',true); break; case 'status':// 状态 diff --git a/application/system/view/category/index.html b/application/system/view/category/index.html index 03d09c9c..2168c471 100644 --- a/application/system/view/category/index.html +++ b/application/system/view/category/index.html @@ -50,9 +50,6 @@ diff --git a/application/system/view/school/index.html b/application/system/view/school/index.html index c1de0f8b..f8fe1025 100644 --- a/application/system/view/school/index.html +++ b/application/system/view/school/index.html @@ -49,9 +49,6 @@ diff --git a/application/teach/validate/Cankaomingdan.php b/application/teach/validate/Cankaomingdan.php deleted file mode 100644 index 24cb2539..00000000 --- a/application/teach/validate/Cankaomingdan.php +++ /dev/null @@ -1,28 +0,0 @@ - ['规则1','规则2'...] - * - * @var array - */ - protected $rule = [ - 'id|考试号' => 'require|number', - 'banjiids|参考班级' => 'require|array', - 'subject|参考学科' => 'require|array', - ]; - - /** - * 定义错误信息 - * 格式:'字段名.规则名' => '错误信息' - * - * @var array - */ - protected $message = []; -} diff --git a/application/teach/validate/Kaohao.php b/application/teach/validate/Kaohao.php deleted file mode 100644 index 608056d9..00000000 --- a/application/teach/validate/Kaohao.php +++ /dev/null @@ -1,27 +0,0 @@ - ['规则1','规则2'...] - * - * @var array - */ - protected $rule = [ - 'kaoshi|考试号' => 'require|number', - 'banjiids|参考班级' => 'require|array', - ]; - - /** - * 定义错误信息 - * 格式:'字段名.规则名' => '错误信息' - * - * @var array - */ - protected $message = []; -} diff --git a/application/teach/validate/Kaoshi.php b/application/teach/validate/Kaoshi.php deleted file mode 100644 index 66d69c44..00000000 --- a/application/teach/validate/Kaoshi.php +++ /dev/null @@ -1,34 +0,0 @@ - ['规则1','规则2'...] - * - * @var array - */ - protected $rule = [ - 'title|标题' => 'require|length:1,25', - 'zuzhi|组织单位' => 'require|number', - 'xueqi|学期' => 'require|number', - 'category|分类' => 'require|number', - 'bfdate|考试时间' => 'require|date', - 'enddate|考试时间' => 'require|date', - 'nianji|参考年级' => 'require|array', - 'subject|参考学科' => 'require|array', - 'manfen|满分' => 'require|array', - ]; - - /** - * 定义错误信息 - * 格式:'字段名.规则名' => '错误信息' - * - * @var array - */ - protected $message = []; -} diff --git a/application/teach/validate/School.php b/application/teach/validate/School.php deleted file mode 100644 index 06a4789d..00000000 --- a/application/teach/validate/School.php +++ /dev/null @@ -1,37 +0,0 @@ - ['规则1','规则2'...] - * - * @var array - */ - protected $rule = [ - 'xingming|姓名' => 'require|chs|length:2,8', - 'quanpin|姓名全拼' => 'require|chs|length:1,30', - 'shoupin|姓名首拼' => 'require|chs|length:1,5', - 'sex|性别' => 'require|number|max:2', - 'danwei|单位' => 'require|number', - 'shengri|出生日期' => 'number', - 'zhiwu|职务' => 'number', - 'zhicheng|职称' => 'number', - 'xueli|学历' => 'number', - 'biye|毕业院校' => 'length:1,50', - 'zhuanye|专业' => 'length:1,20', - 'worktime|参加工作时间' => 'length:1,20', - ]; - - /** - * 定义错误信息 - * 格式:'字段名.规则名' => '错误信息' - * - * @var array - */ - protected $message = []; -} diff --git a/application/teach/view/banji/index.html b/application/teach/view/banji/index.html index 04c39755..e84cf5c1 100644 --- a/application/teach/view/banji/index.html +++ b/application/teach/view/banji/index.html @@ -63,9 +63,6 @@ diff --git a/application/teach/view/subject/index.html b/application/teach/view/subject/index.html index fc4e0462..39bdbff9 100644 --- a/application/teach/view/subject/index.html +++ b/application/teach/view/subject/index.html @@ -40,9 +40,6 @@ diff --git a/application/teach/view/xueqi/index.html b/application/teach/view/xueqi/index.html index 28818c80..86559efc 100644 --- a/application/teach/view/xueqi/index.html +++ b/application/teach/view/xueqi/index.html @@ -40,9 +40,6 @@