信呼v2.5.0版本

This commit is contained in:
雨中磐石
2022-09-29 15:34:08 +08:00
parent e6d2c91521
commit 44100a4ab9
37 changed files with 685 additions and 91 deletions

View File

@@ -6,11 +6,11 @@
官网网站http://www.rockoa.com/
源码仅供学习二次开发使用,禁止二次发布,禁止用于商业用途出售等(违者必究)
版权Copyright @2016-2022 信呼开发团队
版本整理时间2022-09-05 23:59:59
版本号V2.3.9
版本整理时间2022-09-29 23:59:59
版本号V2.5.0
### V2.3.9更新说明
### V2.5.0更新说明
1、完善系统安全性。
2、更多升级日志详见http://www.rockoa.com/view_core.html

View File

@@ -1,3 +1,3 @@
<?php
//版本2.3.9
return '2.3.9';
//版本2.5.0祝大家国庆快乐。
return '2.5.0';

View File

@@ -16,7 +16,7 @@ class hwpushChajian extends Chajian{
/**
* 相关域名定义
*/
private $tokenurl = 'https://login.cloud.huawei.com/oauth2/v2/token';
private $tokenurl = 'https://oauth-login.cloud.huawei.com/oauth2/v3/token';
private $pushurl = 'https://push-api.cloud.huawei.com/v1/{appid}/messages:send';
protected function initChajian()

View File

@@ -173,7 +173,8 @@ class inputChajian extends Chajian
}
//数字类型
if($type=='number'){
$str = '<input class="inputs" '.$attr.''.$styles.' value="'.$val.'" type="number" onfocus="js.focusval=this.value" '.$lenstr.' onblur="js.number(this);c.inputblur(this,'.$iszb.')" name="'.$fname.'">';
$xiaoshu= arrvalue($a,'xiaoshu','0');
$str = '<input class="inputs" xiaoshu="'.$xiaoshu.'" '.$attr.''.$styles.' value="'.$val.'" type="number" onfocus="js.focusval=this.value" '.$lenstr.' onblur="js.number(this);c.inputblur(this,'.$iszb.')" name="'.$fname.'">';
}
if($type=='xuhao'){
$str = '<input class="inputs xuhao" '.$attr.' type="text" value="'.$val.'" name="'.$fname.'">';

View File

@@ -828,12 +828,16 @@ var c={
return str;
},
gongsv:function(ne,vlas,gongss){
var val = '0',vals,val1;
var val = '0',vals,val1,xs;
if(form(ne)){
try{
val = eval(vlas);if(!val)val='0';
val1= 'a'+val+'';vals= val1.split('.');
if(vals[1] && vals[1].length>2)val=js.float(val);
if(vals[1] && vals[1].length>2){
xs = $(form(ne)).attr('xiaoshu');
if(!xs || xs=='0')xs = 2;
val=js.float(val, parseFloat(xs));
}
form(ne).value=val;
}catch(e){
alert(''+ne+'计算公式设置有错误:'+gongss+'\n\n'+vlas+'');

View File

@@ -0,0 +1,4 @@
//流程模块【assetmly.固定资产领用】下录入页面自定义js页面,初始函数
function initbodys(){
}

View File

@@ -0,0 +1,4 @@
//流程模块【collectm.信息收集】下录入页面自定义js页面,初始函数
function initbodys(){
}

View File

@@ -0,0 +1,4 @@
//流程模块【collects.信息收集表】下录入页面自定义js页面,初始函数
function initbodys(){
}

View File

@@ -17,5 +17,10 @@ function changeratess(v, lx){
}
s+='<label><input name="rateval[]" '+sel+' value="'+d1+'" type="checkbox">'+d[d1]+'</label>&nbsp;&nbsp;';
}
if(v=='d'){
sel = data.rateval;
if(!sel)sel='1';
s='每 <input name="rateval" class="inputs" onfocus="js.focusval=this.value" onblur="js.number(this)" style="width:50px" value="'+sel+'" type="number" min="1"> 天';
}
$('#div_rateval').html(s);
}

View File

@@ -0,0 +1,49 @@
<?php
/**
* 此文件是流程模块【assetmly.固定资产领用】对应控制器接口文件。
*/
class mode_assetmlyClassAction extends inputAction{
/**
* 重写函数:保存前处理,主要用于判断是否可以保存
* $table String 对应表名
* $arr Array 表单参数
* $id Int 对应表上记录Id 0添加时大于0修改时
* $addbo Boolean 是否添加时
* return array('msg'=>'错误提示内容','rows'=> array()) 可返回空字符串,或者数组 rows 是可同时保存到数据库上数组
*/
protected function savebefore($table, $arr, $id, $addbo){
$rows['type'] = 1; //必须为1
return array(
'rows' => $rows
);
}
/**
* 重写函数:保存后处理,主要保存其他表数据
* $table String 对应表名
* $arr Array 表单参数
* $id Int 对应表上记录Id
* $addbo Boolean 是否添加时
*/
protected function saveafter($table, $arr, $id, $addbo){
}
//读取资产列表
public function assetmlydata()
{
$rows = m('assetm')->getall('`state`=0');
$arr = array();
foreach($rows as $k=>$rs){
$arr[] = array(
'name' => $rs['title'].'('.$rs['num'].')',
'value' => $rs['id']
);
}
return $arr;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/**
* 此文件是流程模块【collectm.信息收集】对应控制器接口文件。
*/
class mode_collectmClassAction extends inputAction{
/**
* 重写函数:保存前处理,主要用于判断是否可以保存
* $table String 对应表名
* $arr Array 表单参数
* $id Int 对应表上记录Id 0添加时大于0修改时
* $addbo Boolean 是否添加时
* return array('msg'=>'错误提示内容','rows'=> array()) 可返回空字符串,或者数组 rows 是可同时保存到数据库上数组
*/
protected function savebefore($table, $arr, $id, $addbo){
$rows['type'] = 2; //必须为2
$dbs = m('admin');
$rows['leixing'] = $dbs->rows($dbs->gjoin($arr['runrenid'], 'ud', 'where'));
return array(
'rows' => $rows
);
}
/**
* 重写函数:保存后处理,主要保存其他表数据
* $table String 对应表名
* $arr Array 表单参数
* $id Int 对应表上记录Id
* $addbo Boolean 是否添加时
*/
protected function saveafter($table, $arr, $id, $addbo){
}
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 此文件是流程模块【collects.信息收集表】对应控制器接口文件。
*/
class mode_collectsClassAction extends inputAction{
/**
* 重写函数:保存前处理,主要用于判断是否可以保存
* $table String 对应表名
* $arr Array 表单参数
* $id Int 对应表上记录Id 0添加时大于0修改时
* $addbo Boolean 是否添加时
* return array('msg'=>'错误提示内容','rows'=> array()) 可返回空字符串,或者数组 rows 是可同时保存到数据库上数组
*/
protected function savebefore($table, $arr, $id, $addbo){
$rows['type'] = 3; //必须为3
return array(
'rows' => $rows
);
}
/**
* 重写函数:保存后处理,主要保存其他表数据
* $table String 对应表名
* $arr Array 表单参数
* $id Int 对应表上记录Id
* $addbo Boolean 是否添加时
*/
protected function saveafter($table, $arr, $id, $addbo){
}
}

View File

@@ -0,0 +1 @@
<table width="100%" border="0" class="ke-zeroborder"><tbody><tr class="autoyijianview"><td height="34" align="right" class="ys1">*^runren^</td><td colspan="3" class="ys2">{runren}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">^startdt^</td><td width="35%" class="ys2">{startdt}</td><td height="34" align="right" class="ys1"></td><td class="ys2"></td></tr><tr><td height="34" align="right" class="ys1">^explain^</td><td colspan="3" class="ys2">{explain}</td></tr><tr><td class="ys2" style="background-color:#CCCCCC;" colspan="4"><strong>领用资产</strong></td></tr><tr><td class="ys0" colspan="4"><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 width="5%">操作</td></tr><tr><td>[xuhao0,0]</td><td>[pitem0,0]</td><td>[zxren0,0][itemid0,0]</td><td>{删,0}</td></tr></tbody></table><div style="background-color:#F1F1F1;">{新增,0}</div></td></tr><tr><td height="34" align="right" class="ys1">^file_content^</td><td colspan="3" class="ys2">{file_content}</td></tr><tr><td height="34" align="right" class="ys1">^base_name^</td><td class="ys2">{base_name}</td><td align="right" class="ys1">^base_deptname^</td><td class="ys2">{base_deptname}</td></tr></tbody></table>

View File

@@ -0,0 +1 @@
<table width="100%" border="0" class="ke-zeroborder"><tbody><tr class="autoyijianview"><td height="34" width="15%" align="right" class="ys1">*^name^</td><td width="35%" class="ys2">{name}</td><td height="34" align="right" class="ys1"></td><td class="ys2"></td></tr><tr><td height="34" align="right" class="ys1">*^runren^</td><td colspan="3" class="ys2">{runren}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^startdt^</td><td width="35%" class="ys2">{startdt}</td><td height="34" width="15%" align="right" class="ys1">*^enddt^</td><td width="35%" class="ys2">{enddt}</td></tr><tr><td height="34" align="right" class="ys1">^explain^</td><td colspan="3" class="ys2">{explain}</td></tr><tr><td class="ys2" style="background-color:#CCCCCC;" colspan="4"><strong>收集字段</strong></td></tr><tr><td class="ys0" colspan="4"><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>[pitem0,0]</td><td>[zxren0,0]</td><td>[zxrenid0,0]</td><td>[itemid0,0]</td><td>{删,0}</td></tr></tbody></table><div style="background-color:#F1F1F1;">{新增,0}</div></td></tr><tr><td height="34" align="right" class="ys1">^file_content^</td><td colspan="3" class="ys2">{file_content}</td></tr></tbody></table>

View File

@@ -0,0 +1 @@
<table width="100%" border="0" class="ke-zeroborder"><tbody><tr class="autoyijianview"><td height="34" width="15%" align="right" class="ys1"><span>*^name^</span></td><td width="35%" class="ys2"><span>{name}</span></td><td height="34" width="15%" align="right" class="ys1"><span>*^psren^</span></td><td width="35%" class="ys2"><span>{psren}</span></td></tr>{autotpl}<tr><td height="34" align="right" class="ys1"><span>^explain^</span></td><td colspan="3" class="ys2"><span>{explain}</span></td></tr><tr><td height="34" align="right" class="ys1"><span>^file_content^</span></td><td colspan="3" class="ys2"><span>{file_content}</span></td></tr></tbody></table>

View File

@@ -1 +1 @@
<table width="100%" bordercolor="#000000" border="0" class="ke-zeroborder"><tbody><tr><td height="34" align="right" class="ys1">*跟进客户</td><td class="ys2">{custname}{custid}</td><td height="34" align="right" class="ys1">*跟进方式</td><td class="ys2">{gentype}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*状态</td><td class="ys2" width="35%">{status}</td><td align="right" class="ys1" width="15%">计划时间</td><td class="ys2" width="35%">{plandt}</td></tr><tr><td height="34" align="right" class="ys1">完成时间</td><td class="ys2">{findt}</td><td height="34" align="right" class="ys1"></td><td class="ys2"></td></tr><tr><td height="34" align="right" class="ys1">说明</td><td colspan="3" class="ys2">{explain}</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">*^custname^</td><td width="35%" class="ys2">{custname}{custid}</td><td height="34" width="15%" align="right" class="ys1">*^gentype^</td><td width="35%" class="ys2">{gentype}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^status^</td><td width="35%" class="ys2">{status}</td><td height="34" width="15%" align="right" class="ys1">^plandt^</td><td width="35%" class="ys2">{plandt}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">^findt^</td><td width="35%" class="ys2">{findt}</td><td height="34" align="right" class="ys1"></td><td class="ys2"></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>

View File

@@ -0,0 +1,59 @@
<?php
/**
* 模块assetmly.固定资产领用
* 说明:自定义区域内可写你想要的代码
* 来源:流程模块→表单元素管理→[模块.固定资产领用]→生成列表页
*/
defined('HOST') or die ('not access');
?>
<script>
$(document).ready(function(){
{params}
var modenum = 'assetmly',modename='固定资产领用',isflow=1,modeid='134',atype = params.atype,pnum=params.pnum,modenames='领用资产',listname='cGxhbm0:';
if(!atype)atype='';if(!pnum)pnum='';
var fieldsarr = [],fieldsselarr= [],chufarr= [];
<?php
include_once('webmain/flow/page/rock_page.php');
?>
//[自定义区域start]
//[自定义区域end]
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="关键字/申请人/单号">
</td>
<td><select class="form-control" style="width:120px;border-left:0;border-radius:0;" id="selstatus_{rand}"><option value="">-全部状态-</option><option style="color:blue" value="0">待处理</option><option style="color:green" value="1">已审核</option><option style="color:red" value="2">不同意</option><option style="color:#888888" value="5">已作废</option><option style="color:#17B2B7" value="23">退回</option></select></td>
<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>&nbsp;&nbsp;&nbsp;</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="viewassetmly_{rand}"></div>
<!--HTMLend-->

View File

@@ -0,0 +1,68 @@
<?php
/**
* 模块collectm.信息收集
* 说明:自定义区域内可写你想要的代码
* 来源:流程模块→表单元素管理→[模块.信息收集]→生成列表页
*/
defined('HOST') or die ('not access');
?>
<script>
$(document).ready(function(){
{params}
var modenum = 'collectm',modename='信息收集',isflow=1,modeid='135',atype = params.atype,pnum=params.pnum,modenames='收集字段',listname='cGxhbm0:';
if(!atype)atype='';if(!pnum)pnum='';
var fieldsarr = [],fieldsselarr= [],chufarr= [];
<?php
include_once('webmain/flow/page/rock_page.php');
?>
//[自定义区域start]
c.setcolumns('leixing',{
renderer:function(v,d,i){
return ''+v+'&nbsp;<a href="javascript:;" onclick="viespere{rand}('+i+')">查看</a>';
}
});
viespere{rand}=function(id){
var d = a.getData(id);
var bo = addtabs({name:'信息收集表['+d.name+']',url:'flow,page,collects,atype=all,pnum=all,leixingid='+d.id+'',num:'collects'+d.id+''});
}
//[自定义区域end]
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="关键字/申请人/单号">
</td>
<td><select class="form-control" style="width:120px;border-left:0;border-radius:0;" id="selstatus_{rand}"><option value="">-全部状态-</option><option style="color:blue" value="0">待处理</option><option style="color:green" value="1">已审核</option><option style="color:red" value="2">不同意</option><option style="color:#888888" value="5">已作废</option><option style="color:#17B2B7" value="23">退回</option></select></td>
<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>&nbsp;&nbsp;&nbsp;</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="viewcollectm_{rand}"></div>
<!--HTMLend-->

View File

@@ -0,0 +1,60 @@
<?php
/**
* 模块collects.信息收集表
* 说明:自定义区域内可写你想要的代码
* 来源:流程模块→表单元素管理→[模块.信息收集表]→生成列表页
*/
defined('HOST') or die ('not access');
?>
<script>
$(document).ready(function(){
{params}
var modenum = 'collects',modename='信息收集表',isflow=1,modeid='136',atype = params.atype,pnum=params.pnum,modenames='',listname='cGxhbm0:';
if(!atype)atype='';if(!pnum)pnum='';
var fieldsarr = [],fieldsselarr= [],chufarr= [];
<?php
include_once('webmain/flow/page/rock_page.php');
?>
//[自定义区域start]
var plid = params.leixingid;
if(plid)bootparams.url+='&leixingid='+plid+'';
//[自定义区域end]
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="关键字/申请人/单号">
</td>
<td><select class="form-control" style="width:120px;border-left:0;border-radius:0;" id="selstatus_{rand}"><option value="">-全部状态-</option><option style="color:blue" value="0">待处理</option><option style="color:green" value="1">已审核</option><option style="color:red" value="2">不同意</option><option style="color:#888888" value="5">已作废</option><option style="color:#17B2B7" value="23">退回</option></select></td>
<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>&nbsp;&nbsp;&nbsp;</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="viewcollects_{rand}"></div>
<!--HTMLend-->

View File

@@ -78,6 +78,7 @@ gotucompany=function(oi){
js.msgerror('没有设置平台地址');
return;
}
if(da.yuming)pldz = NOWURL.replace(HOST, da.yuming);
window.open(pldz+='?m=login&dwnum='+da.num+'');
}
createcompany=function(oi){
@@ -129,7 +130,7 @@ c.onloadbefore=function(d){
});
</script>
<!--SCRIPTend-->
<!--SCRIPTend-->
<!--HTMLstart-->
<div>
<table width="100%">

View File

@@ -42,7 +42,11 @@ class indexClassAction extends Action{
$this->option->setval($_key.'@-102', $usedt);
}
$arr['usedt'] = $usedt;
if(!isempt($arr['authkey'])){
$ybarr = $this->option->authercheck();
if(is_string($ybarr))$arr['authmsg'] = $this->jm->base64encode($ybarr);
}
if(DB_USER=='root'){
$sqld = $this->db->getall('select @@global.sql_mode as total');
if($sqld){

View File

@@ -98,6 +98,7 @@ $(document).ready(function(){
},
auther:function(a){
if(HOST==this.bd2('MTI3LjAuMC4x') || HOST==this.bd2('bG9jYWxob3N0'))return;
if(a.authmsg)return a.authmsg;
var akey = a.authkey,usedt = a.usedt;
if(!usedt)return '5peg5pWI6K6.6Zeu';
if(usedt>=js.now())return;

View File

@@ -10,7 +10,7 @@ Target Server Type : MYSQL
Target Server Version : 50610
File Encoding : 65001
Date: 2022-09-05 15:56:20
Date: 2022-09-29 15:31:00
*/
SET FOREIGN_KEY_CHECKS=0;
@@ -71,14 +71,14 @@ CREATE TABLE `xinhu_admin` (
-- ----------------------------
-- Records of xinhu_admin
-- ----------------------------
INSERT INTO `xinhu_admin` VALUES ('1', 'A001', 'admin', '管理员', 'e10adc3949ba59abbe56e057f20f883e', '4698', '1', '1', '', '0592-1234569', 'upload/face/1.jpg', '2', '开发部', null, null, null, '信呼开发团队/开发部', '5', '磐石', '项目主管', '1', '[1],[2]', '[5]', '1,3,4', '15800000023', '1', '2016-06-01', null, '2017-03-08 09:52:30', null, null, null, '0', 'guanliyuan', null, '1', '0', null, '1', null, null, '0', '1');
INSERT INTO `xinhu_admin` VALUES ('2', null, 'diaochan', '貂蝉', 'e10adc3949ba59abbe56e057f20f883e', '156', '1', '0', '', '0592-123456', null, '3', '财务部', null, null, null, '信呼开发团队/财务部', '5', '磐石', '财务总监', '1', '[1],[3]', '[5]', '1,3', '15800000007', '1', '2016-08-09', null, null, null, null, null, '0', 'diaochan', null, '2', '0', null, '1', null, null, '0', '1');
INSERT INTO `xinhu_admin` VALUES ('1', 'A001', 'admin', '管理员', 'e10adc3949ba59abbe56e057f20f883e', '4785', '1', '1', '', '0592-1234569', 'upload/face/1.jpg', '2', '开发部', null, null, null, '信呼开发团队/开发部', '5', '磐石', '项目主管', '1', '[1],[2]', '[5]', '1,3,4', '15800000023', '1', '2016-06-01', null, '2017-03-08 09:52:30', null, null, null, '0', 'guanliyuan', null, '1', '0', null, '1', null, null, '0', '1');
INSERT INTO `xinhu_admin` VALUES ('2', null, 'diaochan', '貂蝉', 'e10adc3949ba59abbe56e057f20f883e', '157', '1', '0', '', '0592-123456', null, '3', '财务部', null, null, null, '信呼开发团队/财务部', '5', '磐石', '财务总监', '1', '[1],[3]', '[5]', '1,3', '15800000007', '1', '2016-08-09', null, null, null, null, null, '0', 'diaochan', null, '2', '0', null, '1', null, null, '0', '1');
INSERT INTO `xinhu_admin` VALUES ('3', null, 'xiaoqiao', '小乔', 'e10adc3949ba59abbe56e057f20f883e', '281', '1', '0', '', null, null, '3', '财务部', null, null, null, '信呼开发团队/财务部', '2', '貂蝉', '出纳', '1', '[1],[3]', '[5],[2]', '1', '15800000001', '1', '2017-05-02', null, '2016-08-30 20:34:23', null, null, null, '0', 'xiaoqiao', null, '2', '0', null, '1', null, null, '0', '1');
INSERT INTO `xinhu_admin` VALUES ('4', null, 'daqiao', '大乔', 'e10adc3949ba59abbe56e057f20f883e', '399', '1', '0', '', null, null, '4', '行政人事部', '3', '财务部', '会计', '信呼开发团队/行政人事部', '5', '磐石', '人事主管', '1', '[1],[4],[3]', '[5]', '1,3', '15800000002', '1', '2017-07-01', null, '2016-10-20 22:27:51', null, null, null, '0', 'daqiao', null, '2', '0', null, '1', null, null, '0', '1');
INSERT INTO `xinhu_admin` VALUES ('5', null, 'rock', '磐石', 'e10adc3949ba59abbe56e057f20f883e', '429', '1', '0', '', null, null, '5', '管理层', null, null, null, '信呼开发团队/管理层', null, null, '董事长', '0', '[1],[5]', null, '2,3', '15800000003', '1', '2015-11-01', null, null, null, null, null, '0', 'panshi', null, '1', '0', null, '1', null, '1,2,3,4', '0', '1');
INSERT INTO `xinhu_admin` VALUES ('6', null, 'zhangfei', '张飞', 'e10adc3949ba59abbe56e057f20f883e', '200', '1', '0', '', null, null, '2', '开发部', null, null, null, '信呼开发团队/开发部', '7', '赵子龙', '程序员', '100', '[1],[2]', '[5],[1],[7]', '1', '15800000004', '1', '2017-07-01', null, '2016-11-01 20:15:52', null, null, null, '0', 'zhangfei', null, '1', '0', null, '1', null, null, '0', '0');
INSERT INTO `xinhu_admin` VALUES ('7', null, 'zhaozl', '赵子龙', 'e10adc3949ba59abbe56e057f20f883e', '241', '1', '0', '', null, null, '2', '开发部', null, null, null, '信呼开发团队/开发部', '1', '管理员', '高级程序员', '100', '[1],[2]', '[5],[1]', '1', '15800000005', '1', '2016-07-01', null, '2017-06-28 15:34:26', null, null, null, '0', 'zhaozilong', null, '1', '0', null, '1', null, null, '0', '0');
INSERT INTO `xinhu_admin` VALUES ('8', null, 'xinhu', '信呼客服', '6846860684f05029abccc09a53cd66f1', '419', '1', '1', '', null, null, '2', '开发部', null, null, null, '信呼开发团队/开发部', '1', '管理员', '客服', '200', '[1],[2]', '[5],[1]', '1,4', '15800000006', '1', '2018-12-12', null, null, null, 'rainrock829', null, '0', 'xinhukefu', null, '1', '0', null, '1', null, '2', '0', '1');
INSERT INTO `xinhu_admin` VALUES ('4', null, 'daqiao', '大乔', 'e10adc3949ba59abbe56e057f20f883e', '403', '1', '0', '', null, null, '4', '行政人事部', '3', '财务部', '会计', '信呼开发团队/行政人事部', '5', '磐石', '人事主管', '1', '[1],[4],[3]', '[5]', '1,3', '15800000002', '1', '2017-07-01', null, '2016-10-20 22:27:51', null, null, null, '0', 'daqiao', null, '2', '0', null, '1', null, null, '0', '1');
INSERT INTO `xinhu_admin` VALUES ('5', null, 'rock', '磐石', 'e10adc3949ba59abbe56e057f20f883e', '435', '1', '0', '', null, null, '5', '管理层', null, null, null, '信呼开发团队/管理层', null, null, '董事长', '0', '[1],[5]', null, '2,3', '15800000003', '1', '2015-11-01', null, null, null, null, null, '0', 'panshi', null, '1', '0', null, '1', null, '1,2,3,4', '0', '1');
INSERT INTO `xinhu_admin` VALUES ('6', null, 'zhangfei', '张飞', 'e10adc3949ba59abbe56e057f20f883e', '203', '1', '0', '', null, null, '2', '开发部', null, null, null, '信呼开发团队/开发部', '7', '赵子龙', '程序员', '100', '[1],[2]', '[5],[1],[7]', '1', '15800000004', '1', '2017-07-01', null, '2016-11-01 20:15:52', null, null, null, '0', 'zhangfei', null, '1', '0', null, '1', null, null, '0', '0');
INSERT INTO `xinhu_admin` VALUES ('7', null, 'zhaozl', '赵子龙', 'e10adc3949ba59abbe56e057f20f883e', '242', '1', '0', '', null, null, '2', '开发部', null, null, null, '信呼开发团队/开发部', '1', '管理员', '高级程序员', '100', '[1],[2]', '[5],[1]', '1', '15800000005', '1', '2016-07-01', null, '2017-06-28 15:34:26', null, null, null, '0', 'zhaozilong', null, '1', '0', null, '1', null, null, '0', '0');
INSERT INTO `xinhu_admin` VALUES ('8', null, 'xinhu', '信呼客服', '6846860684f05029abccc09a53cd66f1', '420', '1', '1', '', null, null, '2', '开发部', null, null, null, '信呼开发团队/开发部', '1', '管理员', '客服', '200', '[1],[2]', '[5],[1]', '1,4', '15800000006', '1', '2018-12-12', null, null, null, 'rainrock829', null, '0', 'xinhukefu', null, '1', '0', null, '1', null, '2', '0', '1');
-- ----------------------------
-- Table structure for `xinhu_assetm`
@@ -116,7 +116,7 @@ CREATE TABLE `xinhu_assetm` (
-- Records of xinhu_assetm
-- ----------------------------
INSERT INTO `xinhu_assetm` VALUES ('1', '204', '公用打印机', 'DYJ-001', '联想', null, '购入', null, null, '0', '1', null, '管理员', '2020-04-20 20:45:41', '2020-04-21 11:13:18', null, '0.00', '1', '1', 'd1', '信呼开发团队', 'images/noimg.jpg', '1', '前台');
INSERT INTO `xinhu_assetm` VALUES ('2', '355', '公用复印机', 'FYJ-001', '联想', null, '购入', null, null, '0', '0', null, '管理员', '2020-04-21 11:30:02', '2020-04-21 11:30:02', null, '0.00', '1', '1', null, null, null, '1', '前台');
INSERT INTO `xinhu_assetm` VALUES ('2', '355', '公用复印机', 'FYJ-001', '联想', null, '购入', null, null, '0', '1', null, '管理员', '2020-04-21 11:30:02', '2020-04-21 11:30:02', null, '0.00', '1', '1', 'd4', '行政人事部', null, '1', '前台');
-- ----------------------------
-- Table structure for `xinhu_bianjian`
@@ -373,8 +373,8 @@ CREATE TABLE `xinhu_chargems` (
-- ----------------------------
-- Records of xinhu_chargems
-- ----------------------------
INSERT INTO `xinhu_chargems` VALUES ('1', '0', '1', '2016-12-28 15:24:19', '2022-09-05 15:54:23', null, '1');
INSERT INTO `xinhu_chargems` VALUES ('2', '1', '1', '2016-12-28 15:21:14', '2022-09-05 15:54:23', null, '0');
INSERT INTO `xinhu_chargems` VALUES ('1', '0', '1', '2016-12-28 15:24:19', '2022-09-29 15:30:50', null, '1');
INSERT INTO `xinhu_chargems` VALUES ('2', '1', '1', '2016-12-28 15:21:14', '2022-09-29 15:30:50', null, '0');
-- ----------------------------
-- Table structure for `xinhu_city`
@@ -1023,7 +1023,7 @@ CREATE TABLE `xinhu_fininfom` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` tinyint(2) DEFAULT '0' COMMENT '类型@0|报销单,1|出差报销,2|借款单,3|还款单,4|付款申请,5|开票申请',
`uid` int(11) DEFAULT NULL,
`money` decimal(10,2) DEFAULT '0.00' COMMENT '金额',
`money` decimal(10,2) DEFAULT '0.00' COMMENT '报销金额',
`moneycn` varchar(100) DEFAULT NULL COMMENT '大写金额',
`optdt` datetime DEFAULT NULL COMMENT '操作时间',
`optid` int(11) DEFAULT NULL,
@@ -1176,7 +1176,7 @@ CREATE TABLE `xinhu_flow_bill` (
KEY `table` (`table`,`mid`) USING BTREE,
KEY `status` (`status`),
KEY `modeid` (`modeid`)
) ENGINE=MyISAM AUTO_INCREMENT=326 DEFAULT CHARSET=utf8 COMMENT='流程单据';
) ENGINE=MyISAM AUTO_INCREMENT=367 DEFAULT CHARSET=utf8 COMMENT='流程单据';
-- ----------------------------
-- Records of xinhu_flow_bill
@@ -1292,6 +1292,13 @@ INSERT INTO `xinhu_flow_bill` VALUES ('302', 'YS-20220315-001', 'demo', '19', '7
INSERT INTO `xinhu_flow_bill` VALUES ('323', 'PL-20220901001', 'planm', '1', '133', '工作计划', '管理员', '1', '2', '开发部', '2022-09-01 20:38:05', '1', '管理员', '1,4', '0', '1', '2022-09-01', '管理员处理发布', '1', '0', null, null, null, '2022-09-01 22:33:07', '2022-09-01 20:13:40', '0', '1');
INSERT INTO `xinhu_flow_bill` VALUES ('324', 'PL-20220902001', 'planm', '2', '133', '工作计划', '管理员', '1', '2', '开发部', '2022-09-02 15:07:31', '1', '管理员', '1,4', '0', '1', '2022-09-02', '管理员处理发布', '1', '0', null, null, null, '2022-09-03 18:20:14', '2022-09-02 15:07:31', '0', '1');
INSERT INTO `xinhu_flow_bill` VALUES ('325', 'PL-20220904001', 'planm', '3', '133', '工作计划', '大乔', '4', '4', '行政人事部', '2022-09-04 12:17:25', '4', '大乔', '4', '0', '1', '2022-09-04', '大乔处理发布', '1', '0', null, null, null, '2022-09-04 12:19:01', '2022-09-04 12:17:25', '0', '1');
INSERT INTO `xinhu_flow_bill` VALUES ('327', 'CF-20220916-001', 'planm', '5', '134', '固定资产领用', '管理员', '1', '2', '开发部', '2022-09-16 10:37:03', '1', '管理员', '1,4', '0', '1', '2022-09-16', '管理员处理同意', '1', '0', null, null, null, '2022-09-16 10:37:23', '2022-09-16 10:37:03', '0', '1');
INSERT INTO `xinhu_flow_bill` VALUES ('328', 'CF-20220916-002', 'planm', '6', '134', '固定资产领用', '管理员', '1', '2', '开发部', '2022-09-16 12:15:17', '1', '管理员', '4', '0', '1', '2022-09-16', '大乔处理同意', '1', '0', null, null, null, '2022-09-16 14:28:12', '2022-09-16 12:15:17', '0', '1');
INSERT INTO `xinhu_flow_bill` VALUES ('329', 'KB-20220916-001', 'kqinfo', '160', '6', '加班单', '管理员', '1', '2', '开发部', '2022-09-16 20:26:43', '1', '管理员', '5', '0', '0', '2022-09-16', '待磐石处理', '0', '3', '5', '磐石', null, '2022-09-16 20:26:43', '2022-09-16 20:26:43', '0', '1');
INSERT INTO `xinhu_flow_bill` VALUES ('360', 'CO-20220921001', 'planm', '7', '135', '信息收集', '管理员', '1', '2', '开发部', '2022-09-21 19:26:19', '1', '管理员', '5', '0', '1', '2022-09-21', '磐石处理同意', '1', '0', null, null, null, '2022-09-21 19:26:57', '2022-09-21 19:26:19', '0', '1');
INSERT INTO `xinhu_flow_bill` VALUES ('361', 'CP-20220921001', 'planm', '8', '136', '信息收集表', '管理员', '1', '2', '开发部', '2022-09-21 19:28:20', '1', '管理员', '1', '0', '1', '2022-09-21', '管理员处理同意', '1', '0', null, null, null, '2022-09-21 19:30:44', '2022-09-21 19:27:08', '0', '1');
INSERT INTO `xinhu_flow_bill` VALUES ('362', 'CP-20220921002', 'planm', '9', '136', '信息收集表', '张飞', '6', '2', '开发部', '2022-09-21 19:27:08', '6', '张飞', '1', '0', '0', '2022-09-21', '待管理员处理', '0', '147', '1', '管理员', null, '2022-09-21 19:27:08', '2022-09-21 19:27:08', '0', '0');
INSERT INTO `xinhu_flow_bill` VALUES ('366', 'CO-20220921002', 'planm', '13', '135', '信息收集', '管理员', '1', '2', '开发部', '2022-09-21 19:54:56', '1', '管理员', '5', '0', '0', '2022-09-21', '待磐石处理', '0', '146', '5', '磐石', null, '2022-09-21 19:54:56', '2022-09-21 19:54:56', '0', '0');
-- ----------------------------
-- Table structure for `xinhu_flow_chao`
@@ -1310,11 +1317,12 @@ CREATE TABLE `xinhu_flow_chao` (
KEY `modeid` (`modeid`),
KEY `uid` (`uid`),
KEY `table` (`table`,`mid`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='抄送表';
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='抄送表';
-- ----------------------------
-- Records of xinhu_flow_chao
-- ----------------------------
INSERT INTO `xinhu_flow_chao` VALUES ('3', '6', 'kqinfo', '160', '1', '管理员,大乔', '1,4', '0');
-- ----------------------------
-- Table structure for `xinhu_flow_checks`
@@ -1416,7 +1424,7 @@ CREATE TABLE `xinhu_flow_course` (
`csfwid` varchar(200) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `setid` (`setid`)
) ENGINE=MyISAM AUTO_INCREMENT=144 DEFAULT CHARSET=utf8 COMMENT='流程步骤表';
) ENGINE=MyISAM AUTO_INCREMENT=148 DEFAULT CHARSET=utf8 COMMENT='流程步骤表';
-- ----------------------------
-- Records of xinhu_flow_course
@@ -1511,6 +1519,10 @@ INSERT INTO `xinhu_flow_course` VALUES ('133', '0', '0', '122', '服务人员处
INSERT INTO `xinhu_flow_course` VALUES ('141', '0', '0', '133', '评审计划', null, 'field', 'psrenid', '评审人(psrenid)', '0', '0', 'cHNyZW5pZCBpcyBub3QgbnVsbA::', null, '2022-09-01 19:59:31', '1', null, '1', null, '0', '0', null, null, null, '0', '0', null, '0', '1', null, null, '0', '0', '0', '0', null, null);
INSERT INTO `xinhu_flow_course` VALUES ('142', '141', '0', '133', '执行人知悉', 'zhixi', 'field', 'runrenid', '执行人(runrenid)', '0', '0', null, null, '2022-09-01 22:24:27', '1', '知道了', '0', null, '0', '0', null, null, null, '0', '0', null, '0', '1', null, null, '0', '0', '0', '0', null, null);
INSERT INTO `xinhu_flow_course` VALUES ('143', '142', '0', '133', '发布执行', null, 'apply', null, null, '0', '0', null, null, '2022-09-01 20:41:55', '1', '发布,不发布', '1', null, '0', '0', null, null, null, '0', '0', null, '0', '1', null, null, '0', '0', '0', '0', null, null);
INSERT INTO `xinhu_flow_course` VALUES ('144', '0', '0', '134', '行政审批', null, 'user', '4', '大乔', '0', '0', null, null, '2022-09-15 20:43:09', '1', null, '1', null, '0', '0', null, null, null, '0', '0', null, '0', '1', null, null, '0', '0', '0', '0', null, null);
INSERT INTO `xinhu_flow_course` VALUES ('145', '144', '0', '134', '领用人确认', 'queren', 'auto', null, null, '0', '0', null, null, '2022-09-15 20:45:57', '1', null, '1', 'startdt', '0', '0', null, null, null, '0', '0', null, '0', '1', null, null, '0', '0', '0', '0', null, null);
INSERT INTO `xinhu_flow_course` VALUES ('146', '0', '0', '135', '上级审批', null, 'super', null, null, '0', '0', null, null, '2022-09-20 14:05:25', '1', null, '1', null, '0', '0', null, null, null, '0', '0', null, '0', '1', null, null, '0', '0', '0', '0', null, null);
INSERT INTO `xinhu_flow_course` VALUES ('147', '0', '0', '136', '评审人审批', null, 'field', 'psrenid', '评审人(psrenid)', '0', '0', null, null, '2022-09-20 16:53:27', '1', null, '1', null, '0', '0', null, null, null, '0', '0', null, '0', '1', null, null, '0', '0', '0', '0', null, null);
-- ----------------------------
-- Table structure for `xinhu_flow_element`
@@ -1549,7 +1561,7 @@ CREATE TABLE `xinhu_flow_element` (
PRIMARY KEY (`id`),
KEY `mid` (`mid`),
KEY `fields` (`fields`)
) ENGINE=MyISAM AUTO_INCREMENT=1476 DEFAULT CHARSET=utf8 COMMENT='模块元素';
) ENGINE=MyISAM AUTO_INCREMENT=1501 DEFAULT CHARSET=utf8 COMMENT='模块元素';
-- ----------------------------
-- Records of xinhu_flow_element
@@ -1671,7 +1683,7 @@ INSERT INTO `xinhu_flow_element` VALUES ('116', '11', '收款人全称', 'fullna
INSERT INTO `xinhu_flow_element` VALUES ('117', '11', '付款方式', 'paytype', 'rockcombo', '0', null, '1', 'paytype', '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('118', '11', '收款帐号', 'cardid', 'text', '0', '', '1', '', '1', '1', '', '0', '0', '', '', '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('119', '11', '开户行', 'openbank', 'text', '0', null, '1', null, '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('120', '11', '报销金额', 'money', 'number', '0', '0', '1', null, '1', '1', null, '0', '0', null, null, '0', null, '1', '1', '0', '1', '1', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('120', '11', '报销金额', 'money', 'number', '0', '0', '1', null, '1', '1', null, '0', '0', null, null, '10', null, '1', '1', '0', '1', '1', null, null, '0', '0', '2', null);
INSERT INTO `xinhu_flow_element` VALUES ('121', '11', '大写金额', 'moneycn', 'text', '0', null, '1', null, '1', '1', null, '0', '0', null, null, '0', null, '0', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('122', '11', '发生日期', 'sdt', 'date', '0', null, '1', null, '1', '1', '', '1', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('123', '11', '报销项目', 'name', 'rockcombo', '0', null, '1', 'finaitems', '1', '1', null, '1', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
@@ -1719,7 +1731,7 @@ INSERT INTO `xinhu_flow_element` VALUES ('164', '28', '申请日期', 'applydt',
INSERT INTO `xinhu_flow_element` VALUES ('165', '28', '说明', 'explain', 'textarea', '1', null, '0', null, '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('166', '28', '类型', 'type', 'fixed', '2', '1', '0', null, '1', '0', null, '0', '0', null, null, '0', null, '0', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('168', '28', '供应商名称', 'custname', 'selectdatafalse', '3', null, '1', 'goods:getgys,custid', '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('169', '28', '采购金额', 'money', 'number', '5', '0', '1', null, '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '0', '0', '[{zb0.count}*{zb0.price}] - [{discount}]', null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('169', '28', '采购金额', 'money', 'number', '5', '0', '1', null, '1', '1', null, '0', '0', null, null, '10', null, '1', '0', '0', '0', '0', '[{zb0.count}*{zb0.price}] - [{discount}]', null, '0', '0', '2', null);
INSERT INTO `xinhu_flow_element` VALUES ('170', '28', '物品', 'temp_aid', 'selectdatatrue', '0', null, '1', 'getgoodsdata,aid', '1', '1', null, '1', '0', '', '', '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('171', '28', '采购数量', 'count', 'number', '2', null, '1', '', '1', '1', '', '1', '0', '', '', '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('172', '28', '单位', 'unit', 'text', '3', null, '0', null, '1', '1', 'readonly', '1', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
@@ -2596,6 +2608,31 @@ INSERT INTO `xinhu_flow_element` VALUES ('1472', '133', '执行人', 'zxren', 'c
INSERT INTO `xinhu_flow_element` VALUES ('1473', '133', '执行时间', 'zxtime', 'datetime', '2', null, '0', null, '1', '1', null, '1', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1474', '133', '说明', 'explain', 'textarea', '6', null, '0', null, '1', '1', null, '0', '0', null, null, '500', null, '0', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1475', '133', '执行状态', 'state', 'select', '7', '0', '0', '0|待执行,1|已完成,2|执行中', '0', '1', null, '0', '0', null, null, '0', null, '1', '1', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1476', '134', '领用者', 'runren', 'changedeptusercheck', '0', '{admin}|u{uid}', '1', 'runrenid', '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1477', '134', '说明', 'explain', 'textarea', '10', null, '0', null, '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1478', '134', '领用时间', 'startdt', 'datetime', '0', null, '0', null, '1', '1', null, '0', '0', null, null, '0', null, '1', '1', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1479', '134', '资产项目', 'pitem', 'selectdatafalse', '0', null, '1', 'assetmlydata,itemid', '1', '1', null, '1', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1480', '134', '领用说明', 'zxren', 'text', '0', null, '0', null, '1', '1', null, '1', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1481', '134', '领用资产', 'contentlist', 'text', '0', null, '0', null, '0', '0', null, '0', '0', null, null, '0', null, '1', '0', '1', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1482', '134', '领用状态', 'state', 'select', '11', null, '0', '0|待领取,1|已领取,2|已归还', '0', '1', null, '0', '0', null, null, '0', null, '1', '1', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1483', '134', '资产id', 'itemid', 'hidden', '0', '0', '0', null, '1', '0', null, '1', '0', null, null, '0', null, '0', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1484', '41', '领用记录', 'lycount', 'text', '35', null, '0', null, '0', '1', null, '0', '0', null, null, '0', null, '0', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1485', '135', '收集名称', 'name', 'text', '0', null, '1', null, '1', '1', null, '0', '0', null, null, '100', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1486', '135', '收集对象', 'runren', 'changedeptusercheck', '0', null, '1', 'runrenid', '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1487', '135', '开始时间', 'startdt', 'datetime', '0', '{now}', '1', null, '1', '1', null, '0', '0', null, null, '0', null, '1', '1', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1488', '135', '截止时间', 'enddt', 'datetime', '0', '{now+1}', '1', null, '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1489', '135', '说明', 'explain', 'textarea', '0', null, '0', null, '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1490', '135', '字段名称', 'pitem', 'text', '0', null, '1', null, '1', '1', null, '1', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1491', '135', '字段类型', 'zxren', 'rockcombo', '0', 'text', '0', 'flowinputtype,value', '1', '1', null, '1', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1492', '135', '说明/数据源', 'zxrenid', 'text', '0', null, '0', null, '1', '1', null, '1', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1493', '135', '状态', 'state', 'select', '0', null, '0', '0|待发布,1|已发布', '0', '1', null, '0', '0', null, null, '0', null, '1', '1', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1494', '135', '总人数', 'leixing', 'number', '0', null, '0', null, '0', '1', null, '0', '0', null, null, '0', null, '1', '1', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1495', '136', '收集名称', 'name', 'text', '0', null, '1', null, '1', '1', 'readonly', '0', '0', null, null, '100', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1496', '136', '说明', 'explain', 'textarea', '20', null, '0', null, '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1497', '136', '操作时间', 'optdt', 'datetime', '21', null, '0', null, '0', '1', null, '0', '0', null, null, '0', null, '1', '1', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1498', '136', '截止时间', 'enddt', 'datetime', '25', null, '0', null, '0', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1499', '136', '评审人', 'psren', 'changeuser', '0', null, '1', 'psrenid', '1', '1', null, '0', '0', null, null, '0', null, '1', '0', '0', '1', '0', null, null, '0', '0', '0', null);
INSERT INTO `xinhu_flow_element` VALUES ('1500', '135', '是否必填', 'itemid', 'checkbox', '0', null, '0', null, '1', '1', null, '1', '0', null, null, '0', null, '1', '0', '0', '0', '0', null, null, '0', '0', '0', null);
-- ----------------------------
-- Table structure for `xinhu_flow_extent`
@@ -2876,7 +2913,7 @@ CREATE TABLE `xinhu_flow_log` (
`iszb` tinyint(1) DEFAULT '0' COMMENT '是否转办记录',
PRIMARY KEY (`id`),
KEY `table` (`table`,`mid`)
) ENGINE=MyISAM AUTO_INCREMENT=4370 DEFAULT CHARSET=utf8 COMMENT='单据操作记录';
) ENGINE=MyISAM AUTO_INCREMENT=4459 DEFAULT CHARSET=utf8 COMMENT='单据操作记录';
-- ----------------------------
-- Records of xinhu_flow_log
@@ -3316,7 +3353,16 @@ INSERT INTO `xinhu_flow_log` VALUES ('4313', 'custfina', '11', '0', '已付款',
INSERT INTO `xinhu_flow_log` VALUES ('4312', 'custfina', '12', '1', null, '提交', '0', '2022-05-25 21:31:11', null, '127.0.0.1', 'Chrome', '管理员', '1', '36', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4311', 'custfina', '11', '1', null, '提交', '0', '2022-05-25 21:30:53', null, '127.0.0.1', 'Chrome', '管理员', '1', '57', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4326', 'infor', '6', '1', null, '评论', '0', '2022-08-20 15:02:32', '不错\n哈哈\n哈哈2', '127.0.0.1', 'Chrome', '管理员', '1', '1', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4390', 'kqinfo', '160', '1', null, '提交', '0', '2022-09-16 20:26:43', null, '127.0.0.1', 'Chrome', '管理员', '1', '6', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4389', 'planm', '6', '1', '同意', '领用人确认', '145', '2022-09-16 14:28:12', null, 'unknow', 'Chrome', '大乔', '4', '134', 'green', '1', '2', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4388', 'planm', '6', '1', '同意', '行政审批', '144', '2022-09-16 14:27:54', null, 'unknow', 'Chrome', '大乔', '4', '134', 'green', '1', '1', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4387', 'planm', '6', '1', null, '提交', '0', '2022-09-16 12:15:17', null, '127.0.0.1', 'Chrome', '管理员', '1', '134', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4386', 'planm', '5', '0', null, '归还领用资产', '0', '2022-09-16 11:22:22', null, '127.0.0.1', 'Chrome', '管理员', '1', '134', 'blue', '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4385', 'planm', '5', '0', null, '归还领用资产', '0', '2022-09-16 11:14:38', '好的', '127.0.0.1', 'Chrome', '管理员', '1', '134', 'blue', '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4384', 'planm', '5', '1', '同意', '领用人确认', '145', '2022-09-16 10:37:23', null, '127.0.0.1', 'Chrome', '管理员', '1', '134', 'green', '1', '2', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4382', 'planm', '5', '1', null, '提交', '0', '2022-09-16 10:37:03', null, '127.0.0.1', 'Chrome', '管理员', '1', '134', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4354', 'planm', '1', '1', null, '提交', '0', '2022-09-01 20:13:40', null, '127.0.0.1', 'Chrome', '管理员', '1', '133', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4383', 'planm', '5', '1', '同意', '行政审批', '144', '2022-09-16 10:37:15', null, 'unknow', 'Chrome', '大乔', '4', '134', 'green', '1', '1', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4358', 'planm', '1', '1', '同意', '评审计划', '141', '2022-09-01 22:31:25', null, 'unknow', 'Chrome', '大乔', '4', '133', 'green', '1', '1', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4359', 'planm', '1', '1', '知道了', '执行人知悉', '142', '2022-09-01 22:31:33', null, 'unknow', 'Chrome', '大乔', '4', '133', null, '1', '2', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4360', 'planm', '1', '1', '知道了', '执行人知悉', '142', '2022-09-01 22:32:52', null, '127.0.0.1', 'Chrome', '管理员', '1', '133', null, '1', '2', null, '0');
@@ -3327,6 +3373,15 @@ INSERT INTO `xinhu_flow_log` VALUES ('4364', 'planm', '2', '1', '发布', '发
INSERT INTO `xinhu_flow_log` VALUES ('4365', 'planm', '3', '1', null, '提交', '0', '2022-09-04 12:17:25', null, 'unknow', 'Chrome', '大乔', '4', '133', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4366', 'planm', '3', '1', '知道了', '执行人知悉', '142', '2022-09-04 12:18:56', null, 'unknow', 'Chrome', '大乔', '4', '133', null, '1', '1', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4367', 'planm', '3', '1', '发布', '发布执行', '143', '2022-09-04 12:19:01', null, 'unknow', 'Chrome', '大乔', '4', '133', null, '1', '2', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4371', 'meet', '9', '1', null, '提交', '0', '2022-09-09 16:31:19', null, '192.168.1.247', 'ding', '管理员', '1', '54', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4370', 'meet', '8', '1', null, '提交', '0', '2022-09-09 15:31:30', null, '127.0.0.1', 'Chrome', '管理员', '1', '2', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4452', 'planm', '7', '0', null, '复制此记录', '0', '2022-09-21 19:52:02', null, '127.0.0.1', 'Chrome', '管理员', '1', '135', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4456', 'planm', '7', '0', null, '复制此记录', '0', '2022-09-21 19:54:56', null, '127.0.0.1', 'Chrome', '管理员', '1', '135', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4450', 'planm', '7', '0', null, '复制此记录', '0', '2022-09-21 19:51:42', null, '127.0.0.1', 'Chrome', '管理员', '1', '135', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4449', 'planm', '8', '1', '同意', '评审人审批', '147', '2022-09-21 19:30:44', null, '127.0.0.1', 'Chrome', '管理员', '1', '136', 'green', '1', '1', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4443', 'planm', '7', '1', null, '提交', '0', '2022-09-21 19:26:19', null, '127.0.0.1', 'Chrome', '管理员', '1', '135', null, '1', '0', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4444', 'planm', '7', '1', '同意', '上级审批', '146', '2022-09-21 19:26:57', null, 'unknow', 'Chrome', '磐石', '5', '135', 'green', '1', '1', null, '0');
INSERT INTO `xinhu_flow_log` VALUES ('4445', 'planm', '7', '0', null, '生成收集表', '0', '2022-09-21 19:27:08', null, '127.0.0.1', 'Chrome', '管理员', '1', '135', null, '1', '0', null, '0');
-- ----------------------------
-- Table structure for `xinhu_flow_menu`
@@ -3354,7 +3409,7 @@ CREATE TABLE `xinhu_flow_menu` (
`iszs` tinyint(1) DEFAULT '0' COMMENT '是否在详情页面显示',
PRIMARY KEY (`id`),
KEY `setid` (`setid`)
) ENGINE=MyISAM AUTO_INCREMENT=80 DEFAULT CHARSET=utf8 COMMENT='单据操作菜单';
) ENGINE=MyISAM AUTO_INCREMENT=83 DEFAULT CHARSET=utf8 COMMENT='单据操作菜单';
-- ----------------------------
-- Records of xinhu_flow_menu
@@ -3409,6 +3464,9 @@ INSERT INTO `xinhu_flow_menu` VALUES ('64', '发邮件给客户', null, '0', nul
INSERT INTO `xinhu_flow_menu` VALUES ('67', '客户确认', 'openqren', '0', null, null, '0', null, '35', 'MT0yIGFuZCBgaXNxcmA9MA::', null, '1', '1', '0', '1', null, null, null, '0');
INSERT INTO `xinhu_flow_menu` VALUES ('68', '客户评论', 'openpl', '0', null, null, '0', null, '35', 'MT0yIGFuZCAxPTE:', null, '1', '1', '1', '1', null, null, null, '0');
INSERT INTO `xinhu_flow_menu` VALUES ('69', '标识已完成', 'noupno1', '0', null, 'green', '1', null, '82', 'YHVpZGA9e3VpZH0gYW5kIGBzdGF0ZWA9Mg::', null, '1', '1', '0', '1', null, null, 'YHN0YXRlYD0xLGBvcHRkdGA9J3tub3d9Jw::', '0');
INSERT INTO `xinhu_flow_menu` VALUES ('80', '归还领用资产', 'guihainoup', '0', null, 'blue', '0', null, '134', 'YHN0YXRlYD0xIGFuZCBgc3RhdHVzYD0x', null, '1', '1', '0', '1', null, null, null, '1');
INSERT INTO `xinhu_flow_menu` VALUES ('81', '生成收集表', 'noupcreate', '0', null, 'blue', '0', null, '135', 'c3RhdHVzPTEgYW5kIHN0YXRlPTA:', null, '1', '1', '0', '1', null, null, null, '0');
INSERT INTO `xinhu_flow_menu` VALUES ('82', '复制此记录', 'noupfuzhi', '0', null, null, '0', null, '135', 'YHN0YXR1c2A8PjU:', null, '1', '1', '0', '1', null, null, null, '0');
-- ----------------------------
-- Table structure for `xinhu_flow_modetpl`
@@ -3518,7 +3576,7 @@ CREATE TABLE `xinhu_flow_set` (
`sortdir` varchar(50) DEFAULT NULL COMMENT '默认排序',
`isys` tinyint(1) DEFAULT '0' COMMENT '提请预审',
PRIMARY KEY (`id`,`num`)
) ENGINE=MyISAM AUTO_INCREMENT=134 DEFAULT CHARSET=utf8 COMMENT='流程模块';
) ENGINE=MyISAM AUTO_INCREMENT=137 DEFAULT CHARSET=utf8 COMMENT='流程模块';
-- ----------------------------
-- Records of xinhu_flow_set
@@ -3528,7 +3586,7 @@ INSERT INTO `xinhu_flow_set` VALUES ('2', '会议', 'meet', '2', 'meet', '`type`
INSERT INTO `xinhu_flow_set` VALUES ('3', '工作日报', 'daily', '21', 'daily', null, '[{optname}]{content}', 'title:[{optname}]{dt}的{type}\noptdt:{optdt}\ncont:{content}', '基础', '1', '0', '0', '0', 'XC-Ymd-', '0', 'all', '全体人员', '2021-05-08 09:23:14', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '1', '0', '1', '1', '0', '1', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('4', '任务', 'work', '23', 'work', null, '[{type}]{title},分配给:{dist}', 'title:{title}\noptdt:{optdt}\ncont:类型:{type}[br]等级:{grade}[br]分配给:{dist}[br]创建者:{optname}[br]截止时间:{enddt}', '基础', '1', '0', '0', '0', 'XW-Ymd-', '1', 'all', '全体人员', '2021-04-01 10:18:34', '1', '1', null, null, '待?分配,已完成,无法完成,待?执行,?执行中,已作废,待?验证|blue', '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('5', '请假条', 'leave', '30', 'kqinfo', 'kind=[F]请假[F]', '[{qjkind}]{stime}→{etime}共{totals}小时,{explain}', 'title:[{qjkind}]共{totals}小时\ncont:时间:{stime}→{etime}[br]说明:{explain}\noptdt:{optdt}', '考勤', '1', '0', '0', '0', 'KA-Ymd-', '1', 'all', '全体人员', '2019-09-23 17:02:28', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '1', '0', '0', '1', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('6', '加班单', 'jiaban', '31', 'kqinfo', 'kind=[F]加班[F]', '{stime}→{etime}共加班{totals}小时,{explain}', 'title:加班共{totals}小时\ncont:时间:{stime}→{etime}[br]说明:{explain}\noptdt:{optdt}', '考勤', '1', '0', '0', '0', 'KB-Ymd-', '1', 'all', '全体人员', '2020-06-08 15:15:30', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('6', '加班单', 'jiaban', '31', 'kqinfo', 'kind=[F]加班[F]', '{stime}→{etime}共加班{totals}小时,{explain}', 'title:加班共{totals}小时\ncont:时间:{stime}→{etime}[br]说明:{explain}\noptdt:{optdt}', '考勤', '1', '0', '0', '0', 'KB-Ymd-', '1', 'all', '全体人员', '2022-09-16 20:26:16', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '1', '0', '1', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('7', '客户管理', 'customer', '50', 'customer', null, '{name}', 'title:{name}\noptdt:{optdt}\ncont:来源:{laiyuan}[br]操作人:{optname}[br]共享给:{shate}', '客户', '1', '0', '0', '0', 'CA-Ymd-', '0', 'all', '全体人员', '2022-04-18 18:24:06', '1', '1', null, null, '停用,启用', '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('8', '销售机会', 'custsale', '52', 'custsale', null, null, 'title:{custname}\noptdt:{optdt}\ncont:来源:{laiyuan}[br]销售人:{optname}[br]申请日期:{applydt}[br]预计金额:{money}', '客户', '1', '0', '0', '0', 'CB-Ymd-', '0', 'all', '全体人员', '2019-06-07 19:13:49', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('9', '物品', 'goods', '80', 'goods', null, '名称:{name},编号:{num}', 'title:{name}\ncont:编号:{num}[br]规格:{guige}[br]型号:{xinghao}[br]库存:{stock}{unit}', '物品', '1', '0', '0', '0', 'CC-Ymd-', '0', 'all', '全体人员', '2020-05-30 18:50:17', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', null, '0');
@@ -3563,7 +3621,7 @@ INSERT INTO `xinhu_flow_set` VALUES ('37', '调薪申请', 'hrtrsalary', '66', '
INSERT INTO `xinhu_flow_set` VALUES ('38', '人事调动', 'hrtransfer', '67', 'hrtransfer', null, '[{tranname}]【{trantype}】:{olddeptname}→{newdeptname},{oldranking}→{newranking}', null, '人事', '1', '0', '0', '0', 'HE-Ymd-', '1', 'all', '全体人员', '2019-06-06 17:03:36', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('39', '奖惩处罚', 'reward', '68', 'reward', null, '对【{object}】的{atype},奖惩结果:{result},金额:{money}', null, '人事', '1', '0', '0', '0', 'HF-Ymd-', '1', 'all', '全体人员', '2019-06-06 17:03:40', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('40', '知识', 'knowledge', '75', 'knowledge', null, '{title}', 'title:{title}\noptdt:{optdt}', '资源', '0', '0', '0', '0', null, '0', 'all', '全体人员', '2019-06-05 18:11:27', '1', '1', null, null, null, '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('41', '固定资产', 'assetm', '7', 'assetm', null, null, 'title:{title}\ncont:所在位置:{address}[br]编号:{num}[br]状态:{state}[br]使用者:{usename}', '行政', '0', '0', '0', '0', 'CF-Ymd-', '0', 'all', '全体人员', '2020-05-30 18:56:52', '1', '0', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('41', '固定资产', 'assetm', '6', 'assetm', null, null, 'title:{title}\ncont:所在位置:{address}[br]编号:{num}[br]状态:{state}[br]使用者:{usename}', '行政', '0', '0', '0', '0', 'CF-Ymd-', '0', 'all', '全体人员', '2020-05-30 18:56:52', '1', '0', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('42', '车辆管理', 'carm', '121', 'carm', null, null, null, '车辆', '0', '0', '0', '0', 'CH-Ymd-', '0', 'all', '全体人员', '2019-06-07 13:32:06', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('43', '题库', 'knowtiku', '76', 'knowtiku', null, null, 'title:[{typename}]{title}\ncont:A{ana}[br]B{anb}[br]C{anc}[br]D{and}[br]E{ane}', '资源', '0', '0', '0', '0', null, '0', 'all', '全体人员', '2019-06-22 20:21:52', '1', '1', null, null, null, '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('44', '车辆预定', 'carmrese', '123', 'carmrese', null, '{usename}预定车辆【{carnum}】在{startdt}前往{address}', null, '车辆', '1', '0', '0', '0', 'CJ-Ymd-', '1', 'all', '全体人员', '2019-06-07 13:32:15', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', null, '0');
@@ -3620,7 +3678,10 @@ INSERT INTO `xinhu_flow_set` VALUES ('116', '注册审核', 'regcheck', '913', '
INSERT INTO `xinhu_flow_set` VALUES ('82', '便笺', 'bianjian', '29', 'bianjian', null, '{content}', 'optdt:{suodt}\ncont:{content}', '基础', '0', '0', '0', '0', null, '0', 'all', '全体人员', '2021-08-31 18:45:45', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('122', '客户服务', 'custfuwu', '57', 'custappy', 'dtype=1', '{custname}服务金额:{money}', 'title:{custname}\noptdt:{optdt}\ncont:{explain}<br>金额:{money}', '客户', '0', '0', '0', '0', 'CG-Ymd-', '1', 'all', '全体人员', '2021-11-25 14:15:45', '1', '1', null, null, '待?处理,已完成,未完成', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('57', '付款单', 'custfinb', '54', 'custfina', 'type=1', '日期[{dt}],{custname},{ispay}', 'title:{custname}\noptdt:{optdt}\ncont:金额:{money}[br]对应合同:{htnum}', '客户', '0', '0', '0', '0', 'CD-Ymd-', '0', 'all', '全体人员', '2022-05-25 20:56:37', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('133', '工作计划', 'planm', '30', 'planm', null, '{name},执行人:{runren}', 'title:{name}\ncont:执行人:{runren}[br]开始时间:{startdt}[br]评审人:{psren}[br]执行状态:{state}', '基础', '0', '0', '0', '0', 'PL-Ymd', '1', 'all', '全体人员', '2022-09-04 17:28:18', '1', '1', 'plans', '计划事项', '待?处理,已发布,未通过', '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('133', '工作计划', 'planm', '30', 'planm', 'type=0', '{name},执行人:{runren}', 'title:{name}\ncont:执行人:{runren}[br]开始时间:{startdt}[br]评审人:{psren}[br]执行状态:{state}', '基础', '0', '0', '0', '0', 'PL-Ymd', '1', 'all', '全体人员', '2022-09-09 16:54:30', '1', '1', 'plans', '计划事项', '待?处理,已发布,未通过', '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('134', '固定资产领用', 'assetmly', '7', 'planm', 'type=1', '领用者:{runren},领用资产:{contentlist}', 'cont:领用者:{runren}[br]领用资产:{contentlist}[br]领用状态:{state}', '行政', '0', '0', '0', '0', 'CF-Ymd-', '1', 'all', '全体人员', '2022-09-15 22:29:55', '1', '1', 'plans', '领用资产', null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('135', '信息收集', 'collectm', '17', 'planm', 'type=2', '{name},收集对象:{runren}', 'title:{name}\noptdt:{startdt}\ncont:收集对象:{runren}[br]人数:{leixing}', '行政', '1', '0', '0', '0', 'CO-Ymd', '1', 'all', '全体人员', '2022-09-20 15:28:30', '1', '0', 'plans', '收集字段', null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', null, '0');
INSERT INTO `xinhu_flow_set` VALUES ('136', '信息收集表', 'collects', '18', 'planm', 'type=3', '{name},评审人:{psren}', 'title:{name}\noptdt:{startdt}\ncont:评审人:{psren}[br]截止时间:{enddt}', '行政', '1', '0', '0', '0', 'CP-Ymd', '1', 'all', '全体人员', '2022-09-20 21:09:08', '1', '1', null, null, null, '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', null, '0');
-- ----------------------------
-- Table structure for `xinhu_flow_todo`
@@ -3728,7 +3789,7 @@ CREATE TABLE `xinhu_flow_where` (
`syrname` varchar(200) DEFAULT NULL COMMENT '此条件可适用对象',
PRIMARY KEY (`id`),
KEY `setid` (`setid`)
) ENGINE=MyISAM AUTO_INCREMENT=371 DEFAULT CHARSET=utf8 COMMENT='单据条件';
) ENGINE=MyISAM AUTO_INCREMENT=380 DEFAULT CHARSET=utf8 COMMENT='单据条件';
-- ----------------------------
-- Records of xinhu_flow_where
@@ -4012,10 +4073,19 @@ INSERT INTO `xinhu_flow_where` VALUES ('341', '122', 'myfw', null, '服务人员
INSERT INTO `xinhu_flow_where` VALUES ('342', '122', 'all', 'all', '所有客户服务', 'MT0x', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('354', '73', 'alljxc', 'alljxc', '仓库管理', 'MT0x', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('366', '133', 'mycj', null, '我的创建', 'YHVpZGA9e3VpZH0:', null, null, '2', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('367', '133', 'my', null, '我的计划待完成', 'e3J1bnJlbmlkLHJlY2Vub3R9IGFuZCBgc3RhdHVzYD0xIGFuZCBgc3RhdGVgPD4x', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('367', '133', 'my', null, '我的计划待完成', 'IGBzdGF0dXNgPTEgYW5kIGBzdGF0ZWA8PjEgYW5kIHtydW5yZW5pZCxyZWNlbm90fQ::', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('368', '133', 'bumen', null, '部门计划', 'MT0x', null, null, '2', '部门负责人才能显示数据', null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('369', '133', 'all', 'all', '所有工作计划', 'MT0x', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('370', '133', 'myxg', null, '我所有相关计划', 'e3J1bnJlbmlkLHJlY2Vub3R9', null, null, '1', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('371', '134', 'my', null, '我申请的领用', 'YHVpZGA9e3VpZH0:', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('372', '134', 'all', 'all', '所有领用申请', 'MT0x', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('373', '134', 'daigh', 'all', '待归还资产', 'YS5zdGF0dXM9MSBhbmQgYS5zdGF0ZT0x', null, null, '1', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('374', '134', 'myly', null, '领用者包含我', 'IHtydW5yZW5pZCxyZWNlbm90fQ::', null, null, '1', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('375', '135', 'all', 'all', '所有收集', 'MT0x', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('376', '135', 'my', null, '我的创建', 'YHVpZGA9e3VpZH0:', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('377', '136', 'my', null, '我的填写', 'YHVpZGA9e3VpZH0:', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('378', '136', 'all', 'all', '所有收集表', 'MT0x', null, null, '0', null, null, null, null, null, '1', '1', null, null);
INSERT INTO `xinhu_flow_where` VALUES ('379', '136', 'alljz', 'all', '已截止', 'YGVuZGR0YDx7bm93fQ::', null, null, '1', null, null, null, null, null, '1', '1', null, null);
-- ----------------------------
-- Table structure for `xinhu_godepot`
@@ -4059,7 +4129,7 @@ CREATE TABLE `xinhu_goodm` (
`status` tinyint(1) DEFAULT '1' COMMENT '状态',
`isturn` tinyint(1) DEFAULT '1' COMMENT '是否提交',
`type` tinyint(1) DEFAULT '0' COMMENT '0领用,1采购申请',
`money` decimal(10,2) DEFAULT '0.00' COMMENT '费用',
`money` decimal(10,2) DEFAULT '0.00' COMMENT '采购金额',
`custid` smallint(6) DEFAULT '0',
`custname` varchar(50) DEFAULT NULL COMMENT '供应商名称',
`discount` decimal(8,2) DEFAULT '0.00' COMMENT '优惠价格',
@@ -5021,13 +5091,13 @@ CREATE TABLE `xinhu_im_history` (
-- ----------------------------
-- Records of xinhu_im_history
-- ----------------------------
INSERT INTO `xinhu_im_history` VALUES ('1', 'group', '2', '2', '8', '2022-09-05 15:19:51', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('2', 'group', '2', '7', '8', '2022-09-05 15:19:51', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('3', 'group', '2', '6', '8', '2022-09-05 15:19:51', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('4', 'group', '2', '8', '8', '2022-09-05 15:19:51', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('5', 'group', '2', '5', '8', '2022-09-05 15:19:51', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('6', 'group', '2', '1', '8', '2022-09-05 15:19:51', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('7', 'group', '2', '4', '8', '2022-09-05 15:19:51', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('1', 'group', '2', '2', '8', '2022-09-29 15:16:12', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('2', 'group', '2', '7', '8', '2022-09-29 15:16:12', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('3', 'group', '2', '6', '8', '2022-09-29 15:16:12', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('4', 'group', '2', '8', '8', '2022-09-29 15:16:12', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('5', 'group', '2', '5', '8', '2022-09-29 15:16:12', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('6', 'group', '2', '1', '8', '2022-09-29 15:16:12', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
INSERT INTO `xinhu_im_history` VALUES ('7', 'group', '2', '4', '8', '2022-09-29 15:16:12', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '1', null, null, '0');
-- ----------------------------
-- Table structure for `xinhu_im_menu`
@@ -5268,7 +5338,7 @@ CREATE TABLE `xinhu_im_mess` (
-- ----------------------------
-- Records of xinhu_im_mess
-- ----------------------------
INSERT INTO `xinhu_im_mess` VALUES ('1', '2022-09-05 15:19:51', '1', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '8', '2', '2,7,6,8,5,1,4', 'group', null, '0', null);
INSERT INTO `xinhu_im_mess` VALUES ('1', '2022-09-29 15:16:12', '1', '5aSn5a625pyJ5ZWl6Zeu6aKY6L!Z6YeM6K!05ZWK77yB', '8', '2', '2,7,6,8,5,1,4', 'group', null, '0', null);
-- ----------------------------
-- Table structure for `xinhu_im_messzt`
@@ -5348,7 +5418,7 @@ CREATE TABLE `xinhu_infor` (
-- ----------------------------
INSERT INTO `xinhu_infor` VALUES ('1', '欢迎使用信呼工作台', '2018-04-26 17:27:10', '通知公告', '<p>\n 欢迎使用,有任何问题可以随时联系我们,帮你解答哦。&nbsp;\n</p>\n<p>\n 信呼是一款开源免费的工作台软件可添加应用管理pc上app都可以使用我们的代码全部开放可自由使用。\n</p>', null, null, null, '1', '管理员', null, null, '信呼开发团队', '2016-08-01', '1', null, '0', '0', '0', '0', null, null, '0', '0', '0');
INSERT INTO `xinhu_infor` VALUES ('2', '关于写日报制度说明', '2019-04-13 19:54:43', '规则制度', '<p>\n 1、每个人工作日在下班后必须写工作日报全天请假可不用写只要有上班就需要写即使你上班1分钟。\n</p>\n<p>\n 2、也可以隔天写。\n</p>\n<p>\n <strong>未写处罚</strong> \n</p>\n<p>\n 1、未写一次扣五块累计加倍。\n</p>', null, 'u1,u2,u3,u4,u5,u6,u7,u8,u9', null, '1', '管理员', null, null, '人力行政部', '2016-08-01', '1', 'images/kqbanner1.jpg', '0', '0', '0', '0', null, null, '0', '0', '0');
INSERT INTO `xinhu_infor` VALUES ('6', '信呼更新发布V2.3.9版本', '2022-09-05 14:49:27', '通知公告', '<p>\n 版本添加了发布如下功能啊。\n</p>\n<p>\n 1、系统功能完善。\n</p>\n<p>\n 2、更新了很多自己看<a href=\"http://www.rockoa.com/view_core.html\" target=\"_blank\">升级日志</a>。\n</p>', 'http://www.rockoa.com/view_down.html', 'u1,u6', '管理员,张飞', '1', '管理员', null, null, '信呼开发团队', '2022-09-05', '1', 'images/logo.png', '0', '0', '0', '1', null, null, '1', '1', '0');
INSERT INTO `xinhu_infor` VALUES ('6', '信呼更新发布V2.5.0版本', '2022-09-29 15:13:04', '通知公告', '<p>\n 版本添加了发布如下功能啊。\n</p>\n<p>\n 1、系统功能完善。\n</p>\n<p>\n 2、更新了很多自己看<a href=\"http://www.rockoa.com/view_core.html\" target=\"_blank\">升级日志</a>。\n</p>', 'http://www.rockoa.com/view_down.html', 'd1', '信呼开发团队', '1', '管理员', null, null, '信呼开发团队', '2022-09-29', '1', 'images/logo.png', '0', '0', '0', '1', null, null, '1', '1', '0');
INSERT INTO `xinhu_infor` VALUES ('9', '你们觉得这个系统如何?', '2019-06-03 13:17:05', '通知公告', '开始投票拉。', null, 'd1', '信呼开发团队', '1', '管理员', '2018-08-31 12:42:00', '2017-08-26 12:42:00', '开发部', '2017-08-26', '1', null, '1', '1', '0', '0', '2019-04-15', null, '1', '0', '0');
-- ----------------------------
@@ -5684,7 +5754,7 @@ CREATE TABLE `xinhu_kqinfo` (
PRIMARY KEY (`id`),
KEY `uid` (`uid`),
KEY `kind` (`kind`)
) ENGINE=MyISAM AUTO_INCREMENT=160 DEFAULT CHARSET=utf8 COMMENT='请假条加班单';
) ENGINE=MyISAM AUTO_INCREMENT=161 DEFAULT CHARSET=utf8 COMMENT='请假条加班单';
-- ----------------------------
-- Records of xinhu_kqinfo
@@ -5735,6 +5805,7 @@ INSERT INTO `xinhu_kqinfo` VALUES ('154', '2', '貂蝉', '2019-08-09 00:00:00',
INSERT INTO `xinhu_kqinfo` VALUES ('155', '1', '管理员', '2019-08-26 18:20:00', '2019-08-26 22:20:00', '加班', null, '好的', '1', '4.0', '2019-08-26 18:20:43', '1', '管理员', '1', '2019-08-26', '0.00', '0', '0.00', null, '1');
INSERT INTO `xinhu_kqinfo` VALUES ('157', '2', '貂蝉', '2020-07-01 13:59:00', '2020-07-31 13:59:00', '增加调休', null, null, '1', '8.0', '2020-07-16 13:59:49', '1', '管理员', '1', '2020-07-16', '0.00', '0', '1.00', null, '1');
INSERT INTO `xinhu_kqinfo` VALUES ('158', '1', '管理员', '2020-11-16 12:24:00', '2020-11-17 04:24:00', '加班', null, '啦啦啦', '1', '16.0', '2020-11-16 12:28:24', '1', '管理员', '1', '2020-11-16', '0.00', '0', '0.00', null, '1');
INSERT INTO `xinhu_kqinfo` VALUES ('160', '1', '管理员', '2022-09-15 20:26:00', '2022-09-16 20:26:00', '加班', null, '加班。', '0', '8.0', '2022-09-16 20:26:43', '1', '管理员', '1', '2022-09-16', '0.00', '0', '0.00', null, '1');
-- ----------------------------
-- Table structure for `xinhu_kqjcmd`
@@ -6051,7 +6122,7 @@ CREATE TABLE `xinhu_meet` (
`zcrenid` varchar(50) DEFAULT NULL,
`zcren` varchar(50) DEFAULT NULL COMMENT '主持人',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='会议';
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='会议';
-- ----------------------------
-- Records of xinhu_meet
@@ -6059,6 +6130,8 @@ CREATE TABLE `xinhu_meet` (
INSERT INTO `xinhu_meet` VALUES ('7', null, null, null, null, '2', '0', '0', null, null, '0', null, null, null, null, '0', null, null, null, null, null, '0', '0', null, null);
INSERT INTO `xinhu_meet` VALUES ('6', '会客室', '主题开会', '2020-07-08 13:30:00', '2020-07-08 15:20:00', '2', '1', '0', 'd1', '信呼开发团队', '0', '管理员', null, '1', '2020-07-08 13:21:04', '1', null, null, null, null, null, '0', '1', null, null);
INSERT INTO `xinhu_meet` VALUES ('5', '会客室', '关于国庆放假通知', '2020-07-07 11:15:00', '2020-07-07 16:15:00', '2', '1', '0', 'd1', '信呼开发团队', '0', '管理员', null, '1', '2020-06-30 11:13:57', '1', null, null, null, null, null, '0', '1', null, null);
INSERT INTO `xinhu_meet` VALUES ('8', '会客室', '关于开会使用', '2022-09-09 15:59:00', '2022-09-09 16:31:00', '2', '1', '0', 'd2', '开发部', '0', '管理员', null, '1', '2022-09-09 15:31:30', '1', '这是一个测试会议。', null, null, null, null, '0', '1', null, null);
INSERT INTO `xinhu_meet` VALUES ('9', null, '关于开会使用', null, null, '0', '1', '2', 'd2', null, '8', '管理员', null, '1', '2022-09-09 16:31:19', '1', null, null, null, null, '不错不错', '0', '1', null, null);
-- ----------------------------
-- Table structure for `xinhu_menu`
@@ -6082,7 +6155,7 @@ CREATE TABLE `xinhu_menu` (
`types` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `pid` (`pid`,`status`)
) ENGINE=MyISAM AUTO_INCREMENT=411 DEFAULT CHARSET=utf8 COMMENT='系统菜单';
) ENGINE=MyISAM AUTO_INCREMENT=417 DEFAULT CHARSET=utf8 COMMENT='系统菜单';
-- ----------------------------
-- Records of xinhu_menu
@@ -6216,7 +6289,7 @@ INSERT INTO `xinhu_menu` VALUES ('133', '我上传过的文件', '39', '6', 'sys
INSERT INTO `xinhu_menu` VALUES ('134', '知识信息管理', '19', '21', 'system,infor,zhishi', null, null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('135', '知识题库管理', '19', '22', 'system,infor,tiku', null, null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('136', '知识题库学习', '19', '24', 'system,infor,tikuxx', null, null, null, '0', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('137', '固定资产', '140', '11', 'flow,page,assetm,atype=all,pnum=all', 'laptop', null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('137', '固定资产列表', '411', '11', 'flow,page,assetm,atype=all,pnum=all', null, null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('138', '车辆管理', '140', '21', null, 'truck', null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('139', '图书管理', '140', '41', null, 'book', null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('140', '行政', '0', '7', null, null, null, null, '1', '1', null, '0', '0', '0', '0');
@@ -6401,6 +6474,12 @@ INSERT INTO `xinhu_menu` VALUES ('407', '工作计划授权查看', '410', '21',
INSERT INTO `xinhu_menu` VALUES ('408', '我的工作计划', '410', '6', 'flow,page,planm,atype=my', 'time', null, 'myplan', '0', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('409', '所有工作计划', '410', '30', 'flow,page,planm,atype=all,pnum=all', null, null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('410', '工作计划', '38', '20', null, null, null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('411', '固定资产', '140', '12', null, 'laptop', null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('412', '固定资产领用', '411', '20', 'flow,page,assetmly,atype=all,pnum=all', null, null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('413', '维修报修查看', '411', '30', 'flow,page,repair,atype=all,pnum=all', null, null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('414', '信息收集', '140', '10', null, null, null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('415', '信息收集管理', '414', '0', 'flow,page,collectm,atype=all,pnum=all', null, null, null, '1', '1', null, '0', '0', '0', '0');
INSERT INTO `xinhu_menu` VALUES ('416', '信息收集表', '414', '0', 'flow,page,collects,atype=all,pnum=all', null, null, null, '1', '1', null, '0', '0', '0', '0');
-- ----------------------------
-- Table structure for `xinhu_news`
@@ -6512,7 +6591,7 @@ CREATE TABLE `xinhu_option` (
PRIMARY KEY (`id`),
KEY `num` (`num`),
KEY `pid` (`pid`)
) ENGINE=MyISAM AUTO_INCREMENT=774 DEFAULT CHARSET=utf8 COMMENT='系统选项';
) ENGINE=MyISAM AUTO_INCREMENT=775 DEFAULT CHARSET=utf8 COMMENT='系统选项';
-- ----------------------------
-- Records of xinhu_option
@@ -6971,15 +7050,22 @@ CREATE TABLE `xinhu_planm` (
`runren` varchar(500) DEFAULT NULL COMMENT '执行人',
`runrenid` varchar(500) DEFAULT NULL COMMENT '执行人的ID',
`state` smallint(6) DEFAULT '0',
`type` smallint(6) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='工作计划';
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COMMENT='工作计划';
-- ----------------------------
-- Records of xinhu_planm
-- ----------------------------
INSERT INTO `xinhu_planm` VALUES ('1', '1', '2022-09-01 20:38:05', '1', '管理员', '2022-09-01', null, '1', '1', '1', '2022年09月份第1周工作计划', '4', '2022-09-01 20:13:15', '2022-09-01 20:13:19', '大乔', '4', '开发部,财务部', 'd2,d3', '1');
INSERT INTO `xinhu_planm` VALUES ('2', '1', '2022-09-02 15:07:31', '1', '管理员', '2022-09-02', null, '1', '1', '1', '2022年09月份工作计划', '3', '2022-09-02 15:03:00', '2022-09-30 15:06:00', null, null, '行政人事部', 'd4', '1');
INSERT INTO `xinhu_planm` VALUES ('3', '4', '2022-09-04 12:17:25', '4', '大乔', '2022-09-04', null, '1', '1', '2', '2022第3季度工作计划', '2', '2022-09-04 12:16:24', '2022-09-15 12:17:00', null, null, '财务部', 'd3', '2');
INSERT INTO `xinhu_planm` VALUES ('1', '1', '2022-09-01 20:38:05', '1', '管理员', '2022-09-01', null, '1', '1', '1', '2022年09月份第1周工作计划', '4', '2022-09-01 20:13:15', '2022-09-01 20:13:19', '大乔', '4', '开发部,财务部', 'd2,d3', '1', '0');
INSERT INTO `xinhu_planm` VALUES ('2', '1', '2022-09-02 15:07:31', '1', '管理员', '2022-09-02', null, '1', '1', '1', '2022年09月份工作计划', '3', '2022-09-02 15:03:00', '2022-09-30 15:06:00', null, null, '行政人事部', 'd4', '1', '0');
INSERT INTO `xinhu_planm` VALUES ('3', '4', '2022-09-04 12:17:25', '4', '大乔', '2022-09-04', null, '1', '1', '2', '2022第3季度工作计划', '2', '2022-09-04 12:16:24', '2022-09-15 12:17:00', null, null, '财务部', 'd3', '2', '0');
INSERT INTO `xinhu_planm` VALUES ('6', '1', '2022-09-16 12:15:17', '1', '管理员', '2022-09-16', null, '1', '1', '1', null, '0', '2022-09-16 14:28:00', null, null, null, '行政人事部', 'd4', '1', '1');
INSERT INTO `xinhu_planm` VALUES ('5', '1', '2022-09-16 10:37:03', '1', '管理员', '2022-09-16', null, '1', '1', '1', null, '0', '2022-09-16 10:36:00', null, null, null, '开发部', 'd2', '2', '1');
INSERT INTO `xinhu_planm` VALUES ('7', '1', '2022-09-21 19:26:19', '1', '管理员', '2022-09-21', null, '1', '1', '1', '疫情防控体温报备', '2', '2022-09-21 19:22:48', '2022-09-22 19:22:48', null, null, '张飞,管理员', 'u6,u1', '1', '2');
INSERT INTO `xinhu_planm` VALUES ('8', '1', '2022-09-21 19:28:20', '1', '管理员', '2022-09-21', null, '1', '1', '1', '疫情防控体温报备', '7', '2022-09-21 19:22:48', '2022-09-22 19:22:48', '管理员', '1', null, null, '0', '3');
INSERT INTO `xinhu_planm` VALUES ('9', '6', '2022-09-21 19:27:08', '6', '张飞', '2022-09-21', null, '0', '0', '1', '疫情防控体温报备', '7', '2022-09-21 19:22:48', '2022-09-22 19:22:48', '管理员', '1', null, null, '0', '3');
INSERT INTO `xinhu_planm` VALUES ('13', '1', '2022-09-21 19:54:56', '1', '管理员', '2022-09-21', null, '0', '0', '1', '疫情防控体温报备', '2', '2022-09-21 19:54:56', '2022-09-22 19:54:56', null, null, '张飞,管理员', 'u6,u1', '0', '2');
-- ----------------------------
-- Table structure for `xinhu_plans`
@@ -6994,22 +7080,49 @@ CREATE TABLE `xinhu_plans` (
`zxren` varchar(500) DEFAULT NULL COMMENT '执行人',
`zxrenid` varchar(500) DEFAULT NULL COMMENT '执行人的ID',
`zxtime` datetime DEFAULT NULL COMMENT '执行时间',
`itemid` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mid` (`mid`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
) ENGINE=MyISAM AUTO_INCREMENT=82 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of xinhu_plans
-- ----------------------------
INSERT INTO `xinhu_plans` VALUES ('1', '1', '0', '1', '9月销售额达到600万', '开发部', 'd2', null);
INSERT INTO `xinhu_plans` VALUES ('2', '1', '1', '1', '扩展新客户', '财务部,行政人事部', 'd3,d4', null);
INSERT INTO `xinhu_plans` VALUES ('3', '1', '2', '1', '学习新技能', '张飞', 'u6', '2022-09-02 23:02:44');
INSERT INTO `xinhu_plans` VALUES ('4', '2', '0', '1', '开发票', '大乔', 'u4', '2022-09-03 18:51:00');
INSERT INTO `xinhu_plans` VALUES ('5', '2', '1', '1', '报税', '大乔', 'u4', '2022-09-03 19:42:55');
INSERT INTO `xinhu_plans` VALUES ('6', '2', '2', '1', '申报社保', '大乔', 'u4', '2022-09-29 19:42:00');
INSERT INTO `xinhu_plans` VALUES ('7', '3', '0', '2', '财务目标学习1', '小乔', 'u3', null);
INSERT INTO `xinhu_plans` VALUES ('8', '3', '1', '2', '财务目标学习2', null, null, null);
INSERT INTO `xinhu_plans` VALUES ('9', '3', '2', '2', '财务目标学习3', null, null, null);
INSERT INTO `xinhu_plans` VALUES ('1', '1', '0', '1', '9月销售额达到600万', '开发部', 'd2', null, '0');
INSERT INTO `xinhu_plans` VALUES ('2', '1', '1', '1', '扩展新客户', '财务部,行政人事部', 'd3,d4', null, '0');
INSERT INTO `xinhu_plans` VALUES ('3', '1', '2', '1', '学习新技能', '张飞', 'u6', '2022-09-02 23:02:44', '0');
INSERT INTO `xinhu_plans` VALUES ('4', '2', '0', '1', '开发票', '大乔', 'u4', '2022-09-03 18:51:00', '0');
INSERT INTO `xinhu_plans` VALUES ('5', '2', '1', '1', '报税', '大乔', 'u4', '2022-09-03 19:42:55', '0');
INSERT INTO `xinhu_plans` VALUES ('6', '2', '2', '1', '申报社保', '大乔', 'u4', '2022-09-29 19:42:00', '0');
INSERT INTO `xinhu_plans` VALUES ('7', '3', '0', '2', '财务目标学习1', '小乔', 'u3', null, '0');
INSERT INTO `xinhu_plans` VALUES ('8', '3', '1', '2', '财务目标学习2', null, null, null, '0');
INSERT INTO `xinhu_plans` VALUES ('9', '3', '2', '2', '财务目标学习3', null, null, null, '0');
INSERT INTO `xinhu_plans` VALUES ('11', '5', '0', '1', '公用复印机(FYJ-001)', null, null, null, '2');
INSERT INTO `xinhu_plans` VALUES ('12', '6', '0', '1', '公用复印机(FYJ-001)', null, null, null, '2');
INSERT INTO `xinhu_plans` VALUES ('45', '7', '5', '1', '同随人员', 'changeusercheck', null, null, '0');
INSERT INTO `xinhu_plans` VALUES ('44', '7', '4', '1', '回来时间', 'datetime', null, null, '0');
INSERT INTO `xinhu_plans` VALUES ('43', '7', '3', '1', '外出地点', 'text', null, null, '0');
INSERT INTO `xinhu_plans` VALUES ('55', '9', '3', '1', '外出地点', null, null, null, '43');
INSERT INTO `xinhu_plans` VALUES ('57', '9', '5', '1', '同随人员', null, null, null, '45');
INSERT INTO `xinhu_plans` VALUES ('56', '9', '4', '1', '回来时间', null, null, null, '44');
INSERT INTO `xinhu_plans` VALUES ('54', '9', '2', '1', '是否出市', null, null, null, '42');
INSERT INTO `xinhu_plans` VALUES ('53', '9', '1', '1', '健康行程码', null, null, null, '41');
INSERT INTO `xinhu_plans` VALUES ('42', '7', '2', '1', '是否出市', 'select', '否,是', null, '0');
INSERT INTO `xinhu_plans` VALUES ('40', '7', '0', '1', '体温', 'text', null, null, '1');
INSERT INTO `xinhu_plans` VALUES ('41', '7', '1', '1', '健康行程码', 'uploadfile', null, null, '0');
INSERT INTO `xinhu_plans` VALUES ('50', '8', '4', '1', '回来时间', '2022-09-21 19:28:00', null, null, '44');
INSERT INTO `xinhu_plans` VALUES ('49', '8', '3', '1', '外出地点', '厦门', null, null, '43');
INSERT INTO `xinhu_plans` VALUES ('48', '8', '2', '1', '是否出市', '', null, null, '42');
INSERT INTO `xinhu_plans` VALUES ('47', '8', '1', '1', '健康行程码', '14', null, null, '41');
INSERT INTO `xinhu_plans` VALUES ('46', '8', '0', '1', '体温', '36.2', null, null, '40');
INSERT INTO `xinhu_plans` VALUES ('52', '9', '0', '1', '体温', null, null, null, '40');
INSERT INTO `xinhu_plans` VALUES ('51', '8', '5', '1', '同随人员', '管理员,张飞', null, null, '45');
INSERT INTO `xinhu_plans` VALUES ('81', '13', '1', '1', '健康行程码', 'uploadfile', null, null, '0');
INSERT INTO `xinhu_plans` VALUES ('80', '13', '0', '1', '体温', 'text', null, null, '1');
INSERT INTO `xinhu_plans` VALUES ('79', '13', '2', '1', '是否出市', 'select', '否,是', null, '0');
INSERT INTO `xinhu_plans` VALUES ('78', '13', '3', '1', '外出地点', 'text', null, null, '0');
INSERT INTO `xinhu_plans` VALUES ('77', '13', '4', '1', '回来时间', 'datetime', null, null, '0');
INSERT INTO `xinhu_plans` VALUES ('76', '13', '5', '1', '同随人员', 'changeusercheck', null, null, '0');
-- ----------------------------
-- Table structure for `xinhu_project`
@@ -7242,7 +7355,7 @@ CREATE TABLE `xinhu_schedule` (
`comid` smallint(6) DEFAULT '0' COMMENT '对应单位id',
`isdai` tinyint(1) DEFAULT '0' COMMENT '是否创建日程待办',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='日程';
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='日程';
-- ----------------------------
-- Records of xinhu_schedule
@@ -7364,7 +7477,7 @@ CREATE TABLE `xinhu_subscribe` (
-- ----------------------------
-- Records of xinhu_subscribe
-- ----------------------------
INSERT INTO `xinhu_subscribe` VALUES ('1', '考勤统计简表({month-1})', '{month-1}月份人员考勤统计简表', '订阅上月考勤统计表', '1', '管理员', '2017-09-03 20:11:24', '1', 'aW5kZXgucGhwP2E9cHVibGljc3RvcmUmbT1rYW9xaW4mZD1tYWluJmFqYXhib29sPXRydWUmcm5kPTY0NjM0OQ::', 'dGFibGVuYW1lX2FiYz11c2VyaW5mbyZsb2FkY2k9MSZzdG9yZWJlZm9yZWFjdGlvbj1rcXRvdGFsYmVmb3Jlc2hvdyZzdG9yZWFmdGVyYWN0aW9uPWtxdG90YWxhZnRlcnNob3cmc3RhcnQ9MCZsaW1pdD0xMDAwMCZhdHlwZT1hbGwmZXhlY2xkb3duPXRydWUmZXhjZWx0aXRsZT3ogIPli6Tnu5.orqHnroDooagmZXhjZWxmaWVsZHM9ZGVwdG5hbWUsbmFtZSxyYW5raW5nLHN0YXRlLHN0YXRlMCxzdGF0ZTEsc3RhdGUyLGppYWJhbixvdXRjaSxlcnJjaSxzYmRheSx5c2JkYXksd2VpZGsmZXhjZWxoZWFkZXI96YOo6ZeoLOWnk!WQjSzogYzkvY0s5Lq65ZGY54q25oCBLOato!W4uCzov5.liLAs5pep6YCALOWKoOePrSjml7YpLOWkluWHuijmrKEpLOW8guW4uCjmrKEpLOW6lOS4iuePrSjlpKkpLOW3suS4iuePrSjlpKkpLOacquaJk!WNoSZtb250aD17bW9udGgtMX0:', '2020-10-01 21:26:32', null, null, '0');
INSERT INTO `xinhu_subscribe` VALUES ('1', '考勤统计简表({month-1})', '{month-1}月份人员考勤统计简表', '订阅上月考勤统计表', '1', '管理员', '2017-09-03 20:11:24', '1', 'aW5kZXgucGhwP2E9cHVibGljc3RvcmUmbT1rYW9xaW4mZD1tYWluJmFqYXhib29sPXRydWUmcm5kPTY0NjM0OQ::', 'dGFibGVuYW1lX2FiYz11c2VyaW5mbyZsb2FkY2k9MSZzdG9yZWJlZm9yZWFjdGlvbj1rcXRvdGFsYmVmb3Jlc2hvdyZzdG9yZWFmdGVyYWN0aW9uPWtxdG90YWxhZnRlcnNob3cmc3RhcnQ9MCZsaW1pdD0xMDAwMCZhdHlwZT1hbGwmZXhlY2xkb3duPXRydWUmZXhjZWx0aXRsZT3ogIPli6Tnu5.orqHnroDooagmZXhjZWxmaWVsZHM9ZGVwdG5hbWUsbmFtZSxyYW5raW5nLHN0YXRlLHN0YXRlMCxzdGF0ZTEsc3RhdGUyLGppYWJhbixvdXRjaSxlcnJjaSxzYmRheSx5c2JkYXksd2VpZGsmZXhjZWxoZWFkZXI96YOo6ZeoLOWnk!WQjSzogYzkvY0s5Lq65ZGY54q25oCBLOato!W4uCzov5.liLAs5pep6YCALOWKoOePrSjml7YpLOWkluWHuijmrKEpLOW8guW4uCjmrKEpLOW6lOS4iuePrSjlpKkpLOW3suS4iuePrSjlpKkpLOacquaJk!WNoSZtb250aD17bW9udGgtMX0:', '2022-09-18 11:15:48', null, null, '0');
-- ----------------------------
-- Table structure for `xinhu_subscribeinfo`
@@ -7381,12 +7494,13 @@ CREATE TABLE `xinhu_subscribeinfo` (
`recename` varchar(200) DEFAULT NULL COMMENT '对应人',
`comid` smallint(6) DEFAULT '0' COMMENT '对应单位id',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='订阅内容信息';
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='订阅内容信息';
-- ----------------------------
-- Records of xinhu_subscribeinfo
-- ----------------------------
INSERT INTO `xinhu_subscribeinfo` VALUES ('5', '1', '考勤统计简表(2020-09)', '2020-09月份人员考勤统计简表', '2020-10-01 21:26:32', 'upload/logs/2020-10/考勤统计简表(2020-09)_01_212632.html', '1', '管理员', '0');
INSERT INTO `xinhu_subscribeinfo` VALUES ('6', '1', '考勤统计简表(2022-08)', '2022-08月份人员考勤统计简表', '2022-09-18 11:15:48', 'upload/logs/2022-09/考勤统计简表(2022-08)_18_111549.html', '1', '管理员', '0');
-- ----------------------------
-- Table structure for `xinhu_task`
@@ -7419,7 +7533,7 @@ CREATE TABLE `xinhu_task` (
INSERT INTO `xinhu_task` VALUES ('1', '流程从新匹配', '系统', 'flow,pipei', 'd,d', '00:10:00,12:10:00', '每天0,12点', '1', '0', null, null, '0', null, null, null, null, null);
INSERT INTO `xinhu_task` VALUES ('2', '数据备份', '系统', 'sys,beifen', 'd', '00:20:00', '每天凌晨00:20', '1', '0', null, null, '0', null, null, null, null, null);
INSERT INTO `xinhu_task` VALUES ('3', '系统升级提醒', '系统', 'sys,upgtx', 'd', '00:25:00', '每天凌晨00:25', '0', '0', null, null, '0', null, null, null, '1,8', '管理员,信呼客服');
INSERT INTO `xinhu_task` VALUES ('4', '5分钟运行1次', '系统', 'minute5,run', 'i5', '00', '每5分钟运行一次', '1', '1', '2022-09-05 15:20:01', null, '0', null, 'success', '这个是必须的,不可删除停用', null, null);
INSERT INTO `xinhu_task` VALUES ('4', '5分钟运行1次', '系统', 'minute5,run', 'i5', '00', '每5分钟运行一次', '1', '0', null, null, '0', null, null, '这个是必须的,不可删除停用', null, null);
INSERT INTO `xinhu_task` VALUES ('5', '考勤信息提醒', '考勤', 'kaoqin,todo', 'd', '09:25:00', '每天9点', '1', '0', null, null, '21', null, null, '在模块【考勤信息】下设置提醒到哪些平台。', null, null);
INSERT INTO `xinhu_task` VALUES ('6', '用户数据更新', '用户', 'sys,dataup', 'd', '00:10:00', '每天', '1', '0', null, null, '1', null, null, null, null, null);
INSERT INTO `xinhu_task` VALUES ('7', '考勤分析', '考勤', 'kaoqin,anay', 'd', '02:15:00', '每天2点', '1', '0', null, null, '22', null, null, '分析全体人员昨天的考勤', null, null);

View File

@@ -112,17 +112,20 @@ class fworkClassAction extends Action
//抄送的
if($lx=='chaosview'){
$where =' and 1=2';
$crows = $this->db->getall("select * from `[Q]flow_chao` where ".$this->rock->dbinstr('csnameid', $uid)."");
$where1= $this->rock->dbinstr('csnameid', $uid);
if($modeid>0)$where1.=' and `modeid`='.$modeid.'';
$crows = $this->db->getall("select * from `[Q]flow_chao` where $where1");
$this->modeids = '0';
if($crows){
$modeids = '';
$mids = '';
$modeidsa= array();
foreach($crows as $k1=>$rs1){
$modeids.=','.$rs1['modeid'].'';
$mids.=','.$rs1['mid'].'';
$modeidsa[$rs1['modeid']][] = $rs1['mid'];
}
$this->modeids = substr($modeids,1);
$where = " and a.`isturn`=1 and a.`modeid` in(".$this->modeids.") and a.`mid` in(".substr($mids,1).")";
foreach($modeidsa as $mkid=>$mids)$wherea[]='(a.`modeid` = '.$mkid.' and a.`mid` in('.join(',', $mids).'))';
$where = ' and a.`isturn`=1 and ( '.join(' or ', $wherea).' )';
}
}

View File

@@ -329,11 +329,12 @@ class fileClassModel extends Model
header('location:'.$filepath.'');
return;
}
ob_clean();flush();readfile($filepath);return;
if($filesize > 5*1024*1024){
if($filesize > 10*1024*1024 && 1==1){
header('location:'.$filepath.'');
}else{
echo file_get_contents($filepath);
//echo file_get_contents($filepath);
ob_clean();flush();readfile($filepath);
}
}
}

View File

@@ -6,7 +6,7 @@ class flow_assetmClassModel extends flowModel
$this->statearr = c('array')->strtoarray('blue|闲置,#ff6600|在用,red|维修,gray|报废,gray|丢失');
}
public function flowrsreplace($rs)
public function flowrsreplace($rs,$lx=0)
{
if(isset($rs['typeid']))$rs['typeid'] = $this->db->getmou('[Q]option','name',"`id`='".$rs['typeid']."'");
if(isset($rs['ckid']) && $rs['ckid']>0){
@@ -21,6 +21,16 @@ class flow_assetmClassModel extends flowModel
$rs['state'] = '<font color="'.$b[0].'">'.$b[1].'</font>';
}
if(isset($rs['fengmian']) && !isempt($rs['fengmian']))$rs['fengmian'] = '<img src="'.$rs['fengmian'].'" height="100">';
if($lx==1){
$rows = $this->db->getall('select a.runren,a.id,a.optdt from `[Q]planm` a left join `[Q]plans` b on a.id=b.mid where b.itemid='.$rs['id'].' and a.`type`=1');
$str = '';
foreach($rows as $k1=>$rs1){
$url = $this->getxiangurl('assetmly', $rs1['id'],'auto');
$str.=''.$rs1['runren'].'('.$rs1['optdt'].') <a href="'.$url.'">查看</a><br>';
}
$rs['lycount'] = $str;
}
return $rs;
}

View File

@@ -0,0 +1,97 @@
<?php
class flow_assetmlyClassModel extends flowModel
{
public function flowrsreplace($rs, $lx=0)
{
if($lx==2){
$rows = $this->db->getall('select `pitem` from `[Q]plans` where `mid`='.$rs['id'].'');
$s = '';
foreach($rows as $k1=>$rs1)$s.=''.$rs1['pitem'].';';
$rs['contentlist'] = $s;
}
$state = $rs['state'];
if($state!='2'){
if($rs['status']==1)$state = 1;
}
if($state != $rs['state'])$this->update('`state`='.$state.'', $rs['id']);
if($state=='0')$rs['state']='待领取';
if($state=='1')$rs['state']='已领取';
if($state=='2')$rs['state']='已归还';
return $rs;
}
//自定义审核人读取
protected function flowcheckname($num){
$sid = '';
$sna = '';
if($num=='queren'){
$ssid = '';
$runrenid = $this->rs['runrenid'];
if(!isempt($runrenid)){
$dbs = m('dept');
$runa = explode(',', $runrenid);
foreach($runa as $id1){
$id1d = str_replace(array('d','u'),'', $id1);
if(contain($id1,'d')){
$drs = $dbs->getone($id1d);
if($drs && !isempt($drs['headid']))$ssid.=','.$drs['headid'].'';
}else{
$ssid.=','.$id1d.'';
}
}
}
if($ssid){
$ssid = substr($ssid, 1);
$rows = $this->adminmodel->getall('id in('.$ssid.') and `status`=1');
if($rows){
foreach($rows as $k=>$rs){
$sid.=','.$rs['id'].'';
$sna.=','.$rs['name'].'';
}
$sid = substr($sid, 1);
$sna = substr($sna, 1);
}
}
}
return array($sid, $sna);
}
//审批完成更新领用
protected function flowcheckfinsh($zt)
{
if($zt==1){
$rows = m('plans')->getall('`mid`='.$this->id.'');
foreach($rows as $k=>$rs){
m('assetm')->update(array(
'useid' => $this->rs['runrenid'],
'usename' => $this->rs['runren'],
'state' => 1
),$rs['itemid']);
}
$this->update('`state`=1', $this->id);
}
}
//归还
protected function flowoptmenu($ors, $crs)
{
if($ors['num']=='guihainoup'){
$rows = m('plans')->getall('`mid`='.$this->id.'');
foreach($rows as $k=>$rs){
m('assetm')->update(array(
'useid' => '',
'usename' => '',
'state' => 0
),$rs['itemid']);
}
$this->update('`state`=2', $this->id);
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -167,7 +167,7 @@ class flow_planmClassModel extends flowModel
public function getwwctotals($uid)
{
$where = m('admin')->getjoinstr('runrenid', $uid,0,1);
$where = "`status`=1 and `state`<>1 and `startdt`<'{$this->rock->now}' $where";
$where = "`status`=1 and `state`<>1 and `startdt`<'{$this->rock->now}' and `type`=0 $where";
return m('planm')->rows($where);
}
}

View File

@@ -36,7 +36,7 @@ class flow_scheduleClassModel extends flowModel
$rate = $rs['rate'];
if(isset($this->ratearr[$rate])){
if($rate=='w')$rate='每周'.$rs['rateval'].'';
if($rate=='d')$rate='每天';
if($rate=='d')$rate='每'.$rs['rateval'].'天';
if($rate=='m')$rate='每月'.$rs['rateval'].'号';
$rs['rate'] = $rate;
}

View File

@@ -88,15 +88,18 @@ class flowbillClassModel extends Model
//抄送
if($lx=='flow_chaos'){
$where ='1=2';
$crows = $this->db->getall("select * from `[Q]flow_chao` where ".$this->rock->dbinstr('csnameid', $uid)."");
$where1= $this->rock->dbinstr('csnameid', $uid);
if($modeid>0)$where1.=' and `modeid`='.$modeid.'';
$crows = $this->db->getall("select * from `[Q]flow_chao` where $where1");
if($crows){
$modeids = '';
$mids = '';
$modeidsa= array();
foreach($crows as $k1=>$rs1){
$modeids.=','.$rs1['modeid'].'';
$mids.=','.$rs1['mid'].'';
$modeidsa[$rs1['modeid']][] = $rs1['mid'];
}
$where = "`isturn`=1 and `modeid` in(".substr($modeids,1).") and `mid` in(".substr($mids,1).")";
foreach($modeidsa as $mkid=>$mids)$wherea[]='(`modeid` = '.$mkid.' and `mid` in('.join(',', $mids).'))';
$where = '`isturn`=1 and ( '.join(' or ', $wherea).' )';
}
}

View File

@@ -81,8 +81,8 @@ class modeClassModel extends Model
$farr[] = array('name'=>arrvalue($chufarr, 'base_sericnum', '单号'),'fields'=>'sericnum');
$farrs = m('flow_element')->getall("`mid`='$modeid'",'`fields`,`name`,`fieldstype`,`ispx`,`isalign`,`iszb`,`islb`,`issou`,`data`','`iszb`,`sort`');
$inpub = c('input');
$zbarr = array();
$zbnamea = explode(',', $mors['names']);
$zbarr = $zbnamea = array();
if(!isempt($mors['names']))$zbnamea = explode(',', $mors['names']);
foreach($farrs as $k=>$rs){
if($glx==1 && $rs['issou']=='1' && ($rs['fieldstype']=='select' || $rs['fieldstype']=='rockcombo')){
$rs['store'] =$inpub->getdatastore($rs['fieldstype'],$inrs,$rs['data']);

View File

@@ -1075,6 +1075,7 @@ class reimClassModel extends Model
}else if(in_array($rs['cfrom'], array('nppandroid','nppios'))){//2019-11-25最新新app
$nestr = ''.$rs['token'].'|'.$rs['web'].'|'.$_uid.'|';
if(contain($rs['web'],'huawei') && !contain($rs['ip'],'.'))$nestr.=''.$rs['ip'].'';
if(contain($rs['web'],'xiaomi'))$nestr.=''.$rs['pushtoken'].'';
$alias2019[] = $nestr;
$uid2019[] = $_uid;
}else if(substr($_web,0,4)=='app_'){

View File

@@ -55,7 +55,12 @@ class scheduleClassModel extends Model
$dts = $rs['time'];
$time = '';
if($rate=='d'){
$pinv = $rs['rateval'];
if(isempt($pinv))$pinv = 1;
$pinv = (int)($pinv);
$jgsj = $this->dtobj->datediff('d',$rs['startdt'], $dt);
$time = ''.$dt.' '.$dts[3].':'.$dts[4].':00';
if($pinv>1 && $jgsj % $pinv!=0)$time='';
}else if($rate=='m'){
if(contain($ratev,','.$_d.',')){
$time = ''.$dt.' '.$dts[3].':'.$dts[4].':00';
@@ -73,6 +78,7 @@ class scheduleClassModel extends Model
'title' => $rs['title'],
'optname'=>$rs['optname'],
'receid' =>$rs['receid'],
'explain' =>$rs['explain'],
'txsj' =>$rs['txsj'],
'isdai' =>arrvalue($rs, 'isdai'),
'week' =>$this->dtobj->cnweek($dt),
@@ -116,7 +122,11 @@ class scheduleClassModel extends Model
if(!isempt($rs['receid'])){
$receid = 'u'.$receid.','.$rs['receid'].'';
}
if($rs['txsj']=='1')$flow->push($receid, '', $rs['title'], '日程提醒');
if($rs['txsj']=='1'){
$cont = '类型:日程提醒\n记事人'.$rs['optname'].'\n时间'.$rs['time'].'';
if(!isempt($rs['explain']))$cont.='\n说明'.$rs['explain'].'';
$flow->push($receid, '', $cont, ''.$rs['title'].'');
}
//写入到日程待办里
$this->insertdaiban($rs);

View File

@@ -262,7 +262,11 @@ class taskClassModel extends Model
$barr = c('rockqueue')->push($url, array('rtype'=>'queue','dwnum'=>'dev','nolog'=>'1','runtime'=>$runtime), $runtime, $len);
if(!COMPANYNUM && getconfig('platdwnum')){
$creaar = m('company')->getall('`iscreate`=1');
foreach($creaar as $k=>$rs)$barr = c('rockqueue')->push($url, array('dwnum'=>$rs['num'],'nolog'=>'1','runtime'=>$runtime), $runtime, $len+1+$k);
foreach($creaar as $k=>$rs){
$url1 = $url;
if(substr($url,0,4)=='http' && !isempt($rs['yuming']))$url1 = $this->tihuanurl($url1, $rs['yuming']);
$barr = c('rockqueue')->push($url1, array('dwnum'=>$rs['num'],'nolog'=>'1','runtime'=>$runtime), $runtime, $len+1+$k);
}
}
}else{
$url = ''.$turl.'task.php?m=runt&a=getlist';
@@ -272,6 +276,14 @@ class taskClassModel extends Model
}
return $barr;
}
private function tihuanurl($url1, $yj)
{
$str = str_replace('/','@',str_replace('//', '@', $url1));
$urla = explode('@', $str);
$nhur = $urla[1];
$url1 = str_replace('/'.$nhur.'/', '/'.$yj.'/', $url1);
return $url1;
}
/**
* 开启计划任务(自己服务端)

View File

@@ -26,7 +26,7 @@ $(document).ready(function(){
},'json');
},
guanli:function(){
addtabs({num:'guanlieschedule',url:'{dir},{mode},guan',name:'日程管理'});
addtabs({num:'guanlieschedule',url:'flow,page,schedule,atype=my',name:'日程管理'});
},
ricdaibn:function(){
addtabs({num:'scheduld',url:'flow,page,scheduld,atype=my',name:'日程待办'});

View File

@@ -122,7 +122,9 @@ class indexClassAction extends apiAction
{
$hwtoken = $this->get('hwtoken');
$pushtoken = $this->get('pushtoken');
$appver = $this->get('appversion');
$ispush = (int)$this->get('ispush','0');
if($appver)$pushtoken.='_'.$appver.'';
$uarr['ispush'] = $ispush;
$uarr['pushtoken'] = $pushtoken;
$uarr['moddt'] = $this->now;