Pārlūkot izejas kodu

在册资产明细左侧树结构切换

金隅分支
zhangli pirms 3 gadiem
vecāks
revīzija
7e8d5ca3d0
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. +4
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js

+ 4
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js Parādīt failu

@@ -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;


Notiek ielāde…
Atcelt
Saglabāt