From be91aab61dc64511e58374534c9c8f36dd012578 Mon Sep 17 00:00:00 2001 From: cxdbz Date: Mon, 25 Feb 2019 19:55:58 +0800 Subject: [PATCH] 0 --- application/keti/view/keti_info/create.html | 82 ++++++++++++++----- application/keti/view/keti_info/index.html | 14 ++-- .../rongyu/view/js_rongyu_info/create.html | 4 +- 3 files changed, 71 insertions(+), 29 deletions(-) diff --git a/application/keti/view/keti_info/create.html b/application/keti/view/keti_info/create.html index fe71fd70..066a6576 100644 --- a/application/keti/view/keti_info/create.html +++ b/application/keti/view/keti_info/create.html @@ -2,34 +2,35 @@ {block name="mycss"} {/block} {block name="formaa"} -
+
- +
- -
- - {php}$category = getCategory(115);{/php} - - + +
+ +
+
+
+
+ +
+ +
+
- +
- {php} $school = schlist('区级','其它级');{/php} + {php} $school = schlist('校级','区级');{/php} -
-
@@ -72,6 +67,49 @@ // 设置表单提交方式 var mytype = 'POST'; + // 获取获奖教师列表 + function hjSelect(obj) + { + $('#hjSelect').empty(); + var str = ""; + str = $('#hjteacher').val(); + if(str.length<=0) + { + return ""; + } + $.post( + "{:Url::build('renshi/index/srcTeacher')}", + { + "str":str, + }, + function(data,status){ + $('#hjSelect').empty(); + if($.isEmptyObject(data)) + { + return true; + } + for (var i = data.length - 1; i >= 0; i--) { + var myhtml = ""; + myhtml = ""; + $('#hjSelect').append(myhtml); + } + + } + ); + } + + // 添加参与人 + function addHj(obj,teacherId) + { + $('#hjteacher').val(''); + $(obj).attr('class','btn btn-warning radius mr-5 size-MINI'); + $(obj).attr('onclick','delCy(this)'); + var myhtml = ""; + myhtml = ""; + $('#addHj').append(myhtml); + $('#addHj').children("span").last().append(obj); + } + {/block} \ No newline at end of file diff --git a/application/keti/view/keti_info/index.html b/application/keti/view/keti_info/index.html index 1ace0044..e36101a1 100644 --- a/application/keti/view/keti_info/index.html +++ b/application/keti/view/keti_info/index.html @@ -16,7 +16,7 @@
- + 批量删除 @@ -31,7 +31,7 @@
-
筛选课题册
+
筛选课题册信息
{php} @@ -87,10 +87,12 @@ - 课题册名称 + 主持人 + 课题名称 立项单位 - 课题类别 - 课题数量 + 课题类型 + 研究方向 + 学科 结题数量 立项时间 状态 @@ -147,11 +149,13 @@ // 定义列参数 var mycolumns = [ { "data": "id" }, + { "data": "id" }, { "data": "title","defaultContent": "" }, { "data": "kt_lxdanwei.title" ,"name":"lxdanweiid","defaultContent": ""}, { "data": "kt_category.title","name":"category","defaultContent": ""}, { "data": "ktcnt","name":"id","defaultContent": ""}, { "data": "jtcnt","name":"id","defaultContent": ""}, + { "data": "jtcnt","name":"id","defaultContent": ""}, { "data": "lxshijian","name":"lxshijian","defaultContent": ""}, { "data": "status" }, { "data": "id" }, diff --git a/application/rongyu/view/js_rongyu_info/create.html b/application/rongyu/view/js_rongyu_info/create.html index 77b801fc..537934ac 100644 --- a/application/rongyu/view/js_rongyu_info/create.html +++ b/application/rongyu/view/js_rongyu_info/create.html @@ -34,7 +34,7 @@
- +
@@ -42,7 +42,7 @@
- +