Browse Source

解决冲突

master
zhangli 3 years ago
parent
commit
f478c6f815
56 changed files with 1101 additions and 393 deletions
  1. +29
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/AssScrap/Form.js
  2. +15
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/AssScrap/FormView.js
  3. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.cshtml
  4. +20
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.js
  5. +35
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Index.js
  6. +37
    -35
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.cshtml
  7. +21
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js
  8. +102
    -94
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml
  9. +20
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js
  10. +105
    -55
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.cshtml
  11. +21
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.js
  12. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.cshtml
  13. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.cshtml
  14. +34
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js
  15. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.cshtml
  16. +34
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js
  17. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.cshtml
  18. +34
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js
  19. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.cshtml
  20. +20
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.js
  21. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.cshtml
  22. +20
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js
  23. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js
  24. +15
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_InventoryItemApply/Form.js
  25. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.cshtml
  26. +36
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js
  27. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Controllers/NWFProcessController.cs
  28. +25
    -67
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.js
  29. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/LogController.cs
  30. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyForm.cshtml
  31. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyIndex.js
  32. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Form.cshtml
  33. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Index.js
  34. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.cshtml
  35. +12
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.js
  36. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Permission/Controllers/Perm_FunctionVisitController.cs
  37. +11
    -11
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ResearchGER/Form.cshtml
  38. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ResearchGER/Form.js
  39. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ResearchGER/Index.cshtml
  40. +9
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ResearchGER/Index.js
  41. +230
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  42. +9
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/custmerform/lr-formcomponts.js
  43. +43
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/custmerform/lr-formrender.js
  44. +11
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator.js
  45. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageSixWxLogin.cshtml
  46. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs
  47. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemEntity.cs
  48. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs
  49. +6
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj
  50. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/PersonnelManagement/ResearchGERMap.cs
  51. +21
    -4
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj
  52. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Permission/Perm_FunctionVisit/Perm_FunctionVisitService.cs
  53. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ResearchGER/ResearchGERBLL.cs
  54. +24
    -24
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ResearchGER/ResearchGEREntity.cs
  55. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ResearchGER/ResearchGERIBLL.cs
  56. +14
    -14
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ResearchGER/ResearchGERService.cs

+ 29
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/AssScrap/Form.js View File

@@ -48,7 +48,7 @@ var bootstrap = function ($, learun) {
{ label: '资产名称', name: 'aname', width: 150, align: 'left' }, { label: '资产名称', name: 'aname', width: 150, align: 'left' },
{ label: "英文名称", name: "aename", width: 100, align: "left" }, { label: "英文名称", name: "aename", width: 100, align: "left" },
{ {
label: '所在库房', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
label: '楼宇名称', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', { learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData', url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
key: value, key: value,
@@ -59,7 +59,19 @@ var bootstrap = function ($, learun) {
}); });
} }
}, },
{ label: '所在库位', name: 'aiistorageposition', width: 150, align: 'left' },
{
label: "房间号", name: "aiistorageposition", width: 150, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rcode']);
}
});
}
},
{ {
label: '是否在库', name: 'aiisinstorage', width: 150, align: 'left', formatter: function (val, row) { label: '是否在库', name: 'aiisinstorage', width: 150, align: 'left', formatter: function (val, row) {
if (val) { if (val) {
@@ -174,7 +186,7 @@ var bootstrap = function ($, learun) {
} }
}, },
{ {
label: '所在库房', name: 'AAIStorage', width: 150, align: 'left',
label: '楼宇名称', name: 'AAIStorage', width: 150, align: 'left',
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', learun.clientdata.getAsync('custmerData',
{ {
@@ -188,8 +200,21 @@ var bootstrap = function ($, learun) {


} }
}, },
//{
// label: '所在库位', name: 'AAILocation', width: 150, align: 'left'
//},
{ {
label: '所在库位', name: 'AAILocation', width: 150, align: 'left'
label: "房间号", name: "AAILocation", width: 150, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rcode']);
}
});
}
}, },
{ {
label: '是否在库', name: 'AAIIsInStorage', width: 150, align: 'left', formatter: function (val) { label: '是否在库', name: 'AAIIsInStorage', width: 150, align: 'left', formatter: function (val) {


+ 15
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/AssScrap/FormView.js View File

@@ -105,7 +105,7 @@ var bootstrap = function ($, learun) {
} }
}, },
{ {
label: '所在库房', name: 'AAIStorage', width: 150, align: 'left',
label: '楼宇名称', name: 'AAIStorage', width: 150, align: 'left',
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', learun.clientdata.getAsync('custmerData',
{ {
@@ -118,8 +118,21 @@ var bootstrap = function ($, learun) {
}); });
} }
}, },
//{
// label: '所在库位', name: 'AAILocation', width: 150, align: 'left'
//},
{ {
label: '所在库位', name: 'AAILocation', width: 150, align: 'left'
label: "房间号", name: "AAILocation", width: 150, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rcode']);
}
});
}
}, },
{ {
label: '是否在库', name: 'AAIIsInStorage', width: 150, align: 'left', formatter: function (val) { label: '是否在库', name: 'AAIIsInStorage', width: 150, align: 'left', formatter: function (val) {


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.cshtml View File

@@ -40,12 +40,12 @@
<div id="ACReasonType" ></div> <div id="ACReasonType" ></div>
</div> </div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsChangeItem" > <div class="col-xs-12 lr-form-item" data-table="Ass_AssetsChangeItem" >
<div class="lr-form-item-title">所在库房</div>
<div class="lr-form-item-title">楼宇名称</div>
<div id="ACCStorageId" ></div> <div id="ACCStorageId" ></div>
</div> </div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsChangeItem" > <div class="col-xs-12 lr-form-item" data-table="Ass_AssetsChangeItem" >
<div class="lr-form-item-title">所在库位</div>
<input id="ACCStoragePosition" type="text" class="form-control" />
<div class="lr-form-item-title">房间号</div>
<div id="ACCStoragePosition"></div>
</div> </div>
</div> </div>
@Html.AppendJsFile("/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.js") @Html.AppendJsFile("/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.js")

+ 20
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Form.js View File

@@ -19,7 +19,26 @@ var bootstrap = function ($, learun) {
$('#ACUserId').val(learun.clientdata.get(['userinfo']).realName); $('#ACUserId').val(learun.clientdata.get(['userinfo']).realName);
$('#ACInOrOut').lrDataItemSelect({ code: 'InOrOut' }); $('#ACInOrOut').lrDataItemSelect({ code: 'InOrOut' });
$('#ACReasonType').lrDataItemSelect({ code: 'ReasonType' }); $('#ACReasonType').lrDataItemSelect({ code: 'ReasonType' });
$('#ACCStorageId').lrDataSourceSelect({ code: 'Ass_StorageData',value: 'sid',text: 'sname' });
//$('#ACCStorageId').lrDataSourceSelect({ code: 'Ass_StorageData',value: 'sid',text: 'sname' });
$('#AIIStorageId').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AIIStoragePosition').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
}, },
initData: function () { initData: function () {
if (!!keyValue) { if (!!keyValue) {


+ 35
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsChangeItem/Index.js View File

@@ -48,7 +48,26 @@ var bootstrap = function ($, learun) {
}, 220, 400); }, 220, 400);
$('#ACInOrOut').lrDataItemSelect({ code: 'InOrOut' }); $('#ACInOrOut').lrDataItemSelect({ code: 'InOrOut' });
$('#ACReasonType').lrDataItemSelect({ code: 'ReasonType' }); $('#ACReasonType').lrDataItemSelect({ code: 'ReasonType' });
$('#ACCStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
//$('#ACCStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
$('#AIIStorageId').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AIIStoragePosition').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
// 刷新 // 刷新
$('#lr_refresh').on('click', function () { $('#lr_refresh').on('click', function () {
location.reload(); location.reload();
@@ -143,7 +162,7 @@ var bootstrap = function ($, learun) {
} }
}, },
{ {
label: "所在库房", name: "ACCStorageId", width: 150, align: "left",
label: "楼宇名称", name: "ACCStorageId", width: 150, align: "left",
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', { learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData', url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
@@ -155,7 +174,20 @@ var bootstrap = function ($, learun) {
}); });
} }
}, },
{ label: "所在库位", name: "ACCStoragePosition", width: 150, align: "left" }
//{ label: "房间号", name: "ACCStoragePosition", width: 150, align: "left" }
{
label: "房间号", name: "AIIStoragePosition", width: 150, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rcode']);
}
});
}
},
], ],
mainId: 'ACIId', mainId: 'ACIId',
isPage: true, isPage: true,


+ 37
- 35
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.cshtml View File

@@ -3,25 +3,41 @@
Layout = "~/Views/Shared/_Form.cshtml"; Layout = "~/Views/Shared/_Form.cshtml";
} }
<div class="lr-form-wrap"> <div class="lr-form-wrap">
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产编号<font face="宋体">*</font></div>
<input id="ACode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产名称<font face="宋体">*</font></div>
<input id="AName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产分类<font face="宋体">*</font></div> <div class="lr-form-item-title">资产分类<font face="宋体">*</font></div>
<div id="ATId" isvalid="yes" checkexpession="NotNull"></div> <div id="ATId" isvalid="yes" checkexpession="NotNull"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产属性<font face="宋体">*</font></div> <div class="lr-form-item-title">资产属性<font face="宋体">*</font></div>
<div id="AAssType" ></div>
<div id="AAssType"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产编号<font face="宋体">*</font></div>
<input id="ACode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<div class="lr-form-item-title">英文名称</div>
<input id="AEName" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产名称<font face="宋体">*</font></div>
<input id="AName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<div class="lr-form-item-title">单价<font face="宋体">*</font></div>
<input id="APrice" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatintZero" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">英文名称</div>
<input id="AEName" type="text" class="form-control" />
<div class="lr-form-item-title">库存<font face="宋体">*</font></div>
<input id="AStock" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatint" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">数量单位</div>
<div id="AUnit"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">生成明细<font face="宋体">*</font></div>
<div id="HasDetail" isvalid="yes" checkexpession="NotNull"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产型号</div> <div class="lr-form-item-title">资产型号</div>
@@ -31,49 +47,35 @@
<div class="lr-form-item-title">生产厂家</div> <div class="lr-form-item-title">生产厂家</div>
<input id="AManufacturer" type="text" class="form-control" /> <input id="AManufacturer" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">用途</div>
<input id="AUse" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">规格</div>
<input id="ASpecification" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产来源</div> <div class="lr-form-item-title">资产来源</div>
<div id="ASource"></div> <div id="ASource"></div>
</div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">供应商</div> <div class="lr-form-item-title">供应商</div>
<div id="ASupplierId"></div> <div id="ASupplierId"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">参考单价<font face="宋体">*</font></div>
<input id="APrice" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatintZero" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">数量<font face="宋体">*</font></div>
<input id="AStock" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatint" />
<div class="lr-form-item-title">资产排序<font face="宋体">*</font></div>
<input id="AOrder" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">数量单位</div>
<div id="AUnit"></div>
<div class="lr-form-item-title">规格</div>
<input id="ASpecification" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">排序<font face="宋体">*</font></div>
<input id="AOrder" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
<div class="lr-form-item-title">用途</div>
<input id="AUse" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">所在库房<font face="宋体">*</font></div>


@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">楼宇名称<font face="宋体">*</font></div>
<div id="AIIStorageId" isvalid="yes" checkexpession="NotNull"></div> <div id="AIIStorageId" isvalid="yes" checkexpession="NotNull"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">所在库位</div>
<input id="AIIStoragePosition" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">生成明细<font face="宋体">*</font></div>
<div id="HasDetail" isvalid="yes" checkexpession="NotNull"></div>
<div class="lr-form-item-title">房间号</div>
<div id="AIIStoragePosition" isvalid="yes" checkexpession="NotNull"></div>
</div> </div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产照片</div> <div class="lr-form-item-title">资产照片</div>
@@ -82,6 +84,6 @@
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfo"> <div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfo">
<div class="lr-form-item-title">资产描述</div> <div class="lr-form-item-title">资产描述</div>
<textarea id="AContent" class="form-control" style="height: 150px;"></textarea> <textarea id="AContent" class="form-control" style="height: 150px;"></textarea>
</div>
</div>*@
</div> </div>
@Html.AppendJsFile("/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js") @Html.AppendJsFile("/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js")

+ 21
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Form.js View File

@@ -27,7 +27,27 @@ var bootstrap = function ($, learun) {
$('#ASource').lrDataItemSelect({ code: 'zcly' }); $('#ASource').lrDataItemSelect({ code: 'zcly' });
$('#AUnit').lrDataItemSelect({ code: 'sldw' }); $('#AUnit').lrDataItemSelect({ code: 'sldw' });
$('#HasDetail').lrDataItemSelect({ code: 'YesOrNoBit' }); $('#HasDetail').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
//库房
$('#AIIStorageId').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AIIStoragePosition').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
//$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
$('#ASupplierId').lrDataSourceSelect({ code: 'Ass_SupplierData', value: 'sid', text: 'sname' }); $('#ASupplierId').lrDataSourceSelect({ code: 'Ass_SupplierData', value: 'sid', text: 'sname' });
$('#AAssType').lrDataItemSelect({ code: 'AssType' }); $('#AAssType').lrDataItemSelect({ code: 'AssType' });
$('#APhoto').lrUploader(); $('#APhoto').lrUploader();


+ 102
- 94
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.cshtml View File

@@ -4,45 +4,20 @@
} }
<script> var newCode='@ViewBag.NewCode'</script> <script> var newCode='@ViewBag.NewCode'</script>
<div class="lr-form-wrap"> <div class="lr-form-wrap">
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem" style="display: none">
<div class="lr-form-item-title">明细编号<font face="宋体">*</font></div> <div class="lr-form-item-title">明细编号<font face="宋体">*</font></div>
<input id="AICode" hidden="hidden" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> <input id="AICode" hidden="hidden" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">序号<font face="宋体">*</font></div>
<input id="AICodeNum" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatint" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">所在库房<font face="宋体">*</font></div>
<div id="AIIStorageId" isvalid="yes" checkexpession="NotNull"></div>
</div>

<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">是否在库<font face="宋体">*</font></div>
<div id="AIIsInStorage" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产属性<font face="宋体">*</font></div>
<div id="AIAssType"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">所在库位</div>
<input id="AIIStoragePosition" type="text" class="form-control" />
</div>
@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> @*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">报废时间<font face="宋体">*</font></div>
<input id="AScrapTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AScrapTime').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">报废提示时间<font face="宋体">*</font></div>
<div id="ScrapRemindTime"> </div>
<div class="lr-form-item-title">序号<font face="宋体">*</font></div>
<input id="AICodeNum" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatint" />
</div>*@ </div>*@
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">金隅编号</div>
<div class="lr-form-item-title">资产编号</div>
<input id="AICodeNumJY" type="text" class="form-control" /> <input id="AICodeNumJY" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产名称</div>
<div class="lr-form-item-title">名称</div>
<input id="AIASSName" type="text" class="form-control" /> <input id="AIASSName" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
@@ -53,16 +28,42 @@
<div class="lr-form-item-title">使用人员</div> <div class="lr-form-item-title">使用人员</div>
<div id="AIUsePeople"></div> <div id="AIUsePeople"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">楼宇名称<font face="宋体">*</font></div>
<div id="AIIStorageId" isvalid="yes" checkexpession="NotNull"></div>
</div>

