Kaynağa Gözat

在册登记明细树形查询条件

金隅分支
edy 3 yıl önce
ebeveyn
işleme
e4e1a0d4df
1 değiştirilmiş dosya ile 6 ekleme ve 3 silme
  1. +6
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js

+ 6
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.js Dosyayı Görüntüle

@@ -6,6 +6,7 @@
*/
var refreshGirdData;
var AId = request("AId");
var TreeAIASSClass = null;
var currentUser = request("currentUser");//我的资产需要用到
var IsDelete = request("IsDelete");//报废资产需要使用
var bootstrap = function ($, learun) {
@@ -29,10 +30,12 @@ var bootstrap = function ($, learun) {
// page.search({ AIAssType: item.value });
// }
//});

$('#dataTree').lrtree({
url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfo/GetTree',
nodeClick: function (item) {
page.search({ AIASSClass: item.value });
TreeAIASSClass = item.value;
}
});
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
@@ -62,8 +65,6 @@ var bootstrap = function ($, learun) {
$('#AIASSState').lrDataItemSelect({ code: 'AssState' });
$('#AIDepartment').lrDepartmentSelect({
select: function (val) {
console.log(val.value);

$('#AIUsePeople').lrselectRefresh({ url: top.$.rootUrl + '/LR_OrganizationModule/User/GetListByDepartmentId?departmentId=' + val.value, text: 'F_RealName', value: 'F_UserId' })
}
});
@@ -453,13 +454,15 @@ var bootstrap = function ($, learun) {
isMultiselect: true,
isPage: true,
sidx: 'AICodeNum',
rows:20
rows: 20
});
page.search();
},
search: function (param) {
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;


Yükleniyor…
İptal
Kaydet