|
@@ -217,8 +217,8 @@ var bootstrap = function ($, learun) { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#lr_exportexcel').on('click', function () { |
|
|
$('#lr_exportexcel').on('click', function () { |
|
|
page.exportExcel(); |
|
|
page.exportExcel(); |
|
|
}); |
|
|
}); |
|
@@ -276,6 +276,18 @@ var bootstrap = function ($, learun) { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ label: "资产名称", name: "AIASSName", width: 200, align: "left" }, |
|
|
{ label: "资产名称", name: "AIASSName", width: 200, align: "left" }, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '资产分类', name: 'AIASSClass', width: 150, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_AssetsType', |
|
|
|
|
|
key: value, |
|
|
|
|
|
keyId: 'atid', |
|
|
|
|
|
callback: function (_data) { |
|
|
|
|
|
callback(_data['aname']); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
{ label: "资产品牌", name: "AISpecification", width: 100, align: "left" }, |
|
|
{ label: "资产品牌", name: "AISpecification", width: 100, align: "left" }, |
|
|
{ |
|
|
{ |
|
|
label: "规格型号", name: "AISpecificationtype", width: 100, align: "left" |
|
|
label: "规格型号", name: "AISpecificationtype", width: 100, align: "left" |
|
@@ -478,7 +490,7 @@ var bootstrap = function ($, learun) { |
|
|
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); |
|
|
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); |
|
|
}, |
|
|
}, |
|
|
exportExcel: function () { |
|
|
exportExcel: function () { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var param = exportWhere || {}; |
|
|
var param = exportWhere || {}; |
|
|
param.AId = AId; |
|
|
param.AId = AId; |
|
|
param.AIASSClass = TreeAIASSClass; |
|
|
param.AIASSClass = TreeAIASSClass; |
|
|