<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">房间号</div>
<div id="AIIStoragePosition" isvalid="yes" checkexpession="NotNull"></div>
@*<input id="AIIStoragePosition" type="text" class="form-control" />*@
</div>
@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">是否在库<font face="宋体">*</font></div>
<div id="AIIsInStorage" checkexpession="NotNull"></div>
</div>*@
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产型号</div> <div class="lr-form-item-title">资产型号</div>
<input id="AISpecificationtype" type="text" class="form-control" /> <input id="AISpecificationtype" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产属性<font face="宋体">*</font></div>
<div id="AIAssType"></div>
</div>
@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">报废时间<font face="宋体">*</font></div>
<input id="AScrapTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AScrapTime').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">报废提示时间<font face="宋体">*</font></div>
<div id="ScrapRemindTime"> </div>
</div>*@
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">计量单位</div> <div class="lr-form-item-title">计量单位</div>
<div id="AIUnits" class="form-control"></div> <div id="AIUnits" class="form-control"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产原值</div>
<div class="lr-form-item-title">资产值</div>
<input id="AIAssValue" type="text" class="form-control" /> <input id="AIAssValue" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
@@ -81,67 +82,10 @@
<div class="lr-form-item-title">增加方式</div> <div class="lr-form-item-title">增加方式</div>
<div id="AIAddType"></div> <div id="AIAddType"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">入账日期</div>
<input id="AIAccountEntryTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AIAccountEntryTime').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">行驶发证日期</div>
<input id="AIVehicleTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AIVehicleTime').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">品牌</div>
<input id="AIBrand" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">生产厂家</div> <div class="lr-form-item-title">生产厂家</div>
<input id="AIManufacturer" type="text" class="form-control" /> <input id="AIManufacturer" type="text" class="form-control" />
</div> </div>

<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">产权形式</div>
<input id="AIPropertyRight" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">建筑结构</div>
<input id="AIBuildingStructure" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">权属证号</div>
<input id="AIOwnership" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">车辆用途</div>
<input id="AIVehicleUse" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">车牌号</div>
<input id="AIPlateNumber" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">车架号</div>
<input id="AIFrameNumber" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">使用性质</div>
<input id="AINatureOfUse" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">发动机号</div>
<input id="EngineNumber" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">会计凭证号</div>
<input id="AIAccountCertificate" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">排气量</div>
<input id="DischargeVolume" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">建筑面积</div>
<input id="AIBuiltArea" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产规格</div> <div class="lr-form-item-title">资产规格</div>
<input id="AISpecification" type="text" class="form-control" /> <input id="AISpecification" type="text" class="form-control" />
@@ -164,7 +108,7 @@
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">取得日期</div> <div class="lr-form-item-title">取得日期</div>
<input id="TimeOfAcquisition"type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#TimeOfAcquisition').trigger('change'); } })" />
<input id="TimeOfAcquisition" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#TimeOfAcquisition').trigger('change'); } })" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">产品序列号</div> <div class="lr-form-item-title">产品序列号</div>
@@ -235,17 +179,20 @@
<input id="AccumulatedDepreciation" type="text" class="form-control" /> <input id="AccumulatedDepreciation" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">折旧年限</div>
<div class="lr-form-item-title">折旧年限(月)</div>
<input id="UsefulLife" type="text" class="form-control" /> <input id="UsefulLife" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">月折旧额</div> <div class="lr-form-item-title">月折旧额</div>
<input id="MonthlyDepreciation" type="text" class="form-control" /> <input id="MonthlyDepreciation" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">残值率</div>
<input id="ResidualValueRate" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">残值率</div>
<input id="ResidualValueRate" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">权属说明</div> <div class="lr-form-item-title">权属说明</div>
<textarea id="AIOwnerRemark" class="form-control" style="height:100px;"></textarea> <textarea id="AIOwnerRemark" class="form-control" style="height:100px;"></textarea>
@@ -257,5 +204,66 @@







@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">入账日期</div>
<input id="AIAccountEntryTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AIAccountEntryTime').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">行驶发证日期</div>
<input id="AIVehicleTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AIVehicleTime').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">品牌</div>
<input id="AIBrand" type="text" class="form-control" />
</div>

<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">产权形式</div>
<input id="AIPropertyRight" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">建筑结构</div>
<input id="AIBuildingStructure" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">权属证号</div>
<input id="AIOwnership" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">车辆用途</div>
<input id="AIVehicleUse" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">车牌号</div>
<input id="AIPlateNumber" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">车架号</div>
<input id="AIFrameNumber" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">使用性质</div>
<input id="AINatureOfUse" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">发动机号</div>
<input id="EngineNumber" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">会计凭证号</div>
<input id="AIAccountCertificate" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">排气量</div>
<input id="DischargeVolume" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">建筑面积</div>
<input id="AIBuiltArea" type="text" class="form-control" />
</div>*@



</div> </div>
@Html.AppendJsFile("/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js") @Html.AppendJsFile("/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js")

+ 20
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Form.js View File

@@ -15,7 +15,26 @@ var bootstrap = function ($, learun) {
page.initData(); page.initData();
}, },
bind: function () { bind: function () {
$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
$('#AIIStorageId').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AIIStoragePosition').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });

$('#AIIsInStorage').lrDataItemSelect({ $('#AIIsInStorage').lrDataItemSelect({
code: 'YesOrNoBit', select: function (val) { code: 'YesOrNoBit', select: function (val) {
if (val) { if (val) {


+ 105
- 55
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.cshtml View File

@@ -12,25 +12,23 @@
} }
</style> </style>
<div class="lr-form-wrap"> <div class="lr-form-wrap">
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem" style="display: none">
<div class="lr-form-item-title">明细编号<font face="宋体">*</font></div> <div class="lr-form-item-title">明细编号<font face="宋体">*</font></div>
<input id="AICode" hidden="hidden" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> <input id="AICode" hidden="hidden" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div> </div>
<img id="photo" />
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
@*<div class="lr-form-item-title">编号<font face="宋体">*</font></div>
<input id="AICodeNum" readonly="readonly" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatint" />*@
</div>
@*<img id="photo" />*@
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title" readonly="readonly">金隅资产编号</div>
<div class="lr-form-item-title" readonly="readonly">资产编号</div>
<input id="AICodeNumJY" type="text" class="form-control" /> <input id="AICodeNumJY" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
@*<div class="lr-form-item-title">所在库房<font face="宋体">*</font></div>
<div id="AIIStorageId" readonly="readonly" isvalid="yes" checkexpession="NotNull"></div>*@
@*<div class="lr-form-item-title">编号<font face="宋体">*</font></div>
<input id="AICodeNum" readonly="readonly" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatint" />*@
</div> </div>
<img id="photo" />

<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产名称</div>
<div class="lr-form-item-title">名称</div>
<input id="AIASSName" readonly="readonly" type="text" class="form-control" /> <input id="AIASSName" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
@@ -38,7 +36,7 @@
<input id="AIIStoragePosition" readonly="readonly" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />*@ <input id="AIIStoragePosition" readonly="readonly" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />*@
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">单位组织</div>
<div class="lr-form-item-title">部门</div>
<div id="AIDepartment" readonly="readonly"></div> <div id="AIDepartment" readonly="readonly"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
@@ -56,32 +54,42 @@






@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">序号<font face="宋体">*</font></div>
<input id="AICodeNum" readonly="readonly" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatint" />
</div>*@

<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">序号<font face="宋体">*</font></div>
<input id="AICodeNum" readonly="readonly" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatint" />
<div class="lr-form-item-title">使用人员</div>
<div id="AIUsePeople" readonly="readonly"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">所在库房<font face="宋体">*</font></div>
<div id="AIIStorageId" readonly="readonly" isvalid="yes" checkexpession="NotNull"></div>
@*<div class="lr-form-item-title">所在库房<font face="宋体">*</font></div>
<div id="AIIStorageId" readonly="readonly" isvalid="yes" checkexpession="NotNull"></div>*@
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">所在库位<font face="宋体">*</font></div>
<input id="AIIStoragePosition" readonly="readonly" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<div class="lr-form-item-title">楼宇名称<font face="宋体">*</font></div>
<div id="AIIStorageId" readonly="readonly" isvalid="yes" checkexpession="NotNull"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">使用人员</div>
<div id="AIUsePeople" readonly="readonly"></div>
<div class="lr-form-item-title">房间号<font face="宋体">*</font></div>
<div id="AIIStoragePosition" readonly="readonly" isvalid="yes" checkexpession="NotNull"></div>
@*<input id="AIIStoragePosition" readonly="readonly" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />*@
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产型号</div> <div class="lr-form-item-title">资产型号</div>
<input id="AISpecificationtype" readonly="readonly" type="text" class="form-control" /> <input id="AISpecificationtype" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产属性</div>
<div id="AIAssType" readonly="readonly" checkexpession="NotNull"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">计量单位</div> <div class="lr-form-item-title">计量单位</div>
<div id="AIUnits" readonly="readonly" class="form-control" ></div>
<div id="AIUnits" readonly="readonly" class="form-control"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产值</div>
<div class="lr-form-item-title">资产值</div>
<input id="AIAssValue" readonly="readonly" type="text" class="form-control" /> <input id="AIAssValue" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
@@ -101,74 +109,116 @@
<div id="AIAddType" readonly="readonly"></div> <div id="AIAddType" readonly="readonly"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title" readonly="readonly">入账日期</div>
<input id="AIAccountEntryTime" readonly="readonly" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AIAccountEntryTime').trigger('change'); } })" />
<div class="lr-form-item-title">生产厂家</div>
<input id="AIManufacturer" readonly="readonly" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产规格</div>
<input id="AISpecification" readonly="readonly" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">用途</div>
<input id="AIUse" type="text" readonly="readonly" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">行驶发证日期</div>
<input id="AIVehicleTime" readonly="readonly" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AIVehicleTime').trigger('change'); } })" />
<div class="lr-form-item-title">采购组织形式</div>
<input id="ProcurementOrganizationForm" type="text" readonly="readonly" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">品牌</div>
<input id="AIBrand" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">预算项目编号</div>
<input id="BudgetItemNo" type="text" readonly="readonly" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">生产厂家</div>
<input id="AIManufacturer" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">取得方式</div>
<input id="MethodOfAcquisition" type="text" readonly="readonly" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">取得日期</div>
<input id="TimeOfAcquisition" type="text" readonly="readonly" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">产品序列号</div>
<input id="ProjectID" type="text" readonly="readonly" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">销售商</div>
<input id="Seller" type="text" readonly="readonly" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title" readonly="readonly">合同编号</div>
<input id="ContractNo" readonly="readonly" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AIAccountEntryTime').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">发票号</div>
<input id="InvoiceNumber" readonly="readonly" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AIVehicleTime').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">配置标准分类名称</div>
<input id="ConfigurationName" readonly="readonly" type="text" class="form-control" />
</div> </div>


<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">产权形式</div>
<input id="AIPropertyRight" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">保修截止日期</div>
<input id="GuaranteeEndTime" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">建筑结构</div>
<input id="AIBuildingStructure" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">入账形式</div>
<input id="EntryForm" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">权属证号</div>
<input id="AIOwnership" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">价值类型</div>
<input id="ValueType" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">车辆用途</div>
<input id="AIVehicleUse" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">财政拨款</div>
<input id="FinancialAllocation" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">车牌号</div>
<input id="AIPlateNumber" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">非财政拨款</div>
<input id="NonFinancialAppropriation" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">车架号</div>
<input id="AIFrameNumber" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">使用状况</div>
<input id="Usage" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">使用性质</div>
<input id="AINatureOfUse" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">投入使用日期</div>
<input id="DateOfCommissioning" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">发动机号</div>
<input id="EngineNumber" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">管理部门</div>
<input id="AdministrativeDepartment" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">会计凭证号</div>
<input id="AIAccountCertificate" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">折旧状态</div>
<input id="DepreciationStatus" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">排气量</div>
<input id="DischargeVolume" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">折旧方法</div>
<input id="DepreciationMethod" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">建筑面积</div>
<input id="AIBuiltArea" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">已提折旧月数</div>
<input id="MonthsOfDepreciation" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">资产规格</div>
<input id="AISpecification" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">累计折旧</div>
<input id="AccumulatedDepreciation" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">用途</div>
<input id="AIUse" type="text" readonly="readonly" class="form-control" />
<div class="lr-form-item-title">折旧年限</div>
<input id="UsefulLife" readonly="readonly" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">月折旧额</div>
<input id="MonthlyDepreciation" readonly="readonly" type="text" class="form-control" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">残值率</div>
<input id="ResidualValueRate" readonly="readonly" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
</div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItem">
<div class="lr-form-item-title">权属说明</div> <div class="lr-form-item-title">权属说明</div>
<textarea id="AIOwnerRemark" readonly="readonly" class="form-control" style="height:100px;"></textarea> <textarea id="AIOwnerRemark" readonly="readonly" class="form-control" style="height:100px;"></textarea>


+ 21
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/FormView.js View File

@@ -15,7 +15,26 @@ var bootstrap = function ($, learun) {
page.initData(); page.initData();
}, },
bind: function () { bind: function () {
$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
//$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
$('#AIIStorageId').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AIIStoragePosition').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
$('#AIIsInStorage').lrDataItemSelect({ code: 'YesOrNoBit' }); $('#AIIsInStorage').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#ScrapRemindTime').lrDataItemSelect({ code: 'ScrapRemindTime' }); $('#ScrapRemindTime').lrDataItemSelect({ code: 'ScrapRemindTime' });
$('#AIDepartment').lrselect({ $('#AIDepartment').lrselect({
@@ -29,6 +48,7 @@ var bootstrap = function ($, learun) {
$('#AIASSClass').lrDataSourceSelect({ code: 'Ass_AssetsType', value: 'atid', text: 'aname' }); $('#AIASSClass').lrDataSourceSelect({ code: 'Ass_AssetsType', value: 'atid', text: 'aname' });
$('#AIASSState').lrDataItemSelect({ code: 'AssState' }); $('#AIASSState').lrDataItemSelect({ code: 'AssState' });
$('#AIAddType').lrDataItemSelect({ code: 'AssAddType' }); $('#AIAddType').lrDataItemSelect({ code: 'AssAddType' });
$('#AIAssType').lrDataItemSelect({ code: 'AssType' });
}, },
initData: function () { initData: function () {
if (!!keyValue) { if (!!keyValue) {


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/Index.cshtml View File

@@ -34,7 +34,7 @@
<input id="AICode" type="text" class="form-control" /> <input id="AICode" type="text" class="form-control" />
</div>*@ </div>*@
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">金隅编号</div>
<div class="lr-form-item-title">资产编号</div>
<input id="AICodeNumJY" type="text" class="form-control" /> <input id="AICodeNumJY" type="text" class="form-control" />
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
@@ -46,12 +46,12 @@
<input id="AIASSName" type="text" class="form-control" /> <input id="AIASSName" type="text" class="form-control" />
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">库房</div>
<div class="lr-form-item-title">楼宇名称</div>
<div id="AIIStorageId"></div> <div id="AIIStorageId"></div>
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">库房位置</div>
<input id="AIIStoragePosition" type="text" class="form-control" />
<div class="lr-form-item-title">房间号</div>
<div id="AIIStoragePosition"></div>
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">资产状态</div> <div class="lr-form-item-title">资产状态</div>


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.cshtml View File

@@ -46,12 +46,12 @@
<input id="AIASSName" type="text" class="form-control" /> <input id="AIASSName" type="text" class="form-control" />
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">库房</div>
<div class="lr-form-item-title">楼宇名称</div>
<div id="AIIStorageId"></div> <div id="AIIStorageId"></div>
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">库房位置</div>
<input id="AIIStoragePosition" type="text" class="form-control" />
<div class="lr-form-item-title">房间号</div>
<div id="AIIStoragePosition"></div>
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">资产状态</div> <div class="lr-form-item-title">资产状态</div>


+ 34
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js View File

@@ -32,7 +32,26 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson); page.search(queryJson);
}, 400, 400); }, 400, 400);
$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
//$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
$('#AIIStorageId').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AIIStoragePosition').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
$('#AIASSState').lrDataItemSelect({ code: 'AssState' }); $('#AIASSState').lrDataItemSelect({ code: 'AssState' });
$('#AIDepartment').lrDepartmentSelect(); $('#AIDepartment').lrDepartmentSelect();
// 刷新 // 刷新
@@ -212,7 +231,7 @@ var bootstrap = function ($, learun) {
} }
}, },
{ {
label: "所在库房", name: "AIIStorageId", width: 100, align: "left",
label: "楼宇名称", name: "AIIStorageId", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', { learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData', url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
@@ -224,7 +243,19 @@ var bootstrap = function ($, learun) {
}); });
} }
}, },
{ label: "所在库位", name: "AIIStoragePosition", width: 100, align: "left" },
{
label: "房间号", name: "AIIStoragePosition", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rcode']);
}
});
}
},
//{ //{
// label: "报废时间", name: "AIIStoragePosition", width: 100, align: "left", formatter: function (cellvalue, row) { // label: "报废时间", name: "AIIStoragePosition", width: 100, align: "left", formatter: function (cellvalue, row) {




