mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
routine update
This commit is contained in:
parent
48478c0da9
commit
9db1645bfb
@ -98,9 +98,9 @@ namespace OpenAuth.App
|
||||
return _unitWork.Find<Relevance>(u =>u.Key =="ProcessUser" &&(userid == Guid.Empty || u.SecondId == userid)).Select(u =>u.FirstId);
|
||||
}
|
||||
|
||||
public void Del(Guid id)
|
||||
public void Del(Guid[] ids)
|
||||
{
|
||||
_repository.Delete(u =>u.Id == id);
|
||||
_repository.Delete(u =>ids.Contains(u.Id));
|
||||
}
|
||||
}
|
||||
}
|
@ -127,7 +127,7 @@ var editDlg = function() {
|
||||
content: $("#editDlg"), //捕获的元素
|
||||
btn: ["保存", "关闭"],
|
||||
yes: function(index, layero) {
|
||||
$.post("/CommonApplies/Add",
|
||||
$.post("/CommonApplies/Edit",
|
||||
vm.$data,
|
||||
function(data) {
|
||||
layer.msg(data.Message);
|
||||
|
@ -39,7 +39,6 @@
|
||||
height: auto !important;
|
||||
max-height: 800px;
|
||||
overflow-y: scroll;
|
||||
background: #f0f6e4;
|
||||
border:1px solid #aaa;
|
||||
min-height: 500px;
|
||||
}
|
||||
|
@ -73,11 +73,11 @@ namespace OpenAuth.Mvc.Controllers
|
||||
/// <summary>
|
||||
/// 删除申请
|
||||
/// </summary>
|
||||
public string Delete(Guid id)
|
||||
public string Delete(Guid[] ids)
|
||||
{
|
||||
try
|
||||
{
|
||||
_app.Del(id);
|
||||
_app.Del(ids);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -68,7 +68,7 @@
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label no-padding-right" for=""> 流程模板 </label>
|
||||
<div class="col-sm-9">
|
||||
<select id="WorkflowName" name="WorkflowName"></select>
|
||||
<select id="WorkflowName" name="WorkflowName" v-model ="WorkflowName"></select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user