From 7e8d5ca3d0560fef6f612e8e478c19ba0d73fb9d Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Tue, 20 Jul 2021 14:26:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E5=86=8C=E8=B5=84=E4=BA=A7=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E5=B7=A6=E4=BE=A7=E6=A0=91=E7=BB=93=E6=9E=84=E5=88=87?= =?UTF-8?q?=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Ass_AssetsInfoItem/Index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js index 5a6e1ecb3..d5d41ef4e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js @@ -6,7 +6,7 @@ */ var refreshGirdData; var AId = request("AId"); -var TreeAIASSClass = null; +var TreeAIASSClass = ''; var currentUser = request("currentUser");//我的资产需要用到 var IsDelete = request("IsDelete");//报废资产需要使用 var bootstrap = function ($, learun) { @@ -34,8 +34,10 @@ var bootstrap = function ($, learun) { $('#dataTree').lrtree({ url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfo/GetTree', nodeClick: function (item) { + if (item && item.value) { + TreeAIASSClass = item.value; + } page.search({ AIASSClass: item.value }); - TreeAIASSClass = item.value; } }); $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { @@ -462,7 +464,6 @@ var bootstrap = function ($, learun) { param = param || {}; param.AId = AId; param.AIASSClass = TreeAIASSClass; - console.log(param.AIASSClass); if (currentUser) { var userInfo = top.learun.clientdata.get(['userinfo']); param.userId = userInfo.userId;