|
@@ -78,8 +78,9 @@
|
|
|
layui.use(['element','table'], function(){
|
|
layui.use(['element','table'], function(){
|
|
|
$element= layui.element;
|
|
$element= layui.element;
|
|
|
$table = layui.table;
|
|
$table = layui.table;
|
|
|
|
|
+ tableYulan();
|
|
|
});
|
|
});
|
|
|
- tableYulan();
|
|
|
|
|
|
|
+
|
|
|
// 预览
|
|
// 预览
|
|
|
function tableYulan() {
|
|
function tableYulan() {
|
|
|
// 查询符合条件的明细数据,生成预览数据
|
|
// 查询符合条件的明细数据,生成预览数据
|
|
@@ -99,15 +100,15 @@
|
|
|
,cols: [[ //表头
|
|
,cols: [[ //表头
|
|
|
{field: 'SEQU',title:'序号',type:'numbers',width:60}
|
|
{field: 'SEQU',title:'序号',type:'numbers',width:60}
|
|
|
,{field: 'DFD17_XGSMC', title: '单位',templet:function(d){
|
|
,{field: 'DFD17_XGSMC', title: '单位',templet:function(d){
|
|
|
- return appData.formattercenter(d.DFD10_XGSMC);
|
|
|
|
|
|
|
+ return appData.formattercenter(d.DFD17_XGSMC);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'DFD17_BZMC', title: '供电所',templet:function(d){
|
|
,{field: 'DFD17_BZMC', title: '供电所',templet:function(d){
|
|
|
- return appData.formatterleft(d.DFD10_BZMC);
|
|
|
|
|
|
|
+ return appData.formatterleft(d.DFD17_BZMC);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'DFD17_XLMC', title: '线路名称',templet:function(d){
|
|
,{field: 'DFD17_XLMC', title: '线路名称',templet:function(d){
|
|
|
- return appData.formatterleft(d.DFD10_XLMC);
|
|
|
|
|
|
|
+ return appData.formatterleft(d.DFD17_XLMC);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'sum', title: '重载时长(h)',templet:function(d){
|
|
,{field: 'sum', title: '重载时长(h)',templet:function(d){
|
|
@@ -141,15 +142,15 @@
|
|
|
{field: 'SEQU',title:'序号',type:'numbers',width:60}
|
|
{field: 'SEQU',title:'序号',type:'numbers',width:60}
|
|
|
,{field: 'DFD13_UNIT', title: '单位'}
|
|
,{field: 'DFD13_UNIT', title: '单位'}
|
|
|
,{field: 'DFD13_BZMC', title: '供电所',templet:function(d){
|
|
,{field: 'DFD13_BZMC', title: '供电所',templet:function(d){
|
|
|
- return appData.formatterleft(d.DFD9_BZMC);
|
|
|
|
|
|
|
+ return appData.formatterleft(d.DFD13_BZMC);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'DFD13_GBMC', title: '公变名称',templet:function(d){
|
|
,{field: 'DFD13_GBMC', title: '公变名称',templet:function(d){
|
|
|
- return appData.formatterleft(d.DFD9_GBMC);
|
|
|
|
|
|
|
+ return appData.formatterleft(d.DFD13_GBMC);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'DFD13_ZZSC', title: '重载时长(h)',templet:function(d){
|
|
,{field: 'DFD13_ZZSC', title: '重载时长(h)',templet:function(d){
|
|
|
- return appData.formatterright(d.DFD9_ZZSC);
|
|
|
|
|
|
|
+ return appData.formatterright(d.DFD13_ZZSC);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'avg', title: '平均负载率(%)',templet:function(d){
|
|
,{field: 'avg', title: '平均负载率(%)',templet:function(d){
|
|
@@ -157,11 +158,11 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'DFD13_JTYY', title: '原因',templet:function(d){
|
|
,{field: 'DFD13_JTYY', title: '原因',templet:function(d){
|
|
|
- return appData.formatterleft(d.DFD9_JTYY);
|
|
|
|
|
|
|
+ return appData.formatterleft(d.DFD13_JTYY);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'DFD13_JTJJCS', title: '解决措施',templet:function(d){
|
|
,{field: 'DFD13_JTJJCS', title: '解决措施',templet:function(d){
|
|
|
- return appData.formatterleft(d.DFD9_JTJJCS);
|
|
|
|
|
|
|
+ return appData.formatterleft(d.DFD13_JTJJCS);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
]],
|
|
]],
|
|
@@ -174,15 +175,15 @@
|
|
|
{field: 'SEQU',title:'序号',type:'numbers',width:60}
|
|
{field: 'SEQU',title:'序号',type:'numbers',width:60}
|
|
|
,{field: 'DFD13_UNIT', title: '单位'}
|
|
,{field: 'DFD13_UNIT', title: '单位'}
|
|
|
,{field: 'DFD13_BZMC', title: '供电所',templet:function(d){
|
|
,{field: 'DFD13_BZMC', title: '供电所',templet:function(d){
|
|
|
- return appData.formatterleft(d.DFD9_BZMC);
|
|
|
|
|
|
|
+ return appData.formatterleft(d.DFD13_BZMC);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'DFD13_GBMC', title: '公变名称',templet:function(d){
|
|
,{field: 'DFD13_GBMC', title: '公变名称',templet:function(d){
|
|
|
- return appData.formatterleft(d.DFD9_GBMC);
|
|
|
|
|
|
|
+ return appData.formatterleft(d.DFD13_GBMC);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'DFD13_GZSC', title: '过载时长(h)',templet:function(d){
|
|
,{field: 'DFD13_GZSC', title: '过载时长(h)',templet:function(d){
|
|
|
- return appData.formatterright(d.DFD9_GZSC);
|
|
|
|
|
|
|
+ return appData.formatterright(d.DFD13_GZSC);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'avg', title: '平均负载率(%)',templet:function(d){
|
|
,{field: 'avg', title: '平均负载率(%)',templet:function(d){
|
|
@@ -190,11 +191,11 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'DFD13_JTYY', title: '原因',templet:function(d){
|
|
,{field: 'DFD13_JTYY', title: '原因',templet:function(d){
|
|
|
- return appData.formatterleft(d.DFD9_JTYY);
|
|
|
|
|
|
|
+ return appData.formatterleft(d.DFD13_JTYY);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
,{field: 'DFD13_JTJJCS', title: '解决措施',templet:function(d){
|
|
,{field: 'DFD13_JTJJCS', title: '解决措施',templet:function(d){
|
|
|
- return appData.formatterleft(d.DFD9_JTJJCS);
|
|
|
|
|
|
|
+ return appData.formatterleft(d.DFD13_JTJJCS);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
]],
|
|
]],
|