发布v2.5.6版本
This commit is contained in:
@@ -1 +1 @@
|
||||
<table width="100%" border="0" class="ke-zeroborder"><tbody><tr class="autoyijianview"><td height="34" width="15%" align="right" class="ys1"><span>合同/销售单</span></td><td width="35%" class="ys2">{htid}{htnum}{custid}</td><td height="34" width="15%" align="right" class="ys1">*^dt^</td><td width="35%" class="ys2">{dt}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^custname^</td><td width="35%" class="ys2">{custname}</td><td height="34" width="15%" align="right" class="ys1">*^money^</td><td width="35%" class="ys2">{money}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^ispay^</td><td width="35%" class="ys2">{ispay}</td><td height="34" width="15%" align="right" class="ys1">^paydt^</td><td width="35%" class="ys2">{paydt}</td></tr><tr><td height="34" align="right" class="ys1">^explain^</td><td colspan="3" class="ys2">{explain}</td></tr><tr><td height="34" align="right" class="ys1">^file_content^</td><td colspan="3" class="ys2">{file_content}</td></tr></tbody></table>
|
||||
<table width="100%" border="0" class="ke-zeroborder"><tbody><tr class="autoyijianview"><td height="34" width="15%" align="right" class="ys1">*^htid^</td><td width="35%" class="ys2">{htid}{htnum}{custid}</td><td height="34" width="15%" align="right" class="ys1">*^dt^</td><td width="35%" class="ys2">{dt}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^custname^</td><td width="35%" class="ys2">{custname}</td><td height="34" width="15%" align="right" class="ys1">*^money^</td><td width="35%" class="ys2">{money}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^ispay^</td><td width="35%" class="ys2">{ispay}</td><td height="34" width="15%" align="right" class="ys1">^paydt^</td><td width="35%" class="ys2">{paydt}</td></tr><tr><td height="34" align="right" class="ys1">^explain^</td><td colspan="3" class="ys2">{explain}</td></tr><tr><td height="34" align="right" class="ys1">^file_content^</td><td colspan="3" class="ys2">{file_content}</td></tr></tbody></table>
|
||||
@@ -1 +1 @@
|
||||
<table width="100%" border="0" class="ke-zeroborder"><tbody><tr class="autoyijianview"><td height="34" width="15%" align="right" class="ys1">^htid^</td><td width="35%" class="ys2">{htid}{htnum}{custid}</td><td height="34" width="15%" align="right" class="ys1">*^dt^</td><td width="35%" class="ys2">{dt}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^custname^</td><td width="35%" class="ys2">{custname}</td><td height="34" width="15%" align="right" class="ys1">*^money^</td><td width="35%" class="ys2">{money}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^ispay^</td><td width="35%" class="ys2">{ispay}</td><td height="34" width="15%" align="right" class="ys1">^paydt^</td><td width="35%" class="ys2">{paydt}</td></tr><tr><td height="34" align="right" class="ys1">^explain^</td><td colspan="3" class="ys2">{explain}</td></tr><tr><td height="34" align="right" class="ys1">^file_content^</td><td colspan="3" class="ys2">{file_content}</td></tr></tbody></table>
|
||||
<table width="100%" border="0" class="ke-zeroborder"><tbody><tr class="autoyijianview"><td height="34" width="15%" align="right" class="ys1">*^htid^</td><td width="35%" class="ys2">{htid}{htnum}{custid}</td><td height="34" width="15%" align="right" class="ys1">*^dt^</td><td width="35%" class="ys2">{dt}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^custname^</td><td width="35%" class="ys2">{custname}</td><td height="34" width="15%" align="right" class="ys1">*^money^</td><td width="35%" class="ys2">{money}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^ispay^</td><td width="35%" class="ys2">{ispay}</td><td height="34" width="15%" align="right" class="ys1">^paydt^</td><td width="35%" class="ys2">{paydt}</td></tr><tr><td height="34" align="right" class="ys1">^explain^</td><td colspan="3" class="ys2">{explain}</td></tr><tr><td height="34" align="right" class="ys1">^file_content^</td><td colspan="3" class="ys2">{file_content}</td></tr></tbody></table>
|
||||
@@ -1 +1 @@
|
||||
<strong>基本信息</strong> <table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" width="15%" align="right" class="ys1">姓名</td><td class="ys2" width="35%">{name}</td><td align="right" class="ys1" width="15%"></td><td class="ys2" width="35%" rowspan="3">{zhaopian}<br /></td></tr><tr><td height="34" align="right" class="ys1">部门</td><td class="ys2">{deptname}</td><td class="ys1" align="right">照片<br /></td></tr><tr><td height="34" align="right" class="ys1">职位</td><td class="ys2">{ranking}</td><td class="ys1" align="right"></td></tr></tbody></table><b><br /></b> <p><b>人员状态信息</b> </p><table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" width="15%" align="right" class="ys1">人员状态</td><td class="ys2" width="35%">{state}</td><td align="right" class="ys1" width="15%">入职日期</td><td class="ys2" width="35%">{workdate}</td></tr><tr><td height="34" align="right" class="ys1">试用期到</td><td class="ys2">{syenddt}</td><td class="ys1" align="right">转正日期</td><td class="ys2">{positivedt}<br /></td></tr><tr><td height="34" align="right" class="ys1">所属单位</td><td class="ys2">{companyid}</td><td class="ys1" align="right">离职日期</td><td class="ys2">{quitdt}<br /></td></tr></tbody></table><p><br /></p><p><strong>个人信息</strong> </p><table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" width="15%" align="right" class="ys1">*学历</td><td class="ys2" width="35%">{xueli}</td><td align="right" class="ys1" width="15%">*民族</td><td class="ys2" width="35%">{minzu}</td></tr><tr><td height="34" align="right" class="ys1">*生日类型</td><td class="ys2">{birtype}</td><td class="ys1" align="right">*生日</td><td class="ys2">{birthday}</td></tr><tr><td height="34" align="right" class="ys1">*籍贯</td><td class="ys2">{jiguan}</td><td class="ys1" align="right">*婚姻</td><td class="ys2">{hunyin}</td></tr><tr><td height="34" align="right" class="ys1">身份证号</td><td class="ys2">{idnum}</td><td class="ys1" align="right"></td><td class="ys2"><br /></td></tr><tr><td height="34" align="right" class="ys1">*现住址</td><td class="ys2" colspan="3">{nowdizhi}</td></tr><tr><td height="34" align="right" class="ys1">*家庭住址</td><td class="ys2" colspan="3">{housedizhi}</td></tr></tbody></table><b><br /></b> <p><b>联系方式</b> </p><table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" width="15%" align="right" class="ys1">电话</td><td class="ys2" width="35%">{tel}</td><td align="right" class="ys1" width="15%">*手机号</td><td class="ys2" width="35%">{mobile}</td></tr><tr><td height="34" align="right" class="ys1">邮箱</td><td class="ys2">{email}</td><td class="ys1" align="right"></td><td class="ys2"><br /></td></tr><tr><td height="34" align="right" class="ys1">备用联系人</td><td class="ys2">{spareman}</td><td class="ys1" align="right">备用联系人电话</td><td class="ys2">{sparetel}<br /></td></tr></tbody></table><b><br /></b> <p><b>工资卡信息</b> </p><table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" width="15%" align="right" class="ys1">开户行</td><td class="ys2" width="35%">{bankname}</td><td align="right" class="ys1" width="15%">工资卡帐号</td><td class="ys2" width="35%">{banknum}</td></tr></tbody></table><b><br /></b> <p><b>工作经历</b> </p><div class="ys0"><table class="tablesub ke-zeroborder" id="tablesub0" style="width:100%;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="10%">序号</td><td>*开始日期</td><td>*截止日期</td><td>*职位</td><td>*单位名称</td><td width="5%">操作</td></tr><tr><td>[xuhao0,0]</td><td>[startdt0,0]</td><td>[enddt0,0]</td><td>[rank0,0]</td><td>[unitname0,0]</td><td>{删,0}</td></tr></tbody></table><div style="background-color:#F1F1F1;">{新增,0}</div></div><b><br /></b> <p><b>教育经历</b> </p><div class="ys0"><table class="tablesub ke-zeroborder" id="tablesub1" style="width:100%;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="10%">序号</td><td>*开始日期</td><td>*截止日期</td><td>*专业</td><td>*学校名称</td><td width="5%">操作</td></tr><tr><td>[xuhao1,0]</td><td>[startdt1,0]</td><td>[enddt1,0]</td><td>[rank1,0]</td><td>[unitname1,0]</td><td>{删,1}</td></tr></tbody></table><div style="background-color:#F1F1F1;">{新增,1}</div></div>
|
||||
<strong>基本信息</strong> <table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" width="15%" align="right" class="ys1">姓名</td><td class="ys2" width="35%">{name}</td><td align="right" class="ys1" width="15%"></td><td class="ys2" width="35%" rowspan="3">{zhaopian}<br /></td></tr><tr><td height="34" align="right" class="ys1">部门</td><td class="ys2">{deptname}</td><td class="ys1" align="right">照片<br /></td></tr><tr><td height="34" align="right" class="ys1">职位</td><td class="ys2">{ranking}</td><td class="ys1" align="right"></td></tr></tbody></table><b><br /></b> <p><b>人员状态信息</b> </p><table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" width="15%" align="right" class="ys1">人员状态</td><td class="ys2" width="35%">{state}</td><td align="right" class="ys1" width="15%">入职日期</td><td class="ys2" width="35%">{workdate}</td></tr><tr><td height="34" align="right" class="ys1">试用期到</td><td class="ys2">{syenddt}</td><td class="ys1" align="right">转正日期</td><td class="ys2">{positivedt}<br /></td></tr><tr><td height="34" align="right" class="ys1">所属单位</td><td class="ys2">{companyid}</td><td class="ys1" align="right">离职日期</td><td class="ys2">{quitdt}<br /></td></tr></tbody></table><p><br /></p><p><strong>个人信息</strong> </p><table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" width="15%" align="right" class="ys1">*学历</td><td class="ys2" width="35%">{xueli}</td><td align="right" class="ys1" width="15%">*民族</td><td class="ys2" width="35%">{minzu}</td></tr><tr><td height="34" align="right" class="ys1">*性别</td><td class="ys2">{sex}</td><td class="ys1" align="right">*生日</td><td class="ys2">{birthday}</td></tr><tr><td height="34" align="right" class="ys1">*籍贯</td><td class="ys2">{jiguan}</td><td class="ys1" align="right">*婚姻</td><td class="ys2">{hunyin}</td></tr><tr><td height="34" align="right" class="ys1">身份证号</td><td class="ys2">{idnum}</td><td class="ys1" align="right"></td><td class="ys2"><br /></td></tr><tr><td height="34" align="right" class="ys1">*现住址</td><td class="ys2" colspan="3">{nowdizhi}</td></tr><tr><td height="34" align="right" class="ys1">*家庭住址</td><td class="ys2" colspan="3">{housedizhi}</td></tr></tbody></table><b><br /></b> <p><b>联系方式</b> </p><table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" width="15%" align="right" class="ys1">电话</td><td class="ys2" width="35%">{tel}</td><td align="right" class="ys1" width="15%">*手机号</td><td class="ys2" width="35%">{mobile}</td></tr><tr><td height="34" align="right" class="ys1">邮箱</td><td class="ys2">{email}</td><td class="ys1" align="right"></td><td class="ys2"><br /></td></tr><tr><td height="34" align="right" class="ys1">备用联系人</td><td class="ys2">{spareman}</td><td class="ys1" align="right">备用联系人电话</td><td class="ys2">{sparetel}<br /></td></tr></tbody></table><b><br /></b> <p><b>工资卡信息</b> </p><table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" width="15%" align="right" class="ys1">开户行</td><td class="ys2" width="35%">{bankname}</td><td align="right" class="ys1" width="15%">工资卡帐号</td><td class="ys2" width="35%">{banknum}</td></tr></tbody></table><b><br /></b> <p><b>工作经历</b> </p><div class="ys0"><table class="tablesub ke-zeroborder" id="tablesub0" style="width:100%;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="10%">序号</td><td>开始日期</td><td>截止日期</td><td>职位</td><td>单位名称</td><td width="5%">操作</td></tr><tr><td>[xuhao0,0]</td><td>[startdt0,0]</td><td>[enddt0,0]</td><td>[rank0,0]</td><td>[unitname0,0]</td><td>{删,0}</td></tr></tbody></table><div style="background-color:#F1F1F1;">{新增,0}</div></div><b><br /></b> <p><b>教育经历</b> </p><div class="ys0"><table class="tablesub ke-zeroborder" id="tablesub1" style="width:100%;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="10%">序号</td><td>开始日期</td><td>截止日期</td><td>专业</td><td>学校名称</td><td width="5%">操作</td></tr><tr><td>[xuhao1,0]</td><td>[startdt1,0]</td><td>[enddt1,0]</td><td>[rank1,0]</td><td>[unitname1,0]</td><td>{删,1}</td></tr></tbody></table><div style="background-color:#F1F1F1;">{新增,1}</div></div>
|
||||
@@ -10,7 +10,7 @@
|
||||
},
|
||||
view:function(){
|
||||
var d=a.changedata;
|
||||
openxiangs(modename,modenum,d.id,'opegs{rand}');
|
||||
if(d.id)openxiangs(modename,modenum,d.id,'opegs{rand}');
|
||||
},
|
||||
searchbtn:function(){
|
||||
this.search({});
|
||||
@@ -118,12 +118,14 @@
|
||||
var das = d.listinfo;
|
||||
if(das){
|
||||
isflow = das.isflow;
|
||||
modeid = das.modeid;
|
||||
modename = das.modename;
|
||||
modenames = das.modenames;
|
||||
fieldsarr = das.fieldsarr;
|
||||
this.fieldzarr = das.fieldzarr; //子表搜索
|
||||
fieldsselarr = das.fieldsselarr;
|
||||
chufarr = das.chufarr;
|
||||
if(das.modetable)a.setCans({tablename:das.modetable});
|
||||
this.initcolumns(true);
|
||||
}
|
||||
this.onloadbefore(d);
|
||||
@@ -197,6 +199,7 @@
|
||||
if(bok){
|
||||
d2={text:d1.name,dataIndex:d1.fields};
|
||||
if(d1.ispx=='1')d2.sortable=true;
|
||||
if(d1.width)d2.width=d1.width;
|
||||
if(d1.isalign=='1')d2.align='left';
|
||||
if(d1.isalign=='2')d2.align='right';
|
||||
d.push(d2);
|
||||
@@ -298,8 +301,8 @@
|
||||
};
|
||||
|
||||
var bootparams = {
|
||||
fanye:true,modenum:modenum,modename:modename,statuschange:false,tablename:jm.base64decode(listname),
|
||||
url:c.storeurl(),storeafteraction:'storeaftershow',storebeforeaction:'storebeforeshow',optobj:c,
|
||||
fanye:true,modenum:modenum,listcreate:true,modename:modename,statuschange:false,tablename:jm.base64decode(listname),
|
||||
url:c.storeurl(),storeafteraction:'storeaftershow',storebeforeaction:'storebeforeshow',optobj:c,syspnum:pnum,
|
||||
params:{atype:atype},
|
||||
columns:[{text:"字段",dataIndex:"face"},{
|
||||
text:'',dataIndex:'caozuo',callback:'opegs{rand}'
|
||||
@@ -317,4 +320,4 @@
|
||||
c.initcolumns(false);
|
||||
opegs{rand}=function(){
|
||||
c.reload();
|
||||
}
|
||||
}
|
||||
|
||||
84
webmain/flow/page/rock_page_aas.php
Normal file
84
webmain/flow/page/rock_page_aas.php
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
/**
|
||||
* 公共列表页模版
|
||||
* $pageparams 这个是参数
|
||||
*/
|
||||
defined('HOST') or die ('not access');
|
||||
$modenum = arrvalue($pageparams,'bh');
|
||||
if(!$modenum)exit('没有参数bh');
|
||||
|
||||
$flow = m('flow:'.$modenum.'')->initbase($modenum);
|
||||
$isflow = $flow->isflow;
|
||||
?>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
{params}
|
||||
var modenum = '<?=$modenum?>',modename='<?=$flow->moders['name']?>',isflow=<?=$isflow?>,modeid='<?=$flow->moders['id']?>',atype = params.atype,pnum=params.pnum,modenames='',listname='';
|
||||
if(!atype)atype='';if(!pnum)pnum='';
|
||||
var fieldsarr = [],fieldsselarr= [],chufarr= [];
|
||||
|
||||
|
||||
<?php
|
||||
include_once('webmain/flow/page/rock_page.php');
|
||||
if(method_exists($flow,'flowlistscript'))echo $flow->flowlistscript($pageparams);
|
||||
|
||||
$path = 'webmain/flow/page/rock_page_'.$modenum.'_script.php';
|
||||
if(file_exists($path))include_once($path);
|
||||
|
||||
$shoukey = '关键字';
|
||||
if($flow->isflow>0)$shoukey = '关键字/申请人/单号';
|
||||
?>
|
||||
|
||||
|
||||
c.initpagebefore();
|
||||
js.initbtn(c);
|
||||
var a = $('#view'+modenum+'_{rand}').bootstable(bootparams);
|
||||
c.init();
|
||||
|
||||
});
|
||||
</script>
|
||||
<!--SCRIPTend-->
|
||||
<!--HTMLstart-->
|
||||
<div>
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td style="padding-right:10px;" id="tdleft_{rand}" nowrap><button id="addbtn_{rand}" class="btn btn-primary" click="clickwin,0" disabled type="button"><i class="icon-plus"></i> 新增</button></td>
|
||||
|
||||
<td><select class="form-control" style="width:110px;border-top-right-radius:0;border-bottom-right-radius:0;padding:0 2px" id="fields_{rand}"></select></td>
|
||||
<td><select class="form-control" style="width:60px;border-radius:0px;border-left:0;padding:0 2px" id="like_{rand}"><option value="0">包含</option><option value="1">等于</option><option value="2">大于等于</option><option value="3">小于等于</option><option value="4">不包含</option></select></td>
|
||||
<td><select class="form-control" style="width:130px;border-radius:0;border-left:0;display:none;padding:0 5px" id="selkey_{rand}"><option value="">-请选择-</option></select><input class="form-control" style="width:130px;border-radius:0;border-left:0;padding:0 5px" id="keygj_{rand}" placeholder="关键词"><input class="form-control" style="width:130px;border-radius:0;border-left:0;padding:0 5px;display:none;" id="key_{rand}" placeholder="<?=$shoukey?>">
|
||||
</td>
|
||||
<?php
|
||||
$lbztxs = $flow->moders['lbztxs'];
|
||||
$showzt = false;
|
||||
if($isflow>0)$showzt = true;
|
||||
if($lbztxs==1)$showzt = true;
|
||||
if($lbztxs==2)$showzt = false;
|
||||
if($showzt){
|
||||
$ztarr = $flow->getstatusarr();
|
||||
$zthtml = '<td><select class="form-control" style="width:120px;border-left:0;border-radius:0;" id="selstatus_{rand}"><option value="">-全部状态-</option>';
|
||||
foreach($ztarr as $zt=>$ztv){
|
||||
if($isflow==0 && $zt==23)continue;
|
||||
$zthtml .= '<option style="color:'.arrvalue($ztv, 1).'" value="'.$zt.'">'.$ztv[0].'</option>';
|
||||
}
|
||||
$zthtml .= '</select></td>';
|
||||
$zthtml = str_replace('?','', $zthtml);
|
||||
echo $zthtml;
|
||||
}
|
||||
?>
|
||||
<td>
|
||||
<div style="white-space:nowrap">
|
||||
<button style="border-right:0;border-radius:0;border-left:0" class="btn btn-default" click="searchbtn" type="button">搜索</button><button class="btn btn-default" id="downbtn_{rand}" type="button" style="padding-left:8px;padding-right:8px;border-top-left-radius:0;border-bottom-left-radius:0"><i class="icon-angle-down"></i></button>
|
||||
</div>
|
||||
</td>
|
||||
<td width="90%" style="padding-left:10px"><div id="changatype{rand}" class="btn-group"></div></td>
|
||||
|
||||
<td align="right" id="tdright_{rand}" nowrap>
|
||||
<span style="display:none" id="daoruspan_{rand}"><button class="btn btn-default" click="daoru,1" type="button">导入</button> </span><button class="btn btn-default" style="display:none" id="daobtn_{rand}" disabled click="daochu" type="button">导出 <i class="icon-angle-down"></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="blank10"></div>
|
||||
<div id="view<?=$modenum?>_{rand}"></div>
|
||||
<!--HTMLend-->
|
||||
@@ -26,6 +26,9 @@ c.searchbtn=function(){
|
||||
var dt = get('dt_{rand}').value;
|
||||
this.search({month:dt});
|
||||
}
|
||||
c.createjizhang=function(d){
|
||||
js.msgerror('请在财务的菜单下操作');
|
||||
}
|
||||
|
||||
//[自定义区域end]
|
||||
c.initpagebefore();
|
||||
|
||||
@@ -26,6 +26,9 @@ c.searchbtn=function(){
|
||||
var dt = get('dt_{rand}').value;
|
||||
this.search({month:dt});
|
||||
}
|
||||
c.createjizhang=function(d){
|
||||
js.msgerror('请在财务的菜单下操作');
|
||||
}
|
||||
|
||||
//[自定义区域end]
|
||||
c.initpagebefore();
|
||||
|
||||
@@ -38,7 +38,8 @@ c.setcolumns('istop',{
|
||||
});
|
||||
c.setcolumns('appxs',{
|
||||
type:'checkbox',
|
||||
'editor':isedit
|
||||
'editor':isedit,
|
||||
'tooltip':'手机网页版和APP的首页显示这个记录'
|
||||
});
|
||||
|
||||
//[自定义区域end]
|
||||
|
||||
10
webmain/flow/page/viewpage_collects.html
Normal file
10
webmain/flow/page/viewpage_collects.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
if($da['arr']['isedit']==1){
|
||||
$uatlx = (A=='x') ? 'lum' : 'lu';
|
||||
?>
|
||||
<div align="center">
|
||||
<div class="blank20"></div>
|
||||
<a class="webbtn" style="border-radius:5px;" href="index.php?a=<?=$uatlx?>&m=input&d=flow&num=collects&mid=<?=$da['arr']['mid']?>">去完成填写</a>
|
||||
</div>
|
||||
<?php
|
||||
}?>
|
||||
Reference in New Issue
Block a user