信呼OA版本v2.3.8
This commit is contained in:
71
webmain/main/seal/rock_seal_cha.php
Normal file
71
webmain/main/seal/rock_seal_cha.php
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php if(!defined('HOST'))die('not access');?>
|
||||
<script >
|
||||
$(document).ready(function(){
|
||||
var modenum='sealapl';
|
||||
var a = $('#view_{rand}').bootstable({
|
||||
tablename:'sealapl',celleditor:true,fanye:true,modenum:modenum,statuschange:false,
|
||||
columns:[{
|
||||
text:'部门',dataIndex:'deptname'
|
||||
},{
|
||||
text:'姓名',dataIndex:'name'
|
||||
},{
|
||||
text:'申请印章',dataIndex:'sealname'
|
||||
},{
|
||||
text:'是否外带',dataIndex:'isout'
|
||||
},{
|
||||
text:'说明',dataIndex:'explain',align:'left'
|
||||
},{
|
||||
text:'申请时间',dataIndex:'optdt'
|
||||
},{
|
||||
text:'状态',dataIndex:'statustext'
|
||||
}],
|
||||
itemclick:function(){
|
||||
btn(false);
|
||||
},
|
||||
beforeload:function(){
|
||||
btn(true);
|
||||
}
|
||||
});
|
||||
|
||||
function btn(bo){
|
||||
get('xiang_{rand}').disabled = bo;
|
||||
}
|
||||
|
||||
var c = {
|
||||
search:function(){
|
||||
var s=get('key_{rand}').value;
|
||||
a.setparams({key:s},true);
|
||||
},
|
||||
daochu:function(){
|
||||
a.exceldown();
|
||||
},
|
||||
view:function(){
|
||||
var d=a.changedata;
|
||||
openxiangs('印章申请',modenum,d.id);
|
||||
}
|
||||
};
|
||||
js.initbtn(c);
|
||||
});
|
||||
</script>
|
||||
<div>
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<input class="form-control" style="width:250px" id="key_{rand}" placeholder="姓名/部门/申请印章">
|
||||
</td>
|
||||
<td style="padding-left:10px">
|
||||
<button class="btn btn-default" click="search" type="button">搜索</button>
|
||||
</td>
|
||||
<td style="padding-left:10px" width="90%">
|
||||
|
||||
|
||||
</td>
|
||||
<td align="right" nowrap>
|
||||
<button class="btn btn-default" id="xiang_{rand}" click="view" disabled type="button">详情</button>
|
||||
<button class="btn btn-default" click="daochu,1" type="button">导出</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="blank10"></div>
|
||||
<div id="view_{rand}"></div>
|
||||
52
webmain/main/seal/rock_seal_list.php
Normal file
52
webmain/main/seal/rock_seal_list.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php if(!defined('HOST'))die('not access');?>
|
||||
<script >
|
||||
$(document).ready(function(){
|
||||
var a = $('#view_{rand}').bootstable({
|
||||
tablename:'seal',celleditor:true,fanye:true,dir:'asc',sort:'sort',
|
||||
columns:[{
|
||||
text:'电子章图片',dataIndex:'sealimg',renderer:function(v){
|
||||
var s=' ';
|
||||
if(!isempt(v))s='<img src="'+v+'" width="80">';
|
||||
return s;
|
||||
}
|
||||
},{
|
||||
text:'印章名称',dataIndex:'name',align:'left'
|
||||
},{
|
||||
text:'印章类型',dataIndex:'type'
|
||||
},{
|
||||
text:'保管人',dataIndex:'bgname'
|
||||
},{
|
||||
text:'排序号',dataIndex:'sort',editor:true
|
||||
},{
|
||||
text:'说明',dataIndex:'explain'
|
||||
},{
|
||||
text:'',dataIndex:'caozuo'
|
||||
}]
|
||||
});
|
||||
var c = {
|
||||
clickwin:function(){
|
||||
openinput('印章','seal');
|
||||
}
|
||||
};
|
||||
bootstableobj['seal']=a;
|
||||
js.initbtn(c);
|
||||
});
|
||||
</script>
|
||||
<div>
|
||||
<table width="100%"><tr>
|
||||
<td style="padding-right:10px">
|
||||
<button class="btn btn-primary" click="clickwin,0" type="button"><i class="icon-plus"></i> 新增</button>
|
||||
</td>
|
||||
<td style="padding-left:10px">
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td width="80%"></td>
|
||||
<td align="right" nowrap>
|
||||
|
||||
</td>
|
||||
</tr></table>
|
||||
</div>
|
||||
<div class="blank10"></div>
|
||||
<div id="view_{rand}"></div>
|
||||
Reference in New Issue
Block a user