|
@@ -6,7 +6,7 @@ |
|
|
*/ |
|
|
*/ |
|
|
var refreshGirdData; |
|
|
var refreshGirdData; |
|
|
var AId = request("AId"); |
|
|
var AId = request("AId"); |
|
|
var TreeAIASSClass = null; |
|
|
|
|
|
|
|
|
var TreeAIASSClass = ''; |
|
|
var currentUser = request("currentUser");//我的资产需要用到 |
|
|
var currentUser = request("currentUser");//我的资产需要用到 |
|
|
var IsDelete = request("IsDelete");//报废资产需要使用 |
|
|
var IsDelete = request("IsDelete");//报废资产需要使用 |
|
|
var bootstrap = function ($, learun) { |
|
|
var bootstrap = function ($, learun) { |
|
@@ -34,8 +34,10 @@ var bootstrap = function ($, learun) { |
|
|
$('#dataTree').lrtree({ |
|
|
$('#dataTree').lrtree({ |
|
|
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfo/GetTree', |
|
|
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfo/GetTree', |
|
|
nodeClick: function (item) { |
|
|
nodeClick: function (item) { |
|
|
|
|
|
if (item && item.value) { |
|
|
|
|
|
TreeAIASSClass = item.value; |
|
|
|
|
|
} |
|
|
page.search({ AIASSClass: item.value }); |
|
|
page.search({ AIASSClass: item.value }); |
|
|
TreeAIASSClass = item.value; |
|
|
|
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { |
|
|
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { |
|
@@ -462,7 +464,6 @@ var bootstrap = function ($, learun) { |
|
|
param = param || {}; |
|
|
param = param || {}; |
|
|
param.AId = AId; |
|
|
param.AId = AId; |
|
|
param.AIASSClass = TreeAIASSClass; |
|
|
param.AIASSClass = TreeAIASSClass; |
|
|
console.log(param.AIASSClass); |
|
|
|
|
|
if (currentUser) { |
|
|
if (currentUser) { |
|
|
var userInfo = top.learun.clientdata.get(['userinfo']); |
|
|
var userInfo = top.learun.clientdata.get(['userinfo']); |
|
|
param.userId = userInfo.userId; |
|
|
param.userId = userInfo.userId; |
|
|