+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.cshtml View File

@@ -46,12 +46,12 @@
<input id="AIASSName" type="text" class="form-control" /> <input id="AIASSName" type="text" class="form-control" />
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">库房</div>
<div class="lr-form-item-title">楼宇名称</div>
<div id="AIIStorageId"></div> <div id="AIIStorageId"></div>
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">库房位置</div>
<input id="AIIStoragePosition" type="text" class="form-control" />
<div class="lr-form-item-title">房间号</div>
<div id="AIIStoragePosition"></div>
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">资产状态</div> <div class="lr-form-item-title">资产状态</div>


+ 34
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js View File

@@ -25,7 +25,26 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson); page.search(queryJson);
}, 400, 400); }, 400, 400);
$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
//$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
$('#AIIStorageId').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AIIStoragePosition').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
$('#AIASSState').lrDataItemSelect({ code: 'AssState' }); $('#AIASSState').lrDataItemSelect({ code: 'AssState' });
$('#AIDepartment').lrDepartmentSelect(); $('#AIDepartment').lrDepartmentSelect();
// 刷新 // 刷新
@@ -177,7 +196,7 @@ var bootstrap = function ($, learun) {
} }
}, },
{ {
label: "所在库房", name: "AIIStorageId", width: 100, align: "left",
label: "楼宇名称", name: "AIIStorageId", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', { learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData', url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
@@ -189,7 +208,19 @@ var bootstrap = function ($, learun) {
}); });
} }
}, },
{ label: "所在库位", name: "AIIStoragePosition", width: 100, align: "left" },
{
label: "房间号", name: "AIIStoragePosition", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rcode']);
}
});
}
},
//{ //{
// label: "报废时间", name: "AIIStoragePosition", width: 100, align: "left", formatter: function (cellvalue, row) { // label: "报废时间", name: "AIIStoragePosition", width: 100, align: "left", formatter: function (cellvalue, row) {




+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.cshtml View File

@@ -42,12 +42,12 @@
<input id="AIASSName" type="text" class="form-control" /> <input id="AIASSName" type="text" class="form-control" />
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">库房</div>
<div class="lr-form-item-title">楼宇名称</div>
<div id="AIIStorageId"></div> <div id="AIIStorageId"></div>
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">库房位置</div>
<input id="AIIStoragePosition" type="text" class="form-control" />
<div class="lr-form-item-title">房间号</div>
<div id="AIIStoragePosition"></div>
</div> </div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">资产状态</div> <div class="lr-form-item-title">资产状态</div>


+ 34
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js View File

@@ -33,7 +33,26 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson); page.search(queryJson);
}, 400, 400); }, 400, 400);
$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
//$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
$('#AIIStorageId').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AIIStoragePosition').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
$('#AIASSState').lrDataItemSelect({ code: 'AssState' }); $('#AIASSState').lrDataItemSelect({ code: 'AssState' });
$('#AIAssType').lrDataItemSelect({ code: 'AssType' }); $('#AIAssType').lrDataItemSelect({ code: 'AssType' });
$('#AIDepartment').lrDepartmentSelect(); $('#AIDepartment').lrDepartmentSelect();
@@ -77,7 +96,7 @@ var bootstrap = function ($, learun) {
} }
}, },
{ {
label: "所在库房", name: "AIIStorageId", width: 100, align: "left",
label: "楼宇名称", name: "AIIStorageId", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', { learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData', url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
@@ -89,7 +108,19 @@ var bootstrap = function ($, learun) {
}); });
} }
}, },
{ label: "所在库位", name: "AIIStoragePosition", width: 100, align: "left" },
{
label: "房间号", name: "AIIStoragePosition", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rcode']);
}
});
}
},
{ {
label: "资产型号", name: "AISpecificationtype", width: 100, align: "left" label: "资产型号", name: "AISpecificationtype", width: 100, align: "left"
}, },


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.cshtml View File

@@ -66,12 +66,12 @@
<input id="AAIOrder" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> <input id="AAIOrder" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply">
<div class="lr-form-item-title">所在库房<font face="宋体">*</font></div>
<div class="lr-form-item-title">楼宇名称<font face="宋体">*</font></div>
<div id="AAIStorageId" isvalid="yes" checkexpession="NotNull"></div> <div id="AAIStorageId" isvalid="yes" checkexpession="NotNull"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply">
<div class="lr-form-item-title">所在库位</div>
<input id="AAIStoragePosition" type="text" class="form-control" />
<div class="lr-form-item-title">房间号</div>
<div id="AAIStoragePosition" isvalid="yes" checkexpession="NotNull"></div>
</div> </div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfoItemApply"> <div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfoItemApply">
<div class="lr-form-item-title">生成明细<font face="宋体">*</font></div> <div class="lr-form-item-title">生成明细<font face="宋体">*</font></div>


+ 20
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.js View File

@@ -100,7 +100,26 @@ var bootstrap = function ($, learun) {
$('#AAISource').lrDataItemSelect({ code: 'zcly' }); $('#AAISource').lrDataItemSelect({ code: 'zcly' });
$('#AAISupplierId').lrDataSourceSelect({ code: 'Ass_SupplierData', value: 'sid', text: 'sname' }); $('#AAISupplierId').lrDataSourceSelect({ code: 'Ass_SupplierData', value: 'sid', text: 'sname' });
$('#AAIUnit').lrDataItemSelect({ code: 'sldw' }); $('#AAIUnit').lrDataItemSelect({ code: 'sldw' });
$('#AAIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
//$('#AAIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
$('#AIIStorageId').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AIIStoragePosition').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
$('#AAIHasDetail').lrDataItemSelect({ $('#AAIHasDetail').lrDataItemSelect({
code: 'YesOrNoBit', select: function (item) { code: 'YesOrNoBit', select: function (item) {
if (item != null && item != undefined) { if (item != null && item != undefined) {


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.cshtml View File

@@ -67,12 +67,12 @@
<input id="AAIOrder" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> <input id="AAIOrder" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply">
<div class="lr-form-item-title">所在库房<font face="宋体">*</font></div>
<div class="lr-form-item-title">楼宇名称<font face="宋体">*</font></div>
<div id="AAIStorageId" isvalid="yes" checkexpession="NotNull"></div> <div id="AAIStorageId" isvalid="yes" checkexpession="NotNull"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> <div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply">
<div class="lr-form-item-title">所在库位</div>
<input id="AAIStoragePosition" type="text" class="form-control" />
<div class="lr-form-item-title">房间号</div>
<div id="AAIStoragePosition" isvalid="yes" checkexpession="NotNull"></div>
</div> </div>
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfoItemApply"> <div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfoItemApply">
<div class="lr-form-item-title">生成明细<font face="宋体">*</font></div> <div class="lr-form-item-title">生成明细<font face="宋体">*</font></div>


+ 20
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js View File

@@ -96,7 +96,26 @@ var bootstrap = function ($, learun) {
$('#AAISource').lrDataItemSelect({ code: 'zcly' }); $('#AAISource').lrDataItemSelect({ code: 'zcly' });
$('#AAISupplierId').lrDataSourceSelect({ code: 'Ass_SupplierData', value: 'sid', text: 'sname' }); $('#AAISupplierId').lrDataSourceSelect({ code: 'Ass_SupplierData', value: 'sid', text: 'sname' });
$('#AAIUnit').lrDataItemSelect({ code: 'sldw' }); $('#AAIUnit').lrDataItemSelect({ code: 'sldw' });
$('#AAIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
//$('#AAIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
$('#AIIStorageId').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AIIStoragePosition').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
$('#AAIHasDetail').lrDataItemSelect({ code: 'YesOrNoBit' }); $('#AAIHasDetail').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#AAIPhoto').lrUploader(); $('#AAIPhoto').lrUploader();
}, },


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js View File

@@ -89,7 +89,7 @@ var bootstrap = function ($, learun) {
} }
}, },
{ {
label: '所在库房', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
label: '楼宇名称', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', { learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData', url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
key: value, key: value,


+ 15
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_InventoryItemApply/Form.js View File

@@ -41,7 +41,7 @@ var bootstrap = function ($, learun) {
{ label: '资产名称', name: 'aname', width: 150, align: 'left' }, { label: '资产名称', name: 'aname', width: 150, align: 'left' },
{ label: "英文名称", name: "aename", width: 100, align: "left" }, { label: "英文名称", name: "aename", width: 100, align: "left" },
{ {
label: '所在库房', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
label: '楼宇名称', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', { learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData', url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
key: value, key: value,
@@ -52,7 +52,20 @@ var bootstrap = function ($, learun) {
}); });
} }
}, },
{ label: '所在库位', name: 'aiistorageposition', width: 150, align: 'left' },
//{ label: '房间号', name: 'aiistorageposition', width: 150, align: 'left' },
{
label: "房间号", name: "aiistorageposition", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rcode']);
}
});
}
},
{ {
label: '是否在库', name: 'aiisinstorage', width: 150, align: 'left', formatter: function (val, row) { label: '是否在库', name: 'aiisinstorage', width: 150, align: 'left', formatter: function (val, row) {
if (val) { if (val) {


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.cshtml View File

@@ -18,12 +18,12 @@
<input id="AAIName" type="text" class="form-control" readonly="readonly" /> <input id="AAIName" type="text" class="form-control" readonly="readonly" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_InventoryItemApply"> <div class="col-xs-6 lr-form-item" data-table="Ass_InventoryItemApply">
<div class="lr-form-item-title">所在库房</div>
<div class="lr-form-item-title">楼宇名称</div>
<div id="AAIStorage" readonly="readonly"></div> <div id="AAIStorage" readonly="readonly"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_InventoryItemApply"> <div class="col-xs-6 lr-form-item" data-table="Ass_InventoryItemApply">
<div class="lr-form-item-title">所在库位</div>
<input id="AAILocation" type="text" class="form-control" readonly="readonly" />
<div class="lr-form-item-title">房间号</div>
<div id="AAILocation" readonly="readonly"></div>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="Ass_InventoryItemApply"> <div class="col-xs-6 lr-form-item" data-table="Ass_InventoryItemApply">
<div class="lr-form-item-title">是否在库</div> <div class="lr-form-item-title">是否在库</div>


+ 36
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js View File

@@ -41,7 +41,7 @@ var bootstrap = function ($, learun) {
{ label: '资产名称', name: 'aname', width: 150, align: 'left' }, { label: '资产名称', name: 'aname', width: 150, align: 'left' },
{ label: "英文名称", name: "aename", width: 100, align: "left" }, { label: "英文名称", name: "aename", width: 100, align: "left" },
{ {
label: '所在库房', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
label: '楼宇名称', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', { learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData', url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
key: value, key: value,
@@ -52,7 +52,19 @@ var bootstrap = function ($, learun) {
}); });
} }
}, },
{ label: '所在库位', name: 'aiistorageposition', width: 150, align: 'left' },
{
label: "房间号", name: "aiistorageposition", width: 150, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
key: value,
keyId: 'rid',
callback: function (_data) {
callback(_data['rcode']);
}
});
}
},
{ {
label: '是否在库', name: 'aiisinstorage', width: 150, align: 'left', formatter: function (val, row) { label: '是否在库', name: 'aiisinstorage', width: 150, align: 'left', formatter: function (val, row) {
if (val) { if (val) {
@@ -88,7 +100,7 @@ var bootstrap = function ($, learun) {
$('#AAIName').val(data.aname); $('#AAIName').val(data.aname);
$('#AAIStorage').lrselectSet(data.aiistorageid); $('#AAIStorage').lrselectSet(data.aiistorageid);
$('#AAIIsInStorage').lrselectSet(data.aiisinstorage); $('#AAIIsInStorage').lrselectSet(data.aiisinstorage);
$('#AAILocation').val(data.aiistorageposition);
$('#AAILocation').lrselectSet(data.aiistorageposition);
$('#AAIUnit').lrselectSet(data.aunit); $('#AAIUnit').lrselectSet(data.aunit);
$('#AAIEName').val(data.aename); $('#AAIEName').val(data.aename);
$('#AAIModel').val(data.amodel); $('#AAIModel').val(data.amodel);
@@ -99,7 +111,27 @@ var bootstrap = function ($, learun) {
}, },
isMultiple: false isMultiple: false
}); });
$('#AAIStorage').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
//$('#AAIStorage').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
$('#AAIStorage').lrselect({
type: 'tree',
allowSearch: true,
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
param: {},
select: function (val) {
var storageId = "";
if (val) {
storageId = val.value;
}
$('#AAILocation').lrselectRefresh({
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
text: "RCode",
value: "RId"
});
}
});
//房间
$('#AAILocation').lrselect({ value: 'RId', text: 'RCode' });

$('#AAIIsInStorage').lrDataItemSelect({ code: 'YesOrNoBit' }); $('#AAIIsInStorage').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#AAIUnit').lrDataItemSelect({ code: 'sldw' }); $('#AAIUnit').lrDataItemSelect({ code: 'sldw' });
}, },


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Controllers/NWFProcessController.cs View File

