|
|
@@ -88,6 +88,21 @@ |
|
|
|
; |
|
|
|
return html; |
|
|
|
}; |
|
|
|
function getStatus(row) { |
|
|
|
if (row.F_IsFinished == 0) { |
|
|
|
if (row.F_EnabledMark == 1) { |
|
|
|
return "请处理"; |
|
|
|
} else if (row.F_EnabledMark == 2) { |
|
|
|
return "请处理"; |
|
|
|
} |
|
|
|
else { |
|
|
|
return "已处理"; |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
return '已处理' |
|
|
|
} |
|
|
|
} |
|
|
|
//办公事项 |
|
|
|
var card2Fun = function (ind) { |
|
|
|
var listStr = "@ViewBag.TaskListStr"; |
|
|
@@ -128,7 +143,7 @@ |
|
|
|
html += '<div class="inSec3Work">' |
|
|
|
+ '<div class="inSec3WorkT">' + list[i].F_TaskName+'['+list[i].F_SchemeName+']</div>' |
|
|
|
+ '<div class="inSec3WorkTime">' + list[i].F_CreateDate.replace("T", " ").slice(0,19)+'</div>' |
|
|
|
+ '<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=' + list[i].F_Id+'&F_TaskId=' + list[i].F_TaskId + '&F_TaskType=' + list[i].F_TaskType+'" target="_blank">请处理</a></div>' |
|
|
|
+ '<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=' + list[i].F_Id + '&F_TaskId=' + list[i].F_TaskId + '&F_TaskType=' + list[i].F_TaskType + '" target="_blank">' + getStatus(list[i]) +'</a></div>' |
|
|
|
+ '</div>'; |
|
|
|
} |
|
|
|
} else { |
|
|
@@ -141,7 +156,7 @@ |
|
|
|
html += '<div class="inSec3Work">' |
|
|
|
+ '<div class="inSec3WorkT">' + list2[i].F_TaskName + '[' + list2[i].F_SchemeName + ']</div>' |
|
|
|
+ '<div class="inSec3WorkTime">' + list2[i].F_CreateDate.replace("T", " ").slice(0,19) + '</div>' |
|
|
|
+ '<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=' + list2[i].F_Id + '&F_TaskId=' + list2[i].F_TaskId + '&F_TaskType=' + list2[i].F_TaskType + '" target="_blank">请处理</a></div>' |
|
|
|
+ '<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=' + list2[i].F_Id + '&F_TaskId=' + list2[i].F_TaskId + '&F_TaskType=' + list2[i].F_TaskType + '" target="_blank">' + getStatus(list2[i]) +'</a></div>' |
|
|
|
+ '</div>'; |
|
|
|
} |
|
|
|
} else { |
|
|
@@ -154,7 +169,7 @@ |
|
|
|
html += '<div class="inSec3Work">' |
|
|
|
+ '<div class="inSec3WorkT">' + list3[i].F_TaskName + '[' + list3[i].F_SchemeName + ']</div>' |
|
|
|
+ '<div class="inSec3WorkTime">' + list3[i].F_CreateDate.replace("T", " ").slice(0,19) + '</div>' |
|
|
|
+ '<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=' + list3[i].F_Id + '&F_TaskId=' + list3[i].F_TaskId + '&F_TaskType=' + list3[i].F_TaskType + '" target="_blank">请处理</a></div>' |
|
|
|
+ '<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=' + list3[i].F_Id + '&F_TaskId=' + list3[i].F_TaskId + '&F_TaskType=' + list3[i].F_TaskType + '" target="_blank">' + getStatus(list3[i]) +'</a></div>' |
|
|
|
+ '</div>'; |
|
|
|
} |
|
|
|
} else { |
|
|
@@ -1151,7 +1166,7 @@ |
|
|
|
<div class="inSec3Work"> |
|
|
|
<div class="inSec3WorkT" title="@item.F_TaskName [@item.F_SchemeName]">@item.F_TaskName [@item.F_SchemeName]</div> |
|
|
|
<div class="inSec3WorkTime">@item.F_CreateDate</div> |
|
|
|
<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=@item.F_Id&F_TaskId=@item.F_TaskId&F_TaskType=@item.F_TaskType" target="_blank">请处理</a></div> |
|
|
|
<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=@item.F_Id&F_TaskId=@item.F_TaskId&F_TaskType=@item.F_TaskType" target="_blank" data-F_IsFinished="@item.F_IsFinished" data-F_EnabledMark="@item.F_EnabledMark"></a></div> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
@@ -1175,7 +1190,7 @@ |
|
|
|
<div class="inSec3Work"> |
|
|
|
<div class="inSec3WorkT" title="@item.F_TaskName [@item.F_SchemeName]">@item.F_TaskName [@item.F_SchemeName]</div> |
|
|
|
<div class="inSec3WorkTime">@item.F_CreateDate</div> |
|
|
|
<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=@item.F_Id&F_TaskId=@item.F_TaskId&F_TaskType=@item.F_TaskType" target="_blank">请处理</a></div> |
|
|
|
<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=@item.F_Id&F_TaskId=@item.F_TaskId&F_TaskType=@item.F_TaskType" target="_blank" data-F_IsFinished="@item.F_IsFinished" data-F_EnabledMark="@item.F_EnabledMark"></a></div> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
@@ -1199,7 +1214,7 @@ |
|
|
|
<div class="inSec3Work"> |
|
|
|
<div class="inSec3WorkT" title="@item.F_TaskName [@item.F_SchemeName]">@item.F_TaskName [@item.F_SchemeName]</div> |
|
|
|
<div class="inSec3WorkTime">@item.F_CreateDate</div> |
|
|
|
<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=@item.F_Id&F_TaskId=@item.F_TaskId&F_TaskType=@item.F_TaskType" target="_blank">请处理</a></div> |
|
|
|
<div class="inSec3WorkBtn"><a style="color:#198BE3" href="/Home/Index?autoopen=56ce34c2-882e-47d1-b12d-5036e3b79fcf&F_Id=@item.F_Id&F_TaskId=@item.F_TaskId&F_TaskType=@item.F_TaskType" target="_blank" data-F_IsFinished="@item.F_IsFinished" data-F_EnabledMark="@item.F_EnabledMark"></a></div> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
@@ -1558,7 +1573,15 @@ |
|
|
|
<script> |
|
|
|
$(function () { |
|
|
|
|
|
|
|
|
|
|
|
// 右侧模块状态处理 |
|
|
|
$('.inSec2R a').each(i => { |
|
|
|
let e = $($('.inSec2R a')[i]) |
|
|
|
let obj = { |
|
|
|
F_EnabledMark: e.attr('data-F_EnabledMark'), |
|
|
|
F_IsFinished: e.attr('data-F_IsFinished') |
|
|
|
} |
|
|
|
e.text(getStatus(obj)) |
|
|
|
}) |
|
|
|
//添加排序 |
|
|
|
$('.inSec1Drag').on('click', '.fa-minus', function () { |
|
|
|
//删除 |
|
|
|