mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-12-26 22:25:39 +08:00
delete workflow
This commit is contained in:
@@ -43,7 +43,7 @@ $(function () {
|
||||
location.reload();
|
||||
}
|
||||
else {
|
||||
$(this).alertmsg('warn', data.Message);
|
||||
alert(data.Message);
|
||||
}
|
||||
},'json');
|
||||
});
|
||||
|
||||
@@ -55,7 +55,7 @@ function del() {
|
||||
var selected = list.getSelectedProperties("Code");
|
||||
if (selected == null) return;
|
||||
|
||||
$.post('/WorkflowSchemas/Delete',
|
||||
$.post('/WorkflowSchemas/Del',
|
||||
{ codes: selected },
|
||||
function (data) {
|
||||
if (data.Status) {
|
||||
@@ -76,6 +76,7 @@ function edit() {
|
||||
|
||||
layer.open({
|
||||
type: 2,
|
||||
title:selected.Code,
|
||||
skin: 'layui-layer-rim', //加上边框
|
||||
area: ['800px', '600px'], //宽高
|
||||
maxmin: true, //开启最大化最小化按钮
|
||||
|
||||
@@ -24,11 +24,11 @@ namespace OpenAuth.Mvc.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public string Del(string code)
|
||||
public string Del(string[] codes)
|
||||
{
|
||||
try
|
||||
{
|
||||
_app.Del(code);
|
||||
_app.Del(codes);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user