瀏覽代碼

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

金隅分支
zhangli 3 年之前
父節點
當前提交
7e8d5ca3d0
共有 1 個文件被更改,包括 4 次插入3 次删除
  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 查看文件

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


Loading…
取消
儲存