修改后台不同角色首页内容
This commit is contained in:
parent
b951422f9e
commit
915fab1632
@ -234,7 +234,6 @@ public class IndexCountController extends DefaultBaseController {
|
||||
List<Map<String, Object>> list = new ArrayList<>();
|
||||
Map<String, Object> map1 = new HashMap<>();
|
||||
Map<String, Object> map2 = new HashMap<>();
|
||||
Map<String, Object> map3 = new HashMap<>();
|
||||
String institutionId = this.getInstitutionId();
|
||||
if(!StringUtils.isBlank(institutionId)){
|
||||
Map<String, Object> resultMap= classPlanService.countPlanType(institutionId);
|
||||
@ -245,9 +244,6 @@ public class IndexCountController extends DefaultBaseController {
|
||||
map2.put("name","复训");
|
||||
map2.put("value",0);
|
||||
list.add(map2);
|
||||
map3.put("name","换证");
|
||||
map3.put("value",0);
|
||||
list.add(map3);
|
||||
}else{
|
||||
map1.put("name","初训");
|
||||
map1.put("value",resultMap.get("1"));
|
||||
@ -255,9 +251,6 @@ public class IndexCountController extends DefaultBaseController {
|
||||
map2.put("name","复训");
|
||||
map2.put("value",resultMap.get("2"));
|
||||
list.add(map2);
|
||||
map3.put("name","换证");
|
||||
map3.put("value",resultMap.get("3"));
|
||||
list.add(map3);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -231,7 +231,7 @@ public class ExamApplyServiceImpl extends DefaultBaseService implements IExamApp
|
||||
Integer noCheck = statisticsCount(params);
|
||||
params.put("checkStatus", 1);
|
||||
Integer pass = statisticsCount(params);
|
||||
params.put("checkStatus", 2);
|
||||
params.put("checkStatus", -1);
|
||||
Integer fail = statisticsCount(params);
|
||||
params = new HashMap<>(1);
|
||||
params.put("noCheck", noCheck);
|
||||
|
@ -231,9 +231,9 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
|
||||
public Map<String, Object> statistics(Map<String, Object> params) {
|
||||
params.put("checkStatus", 0);
|
||||
Integer noCheck = statisticsCount(params);
|
||||
params.put("checkStatus", 2);
|
||||
params.put("checkStatus", 1);
|
||||
Integer pass = statisticsCount(params);
|
||||
params.put("checkStatus", 3);
|
||||
params.put("checkStatus", -1);
|
||||
Integer fail = statisticsCount(params);
|
||||
params = new HashMap<>(1);
|
||||
params.put("noCheck", noCheck);
|
||||
|
@ -41,7 +41,7 @@ public class CertificateUtil {
|
||||
// 查询文化程度
|
||||
if(applyStudentsNewDTO.getEducation() == null
|
||||
|| applyStudentsNewDTO.getEducation().length() == 0){
|
||||
cardentialDTO.setEducationDegree("EMPTY");
|
||||
cardentialDTO.setEducationDegree("-");
|
||||
} else {
|
||||
DataDTO educationData = dataService.get(applyStudentsNewDTO.getEducation());
|
||||
cardentialDTO.setEducationDegree(educationData.getDataName());
|
||||
|
@ -254,7 +254,7 @@
|
||||
sum(case when teacher_catalog = 1 then 1 else 0 end) as '1',
|
||||
sum(case when teacher_catalog = 2 then 1 else 0 end) as '2'
|
||||
from e_teacher
|
||||
WHERE is_delete = 0 AND org_id = #{orgId}
|
||||
WHERE is_delete = 0
|
||||
</select>
|
||||
|
||||
<resultMap id="teacherLessonsTimeDTO" type="cn.com.tenlion.pojo.dtos.teacher.TeacherLessonsTimeDTO">
|
||||
|
@ -42,12 +42,12 @@
|
||||
<cite>考试机构管理</cite>
|
||||
</a>
|
||||
</li>
|
||||
<li class="layui-col-xs3">
|
||||
<!--<li class="layui-col-xs3">
|
||||
<a lay-href="/route/examinationuser/list.html" lay-open-type="1">
|
||||
<i class="layui-icon layui-icon-chat"></i>
|
||||
<cite>考务人员管理</cite>
|
||||
</a>
|
||||
</li>
|
||||
</li>-->
|
||||
<li class="layui-col-xs3">
|
||||
<a lay-href="/route/examcheck/list.html" lay-open-type="1">
|
||||
<i class="layui-icon layui-icon-find-fill"></i>
|
||||
@ -60,12 +60,12 @@
|
||||
<cite>考试申请审核</cite>
|
||||
</a>
|
||||
</li>
|
||||
<li class="layui-col-xs3">
|
||||
<!--<li class="layui-col-xs3">
|
||||
<a lay-href="/route/examapply/list.html" lay-open-type="1">
|
||||
<i class="layui-icon layui-icon-user"></i>
|
||||
<cite>考试信息分配</cite>
|
||||
</a>
|
||||
</li>
|
||||
</li>-->
|
||||
</ul>
|
||||
<!--<ul class="layui-row layui-col-space10"></ul>-->
|
||||
</div>
|
||||
@ -98,12 +98,12 @@
|
||||
<p><cite id="stationInstitutionNum">0</cite></p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="layui-col-xs6">
|
||||
<!--<li class="layui-col-xs6">
|
||||
<a lay-href="" class="layadmin-backlog-body">
|
||||
<h3>考务人员</h3>
|
||||
<p><cite id="examinationNum">0</cite></p>
|
||||
</a>
|
||||
</li>
|
||||
</li>-->
|
||||
<!--<li class="layui-col-xs6">-->
|
||||
<!--<!–onclick="layer.tips('不跳转', this, {tips: 3});"–>-->
|
||||
<!--<a href="javascript:;" class="layadmin-backlog-body">-->
|
||||
@ -132,7 +132,7 @@
|
||||
<ul class="layui-tab-title" >
|
||||
<li class="layui-this" lay-id="a">开班计划审核</li>
|
||||
<li lay-id="b">考试申请审核</li>
|
||||
<li lay-id="c">考试信息分配</li>
|
||||
<!--<li lay-id="c">考试信息分配</li>-->
|
||||
</ul>
|
||||
<div class="layui-tab-content" >
|
||||
<iframe src="route/examcheck/list.html" id="iframeId" style="width: 100%; height: 568px; border:none"></iframe>
|
||||
@ -265,6 +265,13 @@
|
||||
var date = new Date();
|
||||
self.teachingPlan(calendar);
|
||||
calendar.render();
|
||||
setTimeout(function(){
|
||||
var titles = $('.fc-event-title-container').find('div');
|
||||
$.each(titles, function(){
|
||||
$(this).parent().attr('title',$(this).html());
|
||||
$(this).parent().attr('style','cursor: pointer');
|
||||
});
|
||||
},1000)
|
||||
},
|
||||
initEChart0: function(){
|
||||
top.restAjax.get('api/indexcount/count-exam-check-num', {}, null, function(code, data) {
|
||||
|
Loading…
Reference in New Issue
Block a user