Browse Source

1.修改流程站別規則

PTD
Marvin 3 years ago
parent
commit
d79709bd9a
  1. 4
      AMESCoreStudio.Web/Controllers/BASController.cs
  2. 2
      AMESCoreStudio.Web/Views/BAS/BAS011.cshtml

4
AMESCoreStudio.Web/Controllers/BASController.cs

@ -158,7 +158,7 @@ namespace AMESCoreStudio.Web.Controllers
private async Task GetRuleStationList(int id)
{
var result = await _basApi.GetRuleStationsByFlow(id);
var result = await _basApi.GetRuleStationsByFlow(id, 0, 10);
var RuleStationItems = new List<SelectListItem>();
for (int i = 0; i < result.Count; i++)
@ -170,7 +170,7 @@ namespace AMESCoreStudio.Web.Controllers
private async Task GetNextStationList(int id)
{
var result = await _basApi.GetRuleStationsByFlow(id);
var result = await _basApi.GetRuleStationsByFlow(id, 0, 10);
var NextStationItems = new List<SelectListItem>();
for (int i = 0; i < result.Count; i++)

2
AMESCoreStudio.Web/Views/BAS/BAS011.cshtml

@ -189,7 +189,7 @@
class: 'layui-btn-normal',
handler: function () {
var id = flowId.value;
hg.open('新增流程站別', '/BAS/BAS011C/' + id, 600, 400);
hg.open('新增流程站別規則', '/BAS/BAS011C/' + id, 600, 400);
}
}
];

Loading…
Cancel
Save