修改大屏接口

This commit is contained in:
liuwu 2023-08-24 14:51:58 +08:00
parent d6bef220e7
commit d218e423a9
6 changed files with 31 additions and 172 deletions

View File

@ -22,34 +22,6 @@
<label>评选人:</label> <label>评选人:</label>
<input type="text" name="commit"/> <input type="text" name="commit"/>
</li> </li>
<li>
<label>评选时间:</label>
<input type="text" class="time-input" placeholder="请选择评选时间" name="time"/>
</li>
<li>
<label>审核人:</label>
<input type="text" name="confirm"/>
</li>
<li>
<label>是否显示:</label>
<input type="text" name="show"/>
</li>
<li>
<label>主要事迹附件上传:</label>
<input type="text" name="events"/>
</li>
<li>
<label>指标综合评分:</label>
<input type="text" name="score"/>
</li>
<li>
<label>完成进度:</label>
<input type="text" name="process"/>
</li>
<li>
<label>综合排名:</label>
<input type="text" name="sort"/>
</li>
<li> <li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a> <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a> <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>

View File

@ -18,26 +18,6 @@
<label>姓名:</label> <label>姓名:</label>
<input type="text" name="name"/> <input type="text" name="name"/>
</li> </li>
<li>
<label>提交人:</label>
<input type="text" name="commit"/>
</li>
<li>
<label>提交时间:</label>
<input type="text" class="time-input" placeholder="请选择提交时间" name="time"/>
</li>
<li>
<label>审批人:</label>
<input type="text" name="confirm"/>
</li>
<li>
<label>是否显示:</label>
<input type="text" name="show"/>
</li>
<li>
<label>主要事迹附件上传:</label>
<input type="text" name="events"/>
</li>
<li> <li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a> <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a> <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>

View File

@ -97,80 +97,53 @@
title: '自增ID', title: '自增ID',
visible: false visible: false
}, },
// {
// field: 'type',
// title: '作用于附件'
// },
{ {
field: 'unit', field: 'unit',
title: '单位名称' title: '单位名称'
}, },
{
field: 'deptId',
title: '部门'
},
{ {
field: 'type', field: 'type',
title: '类型' title: '模块'
}, },
{ {
field: 'target', field: 'shotName',
title: '责任类别' title: '指标'
}, },
{ {
field: 'demand', field: 'finishDate',
title: '目标要求', title: '截止时间'
width:200,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
},
{
field: 'detailed',
title: '指标明细',
width:200,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'score', field: 'score',
title: '总分值' title: '总分值'
}, },
{ {
field: 'method', field: 'nowScore',
title: '考核要求', title: '当前得分'
width:200,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'head', field: 'percent',
title: '完成度'
},
{
field: 'per_id',
title: '负责人' title: '负责人'
}, },
{
field: 'phone',
title: '联系方式'
},
{ {
field: 'reviewed', field: 'reviewed',
title: '审核人' title: '审核人'
}, },
{ {
field: 'finishDate', field: 'reviewedTime',
title: '完成截止时间' title: '审核时间'
},
{
field: 'perId',
title: '操作人员ID'
},
{
field: 'deptId',
title: '部门ID'
},
{
field: 'branchId',
title: '支部ID'
},
{
field: 'remark',
title: '备注'
}, },
{ {
title: '操作', title: '操作',

View File

@ -10,34 +10,14 @@
<form id="formId"> <form id="formId">
<div class="select-list"> <div class="select-list">
<ul> <ul>
<li>
<label>父支部id</label>
<input type="text" name="parentId"/>
</li>
<li>
<label>祖级列表:</label>
<input type="text" name="ancestors"/>
</li>
<li> <li>
<label>支部名称:</label> <label>支部名称:</label>
<input type="text" name="branchName"/> <input type="text" name="branchName"/>
</li> </li>
<li>
<label>显示顺序:</label>
<input type="text" name="orderNum"/>
</li>
<li>
<label>负责人:</label>
<input type="text" name="leader"/>
</li>
<li> <li>
<label>联系电话:</label> <label>联系电话:</label>
<input type="text" name="phone"/> <input type="text" name="phone"/>
</li> </li>
<li>
<label>邮箱:</label>
<input type="text" name="email"/>
</li>
<li> <li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a> <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a> <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>

View File

@ -10,62 +10,14 @@
<form id="formId"> <form id="formId">
<div class="select-list"> <div class="select-list">
<ul> <ul>
<li>
<label>单位名称:</label>
<input type="text" name="unit"/>
</li>
<li> <li>
<label>人员姓名:</label> <label>人员姓名:</label>
<input type="text" name="name"/> <input type="text" name="name"/>
</li> </li>
<li>
<label>民族:</label>
<input type="text" name="nation"/>
</li>
<li>
<label>部门ID</label>
<input type="text" name="deptId"/>
</li>
<li> <li>
<label>手机号码:</label> <label>手机号码:</label>
<input type="text" name="mphone"/> <input type="text" name="mphone"/>
</li> </li>
<li>
<label>邮箱:</label>
<input type="text" name="email"/>
</li>
<li>
<label>籍贯:</label>
<input type="text" name="nativePlace"/>
</li>
<li>
<label>岗位:</label>
<input type="text" name="post"/>
</li>
<li>
<label>职务:</label>
<input type="text" name="duties"/>
</li>
<li>
<label>职称:</label>
<input type="text" name="title"/>
</li>
<li>
<label>参加工作时间:</label>
<input type="text" class="time-input" placeholder="请选择参加工作时间" name="workDate"/>
</li>
<li>
<label>支部ID</label>
<input type="text" name="branchId"/>
</li>
<li>
<label>入党时间:</label>
<input type="text" class="time-input" placeholder="请选择入党时间" name="partyDate"/>
</li>
<li>
<label>党内职务:</label>
<input type="text" name="partyDuties"/>
</li>
<li> <li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a> <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a> <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>

View File

@ -105,16 +105,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="bmwcqk" resultType="map"> <select id="bmwcqk" resultType="map">
SELECT SELECT
dept_id, a.dept_id,
type, d.dept_name,
SUM( score ) score, a.type,
IF( sum( now_score ), sum( now_score ), 0 ) nowScore SUM( a.score ) score,
IF( sum( a.now_score ), sum( a.now_score ), 0 ) nowScore
FROM FROM
t_ament_party_affairs t_ament_party_affairs a LEFT JOIN sys_dept d on a.dept_id = d.dept_id
WHERE WHERE
type IN ( '日常考核指标', '年度考核指标' ) a.type IN ( '日常考核指标', '年度考核指标' )
GROUP BY GROUP BY
dept_id,type a.dept_id,
a.type
</select> </select>
<select id="groupAll" resultType="map"> <select id="groupAll" resultType="map">