Browse Source

网上办事大厅 办公事项状态调整

应县
yxq 7 months ago
parent
commit
b1faca2560
1 changed files with 18 additions and 3 deletions
  1. +18
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelTwo.cshtml

+ 18
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelTwo.cshtml View File

@@ -89,6 +89,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";
@@ -129,7 +144,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 {
@@ -142,7 +157,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 {
@@ -155,7 +170,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 {


Loading…
Cancel
Save