1.按固定人员考勤、临时人员考勤区分
This commit is contained in:
parent
9efed3d16e
commit
fd89ce9b4d
|
|
@ -88,7 +88,7 @@ layui.use(['table','form'], function(){
|
|||
,{field: 'teamName', title: '所属班组', width: '20%'}
|
||||
,{field: 'einTime', title: '入场时间', width: '12%'}
|
||||
,{field: 'exitTime', title: '出场时间', width: '12%'}
|
||||
,{field:'isRegularPerson', title: '是否为固定人员',templet: d => {
|
||||
/*,{field:'isRegularPerson', title: '是否为固定人员',templet: d => {
|
||||
let text = "";
|
||||
if (d.isRegularPerson === '0') {
|
||||
text = "<span style='color:#000;cursor: pointer;'>否</span>";
|
||||
|
|
@ -99,7 +99,7 @@ layui.use(['table','form'], function(){
|
|||
}
|
||||
return text;
|
||||
},width: '8%'
|
||||
}
|
||||
}*/
|
||||
]]
|
||||
,loading: true //数据加载中。。。
|
||||
,response: {
|
||||
|
|
@ -114,7 +114,7 @@ layui.use(['table','form'], function(){
|
|||
obj.proName = res.data[0].proName;
|
||||
obj.postId = res.data[0].postId;
|
||||
obj.teamId = res.data[0].teamId;
|
||||
isRegularPersonOnly = res.data[0].isRegularPerson;
|
||||
// isRegularPersonOnly = res.data[0].isRegularPerson;
|
||||
}
|
||||
return {
|
||||
"code": res.code, //解析接口状态
|
||||
|
|
@ -230,11 +230,11 @@ function startCutToPlace() {
|
|||
return layer.msg("只能转场非固定人员");
|
||||
}*/
|
||||
|
||||
var my_switch = document.getElementById("isRegularPerson")
|
||||
// var my_switch = document.getElementById("isRegularPerson")
|
||||
let isRegularPerson = 0;
|
||||
if(my_switch.checked){
|
||||
/*if(my_switch.checked){
|
||||
isRegularPerson = 1;
|
||||
}
|
||||
}*/
|
||||
obj.orgNameN = $("#orgName").val();
|
||||
obj.roleNameN = $('select[name="roleId"] option:selected').text();
|
||||
//页面展示的数据
|
||||
|
|
|
|||
|
|
@ -82,9 +82,9 @@
|
|||
lay-filter="teamId" lay-search>
|
||||
<option value="">--请先选择工程--</option>
|
||||
</select>
|
||||
<label class="layui-form-label">固定成员:</label>
|
||||
<input type="checkbox" id = "isRegularPerson" name="isRegularPerson" lay-skin="switch"
|
||||
lay-filter="isRegularPerson" switchId="isRegularPerson" lay-text="固定|流动">
|
||||
<!-- <label class="layui-form-label" >固定成员:</label>-->
|
||||
<!-- <input type="checkbox" id = "isRegularPerson" name="isRegularPerson" lay-skin="switch"-->
|
||||
<!-- lay-filter="isRegularPerson" switchId="isRegularPerson" lay-text="固定|流动" >-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
关键字:<input type="text" id="keyword" name="keyWord" class="form-control" lay-verify="required">
|
||||
</div>
|
||||
</div>
|
||||
<button id="searchBt" style="margin-top: -0.6%" class="layui-btn layui-btn-sm"><i class="layui-icon"></i>查询</button>
|
||||
<button id="searchBt" class="layui-btn layui-btn-sm"><i class="layui-icon"></i>查询</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue