信呼v2.5.3版本

This commit is contained in:
雨中磐石
2023-02-16 16:05:35 +08:00
parent 117f629dcc
commit aa00783d49
5 changed files with 0 additions and 121 deletions

View File

@@ -1,4 +0,0 @@
//流程模块【yqhealthy.健康报备】下录入页面自定义js页面,初始函数
function initbodys(){
}

View File

@@ -1,30 +0,0 @@
<?php
/**
* 此文件是流程模块【yqhealthy.健康报备】对应控制器接口文件。
*/
class mode_yqhealthyClassAction 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){
}
/**
* 重写函数:保存后处理,主要保存其他表数据
* $table String 对应表名
* $arr Array 表单参数
* $id Int 对应表上记录Id
* $addbo Boolean 是否添加时
*/
protected function saveafter($table, $arr, $id, $addbo){
}
}

View File

@@ -1 +0,0 @@
<table width="100%" border="0" class="ke-zeroborder"><tbody><tr class="autoyijianview"><td height="34" width="15%" align="right" class="ys1">*^applyname^</td><td width="35%" class="ys2">{applyname}</td><td height="34" width="15%" align="right" class="ys1">*^applydt^</td><td width="35%" class="ys2">{applydt}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^tiwen^</td><td width="35%" class="ys2">{tiwen}</td><td height="34" width="15%" align="right" class="ys1">*^state^</td><td width="35%" class="ys2">{state}</td></tr><tr><td height="34" align="right" class="ys1">^tupian^</td><td colspan="3" class="ys2">{tupian}</td></tr><tr><td height="34" align="right" class="ys1">^tupian1^</td><td colspan="3" class="ys2">{tupian1}</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><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

@@ -1,70 +0,0 @@
<?php
/**
* 模块yqhealthy.健康报备
* 说明:自定义区域内可写你想要的代码
* 来源:流程模块→表单元素管理→[模块.健康报备]→生成列表页
*/
defined('HOST') or die ('not access');
?>
<script>
$(document).ready(function(){
{params}
var modenum = 'yqhealthy',modename='健康报备',isflow=0,modeid='142',atype = params.atype,pnum=params.pnum,modenames='',listname='eXVxaW5nbQ::';
if(!atype)atype='';if(!pnum)pnum='';
var fieldsarr = [],fieldsselarr= [],chufarr= [];
<?php
include_once('webmain/flow/page/rock_page.php');
?>
//[自定义区域start]
c.setcolumns('tupian',{
renderer:function(v){
if(!v)return '&nbsp;';
return '<img src="'+v+'" onclick="$.imgview({\'url\':this.src})" height="60">';
}
});
c.setcolumns('tupian1',{
renderer:function(v){
if(!v)return '&nbsp;';
return '<img src="'+v+'" onclick="$.imgview({\'url\':this.src})" height="60">';
}
});
//[自定义区域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>
<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="viewyqhealthy_{rand}"></div>
<!--HTMLend-->

View File

@@ -1,16 +0,0 @@
<?php
//健康报备
class flow_yqhealthyClassModel extends flowModel
{
public function flowrsreplace($rs, $lx=0)
{
$rs['stateval']=$rs['state'];
if($rs['state']=='0')$rs['state']='<font color="green">绿码</font>';
if($rs['state']=='1')$rs['state']='<font color="#ff6600">黄码</font>';
if($rs['state']=='2')$rs['state']='<font color="red">红码</font>';
return $rs;
}
}