提交 ef8dd067 编写于 作者: W weizhiqiang

部分功能查询员工姓名的方式修改

上级 a65a47bd
......@@ -11,7 +11,6 @@ layui.config({
echartsTheme: '../echarts/echartsTheme'
}).define(['window', 'table', 'jquery', 'winui', 'form', 'laydate', 'echarts'], function (exports) {
winui.renderColor();
var $ = layui.$,
form = layui.form,
table = layui.table,
......@@ -37,13 +36,12 @@ layui.config({
initTable();
function initTable(){
table.render({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: flowableBasePath + 'sealseservicestatisforms002',
where: {userName: $("#userName").val(), startTime: startTime, endTime: endTime},
where: {startTime: startTime, endTime: endTime},
even: true,
page: true,
limits: [8, 16, 24, 32, 40, 48, 56],
......@@ -81,7 +79,6 @@ layui.config({
}
form.render();
$("body").on("click", "#formSearch", function() {
refreshTable();
});
......@@ -94,7 +91,7 @@ layui.config({
startTime = $("#timeRange").val().split('~')[0].trim();
endTime = $("#timeRange").val().split('~')[1].trim();
}
table.reloadData("messageTable", {page: {curr: 1}, where: {userName: $("#userName").val(), startTime: startTime, endTime: endTime}});
table.reloadData("messageTable", {page: {curr: 1}, where: {startTime: startTime, endTime: endTime}});
}
$("body").on("click", ".plan-type-btn", function (e) {
......@@ -310,5 +307,5 @@ layui.config({
myChart.resize();
}
exports('customorder', {});
exports('workerorder', {});
});
\ No newline at end of file
......@@ -22,10 +22,6 @@
<div class="layui-input-inline">
<input type="text" id="timeRange" name="timeRange" placeholder="请选择时间范围" class="layui-input" />
</div>
<label class="layui-form-label">工人名称</label>
<div class="layui-input-inline">
<input type="text" id="userName" name="userName" placeholder="请输入工人名称" class="layui-input" />
</div>
<button type="reset" class="layui-btn layui-btn-primary list-form-search"><language showName="com.skyeye.reset"></language></button>
<button class="layui-btn list-form-search" type="button" id="formSearch"><language showName="com.skyeye.search2"></language></button>
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册