信呼OA版本v2.3.8

This commit is contained in:
雨中磐石
2022-08-14 16:47:40 +08:00
parent 4640677d27
commit e3fcd913e3
1405 changed files with 133635 additions and 73 deletions

View File

@@ -0,0 +1,53 @@
<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
var a = $('#view_{rand}').bootstable({
tablename:'userinfo',celleditor:true,fanye:true,
url:js.getajaxurl('publicstore','userinfo','main'),storeafteraction:'userinfoafter',storebeforeaction:'userinfobefore',
columns:[{
text:'部门',dataIndex:'deptname',align:'left',sortable:true
},{
text:'姓名',dataIndex:'name',sortable:true
},{
text:'职位',dataIndex:'ranking'
},{
text:'在线打卡IP',dataIndex:'dkip',editor:true
},{
text:'在线打卡MAC地址',dataIndex:'dkmac',editor:true
},{
text:'关联中控考勤机工号',dataIndex:'finger',editor:true
},{
text:'需要考勤',dataIndex:'iskq',type:'checkbox',editor:true
},{
text:'需要写日报',dataIndex:'isdaily',type:'checkbox',editor:true
},{
text:'ID',dataIndex:'id'
}]
});
var c = {
search:function(){
var s=get('key_{rand}').value;
a.setparams({key:s},true);
}
};
js.initbtn(c);
});
</script>
<div>
<table width="100%"><tr>
<td nowrap>
<input class="form-control" style="width:200px" id="key_{rand}" placeholder="姓名/部门/职位">
</td>
<td style="padding-left:10px">
<button class="btn btn-default" click="search" type="button">搜索</button>
</td>
<td width="90%"></td>
<td align="right" nowrap>
</td>
</tr></table>
</div>
<div class="blank10"></div>
<div id="view_{rand}"></div>
<div class="tishi">人员必须设置打卡IPIP一般是内网Ip196.168的或者电脑的物理MAC地址才可以在线打卡多个用,分开不限制IP就写*。</div>