Bladeren bron

网上办事大厅 办公事项状态处理

应县
yxq 9 maanden geleden
bovenliggende
commit
9618661239
3 gewijzigde bestanden met toevoegingen van 34 en 11 verwijderingen
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminNavigation.cshtml
  3. +30
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelOne.cshtml

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml Bestand weergeven

@@ -59,7 +59,7 @@
<li><a href="javascript:void(0);" id="btn_studentleavezc"><i class="fa fa-tag"></i>中层请假归档 @ViewBag.UnfileLeaveZC 条</a></li>
<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;共 @ViewBag.UnreadNum 条</li>
</ul>
<div id="wsbsdt" style="display: none; line-height: 18px; position: relative; top: -3px;" title="网上办事大厅">
<div id="wsbsdt" style="line-height: 18px; position: relative; top: -3px;" title="网上办事大厅">
<a href="/SSOSystem/DragModelOne" class="down downsso"><img src="~/Content/images/wsbsdt.png" /></a>
</div>
</div>
@@ -112,7 +112,7 @@
var ACIp2 = "@ViewBag.ACIp2";
var wsbsdt = @ViewBag.wsbsdt;
if (wsbsdt == "0") {
document.getElementById("wsbsdt").style.display = "none";//隐藏
// document.getElementById("wsbsdt").style.display = "none";//隐藏
} else if (wsbsdt=="1") {
document.getElementById("wsbsdt").style.display = "inline-block";
}


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminNavigation.cshtml Bestand weergeven

@@ -55,7 +55,7 @@
<li><a href="javascript:void(0);" id="btn_gongwen3"><i class="fa fa-balance-scale"></i>备课任务 0 条</a></li>*@
<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;共 @ViewBag.UnreadNum 条</li>
</ul>
<div id="wsbsdt" style="display: none; line-height: 18px; position: relative; top: -3px;" title="网上办事大厅">
<div id="wsbsdt" style="line-height: 18px; position: relative; top: -3px;" title="网上办事大厅">
<a href="/SSOSystem/DragModelOne" class="down downsso"><img src="~/Content/images/wsbsdt.png" /></a>
</div>
</div>
@@ -107,7 +107,7 @@
var ACIp2 = "@ViewBag.ACIp2";
var wsbsdt = @ViewBag.wsbsdt;
if (wsbsdt == "1") {
document.getElementById("wsbsdt").style.display = "none";//隐藏
// document.getElementById("wsbsdt").style.display = "none";//隐藏
} else if (wsbsdt=="0") {
document.getElementById("wsbsdt").style.display = "inline-block";



+ 30
- 7
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelOne.cshtml Bestand weergeven

@@ -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 () {
//删除


Laden…
Annuleren
Opslaan