信呼v2.5.1版本
This commit is contained in:
@@ -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" />
|
||||
|
||||
|
||||
@@ -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);
|
||||
},
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user