@@ -66,6 +66,11 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||||
return View(); | return View(); | ||||
} | } | ||||
[HttpGet] | [HttpGet] | ||||
public ActionResult IndexAll() | |||||
{ | |||||
return View(); | |||||
} | |||||
[HttpGet] | |||||
public ActionResult qrCode() | public ActionResult qrCode() | ||||
{ | { | ||||
return View(); | return View(); | ||||
@@ -0,0 +1,46 @@ | |||||
@{ | |||||
/**/ | |||||
ViewBag.Title = "会议管理"; | |||||
Layout = "~/Views/Shared/_Index.cshtml"; | |||||
} | |||||
<div class="lr-layout "> | |||||
<div class="lr-layout-center"> | |||||
<div class="lr-layout-wrap lr-layout-wrap-notitle "> | |||||
<div class="lr-layout-tool"> | |||||
<div class="lr-layout-tool-left"> | |||||
<div class="lr-layout-tool-item"> | |||||
<div id="multiple_condition_query"> | |||||
<div class="lr-query-formcontent"> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">会议主题</div> | |||||
<input id="MeetingTitle" type="text" class="form-control" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">会议场地</div> | |||||
<div id="MeetingPlace"></div> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">申请人</div> | |||||
<div id="CreateUser"></div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="lr-layout-tool-right"> | |||||
<div class=" btn-group btn-group-sm"> | |||||
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a> | |||||
</div> | |||||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||||
<a id="lr_view" class="btn btn-default"><i class="fa fa-plus"></i> 查看</a> | |||||
<a id="lr_case" class="btn btn-default"><i class="fa fa-plus"></i> 签到情况</a> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="lr-layout-body" id="gridtable"></div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/MeetingManagement/IndexAll.js") |
@@ -0,0 +1,145 @@ | |||||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
* 创建人:超级管理员 | |||||
* 日 期:2021-02-21 10:07 | |||||
* 描 述:会议管理 | |||||
*/ | |||||
var refreshGirdData; | |||||
var bootstrap = function ($, learun) { | |||||
"use strict"; | |||||
var processId = ''; | |||||
var page = { | |||||
init: function () { | |||||
page.initGird(); | |||||
page.bind(); | |||||
}, | |||||
bind: function () { | |||||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||||
page.search(queryJson); | |||||
}, 220, 400); | |||||
$('#MeetingPlace').lrselect({ | |||||
allowSearch: true, | |||||
url: top.$.rootUrl + '/PersonnelManagement/ConferenceRoom/GetList', | |||||
value: "ID", | |||||
text: "Name" | |||||
}); | |||||
$('#CreateUser').lrUserSelect(0); | |||||
// 刷新 | |||||
$('#lr_refresh').on('click', function () { | |||||
location.reload(); | |||||
}); | |||||
// 查看 | |||||
$('#lr_view').on('click', function () { | |||||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||||
if (learun.checkrow(keyValue)) { | |||||
learun.layerForm({ | |||||
id: 'viewform', | |||||
title: '查看会议工作', | |||||
url: top.$.rootUrl + '/PersonnelManagement/MeetingManagement/FormView?keyValue=' + keyValue, | |||||
width: 1000, | |||||
height: 800, | |||||
btn: null | |||||
}); | |||||
} | |||||
}); | |||||
// 会议签到情况 | |||||
$('#lr_case').on('click', function () { | |||||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||||
if (learun.checkrow(keyValue)) { | |||||
learun.layerForm({ | |||||
id: 'viewform', | |||||
title: '签到情况', | |||||
url: top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/Index?MeetID=' + keyValue, | |||||
width: 1000, | |||||
height: 800, | |||||
btn: null | |||||
}); | |||||
} | |||||
}); | |||||
}, | |||||
// 初始化列表 | |||||
initGird: function () { | |||||
$('#gridtable').lrAuthorizeJfGridLei({ | |||||
url: top.$.rootUrl + '/PersonnelManagement/MeetingManagement/GetPageList', | |||||
headData: [ | |||||
{ label: "会议主题", name: "MeetingTitle", width: 150, align: "left" }, | |||||
{ label: "会议场地", name: "ConferenceRoomName", width: 100, align: "left" }, | |||||
{ label: "开始时间", name: "BeginTime", width: 120, align: "left" }, | |||||
{ label: "结束时间", name: "EndTime", width: 120, align: "left" }, | |||||
{ | |||||
label: "会议记录者", name: "RecordPerson", width: 100, align: "left", | |||||
formatterAsync: function (callback, value, row, op, $cell) { | |||||
learun.clientdata.getAsync('user', { | |||||
key: value, | |||||
callback: function (_data) { | |||||
callback(_data.name); | |||||
} | |||||
}); | |||||
} | |||||
}, | |||||
{ label: "联系人", name: "Linkman", width: 100, align: "left" }, | |||||
{ label: "联系电话", name: "LinkPhone", width: 100, align: "left" }, | |||||
{ | |||||
label: "申请人", name: "CreateUser", width: 100, align: "left", | |||||
formatterAsync: function (callback, value, row, op, $cell) { | |||||
learun.clientdata.getAsync('user', { | |||||
key: value, | |||||
callback: function (_data) { | |||||
callback(_data.name); | |||||
} | |||||
}); | |||||
} | |||||
}, | |||||
{ label: "申请时间", name: "CreateTime", width: 120, align: "left" }, | |||||
{ | |||||
label: "会议状态", name: "CheckStatus", width: 100, align: "left", formatter: function (cellvalue) { | |||||
return cellvalue == "1" ? "<span class=\"label label-success\">已通过</span>" : cellvalue == "2" ? "<span class=\"label label-danger\">未通过</span>" : cellvalue == "3" ? "<span class=\"label label-warning\">审核中</span>" : "<span class=\"label label-default\">未审核</span>"; | |||||
} | |||||
}, | |||||
{ | |||||
label: "审核人", name: "CheckUser", width: 100, align: "left", | |||||
formatterAsync: function (callback, value, row, op, $cell) { | |||||
learun.clientdata.getAsync('user', { | |||||
key: value, | |||||
callback: function (_data) { | |||||
//callback(_data.name); | |||||
return row.CheckStatus != "1" && row.CheckStatus != "2" ? "" : callback(_data.name); | |||||
} | |||||
}); | |||||
} | |||||
}, | |||||
{ | |||||
label: "审核时间", name: "CheckTime", width: 120, align: "left", formatter: function (value, row) { | |||||
return row.CheckStatus != "1" && row.CheckStatus != "2" ? "" : value; | |||||
} | |||||
}, | |||||
], | |||||
mainId: 'Id', | |||||
isPage: true, | |||||
sidx: 'CreateTime desc' | |||||
}); | |||||
page.search(); | |||||
}, | |||||
search: function (param) { | |||||
param = param || {}; | |||||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||||
} | |||||
}; | |||||
refreshGirdData = function (res, postData) { | |||||
if (res && res.code && res.code == 200) { | |||||
// 发起流程 | |||||
var postData = { | |||||
schemeCode: 'MeetingManagementApply',// 填写流程对应模板编号 | |||||
processId: processId, | |||||
level: '1', | |||||
}; | |||||
learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/CreateFlow', postData, function (data) { | |||||
learun.loading(false); | |||||
}); | |||||
} | |||||
page.search(); | |||||
}; | |||||
page.init(); | |||||
} |
@@ -1858,6 +1858,7 @@ | |||||
<Content Include="Areas\PersonnelManagement\Views\Emp_PayrollOnce\Index.js" /> | <Content Include="Areas\PersonnelManagement\Views\Emp_PayrollOnce\Index.js" /> | ||||
<Content Include="Areas\PersonnelManagement\Views\Emp_PayrollOnce\StatisticIndex.js" /> | <Content Include="Areas\PersonnelManagement\Views\Emp_PayrollOnce\StatisticIndex.js" /> | ||||
<Content Include="Areas\PersonnelManagement\Views\Emp_Payroll\StatisticIndex.js" /> | <Content Include="Areas\PersonnelManagement\Views\Emp_Payroll\StatisticIndex.js" /> | ||||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexAll.js" /> | |||||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\qrCode.js" /> | <Content Include="Areas\PersonnelManagement\Views\MeetingManagement\qrCode.js" /> | ||||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\FormView.js" /> | <Content Include="Areas\PersonnelManagement\Views\MeetingManagement\FormView.js" /> | ||||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyJoin.js" /> | <Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyJoin.js" /> | ||||
@@ -8107,6 +8108,7 @@ | |||||
<Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\QueryScoreIndex.cshtml" /> | <Content Include="Areas\EducationalAdministration\Views\StuTransferInfo\QueryScoreIndex.cshtml" /> | ||||
<Content Include="Areas\EducationalAdministration\Views\StuInfoGraduate\printxjk.cshtml" /> | <Content Include="Areas\EducationalAdministration\Views\StuInfoGraduate\printxjk.cshtml" /> | ||||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\qrCode.cshtml" /> | <Content Include="Areas\PersonnelManagement\Views\MeetingManagement\qrCode.cshtml" /> | ||||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexAll.cshtml" /> | |||||
<None Include="Properties\PublishProfiles\CustomProfile.pubxml" /> | <None Include="Properties\PublishProfiles\CustomProfile.pubxml" /> | ||||
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" /> | <None Include="Properties\PublishProfiles\FolderProfile.pubxml" /> | ||||
<Content Include="Views\Login\Default-beifen.cshtml" /> | <Content Include="Views\Login\Default-beifen.cshtml" /> | ||||