Browse Source

合同归档里添加未完成 正在进行中的任务

中职版本
zhichao lei 4 years ago
parent
commit
3159d4fa8f
5 changed files with 37 additions and 19 deletions
  1. +17
    -15
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJY.js
  2. +6
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJYHC.js
  3. +12
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.cshtml
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.js
  5. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoApply/Ass_AssetsInfoApplyService.cs

+ 17
- 15
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJY.js View File

@@ -146,18 +146,18 @@ var bootstrap = function ($, learun) {
$('#lr_viewcg').on('click', function () {
var PId = $('#gridtable').jfGridValue('PId');
//if (learun.checkrow(PId)) {
if (PId == null || PId === undefined || PId === "") {
learun.alert.warning("当前项目不含采购单!");
return;
}
learun.layerForm({
id: 'formAss_Purchase',
title: '查看采购单',
url: top.$.rootUrl + '/AssetManagementSystem/Ass_Purchase/FormViewJY?keyValue=' + PId,
width: 1000,
height: 600,
btn: null
});
if (PId == null || PId === undefined || PId === "") {
learun.alert.warning("当前项目不含采购单!");
return;
}
learun.layerForm({
id: 'formAss_Purchase',
title: '查看采购单',
url: top.$.rootUrl + '/AssetManagementSystem/Ass_Purchase/FormViewJY?keyValue=' + PId,
width: 1000,
height: 600,
btn: null
});
//}
});
// 删除
@@ -233,8 +233,8 @@ var bootstrap = function ($, learun) {
}
});
}
},
{
},
{
label: "审批状态", name: "AAStatus", width: 100, align: "left",
formatter: function (cellvalue, row) {
if (cellvalue === 1) {
@@ -258,13 +258,15 @@ var bootstrap = function ($, learun) {
param.StartTime = startTime;
param.EndTime = endTime;
param.AssType = '1';//普通 低值
var loginInfo = top.learun.clientdata.get(['userinfo']);
param.AACreateUserId = loginInfo.userId;
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function (res, postData) {
if (res && res.code && res.code == 200) {
// 发起流程
var postData = {
schemeCode: 'Ass_PurchaseApply',// 填写流程对应模板编号
processId: processId,


+ 6
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJYHC.js View File

@@ -214,10 +214,12 @@ var bootstrap = function ($, learun) {
{
label: "申请人", name: "AACreateUserId", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('user', {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser',
key: value,
keyId: 'f_account',
callback: function (_data) {
callback(_data.name);
callback(_data['f_realname']);
}
});
}
@@ -258,6 +260,8 @@ var bootstrap = function ($, learun) {
param.StartTime = startTime;
param.EndTime = endTime;
param.AssType = '2';//耗材
var loginInfo = top.learun.clientdata.get(['userinfo']);
param.AACreateUserId = loginInfo.userId;
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 12
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.cshtml View File

@@ -2,7 +2,18 @@
ViewBag.Title = "流程监控";
Layout = "~/Views/Shared/_Index.cshtml";
}
<div id="lr_layout" class="lr-layout lr-layout-center">
<div id="lr_layout" class="lr-layout lr-layout-left-center">
<div class="lr-layout-left">
<div class="lr-layout-wrap lr-layout-wrap-notitle" style="padding-top:10px;">
<div class="lr-layout-body">
<ul class="lr-left-list" id="lr_left_list">
<li class="active lrlg" data-value="1">未完成</li>
<li data-value="2" class="lrlg">已完成</li>
</ul>
</div>
</div>
</div>

<div class="lr-layout-center">
<div class="lr-layout-wrap lr-layout-wrap-notitle">
<div class="lr-layout-tool">


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

@@ -177,7 +177,7 @@ var bootstrap = function ($, learun) {
param = param || {};
param.StartTime = logbegin;
param.EndTime = logend;
param.categoryId = '2';
param.categoryId = categoryId;
param.F_Category = '合同类';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
},


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoApply/Ass_AssetsInfoApplyService.cs View File

@@ -35,6 +35,7 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem
t.AAId,
t.AACode,
t.AAPrice,
t.AAAssType,
t.AACreateTime,
t.AACreateDeptId,
t.AACreateUserId,t.AAStatus,


Loading…
Cancel
Save