diff --git a/application/common.php b/application/common.php index 9a0b29ad..5e7c0a56 100644 --- a/application/common.php +++ b/application/common.php @@ -155,4 +155,6 @@ function schlist($low='班级',$high='其它级') ->column('id,title,jiancheng'); return $schlist; -} \ No newline at end of file +} + + diff --git a/application/http/middleware/YanZheng.php b/application/http/middleware/YanZheng.php index ca0b6c29..fb9b4b14 100644 --- a/application/http/middleware/YanZheng.php +++ b/application/http/middleware/YanZheng.php @@ -52,7 +52,7 @@ class YanZheng extends Controller $uneed_c = array(); # 荣誉器名首字母要大写 // 排除方法 $uneed_a = array( - 'welcome','update','save', + 'welcome','update','save','upload', 'index','mybanji','banjilist', 'editpassword','updatepassword', // 查询班级成绩、查询年级成绩 diff --git a/application/kaoshi/view/index/create.html b/application/kaoshi/view/index/create.html index d449eaa6..bab9a306 100644 --- a/application/kaoshi/view/index/create.html +++ b/application/kaoshi/view/index/create.html @@ -8,7 +8,7 @@ {php} $school = schlist('班级','区级'); {/php} - {volist name="school" id="vo"} @@ -31,7 +31,7 @@ $xq = new app\teach\model\Xueqi; $xueqi = $xq->where('status',1)->order(['id'=>'desc'])->limit(5)->field('id,title')->select(); {/php} - {volist name="xueqi" id="vo"} @@ -45,7 +45,7 @@
{php}$list = getCategory(109);{/php} - {volist name="list" id="vo"} @@ -67,7 +67,7 @@
{foreach $njlist=nianjilist() as $key=>$vo } {/foreach}
@@ -83,7 +83,7 @@
{foreach $sjlist as $key=>$vo }
@@ -108,18 +108,6 @@ required:true, rangelength:[2,25] }, - zuzhi:{ - required:true, - digits:true - }, - xueqi:{ - required:true, - digits:true - }, - category:{ - required:true, - digits:true - }, bfdate:{ required:true, dateISO:true @@ -128,12 +116,6 @@ required:true, dateISO:true }, - nianji:{ - required:true, - }, - subject:{ - required:true, - }, }; // 设置表单提交方式 diff --git a/application/kaoshi/view/index/edit.html b/application/kaoshi/view/index/edit.html index 65bccfbc..c6be8ce5 100644 --- a/application/kaoshi/view/index/edit.html +++ b/application/kaoshi/view/index/edit.html @@ -8,7 +8,7 @@ {php} $school = schlist('班级','区级'); {/php} - {volist name="school" id="vo"} @@ -31,7 +31,7 @@ $xq = new app\teach\model\Xueqi; $xueqi = $xq->where('status',1)->order(['id'=>'desc'])->limit(5)->field('id,title')->select(); {/php} - {volist name="xueqi" id="vo"} @@ -45,7 +45,7 @@
{php}$category = getCategory(109);{/php} - {volist name="category" id="vo"} @@ -67,7 +67,7 @@
{foreach $njlist=nianjilist() as $key=>$vo } {/foreach}
@@ -84,7 +84,7 @@ {present name="$list['manfenedit'][$vo.id]"}
@@ -120,14 +120,6 @@ required:true, rangelength:[2,25] }, - xueqi:{ - required:true, - rangelength:[1,80] - }, - category:{ - required:true, - digits:true - }, bfdate:{ required:true, dateISO:true @@ -136,12 +128,6 @@ required:true, dateISO:true }, - nianji:{ - required:true, - }, - subject:{ - required:true, - }, }; // 设置表单提交方式 diff --git a/application/kaoshi/view/more_action/biaoqian.html b/application/kaoshi/view/more_action/biaoqian.html index b41a98d7..7cf9f01a 100644 --- a/application/kaoshi/view/more_action/biaoqian.html +++ b/application/kaoshi/view/more_action/biaoqian.html @@ -30,7 +30,7 @@
{php} $school = schlist('校级','校级');{/php} - {volist name="school" id="vo"} @@ -46,7 +46,7 @@ {php} $njlist = nianjiList(); {/php} - {foreach $njlist as $key=>$vo} @@ -78,26 +78,7 @@ {/block} \ No newline at end of file diff --git a/application/rongyu/view/dw_rongyu/index.html b/application/rongyu/view/dw_rongyu/index.html index d67afd3b..7a249568 100644 --- a/application/rongyu/view/dw_rongyu/index.html +++ b/application/rongyu/view/dw_rongyu/index.html @@ -99,6 +99,7 @@ 荣誉类别 奖项 发证单位 + 级别 发证时间 状态 操作 @@ -159,6 +160,7 @@ { "data": "category"}, { "data": "jiangxiang"}, { "data": "fzschool" }, + { "data": "jibie","name":"fzschool"}, { "data": "fzshijian" }, { "data": "status" }, { "data": "id" }, diff --git a/application/system/model/Fields.php b/application/system/model/Fields.php index 00df4ee0..d3ef94fa 100644 --- a/application/system/model/Fields.php +++ b/application/system/model/Fields.php @@ -6,11 +6,6 @@ use app\common\model\Base; class Fields extends Base { - // 最后编辑时间修改器 - public function setBianjitimeAttr($value) - { - return strtotime($value); - } // 编辑时间获取器 public function getBianjitimeAttr($value) diff --git a/application/system/view/category/create.html b/application/system/view/category/create.html index f201a943..bdf08b53 100644 --- a/application/system/view/category/create.html +++ b/application/system/view/category/create.html @@ -13,7 +13,7 @@
{php} $ctp = getCategory();{/php} - {volist name="$ctp" id="vo"} diff --git a/application/system/view/category/edit.html b/application/system/view/category/edit.html index b1d05df1..5adb1531 100644 --- a/application/system/view/category/edit.html +++ b/application/system/view/category/edit.html @@ -13,7 +13,7 @@
{php} $ctp = getCategory();{/php} - {volist name="$ctp" id="vo"} diff --git a/application/teach/view/banji/create.html b/application/teach/view/banji/create.html index 4384fc65..eb61de78 100644 --- a/application/teach/view/banji/create.html +++ b/application/teach/view/banji/create.html @@ -8,7 +8,7 @@ {php} $school = schlist('校级','校级'); {/php} - {volist name="school" id="vo"} @@ -24,7 +24,7 @@ {php} $njlist = nianjiList(); {/php} - {foreach $njlist as $key=>$vo} @@ -50,14 +50,6 @@