@@ -170,6 +170,11 @@ namespace Learun.Application.Web.Areas.LR_NewWorkFlow.Controllers
{ {
return View(); return View();
} }
[HttpGet]
public ActionResult ContractFilingMonitor()
{
return View();
}
/// <summary> /// <summary>
/// 人事归档 /// 人事归档
/// </summary> /// </summary>


+ 25
- 67
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.js View File

@@ -14,7 +14,6 @@ var bootstrap = function ($, learun) {
var page = { var page = {
init: function () { init: function () {
$('#lr_verify').hide(); $('#lr_verify').hide();
page.initleft();
page.initGrid(); page.initGrid();
page.bind(); page.bind();
}, },
@@ -99,74 +98,42 @@ var bootstrap = function ($, learun) {
$parent.find('.active').removeClass('active'); $parent.find('.active').removeClass('active');
$this.addClass('active'); $this.addClass('active');
categoryId = $this.attr('data-value'); categoryId = $this.attr('data-value');
if (categoryId == 3) {
categoryId = 1;
F_EnabledMark = true;
} else {
F_EnabledMark = false;
}
page.search(); page.search();
}); });
}, },
initGrid: function () { initGrid: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/GetPorcessList',
$('#gridtable').jfGrid({
url: top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/GetContractList',
headData: [ headData: [
{ label: '合同编号', name: 'LC_htbh', width: 150, align: "left" },
{ label: '合同名称', name: 'LC_htmc', width: 200, align: "left" },
{ label: '合同额(万元)', name: 'LC_htzje', width: 200, align: "left" },
{ label: '申报人', name: 'F_ModifyUserName', width: 100, align: "left" },
{ label: '对方单位名称', name: 'LC_dfdw', width: 200, align: "left" },
{ label: '联系人', name: 'LC_dflxr', width: 100, align: "left" },
{ label: '联系方式', name: 'LC_dfdh', width: 120, align: "left" },
{ {
label: "标题", name: "F_Title", width: 300, align: "left", formatter: function (cellvalue, row) {
if (row.F_SchemeName != row.F_Title && row.F_Title) {
return row.F_SchemeName + "(" + row.F_Title + ")";
}
else {
return row.F_SchemeName;
}
label: '合同开始时间', name: 'LC_htkssj', width: 100, align: "left", formatter: function (cellvalue, row) {
return learun.formatDate(cellvalue, 'yyyy-MM-dd');
} }
}, },
//{
// label: "等级", name: "F_Level", width: 60, align: "center",
// formatter: function (cellvalue) {
// switch (cellvalue) {
// case 0:
// return '普通';
// break;
// case 1:
// return '重要';
// break;
// case 2:
// return '紧急';
// break;
// default:
// return '普通';
// break;
// }
// }
//},
{ {
label: "状态", name: "F_EnabledMark", width: 70, align: "center",
formatter: function (cellvalue, row) {
if (row.F_IsFinished == 0) {
if (cellvalue == 1) {
if (row.F_IsUrge == "1" && categoryId == '2') {
return "<span class=\"label label-danger\">催办加急</span>";
}
return "<span class=\"label label-success\">运行中</span>";
} else if (cellvalue == 2) {
return "<span class=\"label label-primary\">草稿</span>";
} else {
return "<span class=\"label label-danger\">作废</span>";
}
}
else {
return "<span class=\"label label-warning\">结束</span>";
}

label: '合同结束时间', name: 'LC_htjssj', width: 100, align: "left", formatter: function (cellvalue, row) {
return learun.formatDate(cellvalue, 'yyyy-MM-dd');
} }
}, },
{ label: "发起者", name: "F_CreateUserName", width: 80, align: "center" },
{
label: "时间", name: "F_CreateDate", width: 150, align: "left",
formatter: function (cellvalue) {
return learun.formatDate(cellvalue, 'yyyy-MM-dd hh:mm:ss');
}
}
{ label: '文本盖章份数', name: 'LC_gzfs', width: 80, align: "left" },
{ label: '申报日期', name: 'F_ModifyDate', width: 200, align: "left" }
], ],
mainId: 'F_Id', mainId: 'F_Id',
isPage: true, isPage: true,
sidx: 'F_CreateDate DESC',
sidx: 'F_ModifyDate DESC',
dblclick: function () { dblclick: function () {
page.eye(); page.eye();
} }
@@ -177,21 +144,12 @@ var bootstrap = function ($, learun) {
param = param || {}; param = param || {};
param.StartTime = logbegin; param.StartTime = logbegin;
param.EndTime = logend; param.EndTime = logend;
param.categoryId = categoryId;
param.F_Category = '合同类';
param.F_IsFinished = 1;
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}, },
eye: function () { eye: function () {
var processId = $('#gridtable').jfGridValue('F_Id') || '';
var title = $('#gridtable').jfGridValue('F_Title');
var schemeName = $('#gridtable').jfGridValue('F_SchemeName');

if (schemeName != title && title) {
title = schemeName + "(" + title + ")";
}
else {
title = schemeName;
}
var processId = $('#gridtable').jfGridValue('LC_ID') || '';
var title = $('#gridtable').jfGridValue('LC_htmc');


if (learun.checkrow(processId)) { if (learun.checkrow(processId)) {
learun.frameTab.open({ F_ModuleId: 'monitor' + processId, F_FullName: '查看-' + title, F_UrlAddress: '/LR_NewWorkFlow/NWFProcess/MonitorDetailsIndex?processId=' + processId }); learun.frameTab.open({ F_ModuleId: 'monitor' + processId, F_FullName: '查看-' + title, F_UrlAddress: '/LR_NewWorkFlow/NWFProcess/MonitorDetailsIndex?processId=' + processId });


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/LogController.cs View File

@@ -28,6 +28,11 @@ namespace Learun.Application.Web.Areas.LR_SystemModule.Controllers
{ {
return View(); return View();
} }
[HttpGet]
public ActionResult ApiIndex()
{
return View();
}
/// <summary> /// <summary>
/// 清空 /// 清空
/// </summary> /// </summary>


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyForm.cshtml View File

@@ -15,6 +15,10 @@
<div class="lr-form-item-title">编号<font face="宋体">*</font></div> <div class="lr-form-item-title">编号<font face="宋体">*</font></div>
<input id="F_ItemCode" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" /> <input id="F_ItemCode" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
</div> </div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">标准编码<font face="宋体">*</font></div>
<input id="F_ItemCodeGB" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">排序<font face="宋体">*</font></div> <div class="lr-form-item-title">排序<font face="宋体">*</font></div>
<input id="F_SortCode" type="text" class="form-control" placeholder="请输入排序号" isvalid="yes" checkexpession="Num" /> <input id="F_SortCode" type="text" class="form-control" placeholder="请输入排序号" isvalid="yes" checkexpession="Num" />


+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyIndex.js View File

@@ -74,6 +74,9 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({ $('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/LR_SystemModule/DataItem/GetClassifyList', url: top.$.rootUrl + '/LR_SystemModule/DataItem/GetClassifyList',
headData: [ headData: [
{
label: '标准编码', name: 'F_ItemCodeGB', width: 200, align: 'left'
},
{ label: '名称', name: 'F_ItemName', width: 200, align: 'left' }, { label: '名称', name: 'F_ItemName', width: 200, align: 'left' },
{ label: '编号', name: 'F_ItemCode', width: 200, align: 'left' }, { label: '编号', name: 'F_ItemCode', width: 200, align: 'left' },
{ label: '排序', name: 'F_SortCode', width: 50, align: 'center' }, { label: '排序', name: 'F_SortCode', width: 50, align: 'center' },


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Form.cshtml View File

@@ -12,6 +12,10 @@
<div class="lr-form-item-title">项目值<font face="宋体">*</font></div> <div class="lr-form-item-title">项目值<font face="宋体">*</font></div>
<input id="F_ItemValue" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" /> <input id="F_ItemValue" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
</div> </div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">标准编码<font face="宋体">*</font></div>
<input id="F_ItemCodeGB" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">排序<font face="宋体">*</font></div> <div class="lr-form-item-title">排序<font face="宋体">*</font></div>
<input id="F_SortCode" type="text" class="form-control" placeholder="请输入排序号" isvalid="yes" checkexpession="Num" /> <input id="F_SortCode" type="text" class="form-control" placeholder="请输入排序号" isvalid="yes" checkexpession="Num" />


+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Index.js View File

@@ -108,6 +108,9 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({ $('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/LR_SystemModule/DataItem/GetDetailList', url: top.$.rootUrl + '/LR_SystemModule/DataItem/GetDetailList',
headData: [ headData: [
{
label: '标准编码', name: 'F_ItemCodeGB', width: 200, align: 'left'
},
{ label: '项目名', name: 'F_ItemName', width: 200, align: 'left' }, { label: '项目名', name: 'F_ItemName', width: 200, align: 'left' },
{ label: '项目值', name: 'F_ItemValue', width: 200, align: 'left' }, { label: '项目值', name: 'F_ItemValue', width: 200, align: 'left' },
{ label: '简拼', name: 'F_SimpleSpelling', width: 150, align: 'left' }, { label: '简拼', name: 'F_SimpleSpelling', width: 150, align: 'left' },


+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.cshtml View File

@@ -13,6 +13,9 @@
<div class=" btn-group btn-group-sm"> <div class=" btn-group btn-group-sm">
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a> <a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
</div> </div>
<div class=" btn-group btn-group-sm">
<a id="lr_viewlog" class="btn btn-default"><i class="fa fa-info-circle"></i>&nbsp;<span class="lrlt">在线会话监控</span></a>
</div>
</div> </div>
</div> </div>




+ 12
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.js View File

@@ -19,6 +19,18 @@ var bootstrap = function ($, learun) {
$('#lr_refresh').on('click', function () { $('#lr_refresh').on('click', function () {
location.reload(); location.reload();
}); });
$('#lr_viewlog').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('F_OperateUserId');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'online',
title: '访问监控',
url: top.$.rootUrl + '/Permission/Perm_FunctionVisit/IndexForCount?F_UserId='+keyValue,
height: 500,
width: 800
});
}
});
}, },
initGrid: function () { initGrid: function () {
$('#gridtable').jfGrid({ $('#gridtable').jfGrid({


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Permission/Controllers/Perm_FunctionVisitController.cs View File

@@ -28,6 +28,12 @@ namespace Learun.Application.Web.Areas.Permission.Controllers
{ {
return View(); return View();
} }

[HttpGet]
public ActionResult IndexForCount()
{
return View();
}
/// <summary> /// <summary>
/// 表单页 /// 表单页
/// <summary> /// <summary>


+ 11
- 11
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ResearchGER/Form.cshtml View File

@@ -3,29 +3,29 @@
Layout = "~/Views/Shared/_Form.cshtml"; Layout = "~/Views/Shared/_Form.cshtml";
} }
<div class="lr-form-wrap" id="form"> <div class="lr-form-wrap" id="form">
<div class="col-xs-6 lr-form-item" data-table="ResearchGER" >
<div class="col-xs-12 lr-form-item" data-table="ResearchGER" >
<div class="lr-form-item-title">组织名称<font face="宋体">*</font></div> <div class="lr-form-item-title">组织名称<font face="宋体">*</font></div>
<input id="ResearchGroup" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<input id="GerName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="ResearchGER" >
<div class="col-xs-12 lr-form-item" data-table="ResearchGER" >
<div class="lr-form-item-title">专业组长<font face="宋体">*</font></div> <div class="lr-form-item-title">专业组长<font face="宋体">*</font></div>
<input id="GroupName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<input id="GerBoss" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div> </div>
<div class="col-xs-12 lr-form-item" data-table="ResearchGER" > <div class="col-xs-12 lr-form-item" data-table="ResearchGER" >
<div class="lr-form-item-title">组织成员<font face="宋体">*</font></div> <div class="lr-form-item-title">组织成员<font face="宋体">*</font></div>
<textarea id="GroupPeople" class="form-control" style="height:100px;" isvalid="yes" checkexpession="NotNull" ></textarea>
<textarea id="Gerpeople" class="form-control" style="height:100px;" isvalid="yes" checkexpession="NotNull" ></textarea>
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="ResearchGER" >
<div class="lr-form-item-title">组织成立时间</div>
<input id="GroupTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#GroupTime').trigger('change'); } })" />
<div class="col-xs-12 lr-form-item" data-table="ResearchGER" >
<div class="lr-form-item-title">成立时间</div>
<input id="Gertiem" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#Gertiem').trigger('change'); } })" />
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="ResearchGER" >
<div class="col-xs-12 lr-form-item" data-table="ResearchGER" >
<div class="lr-form-item-title">状态</div> <div class="lr-form-item-title">状态</div>
<div id="StateTex"></div>
<div id="GerState"></div>
</div> </div>
<div class="col-xs-12 lr-form-item" data-table="ResearchGER" > <div class="col-xs-12 lr-form-item" data-table="ResearchGER" >
<div class="lr-form-item-title">备注</div> <div class="lr-form-item-title">备注</div>
<textarea id="RemarkNote" class="form-control" style="height:100px;" ></textarea>
<textarea id="postscript" class="form-control" style="height:100px;" ></textarea>
</div> </div>
</div> </div>
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/ResearchGER/Form.js") @Html.AppendJsFile("/Areas/PersonnelManagement/Views/ResearchGER/Form.js")

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ResearchGER/Form.js View File

@@ -1,7 +1,7 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) /* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 * Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员 * 创建人:超级管理员
* 日 期:2021-05-08 18:17
* 日 期:2021-05-11 18:17
* 描 述:教科研组管理 * 描 述:教科研组管理
*/ */
var acceptClick; var acceptClick;
@@ -15,7 +15,7 @@ var bootstrap = function ($, learun) {
page.initData(); page.initData();
}, },
bind: function () { bind: function () {
$('#StateTex').lrRadioCheckbox({
$('#GerState').lrRadioCheckbox({
type: 'radio', type: 'radio',
code: 'EnableStatus', code: 'EnableStatus',
}); });


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ResearchGER/Index.cshtml View File

@@ -12,7 +12,7 @@
<div class="lr-query-formcontent"> <div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item"> <div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">组织名称</div> <div class="lr-form-item-title">组织名称</div>
<input id="ResearchGroup" type="text" class="form-control" />
<input id="GerName" type="text" class="form-control" />
</div> </div>
</div> </div>
</div> </div>


+ 9
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/ResearchGER/Index.js View File

@@ -1,7 +1,7 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) /* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 * Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员 * 创建人:超级管理员
* 日 期:2021-05-08 18:17
* 日 期:2021-05-11 18:17
* 描 述:教科研组管理 * 描 述:教科研组管理
*/ */
var refreshGirdData; var refreshGirdData;
@@ -15,7 +15,7 @@ var bootstrap = function ($, learun) {
bind: function () { bind: function () {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson); page.search(queryJson);
}, 220, 400);
}, 130, 200);
// 刷新 // 刷新
$('#lr_refresh').on('click', function () { $('#lr_refresh').on('click', function () {
location.reload(); location.reload();
@@ -35,7 +35,7 @@ var bootstrap = function ($, learun) {
}); });
// 编辑 // 编辑
$('#lr_edit').on('click', function () { $('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('MentTID');
var keyValue = $('#gridtable').jfGridValue('GerID');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
learun.layerForm({ learun.layerForm({
id: 'form', id: 'form',
@@ -51,7 +51,7 @@ var bootstrap = function ($, learun) {
}); });
// 删除 // 删除
$('#lr_delete').on('click', function () { $('#lr_delete').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('MentTID');
var keyValue = $('#gridtable').jfGridValue('GerID');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
learun.layerConfirm('是否确认删除该项!', function (res) { learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) { if (res) {
@@ -72,10 +72,10 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({ $('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/PersonnelManagement/ResearchGER/GetPageList', url: top.$.rootUrl + '/PersonnelManagement/ResearchGER/GetPageList',
headData: [ headData: [
{ label: "组织名称", name: "ResearchGroup", width: 100, align: "left"},
{ label: "专业组长", name: "GroupName", width: 100, align: "left"},
{ label: "组织成立时间", name: "GroupTime", width: 100, align: "left"},
{ label: "状态", name: "StateTex", width: 100, align: "left",
{ label: "组织名称", name: "GerName", width: 100, align: "left"},
{ label: "专业组长", name: "GerBoss", width: 100, align: "left"},
{ label: "成立时间", name: "Gertiem", width: 100, align: "left"},
{ label: "状态", name: "GerState", width: 100, align: "left",
formatterAsync: function (callback, value, row, op,$cell) { formatterAsync: function (callback, value, row, op,$cell) {
learun.clientdata.getAsync('dataItem', { learun.clientdata.getAsync('dataItem', {
key: value, key: value,
@@ -86,7 +86,7 @@ var bootstrap = function ($, learun) {
}); });
}}, }},
], ],
mainId:'MentTID',
mainId:'GerID',
isPage: true isPage: true
}); });
page.search(); page.search();


+ 230
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj View File

@@ -284,6 +284,7 @@
<Compile Include="Areas\AppManager\AppManagerAreaRegistration.cs" /> <Compile Include="Areas\AppManager\AppManagerAreaRegistration.cs" />
<Compile Include="Areas\AppManager\Controllers\DTImgController.cs" /> <Compile Include="Areas\AppManager\Controllers\DTImgController.cs" />
<Compile Include="Areas\AppManager\Controllers\FunctionManagerController.cs" /> <Compile Include="Areas\AppManager\Controllers\FunctionManagerController.cs" />
<Compile Include="Areas\Ask\Controllers\Ask_MainOfTeacherController.cs" />
<Compile Include="Areas\AssetManagementSystem\AssetManagementSystemAreaRegistration.cs" /> <Compile Include="Areas\AssetManagementSystem\AssetManagementSystemAreaRegistration.cs" />
<Compile Include="Areas\AssetManagementSystem\Controllers\AllocationController.cs" /> <Compile Include="Areas\AssetManagementSystem\Controllers\AllocationController.cs" />
<Compile Include="Areas\AssetManagementSystem\Controllers\AssReportController.cs" /> <Compile Include="Areas\AssetManagementSystem\Controllers\AssReportController.cs" />
@@ -480,6 +481,7 @@
<Compile Include="Areas\PersonnelManagement\Controllers\MP_QualityObjectivesController.cs" /> <Compile Include="Areas\PersonnelManagement\Controllers\MP_QualityObjectivesController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\MP_ManagementPlanController.cs" /> <Compile Include="Areas\PersonnelManagement\Controllers\MP_ManagementPlanController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\OvertimeApplicationController.cs" /> <Compile Include="Areas\PersonnelManagement\Controllers\OvertimeApplicationController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\ResearchMentController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\StuSaverecordController.cs" /> <Compile Include="Areas\PersonnelManagement\Controllers\StuSaverecordController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\TimeTableController.cs" /> <Compile Include="Areas\PersonnelManagement\Controllers\TimeTableController.cs" />
<Compile Include="Areas\PersonnelManagement\PersonnelManagementAreaRegistration.cs" /> <Compile Include="Areas\PersonnelManagement\PersonnelManagementAreaRegistration.cs" />
@@ -799,6 +801,10 @@
<Compile Include="Areas\EducationalAdministration\Controllers\Sys_DefaultPwdConfigController.cs" /> <Compile Include="Areas\EducationalAdministration\Controllers\Sys_DefaultPwdConfigController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\MeetingSignInRecordController.cs" /> <Compile Include="Areas\PersonnelManagement\Controllers\MeetingSignInRecordController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\MeetingMinutesController.cs" /> <Compile Include="Areas\PersonnelManagement\Controllers\MeetingMinutesController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\ResearchGERController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\ReleaseMettingController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\StudyGuideController.cs" />
<Compile Include="Areas\PersonnelManagement\Controllers\ResourceImportController.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="Areas\AdmissionsPlatform\Views\AP_OnlineUserInfo\DropOutIndex.js" /> <Content Include="Areas\AdmissionsPlatform\Views\AP_OnlineUserInfo\DropOutIndex.js" />
@@ -815,6 +821,14 @@
<Content Include="Areas\AppManager\Views\FunctionManager\Form.css" /> <Content Include="Areas\AppManager\Views\FunctionManager\Form.css" />
<Content Include="Areas\AppManager\Views\FunctionManager\Form.js" /> <Content Include="Areas\AppManager\Views\FunctionManager\Form.js" />
<Content Include="Areas\AppManager\Views\FunctionManager\Index.js" /> <Content Include="Areas\AppManager\Views\FunctionManager\Index.js" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerIndex.js" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerQuery.js" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Form.js" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Index.js" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Paper.js" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperAdminView.js" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperView.js" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\TeacherIndex.js" />
<Content Include="Areas\Ask\Views\Ask_Question\AnalysisIndex.js" /> <Content Include="Areas\Ask\Views\Ask_Question\AnalysisIndex.js" />
<Content Include="Areas\AssetManagementSystem\Views\Allocation\Form.js" /> <Content Include="Areas\AssetManagementSystem\Views\Allocation\Form.js" />
<Content Include="Areas\AssetManagementSystem\Views\Allocation\Index.js" /> <Content Include="Areas\AssetManagementSystem\Views\Allocation\Index.js" />
@@ -1003,6 +1017,7 @@
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\Index.cshtml" /> <Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\Index.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\Index.js" /> <Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\Index.js" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\IssueForm.js" /> <Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\IssueForm.js" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\PrintView.js" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\ReadList.js" /> <Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\ReadList.js" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveFile\FormParty.js" /> <Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveFile\FormParty.js" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveFile\FormReadDocument.js" /> <Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveFile\FormReadDocument.js" />
@@ -1296,6 +1311,7 @@
<Content Include="Areas\LR_OAModule\Views\Notice\IndexFlow.js" /> <Content Include="Areas\LR_OAModule\Views\Notice\IndexFlow.js" />
<Content Include="Areas\LR_OAModule\Views\ResourceFile\BcIndex.js" /> <Content Include="Areas\LR_OAModule\Views\ResourceFile\BcIndex.js" />
<Content Include="Areas\LR_OAModule\Views\Signet\Index.js" /> <Content Include="Areas\LR_OAModule\Views\Signet\Index.js" />
<Content Include="Areas\LR_OrganizationModule\Views\User\FamilyIndex.js" />
<Content Include="Areas\LR_PortalSite\Views\Article\Form.css" /> <Content Include="Areas\LR_PortalSite\Views\Article\Form.css" />
<Content Include="Areas\LR_PortalSite\Views\Article\Form.js" /> <Content Include="Areas\LR_PortalSite\Views\Article\Form.js" />
<Content Include="Areas\LR_PortalSite\Views\Article\Index.js" /> <Content Include="Areas\LR_PortalSite\Views\Article\Index.js" />
@@ -1329,6 +1345,7 @@
<Content Include="Areas\LR_PortalSite\Views\Page\SetContentForm.css" /> <Content Include="Areas\LR_PortalSite\Views\Page\SetContentForm.css" />
<Content Include="Areas\LR_PortalSite\Views\Page\SetContentForm.js" /> <Content Include="Areas\LR_PortalSite\Views\Page\SetContentForm.js" />
<Content Include="Areas\LR_PortalSite\Views\Page\SetNameForm.js" /> <Content Include="Areas\LR_PortalSite\Views\Page\SetNameForm.js" />
<Content Include="Areas\LR_ReportModule\Views\ReportTemplate\NWFSchemeReport.js" />
<Content Include="Areas\LR_SystemModule\Views\Files\FileAuthAddFrom.js" /> <Content Include="Areas\LR_SystemModule\Views\Files\FileAuthAddFrom.js" />
<Content Include="Areas\LR_SystemModule\Views\Files\FileAuthFrom.js" /> <Content Include="Areas\LR_SystemModule\Views\Files\FileAuthFrom.js" />
<Content Include="Areas\LR_SystemModule\Views\Files\FileAuthIndex.js" /> <Content Include="Areas\LR_SystemModule\Views\Files\FileAuthIndex.js" />
@@ -1339,6 +1356,7 @@
<Content Include="Areas\LR_SystemModule\Views\Files\Form.js" /> <Content Include="Areas\LR_SystemModule\Views\Files\Form.js" />
<Content Include="Areas\LR_SystemModule\Views\Files\Index.css" /> <Content Include="Areas\LR_SystemModule\Views\Files\Index.css" />
<Content Include="Areas\LR_SystemModule\Views\Files\Index.js" /> <Content Include="Areas\LR_SystemModule\Views\Files\Index.js" />
<Content Include="Areas\LR_SystemModule\Views\Log\ApiIndex.js" />
<Content Include="Areas\LR_TaskScheduling\Views\TaskDesign\AddDetailedForm.css" /> <Content Include="Areas\LR_TaskScheduling\Views\TaskDesign\AddDetailedForm.css" />
<Content Include="Areas\LR_TaskScheduling\Views\TaskDesign\AddDetailedForm.js" /> <Content Include="Areas\LR_TaskScheduling\Views\TaskDesign\AddDetailedForm.js" />
<Content Include="Areas\LR_TaskScheduling\Views\TaskDesign\Form.css" /> <Content Include="Areas\LR_TaskScheduling\Views\TaskDesign\Form.css" />
@@ -1355,6 +1373,7 @@
<Content Include="Areas\LR_TaskScheduling\Views\TSScheme\Index.js" /> <Content Include="Areas\LR_TaskScheduling\Views\TSScheme\Index.js" />
<Content Include="Areas\LR_TaskScheduling\Views\TSScheme\SelectExpressForm.css" /> <Content Include="Areas\LR_TaskScheduling\Views\TSScheme\SelectExpressForm.css" />
<Content Include="Areas\LR_TaskScheduling\Views\TSScheme\SelectExpressForm.js" /> <Content Include="Areas\LR_TaskScheduling\Views\TSScheme\SelectExpressForm.js" />
<Content Include="Areas\Permission\Views\Perm_FunctionVisit\IndexForCount.js" />
<Content Include="Areas\PersonnelManagement\Views\ContractManagement\FormRemove.js" /> <Content Include="Areas\PersonnelManagement\Views\ContractManagement\FormRemove.js" />
<Content Include="Areas\PersonnelManagement\Views\ContractManagement\FormTerminate.js" /> <Content Include="Areas\PersonnelManagement\Views\ContractManagement\FormTerminate.js" />
<Content Include="Areas\PersonnelManagement\Views\ContractManagement\FormRenew.js" /> <Content Include="Areas\PersonnelManagement\Views\ContractManagement\FormRenew.js" />
@@ -1364,8 +1383,6 @@
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyApply.js" /> <Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyApply.js" />
<Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Form.js" /> <Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Form.js" />
<Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Index.js" /> <Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Index.js" />
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Form.js" />
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Index.js" />
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Form.js" /> <Content Include="Areas\PersonnelManagement\Views\ResearchMent\Form.js" />
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Index.js" /> <Content Include="Areas\PersonnelManagement\Views\ResearchMent\Index.js" />
<Content Include="Areas\PersonnelManagement\Views\Sal_UserSalary\ImportForm.css" /> <Content Include="Areas\PersonnelManagement\Views\Sal_UserSalary\ImportForm.css" />
@@ -1397,7 +1414,16 @@
<Content Include="Areas\StudentWork\Views\SW_Ask_Question\SelectIndex.js" /> <Content Include="Areas\StudentWork\Views\SW_Ask_Question\SelectIndex.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Type\FormView.js" /> <Content Include="Areas\StudentWork\Views\SW_Ask_Type\FormView.js" />
<Content Include="Areas\StudentWork\Views\SW_HolidayGo\StatisticIndex.js" /> <Content Include="Areas\StudentWork\Views\SW_HolidayGo\StatisticIndex.js" />
<Content Include="Content\css\DragSSO\blue.css" />
<Content Include="Content\css\DragSSO\common.css" />
<Content Include="Content\css\DragSSO\green.css" />
<Content Include="Content\css\DragSSO\index.css" />
<Content Include="Content\css\DragSSO\index2.css" />
<Content Include="Content\css\DragSSO\index3.css" />
<Content Include="Content\css\DragSSO\login5.css" />
<Content Include="Content\css\DragSSO\red.css" />
<Content Include="Content\css\LoginModel\login8.css" /> <Content Include="Content\css\LoginModel\login8.css" />
<Content Include="Content\css\LoginModel\login9.css" />
<Content Include="Content\css\OnlineRegistrate\Footer.html" /> <Content Include="Content\css\OnlineRegistrate\Footer.html" />
<Content Include="Content\css\OnlineRegistrate\Header.html" /> <Content Include="Content\css\OnlineRegistrate\Header.html" />
<Content Include="Content\css\OnlineRegistrate\login.css" /> <Content Include="Content\css\OnlineRegistrate\login.css" />
@@ -1719,6 +1745,154 @@
<Content Include="Content\idcardreader\npCertReader.dll" /> <Content Include="Content\idcardreader\npCertReader.dll" />
<Content Include="Content\images\calendar.png" /> <Content Include="Content\images\calendar.png" />
<Content Include="Content\images\chick1.png" /> <Content Include="Content\images\chick1.png" />
<Content Include="Content\images\DragSSO\close.png" />
<Content Include="Content\images\DragSSO\close2.png" />
<Content Include="Content\images\DragSSO\download.png" />
<Content Include="Content\images\DragSSO\duigou.png" />
<Content Include="Content\images\DragSSO\head1.png" />
<Content Include="Content\images\DragSSO\head2.png" />
<Content Include="Content\images\DragSSO\head3.png" />
<Content Include="Content\images\DragSSO\head4-1.png" />
<Content Include="Content\images\DragSSO\head4-2.png" />
<Content Include="Content\images\DragSSO\head4-3.png" />
<Content Include="Content\images\DragSSO\head4.png" />
<Content Include="Content\images\DragSSO\headBg-green.jpg" />
<Content Include="Content\images\DragSSO\headBg-red.jpg" />
<Content Include="Content\images\DragSSO\headBg.jpg" />
<Content Include="Content\images\DragSSO\headBg2.jpg" />
<Content Include="Content\images\DragSSO\indexSec2-1.png" />
<Content Include="Content\images\DragSSO\indexSec2-2.png" />
<Content Include="Content\images\DragSSO\indexSec3-1.png" />
<Content Include="Content\images\DragSSO\indexSec3-10.png" />
<Content Include="Content\images\DragSSO\indexSec3-11.png" />
<Content Include="Content\images\DragSSO\indexSec3-12.png" />
<Content Include="Content\images\DragSSO\indexSec3-13.png" />
<Content Include="Content\images\DragSSO\indexSec3-14.png" />
<Content Include="Content\images\DragSSO\indexSec3-15.jpg" />
<Content Include="Content\images\DragSSO\indexSec3-16.jpg" />
<Content Include="Content\images\DragSSO\indexSec3-17.jpg" />
<Content Include="Content\images\DragSSO\indexSec3-18.jpg" />
<Content Include="Content\images\DragSSO\indexSec3-19.jpg" />
<Content Include="Content\images\DragSSO\indexSec3-2.png" />
<Content Include="Content\images\DragSSO\indexSec3-20.jpg" />
<Content Include="Content\images\DragSSO\indexSec3-21.jpg" />
<Content Include="Content\images\DragSSO\indexSec3-22.jpg" />
<Content Include="Content\images\DragSSO\indexSec3-23.png" />
<Content Include="Content\images\DragSSO\indexSec3-24.png" />
<Content Include="Content\images\DragSSO\indexSec3-25.png" />
<Content Include="Content\images\DragSSO\indexSec3-26.png" />
<Content Include="Content\images\DragSSO\indexSec3-27.png" />
<Content Include="Content\images\DragSSO\indexSec3-28.png" />
<Content Include="Content\images\DragSSO\indexSec3-3.png" />
<Content Include="Content\images\DragSSO\indexSec3-4.png" />
<Content Include="Content\images\DragSSO\indexSec3-5.png" />
<Content Include="Content\images\DragSSO\indexSec3-6.png" />
<Content Include="Content\images\DragSSO\indexSec3-7.png" />
<Content Include="Content\images\DragSSO\indexSec3-8.png" />
<Content Include="Content\images\DragSSO\indexSec3-9.png" />
<Content Include="Content\images\DragSSO\indSec1-1.png" />
<Content Include="Content\images\DragSSO\indSec1-10.png" />
<Content Include="Content\images\DragSSO\indSec1-11.png" />
<Content Include="Content\images\DragSSO\indSec1-12.png" />
<Content Include="Content\images\DragSSO\indSec1-13.png" />
<Content Include="Content\images\DragSSO\indSec1-14.png" />
<Content Include="Content\images\DragSSO\indSec1-15.png" />
<Content Include="Content\images\DragSSO\indSec1-16.png" />
<Content Include="Content\images\DragSSO\indSec1-17.png" />
<Content Include="Content\images\DragSSO\indSec1-18.png" />
<Content Include="Content\images\DragSSO\indSec1-19.png" />
<Content Include="Content\images\DragSSO\indSec1-2.png" />
<Content Include="Content\images\DragSSO\indSec1-20.png" />
<Content Include="Content\images\DragSSO\indSec1-3.png" />
<Content Include="Content\images\DragSSO\indSec1-4.png" />
<Content Include="Content\images\DragSSO\indSec1-5.png" />
<Content Include="Content\images\DragSSO\indSec1-6.png" />
<Content Include="Content\images\DragSSO\indSec1-7.png" />
<Content Include="Content\images\DragSSO\indSec1-8.png" />
<Content Include="Content\images\DragSSO\indSec1-9.png" />
<Content Include="Content\images\DragSSO\indSec3-1.png" />
<Content Include="Content\images\DragSSO\indSec3-2.png" />
<Content Include="Content\images\DragSSO\indSec3-3.png" />
<Content Include="Content\images\DragSSO\indSec3-4.png" />
<Content Include="Content\images\DragSSO\indSec3-5.png" />
<Content Include="Content\images\DragSSO\indSec3-6.png" />
<Content Include="Content\images\DragSSO\inSec1-10.png" />
<Content Include="Content\images\DragSSO\inSec1-11.png" />
<Content Include="Content\images\DragSSO\inSec1-12.png" />
<Content Include="Content\images\DragSSO\inSec1-13.png" />
<Content Include="Content\images\DragSSO\inSec1-14.png" />
<Content Include="Content\images\DragSSO\inSec1-15.png" />
<Content Include="Content\images\DragSSO\inSec1-16.png" />
<Content Include="Content\images\DragSSO\inSec1-17.png" />
<Content Include="Content\images\DragSSO\inSec1-18.png" />
<Content Include="Content\images\DragSSO\inSec1-19.png" />
<Content Include="Content\images\DragSSO\inSec1-2.png" />
<Content Include="Content\images\DragSSO\inSec1-20.png" />
<Content Include="Content\images\DragSSO\inSec1-21.png" />
<Content Include="Content\images\DragSSO\inSec1-22.png" />
<Content Include="Content\images\DragSSO\inSec1-3.png" />
<Content Include="Content\images\DragSSO\inSec1-4.png" />
<Content Include="Content\images\DragSSO\inSec1-5.png" />
<Content Include="Content\images\DragSSO\inSec1-6.png" />
<Content Include="Content\images\DragSSO\inSec1-7.png" />
<Content Include="Content\images\DragSSO\inSec1-8.png" />
<Content Include="Content\images\DragSSO\inSec1-9.png" />
<Content Include="Content\images\DragSSO\inSec2-1.png" />
<Content Include="Content\images\DragSSO\inSec2-10.png" />
<Content Include="Content\images\DragSSO\inSec2-11.png" />
<Content Include="Content\images\DragSSO\inSec2-12.png" />
<Content Include="Content\images\DragSSO\inSec2-13.png" />
<Content Include="Content\images\DragSSO\inSec2-14.png" />
<Content Include="Content\images\DragSSO\inSec2-15.png" />
<Content Include="Content\images\DragSSO\inSec2-16.png" />
<Content Include="Content\images\DragSSO\inSec2-17.png" />
<Content Include="Content\images\DragSSO\inSec2-18.png" />
<Content Include="Content\images\DragSSO\inSec2-2.png" />
<Content Include="Content\images\DragSSO\inSec2-3.png" />
<Content Include="Content\images\DragSSO\inSec2-4.png" />
<Content Include="Content\images\DragSSO\inSec2-5.png" />
<Content Include="Content\images\DragSSO\inSec2-6.png" />
<Content Include="Content\images\DragSSO\inSec2-7.png" />
<Content Include="Content\images\DragSSO\inSec2-8.png" />
<Content Include="Content\images\DragSSO\inSec2-9.png" />
<Content Include="Content\images\DragSSO\inSec3-10.png" />
<Content Include="Content\images\DragSSO\inSec3-11.png" />
<Content Include="Content\images\DragSSO\inSec3-12.png" />
<Content Include="Content\images\DragSSO\inSec3-13.png" />
<Content Include="Content\images\DragSSO\inSec3-14.png" />
<Content Include="Content\images\DragSSO\inSec3-15.png" />
<Content Include="Content\images\DragSSO\inSec3-2.png" />
<Content Include="Content\images\DragSSO\inSec3-3.png" />
<Content Include="Content\images\DragSSO\inSec3-4.png" />
<Content Include="Content\images\DragSSO\inSec3-5.png" />
<Content Include="Content\images\DragSSO\inSec3-6.png" />
<Content Include="Content\images\DragSSO\inSec3-7.png" />
<Content Include="Content\images\DragSSO\inSec3-8.png" />
<Content Include="Content\images\DragSSO\inSec3-9.png" />
<Content Include="Content\images\DragSSO\inSec6-12.png" />
<Content Include="Content\images\DragSSO\inSec6-13.png" />
<Content Include="Content\images\DragSSO\inSec6-14.png" />
<Content Include="Content\images\DragSSO\inSec6-3.png" />
<Content Include="Content\images\DragSSO\inSec6-4.png" />
<Content Include="Content\images\DragSSO\inSec6-5.png" />
<Content Include="Content\images\DragSSO\inSec6-6.png" />
<Content Include="Content\images\DragSSO\login5-1.png" />
<Content Include="Content\images\DragSSO\login5-1s.png" />
<Content Include="Content\images\DragSSO\login5-2.png" />
<Content Include="Content\images\DragSSO\login5-2s.png" />
<Content Include="Content\images\DragSSO\login5-3.png" />
<Content Include="Content\images\DragSSO\login5-3s.png" />
<Content Include="Content\images\DragSSO\message.png" />
<Content Include="Content\images\DragSSO\noLogin.png" />
<Content Include="Content\images\DragSSO\right2.png" />
<Content Include="Content\images\DragSSO\search.png" />
<Content Include="Content\images\DragSSO\skin1.jpg" />
<Content Include="Content\images\DragSSO\skin2.jpg" />
<Content Include="Content\images\DragSSO\skin3.jpg" />
<Content Include="Content\images\DragSSO\tips1.png" />
<Content Include="Content\images\DragSSO\user.jpg" />
<Content Include="Content\images\DragSSO\verCode.png" />
<Content Include="Content\images\DragSSO\weixin.png" />
<Content Include="Content\images\floor\inSec1-10_2.png" /> <Content Include="Content\images\floor\inSec1-10_2.png" />
<Content Include="Content\css\font-awesome.css" /> <Content Include="Content\css\font-awesome.css" />
<Content Include="Content\css\index.css" /> <Content Include="Content\css\index.css" />
@@ -1813,6 +1987,7 @@
<Content Include="Content\images\LoginPage\wxLogin.png" /> <Content Include="Content\images\LoginPage\wxLogin.png" />
<Content Include="Content\images\LoginPage\xxlogo.png" /> <Content Include="Content\images\LoginPage\xxlogo.png" />
<Content Include="Content\images\LoginPage\zuo.png" /> <Content Include="Content\images\LoginPage\zuo.png" />
<Content Include="Content\images\Login\key.png" />
<Content Include="Content\images\Login\login8-1.png" /> <Content Include="Content\images\Login\login8-1.png" />
<Content Include="Content\images\Login\login8-2.png" /> <Content Include="Content\images\Login\login8-2.png" />
<Content Include="Content\images\Login\login8-3.png" /> <Content Include="Content\images\Login\login8-3.png" />
@@ -1822,12 +1997,16 @@
<Content Include="Content\images\Login\login8-7.png" /> <Content Include="Content\images\Login\login8-7.png" />
<Content Include="Content\images\Login\login8-8.png" /> <Content Include="Content\images\Login\login8-8.png" />
<Content Include="Content\images\Login\loginBg8.jpg" /> <Content Include="Content\images\Login\loginBg8.jpg" />
<Content Include="Content\images\Login\loginBg9.jpg" />
<Content Include="Content\images\Login\logo8.png" /> <Content Include="Content\images\Login\logo8.png" />
<Content Include="Content\images\Login\logo9.png" />
<Content Include="Content\images\Login\person.png" />
<Content Include="Content\images\Login\user1.jpg" /> <Content Include="Content\images\Login\user1.jpg" />
<Content Include="Content\images\Login\user2.jpg" /> <Content Include="Content\images\Login\user2.jpg" />
<Content Include="Content\images\Login\user3.jpg" /> <Content Include="Content\images\Login\user3.jpg" />
<Content Include="Content\images\Login\user4.png" /> <Content Include="Content\images\Login\user4.png" />
<Content Include="Content\images\Login\user5.png" /> <Content Include="Content\images\Login\user5.png" />
<Content Include="Content\images\Login\variCode.png" />
<Content Include="Content\images\Login\verCode.png" /> <Content Include="Content\images\Login\verCode.png" />
<Content Include="Content\images\OnlineRegistrate\bj1.png" /> <Content Include="Content\images\OnlineRegistrate\bj1.png" />
<Content Include="Content\images\OnlineRegistrate\error.png" /> <Content Include="Content\images\OnlineRegistrate\error.png" />
@@ -2845,6 +3024,14 @@
<Content Include="Content\jquery\qrcode.min.js" /> <Content Include="Content\jquery\qrcode.min.js" />
<Content Include="Content\js\bootstrap.min.js" /> <Content Include="Content\js\bootstrap.min.js" />
<Content Include="Content\js\china.js" /> <Content Include="Content\js\china.js" />
<Content Include="Content\js\DragSSO\aLeft.js" />
<Content Include="Content\js\DragSSO\index.js" />
<Content Include="Content\js\DragSSO\index2.js" />
<Content Include="Content\js\DragSSO\index3.js" />
<Content Include="Content\js\DragSSO\indexData.js" />
<Content Include="Content\js\DragSSO\inSecHead.js" />
<Content Include="Content\js\DragSSO\main.js" />
<Content Include="Content\js\DragSSO\sortable.js" />
<Content Include="Content\js\easing.js" /> <Content Include="Content\js\easing.js" />
<Content Include="Content\js\echarts.js" /> <Content Include="Content\js\echarts.js" />
<Content Include="Content\js\echarts.min.js" /> <Content Include="Content\js\echarts.min.js" />
@@ -3802,6 +3989,8 @@
<Content Include="Views\Login\PageFive\IndexWxLogin.js" /> <Content Include="Views\Login\PageFive\IndexWxLogin.js" />
<Content Include="Views\Login\PageFour\IndexWxLogin.js" /> <Content Include="Views\Login\PageFour\IndexWxLogin.js" />
<Content Include="Views\Login\PageOne\IndexWxLogin.js" /> <Content Include="Views\Login\PageOne\IndexWxLogin.js" />
<Content Include="Views\Login\PageSeven\Index.js" />
<Content Include="Views\Login\PageSeven\IndexWxLogin.js" />
<Content Include="Views\Login\PageSix\IndexWxLogin.js" /> <Content Include="Views\Login\PageSix\IndexWxLogin.js" />
<Content Include="Views\Login\PageSix\Index.js" /> <Content Include="Views\Login\PageSix\Index.js" />
<Content Include="Views\Login\PageFive\Index.js" /> <Content Include="Views\Login\PageFive\Index.js" />
@@ -6163,6 +6352,22 @@
<Content Include="Areas\PersonnelManagement\Views\MeetingMinutes\Index.js" /> <Content Include="Areas\PersonnelManagement\Views\MeetingMinutes\Index.js" />
<Content Include="Areas\PersonnelManagement\Views\MeetingMinutes\Form.cshtml" /> <Content Include="Areas\PersonnelManagement\Views\MeetingMinutes\Form.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\MeetingMinutes\Form.js" /> <Content Include="Areas\PersonnelManagement\Views\MeetingMinutes\Form.js" />
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Index.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Index.js" />
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Form.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Form.js" />
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Index.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Index.js" />
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Form.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Form.js" />
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Index.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Index.js" />
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Form.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Form.js" />
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Index.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Index.js" />
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Form.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Form.js" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="Areas\LR_Desktop\Models\" /> <Folder Include="Areas\LR_Desktop\Models\" />
@@ -6935,8 +7140,6 @@
<Content Include="Areas\PersonnelManagement\Views\FundExaminer\Index.cshtml" /> <Content Include="Areas\PersonnelManagement\Views\FundExaminer\Index.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Form.cshtml" /> <Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Form.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Index.cshtml" /> <Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Index.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Form.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Index.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Form.cshtml" /> <Content Include="Areas\PersonnelManagement\Views\ResearchMent\Form.cshtml" />
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Index.cshtml" /> <Content Include="Areas\PersonnelManagement\Views\ResearchMent\Index.cshtml" />
<Content Include="Areas\LR_Desktop\Views\MessageRind\Form.cshtml" /> <Content Include="Areas\LR_Desktop\Views\MessageRind\Form.cshtml" />
@@ -6949,6 +7152,21 @@
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticCountIndex.cshtml" /> <Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticCountIndex.cshtml" />
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticTimeForm.cshtml" /> <Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticTimeForm.cshtml" />
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticTimeIndex.cshtml" /> <Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticTimeIndex.cshtml" />
<Content Include="Areas\LR_ReportModule\Views\ReportTemplate\NWFSchemeReport.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\PrintView.cshtml" />
<Content Include="Areas\LR_SystemModule\Views\Log\ApiIndex.cshtml" />
<Content Include="Areas\LR_SystemModule\Views\Log\ApiIndex.cshtml" />
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\ContractFilingMonitor.cshtml" />
<Content Include="Areas\Permission\Views\Perm_FunctionVisit\IndexForCount.cshtml" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerIndex.cshtml" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerQuery.cshtml" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Form.cshtml" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Index.cshtml" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Paper.cshtml" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperAdminView.cshtml" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperView.cshtml" />
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\TeacherIndex.cshtml" />
<Content Include="Areas\LR_OrganizationModule\Views\User\FamilyIndex.cshtml" />
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" /> <None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
<Content Include="Views\Login\Default-beifen.cshtml" /> <Content Include="Views\Login\Default-beifen.cshtml" />
<None Include="Properties\PublishProfiles\FolderProfile1.pubxml" /> <None Include="Properties\PublishProfiles\FolderProfile1.pubxml" />
@@ -7019,6 +7237,14 @@
<Content Include="Views\Login\PageTwoWxLogin.cshtml" /> <Content Include="Views\Login\PageTwoWxLogin.cshtml" />
<Content Include="Views\Home\SSOApplication.cshtml" /> <Content Include="Views\Home\SSOApplication.cshtml" />
<Content Include="Views\Home\GoToApplication.cshtml" /> <Content Include="Views\Home\GoToApplication.cshtml" />
<Content Include="Views\SSOSystem\DragModelOne.cshtml" />
<Content Include="Views\SSOSystem\DragModelThree.cshtml" />
<Content Include="Views\SSOSystem\DragModelTwo.cshtml" />
<Content Include="Views\SSOSystem\DragNoLogin.cshtml" />
<Content Include="Views\SSOSystem\DragNoWxLogin.cshtml" />
<Content Include="Views\SSOSystem\_LayoutSSODrag.cshtml" />
<Content Include="Views\Login\PageSeven.cshtml" />
<Content Include="Views\Login\PageSevenWxLogin.cshtml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<WCFMetadata Include="Connected Services\" /> <WCFMetadata Include="Connected Services\" />


+ 9
- 7
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/custmerform/lr-formcomponts.js View File

@@ -421,6 +421,7 @@
table: '', table: '',
field: "", field: "",
proportion: '1', proportion: '1',
verify: '',


dataSource: '0', // 0数据字典1数据源 dataSource: '0', // 0数据字典1数据源
dataSourceId: '', dataSourceId: '',
@@ -431,7 +432,7 @@
}, },
property: function ($component) { property: function ($component) {
var dfop = $component[0].dfop; var dfop = $component[0].dfop;
var $html = setComponentPropertyHtml($component);
var $html = setComponentPropertyHtml($component, verifyDatalist2);
var _html = ''; var _html = '';
_html += '<div class="lr-component-title">数据来源</div>'; _html += '<div class="lr-component-title">数据来源</div>';
_html += '<div class="lr-component-control"><div id="lr_component_dataSource"></div></div>'; _html += '<div class="lr-component-control"><div id="lr_component_dataSource"></div></div>';
@@ -459,7 +460,7 @@
setDatasource(dfop); setDatasource(dfop);
}, },
renderTable: function (compont, $row) {//使用表单的时候渲染成table renderTable: function (compont, $row) {//使用表单的时候渲染成table
var $compont = $('<div class="radio"></div>');
var $compont = $('<div id="' + compont.id + '" class="radio"></div>');
/*获取数据字典或者数据源数据*/ /*获取数据字典或者数据源数据*/
if (compont.dataSource == '0') { if (compont.dataSource == '0') {
learun.clientdata.getAllAsync('dataItem', { learun.clientdata.getAllAsync('dataItem', {
@@ -488,7 +489,7 @@
return $compont; return $compont;
}, },
renderQuery: function (compont, $row) { renderQuery: function (compont, $row) {
var $compont = $('<div class="radio"></div>');
var $compont = $('<div id="' + compont.id + '" class="radio"></div>');
/*获取数据字典或者数据源数据*/ /*获取数据字典或者数据源数据*/
if (compont.dataSource == '0') { if (compont.dataSource == '0') {
learun.clientdata.getAllAsync('dataItem', { learun.clientdata.getAllAsync('dataItem', {
@@ -530,17 +531,18 @@
table: '', table: '',
field: "", field: "",
proportion: '1', proportion: '1',
verify: '',


dataSource: '0', // 0数据字典1数据源 dataSource: '0', // 0数据字典1数据源
dataSourceId: '', dataSourceId: '',
itemCode:'',
itemCode: '',
dfvalue: '' // 默认值 dfvalue: '' // 默认值
}; };
$component.html(getComponentRowHtml({ name: $component[0].dfop.title, text: "多选项" })); $component.html(getComponentRowHtml({ name: $component[0].dfop.title, text: "多选项" }));
}, },
property: function ($component) { property: function ($component) {
var dfop = $component[0].dfop; var dfop = $component[0].dfop;
var $html = setComponentPropertyHtml($component);
var $html = setComponentPropertyHtml($component, verifyDatalist2);
var _html = ''; var _html = '';
_html += '<div class="lr-component-title">数据来源</div>'; _html += '<div class="lr-component-title">数据来源</div>';
_html += '<div class="lr-component-control"><div id="lr_component_dataSource"></div></div>'; _html += '<div class="lr-component-control"><div id="lr_component_dataSource"></div></div>';
@@ -567,7 +569,7 @@
setDatasource(dfop); setDatasource(dfop);
}, },
renderTable: function (compont, $row) {//使用表单的时候渲染成table renderTable: function (compont, $row) {//使用表单的时候渲染成table
var $compont = $('<div class="checkbox"></div>');
var $compont = $('<div id="' + compont.id + '" class="checkbox"></div>');
/*获取数据字典或者数据源数据*/ /*获取数据字典或者数据源数据*/
if (compont.dataSource == '0') { if (compont.dataSource == '0') {
learun.clientdata.getAllAsync('dataItem', { learun.clientdata.getAllAsync('dataItem', {
@@ -597,7 +599,7 @@
return $compont; return $compont;
}, },
renderQuery: function (compont, $row) { renderQuery: function (compont, $row) {
var $compont = $('<div class="checkbox"></div>');
var $compont = $('<div id="' + compont.id + '" class="checkbox"></div>');
/*获取数据字典或者数据源数据*/ /*获取数据字典或者数据源数据*/
if (compont.dataSource == '0') { if (compont.dataSource == '0') {
learun.clientdata.getAllAsync('dataItem', { learun.clientdata.getAllAsync('dataItem', {


+ 43
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/custmerform/lr-formrender.js View File

@@ -106,6 +106,7 @@
$.lrValidCustmerform = function () { $.lrValidCustmerform = function () {
var validateflag = true; var validateflag = true;
var validHelper = learun.validator; var validHelper = learun.validator;

$('body').find("[isvalid=yes]").each(function () { $('body').find("[isvalid=yes]").each(function () {
var $this = $(this); var $this = $(this);
if ($this.parent().find('.lr-field-error-info').length > 0) { if ($this.parent().find('.lr-field-error-info').length > 0) {
@@ -126,7 +127,27 @@
value = $this.lrformselectGet(); value = $this.lrformselectGet();
} }
else { else {
value = $this.val();
if ($this.hasClass("checkbox")) {//多选框
var checkedList = $this.find("input[name='" + $this.attr('id') + "']:checked");
if (checkedList.length > 0) {
value = '';
$.each(checkedList, function (i, item) {
if (value != '' && value != undefined) {
value += ',';
}
value += $(item).val();
});
}
}
else if ($this.hasClass("radio")) {//单选框
var checkedList = $this.find("input[name='" + $this.attr('id') + "']:checked");
if (checkedList.length > 0) {
value = checkedList.val();
}
}
else {
value = $this.val();
}
} }
var r = { code: true, msg: '' }; var r = { code: true, msg: '' };
if (checkexpession == 'LenNum' || checkexpession == 'LenNumOrNull' || checkexpession == 'LenStr' || checkexpession == 'LenStrOrNull') { if (checkexpession == 'LenNum' || checkexpession == 'LenNumOrNull' || checkexpession == 'LenStr' || checkexpession == 'LenStrOrNull') {
@@ -236,6 +257,12 @@
if ($obj.hasClass("lr-input-wdatepicker")) { if ($obj.hasClass("lr-input-wdatepicker")) {
type = "datepicker"; type = "datepicker";
} }
else if ($obj.hasClass("checkbox")) {
type = "checkbox";
}
else if ($obj.hasClass("radio")) {
type = "radio";
}
switch (type) { switch (type) {
case "lrselect": case "lrselect":
$obj.lrselectSet(value); $obj.lrselectSet(value);
@@ -243,6 +270,21 @@
case "formselect": case "formselect":
$obj.lrformselectSet(value); $obj.lrformselectSet(value);
break; break;
case "checkbox":
$obj.find('input[name="' + id + '"]:checked').trigger('click');
if (value != null && value != undefined && value != '') {
vs = value.split(',');
for (var i = 0; i < vs.length; i++) {
$obj.find('input[name="' + id + '"][value="' + vs[i] + '"]').trigger('click');
}
}
break;
case "radio":
$obj.find('input[name="' + id + '"]:checked').trigger('click');
if (value != null && value != undefined && value != '') {
$obj.find('input[name="' + id + '"][value="' + value + '"]').trigger('click');
}
break;
case "datepicker": case "datepicker":
if ($obj.attr('dateformat') == "0") { if ($obj.attr('dateformat') == "0") {
$obj.val(learun.formatDate(value, 'yyyy-MM-dd')); $obj.val(learun.formatDate(value, 'yyyy-MM-dd'));


+ 11
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator.js View File

@@ -12,7 +12,7 @@
/*错误处理*/ /*错误处理*/
$this.addClass('lr-field-error'); $this.addClass('lr-field-error');
$this.parent().append('<div class="lr-field-error-info" title="' + errormsg + '!"><i class="fa fa-info-circle"></i></div>'); $this.parent().append('<div class="lr-field-error-info" title="' + errormsg + '!"><i class="fa fa-info-circle"></i></div>');
var validatemsg = $this.parent().find('.form-item-title').text() + ' ' + errormsg;
var validatemsg = $this.parent().find('.lr-form-item-title').text() + ' ' + errormsg;
learun.alert.error('表单信息输入有误,请检查!</br>' + validatemsg); learun.alert.error('表单信息输入有误,请检查!</br>' + validatemsg);
if ($this.attr('type') == 'lrselect') { if ($this.attr('type') == 'lrselect') {
$this.on('change', function () { $this.on('change', function () {
@@ -32,6 +32,16 @@
} }
}); });
} }
else if ($this.hasClass('checkbox')) {
$this.on('change', function () {
removeErrorMessage($(this));
});
}
else if ($this.hasClass('radio')) {
$this.on('change', function () {
removeErrorMessage($(this));
});
}
else { else {
$this.on('input propertychange', function () { $this.on('input propertychange', function () {
var $input = $(this); var $input = $(this);


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageSixWxLogin.cshtml View File

@@ -108,7 +108,7 @@
width: 200, width: 200,
height: 200 height: 200
}); });
makeCode('@ViewBag.QRCodeUrl')
makeCode('@ViewBag.QRCodeUrl');
$('.loginTab li').click(function() { $('.loginTab li').click(function() {
var flag = $(this).hasClass('active'); var flag = $(this).hasClass('active');
if (!flag) { if (!flag) {
@@ -116,9 +116,9 @@
$(this).addClass('active').siblings().removeClass('active'); $(this).addClass('active').siblings().removeClass('active');
$('.loginTabCon').css('display', 'none').eq(ind).fadeIn(); $('.loginTabCon').css('display', 'none').eq(ind).fadeIn();
} else { } else {
return
return;
} }
})
});


function makeCode(urls) { function makeCode(urls) {
qrcode.makeCode(urls); qrcode.makeCode(urls);


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs View File

@@ -39,6 +39,12 @@ namespace Learun.Application.Base.SystemModule
[Column("F_ITEMCODE")] [Column("F_ITEMCODE")]
public string F_ItemCode { get; set; } public string F_ItemCode { get; set; }
/// <summary> /// <summary>
/// 标准编码
/// </summary>
/// <returns></returns>
[Column("F_ITEMCODEGB")]
public string F_ItemCodeGB { get; set; }
/// <summary>
/// 名称 /// 名称
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemEntity.cs View File

@@ -33,6 +33,12 @@ namespace Learun.Application.Base.SystemModule
[Column("F_ITEMCODE")] [Column("F_ITEMCODE")]
public string F_ItemCode { get; set; } public string F_ItemCode { get; set; }
/// <summary> /// <summary>
/// 标准编码
/// </summary>
/// <returns></returns>
[Column("F_ITEMCODEGB")]
public string F_ItemCodeGB { get; set; }
/// <summary>
/// 分类名称 /// 分类名称
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs View File

@@ -24,6 +24,7 @@ namespace Learun.Application.Base.SystemModule
t.F_ItemId, t.F_ItemId,
t.F_ParentId, t.F_ParentId,
t.F_ItemCode, t.F_ItemCode,
t.F_ItemCodeGB,
t.F_ItemName, t.F_ItemName,
t.F_IsTree, t.F_IsTree,
t.F_IsNav, t.F_IsNav,
@@ -43,6 +44,7 @@ namespace Learun.Application.Base.SystemModule
t.F_ItemId, t.F_ItemId,
t.F_ParentId, t.F_ParentId,
t.F_ItemCode, t.F_ItemCode,
t.F_ItemCodeGB,
t.F_ItemName, t.F_ItemName,
t.F_ItemValue, t.F_ItemValue,
t.F_QuickQuery, t.F_QuickQuery,


+ 6
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj View File

@@ -61,6 +61,8 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Ask\Ask_MainOfTeacherMap.cs" />
<Compile Include="Ask\Ask_TeacherMainMap.cs" />
<Compile Include="AssetManagementSystem\Ass_InventoryItemApplyMap.cs" /> <Compile Include="AssetManagementSystem\Ass_InventoryItemApplyMap.cs" />
<Compile Include="AssetManagementSystem\Ass_PurchaseItemApplyMap.cs" /> <Compile Include="AssetManagementSystem\Ass_PurchaseItemApplyMap.cs" />
<Compile Include="AssetManagementSystem\Ass_ScrapItemMap.cs" /> <Compile Include="AssetManagementSystem\Ass_ScrapItemMap.cs" />
@@ -552,8 +554,11 @@
<Compile Include="PersonnelManagement\MeetingSignInRecordMap.cs" /> <Compile Include="PersonnelManagement\MeetingSignInRecordMap.cs" />
<Compile Include="PersonnelManagement\MeetingMinutesMap.cs" /> <Compile Include="PersonnelManagement\MeetingMinutesMap.cs" />
<Compile Include="PersonnelManagement\ResearchMentMap.cs" /> <Compile Include="PersonnelManagement\ResearchMentMap.cs" />
<Compile Include="PersonnelManagement\ResearchGERMap.cs" />
<Compile Include="PersonnelManagement\FundExaminerMap.cs" /> <Compile Include="PersonnelManagement\FundExaminerMap.cs" />
<Compile Include="PersonnelManagement\ResearchGERMap.cs" />
<Compile Include="PersonnelManagement\ReleaseMettingMap.cs" />
<Compile Include="PersonnelManagement\StudyGuideMap.cs" />
<Compile Include="PersonnelManagement\ResourceImportMap.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj"> <ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj">


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/PersonnelManagement/ResearchGERMap.cs View File

@@ -7,7 +7,7 @@ namespace Learun.Application.Mapping
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员 /// 创 建:超级管理员
/// 日 期:2021-05-08 18:17
/// 日 期:2021-05-11 18:17
/// 描 述:教科研组管理 /// 描 述:教科研组管理
/// </summary> /// </summary>
public class ResearchGERMap : EntityTypeConfiguration<ResearchGEREntity> public class ResearchGERMap : EntityTypeConfiguration<ResearchGEREntity>
@@ -18,7 +18,7 @@ namespace Learun.Application.Mapping
//表 //表
this.ToTable("RESEARCHGER"); this.ToTable("RESEARCHGER");
//主键 //主键
this.HasKey(t => t.MentTID);
this.HasKey(t => t.GerID);
#endregion #endregion


#region 配置关系 #region 配置关系


+ 21
- 4
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj View File

@@ -70,6 +70,11 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Ask\Ask_MainOfTeacher\Ask_MainOfTeacherBLL.cs" />
<Compile Include="Ask\Ask_MainOfTeacher\Ask_MainOfTeacherEntity.cs" />
<Compile Include="Ask\Ask_MainOfTeacher\Ask_MainOfTeacherIBLL.cs" />
<Compile Include="Ask\Ask_MainOfTeacher\Ask_MainOfTeacherService.cs" />
<Compile Include="Ask\Ask_TeacherMain\Ask_TeacherMainEntity.cs" />
<Compile Include="AssetManagementSystem\Allocation\AllocationBLL.cs" /> <Compile Include="AssetManagementSystem\Allocation\AllocationBLL.cs" />
<Compile Include="AssetManagementSystem\Allocation\AllocationIBLL.cs" /> <Compile Include="AssetManagementSystem\Allocation\AllocationIBLL.cs" />
<Compile Include="AssetManagementSystem\Allocation\AllocationService.cs" /> <Compile Include="AssetManagementSystem\Allocation\AllocationService.cs" />
@@ -1629,14 +1634,26 @@
<Compile Include="PersonnelManagement\ResearchMent\ResearchMentService.cs" /> <Compile Include="PersonnelManagement\ResearchMent\ResearchMentService.cs" />
<Compile Include="PersonnelManagement\ResearchMent\ResearchMentBLL.cs" /> <Compile Include="PersonnelManagement\ResearchMent\ResearchMentBLL.cs" />
<Compile Include="PersonnelManagement\ResearchMent\ResearchMentIBLL.cs" /> <Compile Include="PersonnelManagement\ResearchMent\ResearchMentIBLL.cs" />
<Compile Include="PersonnelManagement\ResearchGER\ResearchGEREntity.cs" />
<Compile Include="PersonnelManagement\ResearchGER\ResearchGERService.cs" />
<Compile Include="PersonnelManagement\ResearchGER\ResearchGERBLL.cs" />
<Compile Include="PersonnelManagement\ResearchGER\ResearchGERIBLL.cs" />
<Compile Include="PersonnelManagement\FundExaminer\FundExaminerEntity.cs" /> <Compile Include="PersonnelManagement\FundExaminer\FundExaminerEntity.cs" />
<Compile Include="PersonnelManagement\FundExaminer\FundExaminerService.cs" /> <Compile Include="PersonnelManagement\FundExaminer\FundExaminerService.cs" />
<Compile Include="PersonnelManagement\FundExaminer\FundExaminerBLL.cs" /> <Compile Include="PersonnelManagement\FundExaminer\FundExaminerBLL.cs" />
<Compile Include="PersonnelManagement\FundExaminer\FundExaminerIBLL.cs" /> <Compile Include="PersonnelManagement\FundExaminer\FundExaminerIBLL.cs" />
<Compile Include="PersonnelManagement\ResearchGER\ResearchGEREntity.cs" />
<Compile Include="PersonnelManagement\ResearchGER\ResearchGERService.cs" />
<Compile Include="PersonnelManagement\ResearchGER\ResearchGERBLL.cs" />
<Compile Include="PersonnelManagement\ResearchGER\ResearchGERIBLL.cs" />
<Compile Include="PersonnelManagement\ReleaseMetting\ReleaseMettingEntity.cs" />
<Compile Include="PersonnelManagement\ReleaseMetting\ReleaseMettingService.cs" />
<Compile Include="PersonnelManagement\ReleaseMetting\ReleaseMettingBLL.cs" />
<Compile Include="PersonnelManagement\ReleaseMetting\ReleaseMettingIBLL.cs" />
<Compile Include="PersonnelManagement\StudyGuide\StudyGuideEntity.cs" />
<Compile Include="PersonnelManagement\StudyGuide\StudyGuideService.cs" />
<Compile Include="PersonnelManagement\StudyGuide\StudyGuideBLL.cs" />
<Compile Include="PersonnelManagement\StudyGuide\StudyGuideIBLL.cs" />
<Compile Include="PersonnelManagement\ResourceImport\ResourceImportEntity.cs" />
<Compile Include="PersonnelManagement\ResourceImport\ResourceImportService.cs" />
<Compile Include="PersonnelManagement\ResourceImport\ResourceImportBLL.cs" />
<Compile Include="PersonnelManagement\ResourceImport\ResourceImportIBLL.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj"> <ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj">


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Permission/Perm_FunctionVisit/Perm_FunctionVisitService.cs View File

@@ -43,6 +43,11 @@ namespace Learun.Application.TwoDevelopment.Permission
dp.Add("PUName", "%" + queryParam["PUName"].ToString() + "%", DbType.String); dp.Add("PUName", "%" + queryParam["PUName"].ToString() + "%", DbType.String);
strSql.Append(" AND a.PUName Like @PUName "); strSql.Append(" AND a.PUName Like @PUName ");
} }
if (!queryParam["F_UserId"].IsEmpty())
{
dp.Add("F_UserId", "" + queryParam["F_UserId"].ToString() + "", DbType.String);
strSql.Append(" AND a.PUId = @F_UserId ");
}
return this.BaseRepository().FindList<Perm_FunctionVisitEntity>(strSql.ToString(),dp, pagination); return this.BaseRepository().FindList<Perm_FunctionVisitEntity>(strSql.ToString(),dp, pagination);
} }
catch (Exception ex) catch (Exception ex)


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ResearchGER/ResearchGERBLL.cs View File

@@ -9,7 +9,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员 /// 创 建:超级管理员
/// 日 期:2021-05-08 18:17
/// 日 期:2021-05-11 18:17
/// 描 述:教科研组管理 /// 描 述:教科研组管理
/// </summary> /// </summary>
public class ResearchGERBLL : ResearchGERIBLL public class ResearchGERBLL : ResearchGERIBLL


+ 24
- 24
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ResearchGER/ResearchGEREntity.cs View File

@@ -8,47 +8,47 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员 /// 创 建:超级管理员
/// 日 期:2021-05-08 18:17
/// 日 期:2021-05-11 18:17
/// 描 述:教科研组管理 /// 描 述:教科研组管理
/// </summary> /// </summary>
public class ResearchGEREntity public class ResearchGEREntity
{ {
#region 实体成员 #region 实体成员
/// <summary> /// <summary>
/// MentTID
/// GerID
/// </summary> /// </summary>
[Column("MENTTID")]
public string MentTID { get; set; }
[Column("GERID")]
public string GerID { get; set; }
/// <summary> /// <summary>
/// ResearchGroup
/// GerName
/// </summary> /// </summary>
[Column("RESEARCHGROUP")]
public string ResearchGroup { get; set; }
[Column("GERNAME")]
public string GerName { get; set; }
/// <summary> /// <summary>
/// GroupName
/// GerBoss
/// </summary> /// </summary>
[Column("GROUPNAME")]
public string GroupName { get; set; }
[Column("GERBOSS")]
public string GerBoss { get; set; }
/// <summary> /// <summary>
/// GroupTime
/// Gerpeople
/// </summary> /// </summary>
[Column("GROUPTIME")]
public DateTime? GroupTime { get; set; }
[Column("GERPEOPLE")]
public string Gerpeople { get; set; }
/// <summary> /// <summary>
/// StateTex
/// Gertiem
/// </summary> /// </summary>
[Column("STATETEX")]
public bool? StateTex { get; set; }
[Column("GERTIEM")]
public DateTime? Gertiem { get; set; }
/// <summary> /// <summary>
/// RemarkNote
/// GerState
/// </summary> /// </summary>
[Column("REMARKNOTE")]
public string RemarkNote { get; set; }
[Column("GERSTATE")]
public string GerState { get; set; }
/// <summary> /// <summary>
/// GroupPeople
/// postscript
/// </summary> /// </summary>
[Column("GROUPPEOPLE")]
public string GroupPeople { get; set; }
[Column("POSTSCRIPT")]
public string postscript { get; set; }
#endregion #endregion


#region 扩展操作 #region 扩展操作
@@ -57,7 +57,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// </summary> /// </summary>
public void Create() public void Create()
{ {
this.MentTID = Guid.NewGuid().ToString();
this.GerID = Guid.NewGuid().ToString();
} }
/// <summary> /// <summary>
/// 编辑调用 /// 编辑调用
@@ -65,7 +65,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// <param name="keyValue"></param> /// <param name="keyValue"></param>
public void Modify(string keyValue) public void Modify(string keyValue)
{ {
this.MentTID = keyValue;
this.GerID = keyValue;
} }
#endregion #endregion
#region 扩展字段 #region 扩展字段


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ResearchGER/ResearchGERIBLL.cs View File

@@ -8,7 +8,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员 /// 创 建:超级管理员
/// 日 期:2021-05-08 18:17
/// 日 期:2021-05-11 18:17
/// 描 述:教科研组管理 /// 描 述:教科研组管理
/// </summary> /// </summary>
public interface ResearchGERIBLL public interface ResearchGERIBLL


+ 14
- 14
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ResearchGER/ResearchGERService.cs View File

@@ -12,7 +12,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 /// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 /// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员 /// 创 建:超级管理员
/// 日 期:2021-05-08 18:17
/// 日 期:2021-05-11 18:17
/// 描 述:教科研组管理 /// 描 述:教科研组管理
/// </summary> /// </summary>
public class ResearchGERService : RepositoryFactory public class ResearchGERService : RepositoryFactory
@@ -32,23 +32,23 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
var strSql = new StringBuilder(); var strSql = new StringBuilder();
strSql.Append("SELECT "); strSql.Append("SELECT ");
strSql.Append(@" strSql.Append(@"
t.MentTID,
t.ResearchGroup,
t.GroupName,
t.GroupTime,
t.StateTex
t.GerID,
t.GerName,
t.GerBoss,
t.Gertiem,
t.GerState
"); ");
strSql.Append(" FROM ResearchGER t "); strSql.Append(" FROM ResearchGER t ");
strSql.Append(" WHERE 1=1 "); strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject(); var queryParam = queryJson.ToJObject();
// 虚拟参数 // 虚拟参数
var dp = new DynamicParameters(new { }); var dp = new DynamicParameters(new { });
if (!queryParam["ResearchGroup"].IsEmpty())
if (!queryParam["GerName"].IsEmpty())
{ {
dp.Add("ResearchGroup", "%" + queryParam["ResearchGroup"].ToString() + "%", DbType.String);
strSql.Append(" AND t.ResearchGroup Like @ResearchGroup ");
dp.Add("GerName", "%" + queryParam["GerName"].ToString() + "%", DbType.String);
strSql.Append(" AND t.GerName Like @GerName ");
} }
return this.BaseRepository().FindList<ResearchGEREntity>(strSql.ToString(),dp, pagination);
return this.BaseRepository("CollegeMIS").FindList<ResearchGEREntity>(strSql.ToString(),dp, pagination);
} }
catch (Exception ex) catch (Exception ex)
{ {
@@ -72,7 +72,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
{ {
try try
{ {
return this.BaseRepository().FindEntity<ResearchGEREntity>(keyValue);
return this.BaseRepository("CollegeMIS").FindEntity<ResearchGEREntity>(keyValue);
} }
catch (Exception ex) catch (Exception ex)
{ {
@@ -99,7 +99,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
{ {
try try
{ {
this.BaseRepository().Delete<ResearchGEREntity>(t=>t.MentTID == keyValue);
this.BaseRepository("CollegeMIS").Delete<ResearchGEREntity>(t=>t.GerID == keyValue);
} }
catch (Exception ex) catch (Exception ex)
{ {
@@ -126,12 +126,12 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
if (!string.IsNullOrEmpty(keyValue)) if (!string.IsNullOrEmpty(keyValue))
{ {
entity.Modify(keyValue); entity.Modify(keyValue);
this.BaseRepository().Update(entity);
this.BaseRepository("CollegeMIS").Update(entity);
} }
else else
{ {
entity.Create(); entity.Create();
this.BaseRepository().Insert(entity);
this.BaseRepository("CollegeMIS").Insert(entity);
} }
} }
catch (Exception ex) catch (Exception ex)


Loading…
Cancel
Save