@@ -16,11 +16,14 @@ | |||||
<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" learun-authorize="yes"> | <div class=" btn-group btn-group-sm" learun-authorize="yes"> | ||||
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a> | |||||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||||
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a> | |||||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | <a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | ||||
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | |||||
<a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i> 提交</a> | |||||
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | |||||
<a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i> 提交</a> | |||||
</div> | |||||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||||
<a id="lr_eye" class="btn btn-default"><i class="fa fa-eye"></i> <span class="lrlg">查看进度</span></a> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -47,6 +47,10 @@ var bootstrap = function ($, learun) { | |||||
$('#lr_refresh').on('click', function () { | $('#lr_refresh').on('click', function () { | ||||
location.reload(); | location.reload(); | ||||
}); | }); | ||||
// 查看 | |||||
$('#lr_eye').on('click', function () { | |||||
page.eye(); | |||||
}); | |||||
// 新增 | // 新增 | ||||
$('#lr_add').on('click', function () { | $('#lr_add').on('click', function () { | ||||
learun.layerForm({ | learun.layerForm({ | ||||
@@ -167,6 +171,13 @@ var bootstrap = function ($, learun) { | |||||
param.StartTime = startTime; | param.StartTime = startTime; | ||||
param.EndTime = endTime; | param.EndTime = endTime; | ||||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | ||||
}, | |||||
eye: function () { | |||||
var processId = $('#gridtable').jfGridValue('BProcessId') || ''; | |||||
if (learun.checkrow(processId)) { | |||||
learun.frameTab.open({ F_ModuleId: 'monitor' + processId, F_FullName: '查看【基础信息上报】', F_UrlAddress: '/LR_NewWorkFlow/NWFProcess/MonitorDetailsIndex?processId=' + processId }); | |||||
} | |||||
} | } | ||||
}; | }; | ||||
//refreshGirdData = function () { | //refreshGirdData = function () { | ||||
@@ -59,6 +59,9 @@ | |||||
<a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i> 提交</a> | <a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i> 提交</a> | ||||
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | <a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | ||||
</div> | </div> | ||||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||||
<a id="lr_eye" class="btn btn-default"><i class="fa fa-eye"></i> <span class="lrlg">查看进度</span></a> | |||||
</div> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="lr-layout-body" id="gridtable"></div> | <div class="lr-layout-body" id="gridtable"></div> | ||||
@@ -27,6 +27,10 @@ var bootstrap = function ($, learun) { | |||||
$('#lr_refresh').on('click', function () { | $('#lr_refresh').on('click', function () { | ||||
refreshGirdData(); | refreshGirdData(); | ||||
}); | }); | ||||
// 查看 | |||||
$('#lr_eye').on('click', function () { | |||||
page.eye(); | |||||
}); | |||||
// 新增 | // 新增 | ||||
$('#lr_add').on('click', function () { | $('#lr_add').on('click', function () { | ||||
if (!ptype) { | if (!ptype) { | ||||
@@ -258,6 +262,13 @@ var bootstrap = function ($, learun) { | |||||
search: function (param) { | search: function (param) { | ||||
param = param || {}; | param = param || {}; | ||||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | ||||
}, | |||||
eye: function () { | |||||
var processId = $('#gridtable').jfGridValue('PProcessId') || ''; | |||||
if (learun.checkrow(processId)) { | |||||
learun.frameTab.open({ F_ModuleId: 'monitor' + processId, F_FullName: '查看【支出预算】', F_UrlAddress: '/LR_NewWorkFlow/NWFProcess/MonitorDetailsIndex?processId=' + processId }); | |||||
} | |||||
} | } | ||||
}; | }; | ||||
//refreshGirdData = function () { | //refreshGirdData = function () { | ||||
@@ -36,7 +36,7 @@ namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement | |||||
t.BName, | t.BName, | ||||
t.BDept, | t.BDept, | ||||
t.BCreateTime, | t.BCreateTime, | ||||
t.BRemarks,t.BStatus | |||||
t.BRemarks,t.BStatus,t.BProcessId | |||||
"); | "); | ||||
strSql.Append(" FROM FD_BudgetBasics t "); | strSql.Append(" FROM FD_BudgetBasics t "); | ||||
strSql.Append(" WHERE 1=1 and BIsDelete=0 "); | strSql.Append(" WHERE 1=1 and BIsDelete=0 "); | ||||