信呼v2.5.3版本

This commit is contained in:
雨中磐石
2023-02-16 16:04:13 +08:00
parent 6bd0ce491e
commit 117f629dcc
26 changed files with 217 additions and 23 deletions

View File

@@ -376,7 +376,10 @@ var inputtwo={
var sna = d1.sna;
if(form(sna))form(sna).value=d1.address+'|'+d1.lat+','+d1.lng+'';
var sna1 = d1.snall;
if(sna1 && form(sna1))form(sna1).value=''+d1.lat+','+d1.lng+','+d1.zoom+'';
if(sna1 && form(sna1)){
form(sna1).value=''+d1.lat+','+d1.lng+','+d1.zoom+'';
form(sna).value=d1.address;
}
c.onselectmap(sna,d1);
});
this.geocoderObj.setError(function() {

View File

@@ -0,0 +1,4 @@
//流程模块【custgys.供应商】下录入页面自定义js页面,初始函数
function initbodys(){
}

View File

@@ -0,0 +1,33 @@
<?php
/**
* 此文件是流程模块【custgys.供应商】对应控制器接口文件。
*/
class mode_custgysClassAction 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['isgys'] = '1';//不能去掉
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" width="15%" align="right" class="ys1">*^name^</td><td width="35%" class="ys2">{name}{addresslatlng}</td><td height="34" width="15%" align="right" class="ys1">*^type^</td><td width="35%" class="ys2">{type}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">^unitname^</td><td width="35%" class="ys2">{unitname}</td><td height="34" width="15%" align="right" class="ys1">^linkname^</td><td width="35%" class="ys2">{linkname}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">^mobile^</td><td width="35%" class="ys2">{mobile}</td><td height="34" width="15%" align="right" class="ys1">^tel^</td><td width="35%" class="ys2">{tel}</td></tr><tr><td height="34" align="right" class="ys1">^address^</td><td colspan="3" class="ys2">{address}</td></tr><tr><td height="34" align="right" class="ys1">^explain^</td><td colspan="3" class="ys2">{explain}</td></tr><tr><td height="34" width="15%" align="right" class="ys1">*^status^</td><td width="35%" class="ys2">{status}</td><td height="34" align="right" class="ys1"></td><td class="ys2"></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
/**
* 模块custgys.供应商
* 说明:自定义区域内可写你想要的代码
* 来源:流程模块→表单元素管理→[模块.供应商]→生成列表页
*/
defined('HOST') or die ('not access');
?>
<script>
$(document).ready(function(){
{params}
var modenum = 'custgys',modename='供应商',isflow=0,modeid='142',atype = params.atype,pnum=params.pnum,modenames='',listname='Y3VzdG9tZXI:';
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:#888888" value="5">已作废</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="viewcustgys_{rand}"></div>
<!--HTMLend-->

View File

@@ -62,6 +62,7 @@ $(document).ready(function(){
if(tlx!='pie'){
option.xAxis={data: xAxis};
option.yAxis={type : 'value'};
option.tooltip.formatter="{b} : {c}元";
}
myChart[oi].setOption(option);
},

View File

@@ -26,6 +26,7 @@ c.view=function(){
var d=a.changedata;
openxiangs('详情',d.modenumshow,d.mid,'opegs{rand}');
}
$('#tdleft_{rand}').hide();
//[自定义区域end]
c.initpagebefore();

View File

@@ -36,6 +36,7 @@ c.setcolumns('modenum',{
c.clickwin=function(){
js.msg('msg','不能从这里新增提醒');
}
$('#tdleft_{rand}').hide();
//[自定义区域end]
c.initpagebefore();