信呼v2.5.1版本

This commit is contained in:
雨中磐石
2022-11-17 16:20:57 +08:00
parent 44100a4ab9
commit f4d68700c7
65 changed files with 1642 additions and 245 deletions

View File

@@ -78,7 +78,7 @@ $(document).ready(function(){
<div style="padding:10px;width:700px">
<form name="form_{rand}">
<form name="form_{rand}" autocomplete="off">
<input name="id" value="0" type="hidden" />

View File

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

View File

@@ -145,6 +145,10 @@ $(document).ready(function(){
c.reload();
}
$('#key_{rand}').keyup(function(e){
if(e.keyCode==13)c.search();
});
$('#state{rand}_'+zt+'').addClass('active');
if(atype=='mywtg' || atype=='daiturn'){
@@ -181,7 +185,7 @@ $(document).ready(function(){
<td style="padding-left:10px">
<input class="form-control" style="width:130px" id="key_{rand}" placeholder="单号/处理人/姓名/部门">
<input class="form-control" style="width:130px" id="key_{rand}" placeholder="单号/处理人/姓名/部门">
</td>
<td style="padding-left:10px">

View File

@@ -24,12 +24,14 @@ $(document).ready(function(){
},
loadcharts:function(){
var rows = a.getData('rows'),i,len=rows.length,v;
var xAxis=[],data=[];
var xAxis=[],data=[],hj=0;
for(i=0;i<len;i++){
xAxis.push(rows[i].name);
v = rows[i].value;if(v=='')v=0;
hj+=parseFloat(v);
data.push({value:parseFloat(v),name:rows[i].name});
}
if(hj>0)a.insert({name:'合计',value:hj});
var o1 = get('type_{rand}');
if(!myChart)myChart = echarts.init(get('main_show{rand}'));
var ss = o1.options[o1.selectedIndex].text;