@@ -0,0 +1,247 @@ | |||
using System; | |||
using Learun.Util; | |||
using System.Data; | |||
using Learun.Application.TwoDevelopment.Ask; | |||
using System.Web.Mvc; | |||
using System.Collections.Generic; | |||
using Learun.Application.TwoDevelopment.EducationalAdministration; | |||
namespace Learun.Application.Web.Areas.Ask.Controllers | |||
{ | |||
/// <summary> | |||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2019-04-23 15:50 | |||
/// 描 述:教师问卷管理 | |||
/// </summary> | |||
public class Ask_MainOfTeacherController : MvcControllerBase | |||
{ | |||
private Ask_MainOfTeacherIBLL ask_MainOfTeacherIBLL = new Ask_MainOfTeacherBLL(); | |||
#region 视图功能 | |||
/// <summary> | |||
/// 主页面 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Index() | |||
{ | |||
return View(); | |||
} | |||
[HttpGet] | |||
public ActionResult AnswerIndex() | |||
{ | |||
return View(); | |||
} | |||
[HttpGet] | |||
public ActionResult TeacherIndex() | |||
{ | |||
var logininfo = LoginUserInfo.Get(); | |||
ViewBag.EmpNo = logininfo.account; | |||
ViewBag.EmpName = logininfo.realName; | |||
return View(); | |||
} | |||
[HttpGet] | |||
public ActionResult AnswerQuery() | |||
{ | |||
return View(); | |||
} | |||
[HttpGet] | |||
public ActionResult Paper(string VID) | |||
{ | |||
ViewBag.EmpNo = LoginUserInfo.Get().account; | |||
ViewBag.EmpName = LoginUserInfo.Get().realName; | |||
if (!string.IsNullOrEmpty(VID)) | |||
{ | |||
var Ask_MainOfTeacher = ask_MainOfTeacherIBLL.GetAsk_MainOfTeacherEntityAndQuestions(VID); | |||
return View(Ask_MainOfTeacher); | |||
} | |||
else | |||
{ | |||
return View(); | |||
} | |||
} | |||
[HttpGet] | |||
public ActionResult PaperAdminView(string VID) | |||
{ | |||
ViewBag.EmpNo = LoginUserInfo.Get().account; | |||
ViewBag.EmpName = LoginUserInfo.Get().realName; | |||
if (!string.IsNullOrEmpty(VID)) | |||
{ | |||
var Ask_MainOfTeacher = ask_MainOfTeacherIBLL.GetAsk_MainOfTeacherEntityAndQuestions(VID); | |||
return View(Ask_MainOfTeacher); | |||
} | |||
else | |||
{ | |||
return View(); | |||
} | |||
} | |||
[HttpGet] | |||
public ActionResult PaperView(string VID,string EmpNo) | |||
{ | |||
if (!string.IsNullOrEmpty(VID)) | |||
{ | |||
var Ask_MainOfTeacher = ask_MainOfTeacherIBLL.GetAsk_MainOfTeacherEntityAndQuestionsResult(VID, EmpNo); | |||
return View(Ask_MainOfTeacher); | |||
} | |||
else | |||
{ | |||
return View(); | |||
} | |||
} | |||
/// <summary> | |||
/// 表单页 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Form() | |||
{ | |||
ViewBag.VSerial = "Table_" + CommonHelper.CreateNo(); | |||
return View(); | |||
} | |||
#endregion | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// <summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetPageList(string pagination, string queryJson) | |||
{ | |||
Pagination paginationobj = pagination.ToObject<Pagination>(); | |||
var data = ask_MainOfTeacherIBLL.GetPageList(paginationobj, queryJson); | |||
var jsonData = new | |||
{ | |||
rows = data, | |||
total = paginationobj.total, | |||
page = paginationobj.page, | |||
records = paginationobj.records | |||
}; | |||
return Success(jsonData); | |||
} | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetTeacherPageList(string pagination, string queryJson) | |||
{ | |||
Pagination paginationobj = pagination.ToObject<Pagination>(); | |||
var data = ask_MainOfTeacherIBLL.GetTeacherPageList(paginationobj, queryJson); | |||
var jsonData = new | |||
{ | |||
rows = data, | |||
total = paginationobj.total, | |||
page = paginationobj.page, | |||
records = paginationobj.records | |||
}; | |||
return Success(jsonData); | |||
} | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetAnswerPageList(string pagination, string queryJson) | |||
{ | |||
Pagination paginationobj = pagination.ToObject<Pagination>(); | |||
var data = ask_MainOfTeacherIBLL.GetTeacherPageList(paginationobj, queryJson); | |||
var jsonData = new | |||
{ | |||
rows = data, | |||
total = paginationobj.total, | |||
page = paginationobj.page, | |||
records = paginationobj.records | |||
}; | |||
return Success(jsonData); | |||
} | |||
/// <summary> | |||
/// 获取表单数据 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetFormData(string keyValue) | |||
{ | |||
var Ask_MainOfTeacherData = ask_MainOfTeacherIBLL.GetAsk_MainOfTeacherEntity(keyValue); | |||
var jsonData = new | |||
{ | |||
Ask_MainOfTeacher = Ask_MainOfTeacherData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// <param name="keyValue">主键</param> | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ask_MainOfTeacherIBLL.DeleteEntity(keyValue); | |||
return Success("删除成功!"); | |||
} | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult SubmitForm(string keyValue) | |||
{ | |||
ask_MainOfTeacherIBLL.ChangeFormStatus(keyValue, true); | |||
return Success("操作成功!"); | |||
} | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult UnSubmitForm(string keyValue) | |||
{ | |||
ask_MainOfTeacherIBLL.ChangeFormStatus(keyValue, false); | |||
return Success("操作成功!"); | |||
} | |||
/// <summary> | |||
/// 保存实体数据(新增、修改) | |||
/// <param name="keyValue">主键</param> | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[ValidateAntiForgeryToken] | |||
[AjaxOnly] | |||
public ActionResult SaveForm(string keyValue, string strEntity) | |||
{ | |||
var userinfo = LoginUserInfo.Get(); | |||
Ask_MainOfTeacherEntity entity = strEntity.ToObject<Ask_MainOfTeacherEntity>(); | |||
entity.UID = userinfo.userId; | |||
entity.UName = userinfo.realName; | |||
entity.VCreateTime = DateTime.Now; | |||
entity.Status = false; | |||
entity.SPVNum = 0; | |||
entity.SPNum = 0; | |||
entity.SClick = 0; | |||
ask_MainOfTeacherIBLL.SaveEntity(keyValue, entity); | |||
return Success("保存成功!"); | |||
} | |||
[HttpPost] | |||
[ValidateAntiForgeryToken] | |||
[AjaxOnly] | |||
[ValidateInput(false)] | |||
public ActionResult TeacherSubmitForm(string answerlist,string VID) | |||
{ | |||
var userinfo = LoginUserInfo.Get(); | |||
List<Ask_QuestionResultEntity> entity = answerlist.ToObject<List<Ask_QuestionResultEntity>>(); | |||
ask_MainOfTeacherIBLL.SaveAsk_QuestionResultEntity(entity, VID,userinfo.account,userinfo.realName, userinfo.iPAddress); | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,38 @@ | |||
@{ | |||
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="EmpName" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">编号</div> | |||
<input id="EmpNo" type="text" class="form-control" /> | |||
</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-building-o"></i> 查看答卷</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Ask/Views/Ask_MainOfTeacher/AnswerIndex.js") |
@@ -0,0 +1,88 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2019-04-23 15:50 | |||
* 描 述:教师问卷管理 | |||
*/ | |||
var refreshGirdData; | |||
var VID = request("VID"); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 400); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 答题情况 | |||
$('#lr_view').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
var EmpNo = $('#gridtable').jfGridValue('EmpNo'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('IsAnswer'); | |||
if (Status === false || Status === 'false') { | |||
learun.alert.warning("当前项目未交卷!"); | |||
return; | |||
} | |||
learun.frameTab.open({ F_ModuleId: 'paper' + keyValue, F_Icon: 'fa fa-window-maximize', F_FullName: '量表考核答卷', F_UrlAddress: '/Ask/Ask_MainOfTeacher/PaperView?VID=' + keyValue + '&EmpNo=' + EmpNo }); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Ask/Ask_MainOfTeacher/GetAnswerPageList', | |||
headData: [ | |||
{ label: "姓名", name: "EmpName", width: 80, align: "left" }, | |||
{ label: "编号", name: "EmpNo", width: 80, align: "left" }, | |||
{ | |||
label: "性别", name: "GenderNo", width: 80, align: "left", | |||
formatter: function (cellvalue) { | |||
return cellvalue.toLowerCase() === true || cellvalue.toLowerCase() == "true" ? "男" : "女"; | |||
} | |||
}, | |||
{ | |||
label: "考核部门", name: "DepartmentId", width: 150, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', | |||
key: value, | |||
keyId: 'id', | |||
callback: function (_data) { | |||
callback(_data['name']); | |||
} | |||
}); | |||
} | |||
}, | |||
{ | |||
label: "是否交卷", name: "IsAnswer", width: 80, align: "left", formatter: function (cellvalue) { | |||
return cellvalue === true ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; | |||
} | |||
}, | |||
{ label: "得分", name: "TotalScore", width: 80, align: "left" } | |||
], | |||
mainId: 'EmpNo', | |||
isPage: true, | |||
sidx: 'TotalScore', | |||
sord: 'DESC' | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
param.VID = VID; | |||
param.Manager = true; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
page.search(); | |||
}; | |||
page.init(); | |||
} |
@@ -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="VTitle" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">问卷编号</div> | |||
<input id="VSerial" type="text" class="form-control" /> | |||
</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_add" class="btn btn-default"><i class="fa fa-plus"></i> 录入</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 修改</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
<a id="lr_question" class="btn btn-default"><i class="fa fa-navicon"></i> 管理问题</a> | |||
<a id="lr_answer" class="btn btn-default"><i class="fa fa-building-o"></i> 答题情况</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_submit" class="btn btn-default"><i class="fa fa-lock"></i> 审核</a> | |||
<a id="lr_unsubmit" class="btn btn-default"><i class="fa fa-unlock"></i> 去审核</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Ask/Views/Ask_MainOfTeacher/AnswerQuery.js") |
@@ -0,0 +1,217 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2019-04-23 15:50 | |||
* 描 述:教师问卷管理 | |||
*/ | |||
var refreshGirdData; | |||
var ATId; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.inittree(); | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 400); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 新增 | |||
$('#lr_add').on('click', function () { | |||
if (!ATId) { | |||
learun.alert.warning('请选择分类!'); | |||
return false; | |||
} | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '新增', | |||
url: top.$.rootUrl + '/Ask/Ask_MainOfTeacher/Form?ATId=' + ATId, | |||
width: 780, | |||
height: 560, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('Status'); | |||
if (Status === true || Status == 'true') { | |||
learun.alert.warning("当前项目已审核不能修改!"); | |||
return; | |||
} | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/Ask/Ask_MainOfTeacher/Form?keyValue=' + keyValue, | |||
width: 780, | |||
height: 560, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('Status'); | |||
if (Status === true || Status == 'true') { | |||
learun.alert.warning("当前项目已审核不能删除!"); | |||
return; | |||
} | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/Ask/Ask_MainOfTeacher/DeleteForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 管理问题 | |||
$('#lr_question').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('Status'); | |||
if (Status === true || Status == 'true') { | |||
learun.alert.warning("当前项目已审核不能修改!"); | |||
return; | |||
} | |||
learun.layerForm({ | |||
id: 'formquestion', | |||
title: '管理问题', | |||
url: top.$.rootUrl + '/Ask/Ask_Question/Index?VID=' + keyValue, | |||
width: 980, | |||
height: 760, | |||
btn:null | |||
}); | |||
} | |||
}); | |||
// 答题情况 | |||
$('#lr_answer').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'formanswer', | |||
title: '答题情况', | |||
url: top.$.rootUrl + '/Ask/Ask_MainOfTeacher/AnswerIndex?VID=' + keyValue, | |||
width: 980, | |||
height: 760, | |||
btn:null | |||
}); | |||
} | |||
}); | |||
// 审核 | |||
$('#lr_submit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('Status'); | |||
if (Status === true || Status == 'true') { | |||
learun.alert.warning("当前项目已审核!"); | |||
return; | |||
} | |||
learun.layerConfirm('是否确认审核该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/Ask/Ask_MainOfTeacher/SubmitForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 去审核 | |||
$('#lr_unsubmit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('Status'); | |||
if (Status !== true && Status !== 'true') { | |||
learun.alert.warning("当前项目已去审核!"); | |||
return; | |||
} | |||
learun.layerConfirm('是否确认去审核该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/Ask/Ask_MainOfTeacher/UnSubmitForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
inittree: function () { | |||
$('#companyTree').lrtree({ | |||
url: top.$.rootUrl + '/Ask/Ask_Type/GetAllTree', | |||
nodeClick: page.treeNodeClick | |||
}); | |||
}, | |||
treeNodeClick: function (item) { | |||
ATId = item.id; | |||
$('#titleinfo').text(item.text); | |||
page.search(); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Ask/Ask_MainOfTeacher/GetPageList', | |||
headData: [ | |||
{ label: "问卷编号", name: "VSerial", width: 180, align: "left" }, | |||
{ label: "标题", name: "VTitle", width: 200, align: "left" }, | |||
{ | |||
label: "类别", name: "ATId", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ask_Type', | |||
key: value, | |||
keyId: 'atid', | |||
callback: function (_data) { | |||
callback(_data['atname']); | |||
} | |||
}); | |||
} | |||
}, | |||
{ label: "开始时间", name: "VStartTime", width: 100, align: "left" }, | |||
{ label: "结束时间", name: "VStopTime", width: 100, align: "left" }, | |||
{ label: "考核部门", name: "DepartmentIdsName", width: 150, align: "left" }, | |||
{ label: "考核人数", name: "SPVNum", width: 80, align: "left" }, | |||
{ label: "填写人数", name: "SPNum", width: 80, align: "left" }, | |||
{ label: "点击热度", name: "SClick", width: 80, align: "left" }, | |||
{ label: "排序", name: "VOrder", width: 80, align: "left" }, | |||
{ | |||
label: "是否匿名", name: "VHide", width: 100, align: "left", | |||
formatter: function (cellvalue) { | |||
return cellvalue == true ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; | |||
} | |||
}, | |||
{ | |||
label: "审核标志", name: "Status", width: 100, align: "left", formatter: function (cellvalue) { | |||
return cellvalue == true ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; | |||
} | |||
} | |||
], | |||
mainId: 'VID', | |||
isPage: true, | |||
sidx:'VOrder' | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
param.ATId = ATId; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
page.search(); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,48 @@ | |||
@{ | |||
ViewBag.Title = "教师问卷管理"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<script type="text/javascript"> | |||
var NewVSerial = "@ViewBag.VSerial"; | |||
</script> | |||
<div class="lr-form-wrap"> | |||
<div class="col-xs-12 lr-form-item" data-table="Ask_MainOfTeacher" > | |||
<div class="lr-form-item-title">问卷编号</div> | |||
<input id="VSerial" type="text" class="form-control" readonly="readonly" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="Ask_MainOfTeacher" > | |||
<div class="lr-form-item-title">标题<font face="宋体">*</font></div> | |||
<input id="VTitle" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ask_MainOfTeacher"> | |||
<div class="lr-form-item-title">类别<font face="宋体">*</font></div> | |||
<div id="ATId" isvalid="yes" checkexpession="NotNull"></div> | |||
<input id="ATName" type="hidden" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ask_MainOfTeacher" > | |||
<div class="lr-form-item-title">排序<font face="宋体">*</font></div> | |||
<input id="VOrder" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ask_MainOfTeacher" > | |||
<div class="lr-form-item-title">开始时间<font face="宋体">*</font></div> | |||
<input id="VStartTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'VStopTime\')}',dateFmt:'yyyy-MM-dd',onpicked: function () { $('#VStartTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ask_MainOfTeacher" > | |||
<div class="lr-form-item-title">结束时间<font face="宋体">*</font></div> | |||
<input id="VStopTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'VStartTime\')}',dateFmt:'yyyy-MM-dd',onpicked: function () { $('#VStopTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ask_MainOfTeacher"> | |||
<div class="lr-form-item-title">考核部门</div> | |||
<div id="DepartmentIds"></div> | |||
<input id="DepartmentIdsName" type="hidden" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ask_MainOfTeacher" > | |||
<div class="lr-form-item-title">是否匿名<font face="宋体">*</font></div> | |||
<div id="VHide" isvalid="yes" checkexpession="NotNull" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="Ask_MainOfTeacher" > | |||
<div class="lr-form-item-title">备注说明</div> | |||
<textarea id="VContent" class="form-control" style="height:150px;" ></textarea> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Ask/Views/Ask_MainOfTeacher/Form.js") |
@@ -0,0 +1,73 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2019-04-23 15:50 | |||
* 描 述:教师问卷管理 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var pATId = request("ATId"); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#ATId').lrselect({ | |||
type: 'tree', | |||
// 展开最大高度 | |||
maxHeight: 200, | |||
// 是否允许搜索 | |||
allowSearch: true, | |||
// 访问数据接口地址 | |||
url: top.$.rootUrl + '/Ask/Ask_Type/GetAllTree', | |||
select: function(item) { | |||
if (item != null && item != undefined) { | |||
$("#ATName").val(item.text); | |||
} | |||
} | |||
}); | |||
if (!!pATId) { | |||
$('#ATId').lrselectSet(pATId); | |||
} | |||
$('#DepartmentIds').lrDepartmentSelect({ type: 'treemultiple' }); | |||
$('#VHide').lrDataItemSelect({ code: 'YesOrNoBit' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/Ask/Ask_MainOfTeacher/GetFormData?keyValue=' + keyValue, | |||
function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id).jfGridSet('refreshdata', data[id]); | |||
} else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} else { | |||
$("#VSerial").val(NewVSerial); | |||
} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
$("#DepartmentIdsName").val($("#DepartmentIds").find(".lr-select-placeholder").text()); | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/Ask/Ask_MainOfTeacher/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,57 @@ | |||
@{ | |||
ViewBag.Title = "教师问卷管理"; | |||
Layout = "~/Views/Shared/_Index.cshtml"; | |||
} | |||
<div class="lr-layout lr-layout-left-center" id="lr_layout"> | |||
<div class="lr-layout-left"> | |||
<div class="lr-layout-wrap"> | |||
<div class="lr-layout-title lrlt ">分类</div> | |||
<div id="companyTree" class="lr-layout-body"></div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-center"> | |||
<div class="lr-layout-wrap"> | |||
<div class="lr-layout-title"> | |||
<span id="titleinfo" class="lrlt">未选择分类</span> - <span class="lrlt">分类信息</span> | |||
</div> | |||
<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="VTitle" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">问卷编号</div> | |||
<input id="VSerial" type="text" class="form-control" /> | |||
</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_add" class="btn btn-default"><i class="fa fa-plus"></i> 录入</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 修改</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
<a id="lr_question" class="btn btn-default"><i class="fa fa-navicon"></i> 管理问题</a> | |||
<a id="lr_answer" class="btn btn-default"><i class="fa fa-building-o"></i> 答题情况</a> | |||
<a id="lr_analysis" class="btn btn-default"><i class="fa fa-building-o"></i> 结果分析</a> | |||
<a id="lr_view" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 查看问卷</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_submit" class="btn btn-default"><i class="fa fa-lock"></i> 审核</a> | |||
<a id="lr_unsubmit" class="btn btn-default"><i class="fa fa-unlock"></i> 去审核</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Ask/Views/Ask_MainOfTeacher/Index.js") |
@@ -0,0 +1,237 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2019-04-23 15:50 | |||
* 描 述:教师问卷管理 | |||
*/ | |||
var refreshGirdData; | |||
var ATId; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.inittree(); | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 400); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 新增 | |||
$('#lr_add').on('click', function () { | |||
if (!ATId) { | |||
learun.alert.warning('请选择分类!'); | |||
return false; | |||
} | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '新增', | |||
url: top.$.rootUrl + '/Ask/Ask_MainOfTeacher/Form?ATId=' + ATId, | |||
width: 780, | |||
height: 560, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('Status'); | |||
if (Status === true || Status == 'true') { | |||
learun.alert.warning("当前项目已审核不能修改!"); | |||
return; | |||
} | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/Ask/Ask_MainOfTeacher/Form?keyValue=' + keyValue, | |||
width: 780, | |||
height: 560, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('Status'); | |||
if (Status === true || Status == 'true') { | |||
learun.alert.warning("当前项目已审核不能删除!"); | |||
return; | |||
} | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/Ask/Ask_MainOfTeacher/DeleteForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 管理问题 | |||
$('#lr_question').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('Status'); | |||
if (Status === true || Status == 'true') { | |||
learun.alert.warning("当前项目已审核不能修改!"); | |||
return; | |||
} | |||
learun.layerForm({ | |||
id: 'formquestion', | |||
title: '管理问题', | |||
url: top.$.rootUrl + '/Ask/Ask_Question/Index?VID=' + keyValue, | |||
width: 980, | |||
height: 760, | |||
btn: null | |||
}); | |||
} | |||
}); | |||
// 结果分析 | |||
$('#lr_analysis').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'formanalysis', | |||
title: '结果分析', | |||
url: top.$.rootUrl + '/Ask/Ask_Question/AnalysisIndex?VID=' + keyValue, | |||
width: 1000, | |||
height: 760, | |||
btn: null | |||
}); | |||
} | |||
}); | |||
// 答题情况 | |||
$('#lr_answer').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'formanswer', | |||
title: '答题情况', | |||
url: top.$.rootUrl + '/Ask/Ask_MainOfTeacher/AnswerIndex?VID=' + keyValue, | |||
width: 980, | |||
height: 760, | |||
btn: null | |||
}); | |||
} | |||
}); | |||
$('#lr_view').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
top.learun.frameTab.open({ F_ModuleId: 'paper' + keyValue, F_Icon: 'fa fa-window-maximize', F_FullName: '量表考核答卷', F_UrlAddress: '/Ask/Ask_MainOfTeacher/PaperAdminView?VID=' + keyValue }); | |||
} | |||
}); | |||
// 审核 | |||
$('#lr_submit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('Status'); | |||
if (Status === true || Status == 'true') { | |||
learun.alert.warning("当前项目已审核!"); | |||
return; | |||
} | |||
learun.layerConfirm('是否确认审核该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/Ask/Ask_MainOfTeacher/SubmitForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 去审核 | |||
$('#lr_unsubmit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('Status'); | |||
if (Status !== true && Status !== 'true') { | |||
learun.alert.warning("当前项目已去审核!"); | |||
return; | |||
} | |||
learun.layerConfirm('是否确认去审核该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/Ask/Ask_MainOfTeacher/UnSubmitForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
inittree: function () { | |||
$('#companyTree').lrtree({ | |||
url: top.$.rootUrl + '/Ask/Ask_Type/GetAllTree', | |||
nodeClick: page.treeNodeClick | |||
}); | |||
}, | |||
treeNodeClick: function (item) { | |||
ATId = item.id; | |||
$('#titleinfo').text(item.text); | |||
page.search(); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Ask/Ask_MainOfTeacher/GetPageList', | |||
headData: [ | |||
{ label: "问卷编号", name: "VSerial", width: 180, align: "left" }, | |||
{ label: "标题", name: "VTitle", width: 200, align: "left" }, | |||
{ | |||
label: "类别", name: "ATId", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ask_Type', | |||
key: value, | |||
keyId: 'atid', | |||
callback: function (_data) { | |||
callback(_data['atname']); | |||
} | |||
}); | |||
} | |||
}, | |||
{ label: "开始时间", name: "VStartTime", width: 100, align: "left" }, | |||
{ label: "结束时间", name: "VStopTime", width: 100, align: "left" }, | |||
{ label: "考核部门", name: "DepartmentIdsName", width: 150, align: "left" }, | |||
{ label: "考核人数", name: "SPVNum", width: 80, align: "left" }, | |||
{ label: "填写人数", name: "SPNum", width: 80, align: "left" }, | |||
{ label: "点击热度", name: "SClick", width: 80, align: "left" }, | |||
{ label: "排序", name: "VOrder", width: 80, align: "left" }, | |||
{ | |||
label: "是否匿名", name: "VHide", width: 100, align: "left", | |||
formatter: function (cellvalue) { | |||
return cellvalue == true ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; | |||
} | |||
}, | |||
{ | |||
label: "审核标志", name: "Status", width: 100, align: "left", formatter: function (cellvalue) { | |||
return cellvalue == true ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; | |||
} | |||
} | |||
], | |||
mainId: 'VID', | |||
isPage: true, | |||
sidx: 'VOrder' | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
param.ATId = ATId; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
page.search(); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,66 @@ | |||
@{ | |||
ViewBag.Title = "教师问卷管理"; | |||
Layout = "~/Views/Shared/_Index.cshtml"; | |||
} | |||
@model Learun.Application.TwoDevelopment.Ask.Ask_MainOfTeacherEntity | |||
<link href="~/Content/paper/css/common.css" rel="stylesheet" /> | |||
<link href="~/Content/paper/dist/demo.css" rel="stylesheet" /> | |||
<link href="~/Content/paper/css/index.css" rel="stylesheet" /> | |||
<script src="~/Content/paper/dist/jquery.validator.min.js?local=zh-CN"></script> | |||
<script type="text/javascript"> | |||
$.lrToken = $('@Html.AntiForgeryToken()').val(); | |||
</script> | |||
<div class="warpper" style="background-color: #FFFFFF;"> | |||
<!-- / index_sec1 --> | |||
<div class="index_sec index_sec1"> | |||
<input id="EmpNo" type="hidden" value="@ViewBag.EmpNo" /> | |||
<input id="EmpName" type="hidden" value="@ViewBag.EmpName" /> | |||
<div class="inSecTitle">@Model.VTitle</div> | |||
<div class="inSecTime">@(Model.VStartTime.HasValue ? Model.VStartTime.Value.ToShortDateString() : "")~@(Model.VStopTime.HasValue ? Model.VStopTime.Value.ToShortDateString() : "")</div> | |||
<div class="index_box"> | |||
<form id="AskPaper"> | |||
@foreach (var question in Model.Ask_Questions) | |||
{ | |||
<div class="signSec2Box"> | |||
<div class="shenInput form-item"> | |||
<div class="shenInputBox"> | |||
<div class="signTxt">@question.QTitle @Html.Raw((question.QMust == true ? "<font style=\"color: red\">*</font>" : "")) @(question.QType == 2 && (question.QMin.HasValue) ? "最少选择" + question.QMin.Value + "项" : "") @(question.QType == 2 && (question.QMax.HasValue) ? "最多选择" + question.QMax.Value + "项" : "")</div> | |||
<div class="inputRadioRow"> | |||
@foreach (var questionitem in question.Ask_QuestionItems) | |||
{ | |||
<div class="inputRadioCol4"> | |||
<i class="@(question.QType == 1 ? "inputRadio" : "inputCheck")" hasinput="@(questionitem.QShowText == true ? "yes" : "")"><input id="@questionitem.IID" qid="@question.QID" hasinput="@(questionitem.QShowText == true ? "yes" : "")" @(question.QMust == true ? "data-rule=" + (question.QTypeString == "input" ? "\"required;\"" : "\"checked;\"") + (question.QMin.HasValue ? "checked(" + question.QMin.Value + "~);" : "") + (question.QMax.HasValue ? "checked(~" + question.QMax.Value + ");" : "") : "") name="@question.QSerial" type="@question.QTypeString" class="xuanze" /></i> <span>@questionitem.ITitle</span> | |||
</div> | |||
} | |||
</div> | |||
</div> | |||
</div> | |||
@if (question.Ask_QuestionItems.Count(m => m.QShowText == true) > 0) | |||
{ | |||
<div class="shenInput form-item shenInput3"> | |||
<span>@question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true).ITitle</span> | |||
<div class="shenInputBox shenInputBox1"> | |||
<input id="@(question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true).IID)Other" qid="@question.QID" type="text" name="@(question.QSerial)Other" class="inputTxt" data-rule="required(#@(question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true).IID):checked)" /> | |||
</div> | |||
</div> | |||
} | |||
</div> | |||
} | |||
<div class="shenBtnBox"> | |||
<div class="signTxt">本人声明在此报名表中填写的所有信息、 及提供与本表相关的一切资料均真实、准确</div> | |||
<div class="shenRow"> | |||
<div class="shenCol6"> | |||
<div class="shenBtn">提 交</div> | |||
</div> | |||
</div> | |||
</div> | |||
</form> | |||
</div> | |||
</div> | |||
<!-- / index_sec1 --> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Ask/Views/Ask_MainOfTeacher/Paper.js") |
@@ -0,0 +1,77 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2019-04-23 15:50 | |||
* 描 述:教师问卷管理 | |||
*/ | |||
var refreshGirdData; | |||
var VID = request("VID"); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.warpper').lrscroll(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('.shenBtn').click(function () { | |||
$('#AskPaper').trigger("validate"); | |||
}); | |||
//单选框 | |||
$('.shenInputBox').on('click', | |||
'.inputRadio', | |||
function () { | |||
if (!$(this).hasClass('active')) { | |||
$(this).addClass('active').parents('.shenInputBox').find('.inputRadio').not($(this)) | |||
.removeClass('active'); | |||
judgeRideo($(this)); | |||
} | |||
}); | |||
//多选框 | |||
$('.inputCheck').click(function () { | |||
if ($(this).hasClass('active')) { | |||
$(this).removeClass('active'); | |||
} else { | |||
$(this).addClass('active'); | |||
} | |||
judgeRideo($(this)); | |||
}); | |||
//是否为其他选项判断 | |||
function judgeRideo(obj) { | |||
var parents = obj.parents('.signSec2Box'); | |||
var inputs = parents.find('.shenInput3'); | |||
if (parents.find("i[hasinput='yes']").hasClass('active')) { | |||
inputs.css({ display: 'block' }); | |||
} else { | |||
inputs.css({ display: 'none' }); | |||
} | |||
} | |||
$('#AskPaper').validator({ | |||
timely: 2, | |||
theme: 'yellow_right_effect', | |||
valid: function (form) { | |||
learun.layerConfirm('是否确认提交答案?', function (res) { | |||
var answerlist = new Array(); | |||
var strStuNo = $("#EmpNo").val(); | |||
var strStuName = $("#EmpName").val(); | |||
$(form).find("input.xuanze:checked").each(function (index, element) { | |||
var itemvalue = { QID: $(this).attr("qid"), IID: $(this).attr("id"), UText: "", UID: strStuNo, UName:strStuName}; | |||
if ($(this).attr("hasinput")=="yes") { | |||
itemvalue.UText = $("#" + $(this).attr("id") + "Other").val(); | |||
} | |||
answerlist.push(itemvalue); | |||
}); | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/Ask/Ask_MainOfTeacher/TeacherSubmitForm', { answerlist: JSON.stringify(answerlist), VID: VID, "__RequestVerificationToken": $.lrToken }, function () { | |||
learun.frameTab.parentIframe().refreshGirdData(); | |||
learun.frameTab.close("paper" + VID); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
} | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,57 @@ | |||
@{ | |||
ViewBag.Title = "教师问卷管理"; | |||
Layout = "~/Views/Shared/_Index.cshtml"; | |||
} | |||
@model Learun.Application.TwoDevelopment.Ask.Ask_MainOfTeacherEntity | |||
<link href="~/Content/paper/css/common.css" rel="stylesheet" /> | |||
<link href="~/Content/paper/dist/demo.css" rel="stylesheet" /> | |||
<link href="~/Content/paper/css/index.css" rel="stylesheet" /> | |||
<script src="~/Content/paper/dist/jquery.validator.min.js?local=zh-CN"></script> | |||
<script type="text/javascript"> | |||
$.lrToken = $('@Html.AntiForgeryToken()').val(); | |||
</script> | |||
<div class="warpper" style="background-color: #FFFFFF;"> | |||
<!-- / index_sec1 --> | |||
<div class="index_sec index_sec1"> | |||
<input id="EmpNo" type="hidden" value="@ViewBag.EmpNo" /> | |||
<input id="EmpName" type="hidden" value="@ViewBag.EmpName" /> | |||
<div class="inSecTitle">@Model.VTitle</div> | |||
<div class="inSecTime">@(Model.VStartTime.HasValue ? Model.VStartTime.Value.ToShortDateString() : "")~@(Model.VStopTime.HasValue ? Model.VStopTime.Value.ToShortDateString() : "")</div> | |||
<div class="index_box"> | |||
<form id="AskPaper"> | |||
@foreach (var question in Model.Ask_Questions) | |||
{ | |||
<div class="signSec2Box"> | |||
<div class="shenInput form-item"> | |||
<div class="shenInputBox"> | |||
<div class="signTxt">@question.QTitle @Html.Raw((question.QMust == true ? "<font style=\"color: red\">*</font>" : "")) @(question.QType == 2 && (question.QMin.HasValue) ? "最少选择" + question.QMin.Value + "项" : "") @(question.QType == 2 && (question.QMax.HasValue) ? "最多选择" + question.QMax.Value + "项" : "")</div> | |||
<div class="inputRadioRow"> | |||
@foreach (var questionitem in question.Ask_QuestionItems) | |||
{ | |||
<div class="inputRadioCol4"> | |||
<i class="@(question.QType == 1 ? "inputRadio" : "inputCheck")" hasinput="@(questionitem.QShowText == true ? "yes" : "")"><input id="@questionitem.IID" qid="@question.QID" hasinput="@(questionitem.QShowText == true ? "yes" : "")" @(question.QMust == true ? "data-rule=" + (question.QTypeString == "input" ? "\"required;\"" : "\"checked;\"") + (question.QMin.HasValue ? "checked(" + question.QMin.Value + "~);" : "") + (question.QMax.HasValue ? "checked(~" + question.QMax.Value + ");" : "") : "") name="@question.QSerial" type="@question.QTypeString" class="xuanze" /></i> <span>@questionitem.ITitle</span> | |||
</div> | |||
} | |||
</div> | |||
</div> | |||
</div> | |||
@if (question.Ask_QuestionItems.Count(m => m.QShowText == true) > 0) | |||
{ | |||
<div class="shenInput form-item shenInput3"> | |||
<span>@question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true).ITitle</span> | |||
<div class="shenInputBox shenInputBox1"> | |||
<input id="@(question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true).IID)Other" qid="@question.QID" type="text" name="@(question.QSerial)Other" class="inputTxt" data-rule="required(#@(question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true).IID):checked)" /> | |||
</div> | |||
</div> | |||
} | |||
</div> | |||
} | |||
</form> | |||
</div> | |||
</div> | |||
<!-- / index_sec1 --> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Ask/Views/Ask_MainOfTeacher/PaperAdminView.js") |
@@ -0,0 +1,77 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2019-04-23 15:50 | |||
* 描 述:教师问卷管理 | |||
*/ | |||
var refreshGirdData; | |||
var VID = request("VID"); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.warpper').lrscroll(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('.shenBtn').click(function () { | |||
$('#AskPaper').trigger("validate"); | |||
}); | |||
//单选框 | |||
$('.shenInputBox').on('click', | |||
'.inputRadio', | |||
function () { | |||
if (!$(this).hasClass('active')) { | |||
$(this).addClass('active').parents('.shenInputBox').find('.inputRadio').not($(this)) | |||
.removeClass('active'); | |||
judgeRideo($(this)); | |||
} | |||
}); | |||
//多选框 | |||
$('.inputCheck').click(function () { | |||
if ($(this).hasClass('active')) { | |||
$(this).removeClass('active'); | |||
} else { | |||
$(this).addClass('active'); | |||
} | |||
judgeRideo($(this)); | |||
}); | |||
//是否为其他选项判断 | |||
function judgeRideo(obj) { | |||
var parents = obj.parents('.signSec2Box'); | |||
var inputs = parents.find('.shenInput3'); | |||
if (parents.find("i[hasinput='yes']").hasClass('active')) { | |||
inputs.css({ display: 'block' }); | |||
} else { | |||
inputs.css({ display: 'none' }); | |||
} | |||
} | |||
$('#AskPaper').validator({ | |||
timely: 2, | |||
theme: 'yellow_right_effect', | |||
valid: function (form) { | |||
learun.layerConfirm('是否确认提交答案?', function (res) { | |||
var answerlist = new Array(); | |||
var strStuNo = $("#EmpNo").val(); | |||
var strStuName = $("#EmpName").val(); | |||
$(form).find("input.xuanze:checked").each(function (index, element) { | |||
var itemvalue = { QID: $(this).attr("qid"), IID: $(this).attr("id"), UText: "", UID: strStuNo, UName:strStuName}; | |||
if ($(this).attr("hasinput")=="yes") { | |||
itemvalue.UText = $("#" + $(this).attr("id") + "Other").val(); | |||
} | |||
answerlist.push(itemvalue); | |||
}); | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/Ask/Ask_MainOfTeacher/TeacherSubmitForm', { answerlist: JSON.stringify(answerlist), VID: VID, "__RequestVerificationToken": $.lrToken }, function () { | |||
learun.frameTab.parentIframe().refreshGirdData(); | |||
learun.frameTab.close("paper" + VID); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
} | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,56 @@ | |||
@{ | |||
ViewBag.Title = "教师问卷管理"; | |||
Layout = "~/Views/Shared/_Index.cshtml"; | |||
} | |||
@model Learun.Application.TwoDevelopment.Ask.Ask_MainOfTeacherEntity | |||
<link href="~/Content/paper/css/common.css" rel="stylesheet" /> | |||
<link href="~/Content/paper/dist/demo.css" rel="stylesheet" /> | |||
<link href="~/Content/paper/css/index.css" rel="stylesheet" /> | |||
<script src="~/Content/paper/dist/jquery.validator.min.js?local=zh-CN"></script> | |||
<script type="text/javascript"> | |||
$.lrToken = $('@Html.AntiForgeryToken()').val(); | |||
</script> | |||
<div class="warpper" style="background-color: #FFFFFF;"> | |||
<!-- / index_sec1 --> | |||
<div class="index_sec index_sec1"> | |||
<div class="inSecTitle">@Model.VTitle</div> | |||
<div class="inSecTime">@(Model.VStartTime.HasValue ? Model.VStartTime.Value.ToShortDateString() : "")~@(Model.VStopTime.HasValue ? Model.VStopTime.Value.ToShortDateString() : "")</div> | |||
<div class="index_box"> | |||
<form id="AskPaper"> | |||
@foreach (var question in Model.Ask_Questions) | |||
{ | |||
<div class="signSec2Box"> | |||
<div class="shenInput form-item"> | |||
<div class="shenInputBox"> | |||
<div class="signTxt">@question.QTitle @Html.Raw((question.QMust == true ? "<font style=\"color: red\">*</font>" : "")) @(question.QType == 2 && (question.QMin.HasValue) ? "最少选择" + question.QMin.Value + "项" : "") @(question.QType == 2 && (question.QMax.HasValue) ? "最多选择" + question.QMax.Value + "项" : "")</div> | |||
<div class="inputRadioRow"> | |||
@foreach (var questionitem in question.Ask_QuestionItems) | |||
{ | |||
<div class="inputRadioCol4"> | |||
<i class="@(question.QType == 1 ? "inputRadio" : "inputCheck")" hasinput="@(questionitem.QShowText == true ? "yes" : "")"><input id="@questionitem.IID" qid="@question.QID" hasinput="@(questionitem.QShowText == true ? "yes" : "")" @(question.QMust == true ? "data-rule=" + (question.QTypeString == "input" ? "\"required;\"" : "\"checked;\"") + (question.QMin.HasValue ? "checked(" + question.QMin.Value + "~);" : "") + (question.QMax.HasValue ? "checked(~" + question.QMax.Value + ");" : "") : "") name="@question.QSerial" type="@question.QTypeString" class="xuanze" @(questionitem.IsChecked?"checked=\"checked\"":"") /></i> <span>@questionitem.ITitle</span> | |||
</div> | |||
} | |||
</div> | |||
</div> | |||
</div> | |||
@if (question.Ask_QuestionItems.Count(m => m.QShowText == true) > 0) | |||
{ | |||
<div class="shenInput form-item shenInput3"> | |||
<span>@question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true).ITitle</span> | |||
<div class="shenInputBox shenInputBox1"> | |||
<input id="@(question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true).IID)Other" qid="@question.QID" type="text" name="@(question.QSerial)Other" class="inputTxt" data-rule="required(#@(question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true).IID):checked)" value="@(question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true&&!string.IsNullOrEmpty(m.UText))!=null?question.Ask_QuestionItems.FirstOrDefault(m => m.QShowText == true&&!string.IsNullOrEmpty(m.UText)).UText:"")" /> | |||
</div> | |||
</div> | |||
} | |||
</div> | |||
} | |||
</form> | |||
</div> | |||
</div> | |||
<!-- / index_sec1 --> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Ask/Views/Ask_MainOfTeacher/PaperView.js") |
@@ -0,0 +1,55 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2019-04-23 15:50 | |||
* 描 述:教师问卷管理 | |||
*/ | |||
var refreshGirdData; | |||
var VID = request("VID"); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.warpper').lrscroll(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
//单选框 | |||
$('.shenInputBox').on('click', | |||
'.inputRadio', | |||
function () { | |||
if (!$(this).hasClass('active')) { | |||
$(this).addClass('active').parents('.shenInputBox').find('.inputRadio').not($(this)) | |||
.removeClass('active'); | |||
judgeRideo($(this)); | |||
} | |||
}); | |||
//多选框 | |||
$('.inputCheck').click(function () { | |||
if ($(this).hasClass('active')) { | |||
$(this).removeClass('active'); | |||
} else { | |||
$(this).addClass('active'); | |||
} | |||
judgeRideo($(this)); | |||
}); | |||
//是否为其他选项判断 | |||
function judgeRideo(obj) { | |||
var parents = obj.parents('.signSec2Box'); | |||
var inputs = parents.find('.shenInput3'); | |||
if (parents.find("i[hasinput='yes']").hasClass('active')) { | |||
inputs.css({ display: 'block' }); | |||
} else { | |||
inputs.css({ display: 'none' }); | |||
} | |||
} | |||
$('form').find("input.xuanze:checked").each(function (index, element) { | |||
if ($(this).attr("hasinput") == "yes") { | |||
$("#" + $(this).attr("id") + "Other").parents(".shenInput3").css({ display: 'block' }); | |||
} | |||
}); | |||
} | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,42 @@ | |||
@{ | |||
ViewBag.Title = "教师问卷管理"; | |||
Layout = "~/Views/Shared/_Index.cshtml"; | |||
} | |||
<script type="text/javascript"> | |||
var EmpNo = '@ViewBag.EmpNo'; | |||
</script> | |||
<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="VTitle" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">问卷编号</div> | |||
<input id="VSerial" type="text" class="form-control" /> | |||
</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_start" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 开始考核</a> | |||
<a id="lr_view" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 查看答题情况</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Ask/Views/Ask_MainOfTeacher/TeacherIndex.js") |
@@ -0,0 +1,93 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2019-04-23 15:50 | |||
* 描 述:教师问卷管理 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 400); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
$('#lr_start').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('IsAnswer'); | |||
if (Status === true || Status === 'true') { | |||
learun.alert.warning("当前项目已交卷!"); | |||
return; | |||
} | |||
top.learun.frameTab.open({ F_ModuleId: 'paper' + keyValue, F_Icon: 'fa fa-window-maximize', F_FullName: '量表考核答卷', F_UrlAddress: '/Ask/Ask_MainOfTeacher/Paper?VID=' + keyValue }); | |||
} | |||
}); | |||
//查看 | |||
$('#lr_view').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('VID'); | |||
var EmpNo = $('#gridtable').jfGridValue('EmpNo'); | |||
if (learun.checkrow(keyValue)) { | |||
var Status = $('#gridtable').jfGridValue('IsAnswer'); | |||
if (Status === false || Status === 'false') { | |||
learun.alert.warning("当前项目未交卷!"); | |||
return; | |||
} | |||
top.learun.frameTab.open({ F_ModuleId: 'paper' + keyValue, F_Icon: 'fa fa-window-maximize', F_FullName: '量表考核答卷', F_UrlAddress: '/Ask/Ask_MainOfTeacher/PaperView?VID=' + keyValue + '&EmpNo=' + EmpNo }); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Ask/Ask_MainOfTeacher/GetTeacherPageList', | |||
headData: [ | |||
{ label: "问卷编号", name: "VSerial", width: 180, align: "left" }, | |||
{ label: "标题", name: "VTitle", width: 200, align: "left" }, | |||
{ | |||
label: "类别", name: "ATId", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ask_Type', | |||
key: value, | |||
keyId: 'atid', | |||
callback: function (_data) { | |||
callback(_data['atname']); | |||
} | |||
}); | |||
} | |||
}, | |||
{ label: "开始时间", name: "VStartTime", width: 100, align: "left" }, | |||
{ label: "结束时间", name: "VStopTime", width: 100, align: "left" }, | |||
{ | |||
label: "是否交卷", name: "IsAnswer", width: 80, align: "left", formatter: function (cellvalue) { | |||
return cellvalue === true ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>"; | |||
} | |||
}, | |||
{ label: "考核评分", name: "TotalScore", width: 80, align: "left" }, | |||
{ label: "提交时间", name: "CreateDate", width: 80, align: "left" } | |||
], | |||
mainId: 'VID', | |||
isPage: true | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
param.EmpNo = EmpNo; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
page.search(); | |||
}; | |||
page.init(); | |||
} |
@@ -344,8 +344,18 @@ namespace Learun.Application.Web.Areas.LogisticsManagement.Controllers | |||
} | |||
/// <summary> | |||
/// 同步宿舍信息数据 | |||
/// </summary> | |||
/// <returns></returns> | |||
public ActionResult SyncData() | |||
{ | |||
accommodationIBLL.SyncData(); | |||
return Success("同步成功"); | |||
} | |||
//public ActionResult DormitoryAdd(string a,string ) | |||
#endregion | |||
@@ -67,6 +67,7 @@ | |||
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a> | |||
<a id="lr_dormitoryAdd" class="btn btn-default"><i class="fa fa-pencil-square"></i> 批量添加宿舍</a> | |||
<a id="lr_allocation" class="btn btn-default"><i class="fa fa-pencil-square"></i> 自动分配宿舍</a> | |||
<a id="lr_syncdata" class="btn btn-default"><i class="fa fa-pencil-square"></i> 同步宿舍信息</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i> 录入</a> | |||
@@ -126,6 +126,19 @@ var bootstrap = function ($, learun) { | |||
}); | |||
}); | |||
// 同步宿舍信息 | |||
$('#lr_syncdata').on('click', function () { | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认同步!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/LogisticsManagement/Accommodation/SyncData', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
//初始化左侧树 | |||
initTree: function () { | |||
@@ -3,21 +3,22 @@ using System.Data; | |||
using Learun.Application.TwoDevelopment.PersonnelManagement; | |||
using System.Web.Mvc; | |||
using System.Collections.Generic; | |||
using System; | |||
namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
{ | |||
/// <summary> | |||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2020-03-23 15:04 | |||
/// 描 述:会议室管理 | |||
/// 日 期:2021-02-21 10:07 | |||
/// 描 述:会议管理 | |||
/// </summary> | |||
public class MeetingManagementController : MvcControllerBase | |||
{ | |||
private MeetingManagementIBLL meetingManagementIBLL = new MeetingManagementBLL(); | |||
#region 视图功能 | |||
#region 视图功能 | |||
/// <summary> | |||
/// 主页面 | |||
@@ -26,7 +27,7 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
[HttpGet] | |||
public ActionResult Index() | |||
{ | |||
return View(); | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 表单页 | |||
@@ -35,15 +36,53 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
[HttpGet] | |||
public ActionResult Form() | |||
{ | |||
return View(); | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 表单页-查看 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult FormView() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 主页面-我申请的会议 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult IndexOfMyApply() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 主页面-我参加的会议 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult IndexOfMyJoin() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 报表统计 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult IndexStatistics() | |||
{ | |||
return View(); | |||
} | |||
#endregion | |||
#region 获取数据 | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// 获取页面显示列表分页数据 | |||
/// <summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
@@ -62,6 +101,30 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
return Success(jsonData); | |||
} | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// <summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetList(string queryJson) | |||
{ | |||
var data = meetingManagementIBLL.GetList(queryJson); | |||
return Success(data); | |||
} | |||
/// <summary> | |||
/// 获取报表数据 | |||
/// <summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetStatisticList(string queryJson) | |||
{ | |||
var data = meetingManagementIBLL.GetStatisticList(queryJson); | |||
return Success(data); | |||
} | |||
/// <summary> | |||
/// 获取表单数据 | |||
/// <summary> | |||
/// <returns></returns> | |||
@@ -69,15 +132,31 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
[AjaxOnly] | |||
public ActionResult GetFormData(string keyValue) | |||
{ | |||
var MeetingManagementData = meetingManagementIBLL.GetMeetingManagementEntity( keyValue ); | |||
var jsonData = new { | |||
var MeetingManagementData = meetingManagementIBLL.GetMeetingManagementEntity(keyValue); | |||
var jsonData = new | |||
{ | |||
MeetingManagement = MeetingManagementData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
/// <summary> | |||
/// 获取表单数据 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetFormDataByProcessId(string processId) | |||
{ | |||
var MeetingManagementData = meetingManagementIBLL.GetMeetingManagementEntityByProcessId(processId); | |||
var jsonData = new | |||
{ | |||
MeetingManagement = MeetingManagementData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
@@ -101,10 +180,41 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
[AjaxOnly] | |||
public ActionResult SaveForm(string keyValue, string strEntity) | |||
{ | |||
UserInfo userInfo = LoginUserInfo.Get(); | |||
MeetingManagementEntity entity = strEntity.ToObject<MeetingManagementEntity>(); | |||
meetingManagementIBLL.SaveEntity(keyValue,entity); | |||
entity.CreateUser = userInfo.userId; | |||
entity.CreateTime = DateTime.Now; | |||
entity.CheckStatus = "0"; | |||
meetingManagementIBLL.SaveEntity(userInfo, keyValue, entity); | |||
return Success("保存成功!"); | |||
} | |||
/// <summary> | |||
/// 审核实体数据 | |||
/// <param name="keyValue">主键</param> | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DoCheck(string keyValue, string status) | |||
{ | |||
UserInfo userInfo = LoginUserInfo.Get(); | |||
meetingManagementIBLL.DoCheck(userInfo, keyValue, status); | |||
return Success("操作成功!"); | |||
} | |||
/// <summary> | |||
/// 提交实体数据 | |||
/// <param name="keyValue">主键</param> | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DoSubmit(string keyValue, string status, string processId) | |||
{ | |||
meetingManagementIBLL.DoSubmit(keyValue, status, processId); | |||
return Success("操作成功!"); | |||
} | |||
#endregion | |||
} | |||
@@ -0,0 +1,157 @@ | |||
using Learun.Util; | |||
using System.Data; | |||
using Learun.Application.TwoDevelopment.PersonnelManagement; | |||
using System.Web.Mvc; | |||
using System.Collections.Generic; | |||
namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
{ | |||
/// <summary> | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2021-02-21 10:16 | |||
/// 描 述:会议签到记录 | |||
/// </summary> | |||
public class MeetingSignInRecordController : MvcControllerBase | |||
{ | |||
private MeetingSignInRecordIBLL meetingSignInRecordIBLL = new MeetingSignInRecordBLL(); | |||
#region 视图功能 | |||
/// <summary> | |||
/// 主页面 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Index() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 表单页 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Form() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 会议考勤 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult IndexAttendance() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 会议考勤-查看 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult FormViewAttendance() | |||
{ | |||
return View(); | |||
} | |||
#endregion | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表分页数据 | |||
/// <summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetPageList(string pagination, string queryJson) | |||
{ | |||
Pagination paginationobj = pagination.ToObject<Pagination>(); | |||
var data = meetingSignInRecordIBLL.GetPageList(paginationobj, queryJson); | |||
var jsonData = new | |||
{ | |||
rows = data, | |||
total = paginationobj.total, | |||
page = paginationobj.page, | |||
records = paginationobj.records | |||
}; | |||
return Success(jsonData); | |||
} | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// <summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetList(string queryJson) | |||
{ | |||
var data = meetingSignInRecordIBLL.GetList(queryJson); | |||
return Success(data); | |||
} | |||
/// <summary> | |||
/// 获取表单数据 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetFormData(string keyValue) | |||
{ | |||
var MeetingSignInRecordData = meetingSignInRecordIBLL.GetMeetingSignInRecordEntity(keyValue); | |||
var jsonData = new | |||
{ | |||
MeetingSignInRecord = MeetingSignInRecordData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// <param name="keyValue">主键</param> | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
meetingSignInRecordIBLL.DeleteEntity(keyValue); | |||
return Success("删除成功!"); | |||
} | |||
/// <summary> | |||
/// 保存实体数据(新增、修改) | |||
/// <param name="keyValue">主键</param> | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[ValidateAntiForgeryToken] | |||
[AjaxOnly] | |||
public ActionResult SaveForm(string keyValue, string strEntity) | |||
{ | |||
UserInfo userInfo = LoginUserInfo.Get(); MeetingSignInRecordEntity entity = strEntity.ToObject<MeetingSignInRecordEntity>(); | |||
meetingSignInRecordIBLL.SaveEntity(userInfo, keyValue, entity); | |||
return Success("保存成功!"); | |||
} | |||
/// <summary> | |||
/// 签到实体数据 | |||
/// <param name="keyValue">主键</param> | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DoSignIn(string keyValue, bool isSignIn) | |||
{ | |||
meetingSignInRecordIBLL.DoSignIn(keyValue, isSignIn); | |||
return Success("操作成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,117 @@ | |||
using Learun.Util; | |||
using System.Data; | |||
using Learun.Application.TwoDevelopment.PersonnelManagement; | |||
using System.Web.Mvc; | |||
using System.Collections.Generic; | |||
namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
{ | |||
/// <summary> | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2021-05-12 10:32 | |||
/// 描 述:会议管理设置 | |||
/// </summary> | |||
public class ReleaseMettingController : MvcControllerBase | |||
{ | |||
private ReleaseMettingIBLL releaseMettingIBLL = new ReleaseMettingBLL(); | |||
#region 视图功能 | |||
/// <summary> | |||
/// 主页面 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Index() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 表单页 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Form() | |||
{ | |||
return View(); | |||
} | |||
#endregion | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetPageList(string pagination, string queryJson) | |||
{ | |||
Pagination paginationobj = pagination.ToObject<Pagination>(); | |||
var data = releaseMettingIBLL.GetPageList(paginationobj, queryJson); | |||
var jsonData = new | |||
{ | |||
rows = data, | |||
total = paginationobj.total, | |||
page = paginationobj.page, | |||
records = paginationobj.records | |||
}; | |||
return Success(jsonData); | |||
} | |||
/// <summary> | |||
/// 获取表单数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetFormData(string keyValue) | |||
{ | |||
var ReleaseMettingData = releaseMettingIBLL.GetReleaseMettingEntity( keyValue ); | |||
var jsonData = new { | |||
ReleaseMetting = ReleaseMettingData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
releaseMettingIBLL.DeleteEntity(keyValue); | |||
return Success("删除成功!"); | |||
} | |||
/// <summary> | |||
/// 保存实体数据(新增、修改) | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <param name="strEntity">实体</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[ValidateAntiForgeryToken] | |||
[AjaxOnly] | |||
public ActionResult SaveForm(string keyValue, string strEntity) | |||
{ | |||
ReleaseMettingEntity entity = strEntity.ToObject<ReleaseMettingEntity>(); | |||
releaseMettingIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,117 @@ | |||
using Learun.Util; | |||
using System.Data; | |||
using Learun.Application.TwoDevelopment.PersonnelManagement; | |||
using System.Web.Mvc; | |||
using System.Collections.Generic; | |||
namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
{ | |||
/// <summary> | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2021-05-11 18:17 | |||
/// 描 述:教科研组管理 | |||
/// </summary> | |||
public class ResearchGERController : MvcControllerBase | |||
{ | |||
private ResearchGERIBLL researchGERIBLL = new ResearchGERBLL(); | |||
#region 视图功能 | |||
/// <summary> | |||
/// 主页面 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Index() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 表单页 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Form() | |||
{ | |||
return View(); | |||
} | |||
#endregion | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetPageList(string pagination, string queryJson) | |||
{ | |||
Pagination paginationobj = pagination.ToObject<Pagination>(); | |||
var data = researchGERIBLL.GetPageList(paginationobj, queryJson); | |||
var jsonData = new | |||
{ | |||
rows = data, | |||
total = paginationobj.total, | |||
page = paginationobj.page, | |||
records = paginationobj.records | |||
}; | |||
return Success(jsonData); | |||
} | |||
/// <summary> | |||
/// 获取表单数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetFormData(string keyValue) | |||
{ | |||
var ResearchGERData = researchGERIBLL.GetResearchGEREntity( keyValue ); | |||
var jsonData = new { | |||
ResearchGER = ResearchGERData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
researchGERIBLL.DeleteEntity(keyValue); | |||
return Success("删除成功!"); | |||
} | |||
/// <summary> | |||
/// 保存实体数据(新增、修改) | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <param name="strEntity">实体</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[ValidateAntiForgeryToken] | |||
[AjaxOnly] | |||
public ActionResult SaveForm(string keyValue, string strEntity) | |||
{ | |||
ResearchGEREntity entity = strEntity.ToObject<ResearchGEREntity>(); | |||
researchGERIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,118 @@ | |||
using Learun.Util; | |||
using System.Data; | |||
using Learun.Application.TwoDevelopment.PersonnelManagement; | |||
using System.Web.Mvc; | |||
using System.Collections.Generic; | |||
namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
{ | |||
/// <summary> | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2021-05-11 17:37 | |||
/// 描 述:教科研人员管理 | |||
/// </summary> | |||
public class ResearchMentController : MvcControllerBase | |||
{ | |||
private ResearchMentIBLL researchMentIBLL = new ResearchMentBLL(); | |||
#region 视图功能 | |||
/// <summary> | |||
/// 主页面 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Index() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 表单页 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Form() | |||
{ | |||
return View(); | |||
} | |||
#endregion | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetPageList(string pagination, string queryJson) | |||
{ | |||
Pagination paginationobj = pagination.ToObject<Pagination>(); | |||
var data = researchMentIBLL.GetPageList(paginationobj, queryJson); | |||
var jsonData = new | |||
{ | |||
rows = data, | |||
total = paginationobj.total, | |||
page = paginationobj.page, | |||
records = paginationobj.records | |||
}; | |||
return Success(jsonData); | |||
} | |||
/// <summary> | |||
/// 获取表单数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetFormData(string keyValue) | |||
{ | |||
var ResearchMentData = researchMentIBLL.GetResearchMentEntity(keyValue); | |||
var jsonData = new | |||
{ | |||
ResearchMent = ResearchMentData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
researchMentIBLL.DeleteEntity(keyValue); | |||
return Success("删除成功!"); | |||
} | |||
/// <summary> | |||
/// 保存实体数据(新增、修改) | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <param name="strEntity">实体</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[ValidateAntiForgeryToken] | |||
[AjaxOnly] | |||
public ActionResult SaveForm(string keyValue, string strEntity) | |||
{ | |||
ResearchMentEntity entity = strEntity.ToObject<ResearchMentEntity>(); | |||
researchMentIBLL.SaveEntity(keyValue, entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,132 @@ | |||
using Learun.Util; | |||
using System.Data; | |||
using Learun.Application.TwoDevelopment.PersonnelManagement; | |||
using System.Web.Mvc; | |||
using System.Collections.Generic; | |||
namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
{ | |||
/// <summary> | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2021-05-12 12:15 | |||
/// 描 述:资源引入 | |||
/// </summary> | |||
public class ResourceImportController : MvcControllerBase | |||
{ | |||
private ResourceImportIBLL resourceImportIBLL = new ResourceImportBLL(); | |||
#region 视图功能 | |||
/// <summary> | |||
/// 主页面 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Index() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 表单页 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Form() | |||
{ | |||
return View(); | |||
} | |||
#endregion | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetPageList(string pagination, string queryJson) | |||
{ | |||
Pagination paginationobj = pagination.ToObject<Pagination>(); | |||
var data = resourceImportIBLL.GetPageList(paginationobj, queryJson); | |||
var jsonData = new | |||
{ | |||
rows = data, | |||
total = paginationobj.total, | |||
page = paginationobj.page, | |||
records = paginationobj.records | |||
}; | |||
return Success(jsonData); | |||
} | |||
/// <summary> | |||
/// 获取表单数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetFormData(string keyValue) | |||
{ | |||
var ResourceImportData = resourceImportIBLL.GetResourceImportEntity(keyValue); | |||
var jsonData = new | |||
{ | |||
ResourceImport = ResourceImportData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
resourceImportIBLL.DeleteEntity(keyValue); | |||
return Success("删除成功!"); | |||
} | |||
/// <summary> | |||
/// 发布 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult Publish(string keyValue, int ImportState) | |||
{ | |||
resourceImportIBLL.Publish(keyValue, ImportState); | |||
return Success("删除成功!"); | |||
} | |||
/// <summary> | |||
/// 保存实体数据(新增、修改) | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <param name="strEntity">实体</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[ValidateAntiForgeryToken] | |||
[AjaxOnly] | |||
public ActionResult SaveForm(string keyValue, string strEntity) | |||
{ | |||
ResourceImportEntity entity = strEntity.ToObject<ResourceImportEntity>(); | |||
resourceImportIBLL.SaveEntity(keyValue, entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,130 @@ | |||
using Learun.Util; | |||
using System.Data; | |||
using Learun.Application.TwoDevelopment.PersonnelManagement; | |||
using System.Web.Mvc; | |||
using System.Collections.Generic; | |||
namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
{ | |||
/// <summary> | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2021-05-12 11:43 | |||
/// 描 述:研究指导 | |||
/// </summary> | |||
public class StudyGuideController : MvcControllerBase | |||
{ | |||
private StudyGuideIBLL studyGuideIBLL = new StudyGuideBLL(); | |||
#region 视图功能 | |||
/// <summary> | |||
/// 主页面 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Index() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 表单页 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult Form() | |||
{ | |||
return View(); | |||
} | |||
#endregion | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetPageList(string pagination, string queryJson) | |||
{ | |||
Pagination paginationobj = pagination.ToObject<Pagination>(); | |||
var data = studyGuideIBLL.GetPageList(paginationobj, queryJson); | |||
var jsonData = new | |||
{ | |||
rows = data, | |||
total = paginationobj.total, | |||
page = paginationobj.page, | |||
records = paginationobj.records | |||
}; | |||
return Success(jsonData); | |||
} | |||
/// <summary> | |||
/// 获取表单数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetFormData(string keyValue) | |||
{ | |||
var StudyGuideData = studyGuideIBLL.GetStudyGuideEntity(keyValue); | |||
var jsonData = new | |||
{ | |||
StudyGuide = StudyGuideData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
studyGuideIBLL.DeleteEntity(keyValue); | |||
return Success("删除成功!"); | |||
} | |||
/// <summary> | |||
/// 发布 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult Publish(string keyValue,int GuideState) | |||
{ | |||
studyGuideIBLL.Publish(keyValue, GuideState); | |||
return Success("发布成功!"); | |||
} | |||
/// <summary> | |||
/// 保存实体数据(新增、修改) | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <param name="strEntity">实体</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[ValidateAntiForgeryToken] | |||
[AjaxOnly] | |||
public ActionResult SaveForm(string keyValue, string strEntity) | |||
{ | |||
StudyGuideEntity entity = strEntity.ToObject<StudyGuideEntity>(); | |||
studyGuideIBLL.SaveEntity(keyValue, entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -3,6 +3,7 @@ using System.Data; | |||
using Learun.Application.TwoDevelopment.PersonnelManagement; | |||
using System.Web.Mvc; | |||
using System.Collections.Generic; | |||
using System; | |||
namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
{ | |||
@@ -37,6 +38,24 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 表单页-查看 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult FormView() | |||
{ | |||
return View(); | |||
} | |||
/// <summary> | |||
/// 主页面-审核 | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpGet] | |||
public ActionResult CheckIndex() | |||
{ | |||
return View(); | |||
} | |||
#endregion | |||
#region 获取数据 | |||
@@ -103,7 +122,8 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
public ActionResult SaveForm(string keyValue, string strEntity) | |||
{ | |||
WorkStudyPositionApplyEntity entity = strEntity.ToObject<WorkStudyPositionApplyEntity>(); | |||
entity.CheckStatus = false; | |||
entity.CreateTime = DateTime.Now; | |||
entity.CreateUserId = LoginUserInfo.Get().userId; | |||
workStudyPositionApplyIBLL.SaveEntity(keyValue, entity); | |||
return Success("保存成功!"); | |||
} | |||
@@ -115,7 +135,7 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DoCheck(string keyValue, bool checkStatus) | |||
public ActionResult DoCheck(string keyValue, string checkStatus) | |||
{ | |||
var entity = workStudyPositionApplyIBLL.GetWorkStudyPositionApplyEntity(keyValue); | |||
if (entity == null) | |||
@@ -123,6 +143,8 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers | |||
return Fail("数据不存在!"); | |||
} | |||
entity.CheckStatus = checkStatus; | |||
entity.CheckTime = DateTime.Now; | |||
entity.CheckUserId = LoginUserInfo.Get().userId; | |||
workStudyPositionApplyIBLL.SaveEntity(keyValue, entity); | |||
return Success("操作成功!"); | |||
} | |||
@@ -1,31 +1,55 @@ | |||
@{ | |||
ViewBag.Title = "会议室管理"; | |||
ViewBag.Title = "会议管理"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap"> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement" > | |||
<div class="lr-form-item-title">会议室<font face="宋体">*</font></div> | |||
<input id="MeetingName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议主题<font face="宋体">*</font></div> | |||
<input id="MeetingTitle" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement" > | |||
<div class="lr-form-item-title">预约时间<font face="宋体">*</font></div> | |||
<input id="OrderTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm',onpicked: function () { $('#OrderTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">校内参入人员<font face="宋体">*</font></div> | |||
<div id="InternalParticipants"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement" > | |||
<div class="lr-form-item-title">使用时间</div> | |||
<input id="UseTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#UseTime').trigger('change'); } })" /> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">校外参入人员</div> | |||
<textarea class="form-control" id="ExternalParticipants" placeholder="多个参与人员用英文半角逗号分隔"></textarea> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement" > | |||
<div class="lr-form-item-title">纪要记录人</div> | |||
<input id="RecordPerson" type="text" class="form-control" /> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议场地<font face="宋体">*</font></div> | |||
<div id="MeetingPlace" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement" > | |||
<div class="lr-form-item-title">会议纪要</div> | |||
<textarea id="Content" class="form-control" style="height:100px;" ></textarea> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议开始时间<font face="宋体">*</font></div> | |||
<input id="BeginTime" type="text" class="form-control lr-input-wdatepicker" isvalid="yes" checkexpession="NotNull" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm',onpicked: function () { $('#BeginTime').trigger('change'); } })" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement" > | |||
<div class="lr-form-item-title">附件</div> | |||
<div id="Files" ></div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议结束时间<font face="宋体">*</font></div> | |||
<input id="EndTime" type="text" class="form-control lr-input-wdatepicker" isvalid="yes" checkexpession="NotNull" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm',onpicked: function () { $('#EndTime').trigger('change'); } })" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议记录者</div> | |||
<div id="RecordPerson"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议内容<font face="宋体">*</font></div> | |||
<textarea class="form-control" id="Content" style="height:150px;" isvalid="yes" checkexpession="NotNull"></textarea> | |||
</div> | |||
@*<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议内容<font face="宋体">*</font></div> | |||
<div id="Content" style="height:150px;" isvalid="yes" checkexpession="NotNull"></div> | |||
</div>*@ | |||
@*<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">附件上传</div> | |||
<div id="Files"></div> | |||
</div>*@ | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">联系人<font face="宋体">*</font></div> | |||
<input id="Linkman" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">联系电话<font face="宋体">*</font></div> | |||
<input id="LinkPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/MeetingManagement/Form.js") |
@@ -1,13 +1,41 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2020-03-23 15:04 | |||
* 描 述:会议室管理 | |||
* 日 期:2021-02-21 10:07 | |||
* 描 述:会议管理 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
// 设置权限 | |||
var setAuthorize; | |||
// 设置表单数据 | |||
var setFormData; | |||
// 验证数据是否填写完整 | |||
var validForm; | |||
// 保存数据 | |||
var save; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
// 设置权限 | |||
setAuthorize = function (data) { | |||
if (!!data) { | |||
for (var field in data) { | |||
if (data[field].isLook != 1) {// 如果没有查看权限就直接移除 | |||
$('#' + data[field].fieldId).parent().remove(); | |||
} | |||
else { | |||
if (data[field].isEdit != 1) { | |||
$('#' + data[field].fieldId).attr('disabled', 'disabled'); | |||
if ($('#' + data[field].fieldId).hasClass('lrUploader-wrap')) { | |||
$('#' + data[field].fieldId).css({ 'padding-right': '58px' }); | |||
$('#' + data[field].fieldId).find('.btn-success').remove(); | |||
} | |||
} | |||
} | |||
} | |||
} | |||
}; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
@@ -15,7 +43,16 @@ var bootstrap = function ($, learun) { | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#Files').lrUploader(); | |||
$('#MeetingPlace').lrselect({ | |||
allowSearch: true, | |||
url: top.$.rootUrl + '/PersonnelManagement/ConferenceRoom/GetList', | |||
value: "ID", | |||
text: "Name" | |||
}); | |||
$('#RecordPerson').lrUserSelect(0); | |||
//var ContentUE = UE.getEditor('Content'); | |||
//$('#Content')[0].ue = ContentUE; $('#Files').lrUploader(); | |||
$('#InternalParticipants').lrUserSelect(1); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
@@ -32,18 +69,45 @@ var bootstrap = function ($, learun) { | |||
} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
// 设置表单数据 | |||
setFormData = function (processId, param, callback) { | |||
if (!!processId) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/GetFormDataByProcessId?processId=' + processId, function (data) { | |||
for (var id in data) { | |||
if (!!data[id] && data[id].length > 0) { | |||
$('#' + id).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
if (id == 'MeetingManagement' && data[id]) { | |||
keyValue = data[id].Id; | |||
} | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
callback && callback(); | |||
} | |||
// 验证数据是否填写完整 | |||
validForm = function () { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
return true; | |||
}; | |||
// 保存数据 | |||
save = function (processId, callBack, i) { | |||
var formData = $('body').lrGetFormData(); | |||
if (!!processId) { | |||
formData.ProcessId = processId; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
strEntity: JSON.stringify(formData) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
callBack(res, i); | |||
} | |||
}); | |||
}; | |||
@@ -0,0 +1,52 @@ | |||
@{ | |||
ViewBag.Title = "会议管理"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<script src="~/Content/jquery/qrcode.min.js"></script> | |||
<div class="lr-form-wrap"> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议主题<font face="宋体">*</font></div> | |||
<input id="MeetingTitle" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">校内参入人员<font face="宋体">*</font></div> | |||
<div id="InternalParticipants"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">校外参入人员</div> | |||
<textarea class="form-control" readonly="readonly" id="ExternalParticipants" placeholder="多个参与人员用英文半角逗号分隔"></textarea> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议场地<font face="宋体">*</font></div> | |||
<div id="MeetingPlace" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议开始时间<font face="宋体">*</font></div> | |||
<input id="BeginTime" type="text" class="form-control lr-input-wdatepicker" readonly="readonly" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议结束时间<font face="宋体">*</font></div> | |||
<input id="EndTime" type="text" class="form-control lr-input-wdatepicker" readonly="readonly" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议记录者</div> | |||
<div id="RecordPerson" readonly="readonly"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">会议内容<font face="宋体">*</font></div> | |||
<textarea class="form-control" id="Content" style="height:150px;" readonly="readonly" isvalid="yes" checkexpession="NotNull"></textarea> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">联系人<font face="宋体">*</font></div> | |||
<input id="Linkman" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">联系电话<font face="宋体">*</font></div> | |||
<input id="LinkPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingManagement"> | |||
<div class="lr-form-item-title">扫码签到</div> | |||
<div id="qrCode"></div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/MeetingManagement/FormView.js") |
@@ -0,0 +1,123 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-02-21 10:07 | |||
* 描 述:会议管理 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
// 设置权限 | |||
var setAuthorize; | |||
// 设置表单数据 | |||
var setFormData; | |||
// 验证数据是否填写完整 | |||
var validForm; | |||
// 保存数据 | |||
var save; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
// 设置权限 | |||
setAuthorize = function (data) { | |||
if (!!data) { | |||
for (var field in data) { | |||
if (data[field].isLook != 1) {// 如果没有查看权限就直接移除 | |||
$('#' + data[field].fieldId).parent().remove(); | |||
} | |||
else { | |||
if (data[field].isEdit != 1) { | |||
$('#' + data[field].fieldId).attr('disabled', 'disabled'); | |||
if ($('#' + data[field].fieldId).hasClass('lrUploader-wrap')) { | |||
$('#' + data[field].fieldId).css({ 'padding-right': '58px' }); | |||
$('#' + data[field].fieldId).find('.btn-success').remove(); | |||
} | |||
} | |||
} | |||
} | |||
} | |||
}; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#MeetingPlace').lrselect({ | |||
allowSearch: true, | |||
url: top.$.rootUrl + '/PersonnelManagement/ConferenceRoom/GetList', | |||
value: "ID", | |||
text: "Name" | |||
}); | |||
$('#RecordPerson').lrUserSelect(0); | |||
$('#InternalParticipants').lrUserSelect(1); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/GetFormData?keyValue=' + keyValue, function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id ).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
//扫码签到 | |||
makeCode(data[id].Id); | |||
} | |||
}); | |||
} | |||
} | |||
}; | |||
// 设置表单数据 | |||
setFormData = function (processId, param, callback) { | |||
if (!!processId) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/GetFormDataByProcessId?processId=' + processId, function (data) { | |||
for (var id in data) { | |||
if (!!data[id] && data[id].length > 0) { | |||
$('#' + id).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
if (id == 'MeetingManagement' && data[id]) { | |||
keyValue = data[id].Id; | |||
} | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
callback && callback(); | |||
} | |||
// 验证数据是否填写完整 | |||
validForm = function () { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
return true; | |||
}; | |||
// 保存数据 | |||
save = function (processId, callBack, i) { | |||
var formData = $('body').lrGetFormData(); | |||
if (!!processId) { | |||
formData.ProcessId = processId; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify(formData) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(res, i); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} | |||
//扫码签到 | |||
var qrcode = new QRCode(document.getElementById("qrCode"), { | |||
width: 150, | |||
height: 150 | |||
}); | |||
function makeCode(urls) { | |||
qrcode.makeCode(urls); | |||
} |
@@ -1,8 +1,10 @@ | |||
@{ | |||
ViewBag.Title = "会议室管理"; | |||
/**/ | |||
ViewBag.Title = "会议管理"; | |||
Layout = "~/Views/Shared/_Index.cshtml"; | |||
} | |||
<div class="lr-layout " > | |||
<div class="lr-layout "> | |||
<div class="lr-layout-center"> | |||
<div class="lr-layout-wrap lr-layout-wrap-notitle "> | |||
<div class="lr-layout-tool"> | |||
@@ -11,8 +13,16 @@ | |||
<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="MeetingName" type="text" class="form-control" /> | |||
<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> | |||
@@ -23,9 +33,18 @@ | |||
<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_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
<a id="lr_view" class="btn btn-default"><i class="fa fa-plus"></i> 查看</a> | |||
<a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i> 提交</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_attendance" class="btn btn-default"><i class="fa fa-plus"></i> 考勤</a> | |||
<a id="lr_minutes" class="btn btn-default"><i class="fa fa-plus"></i> 纪要</a> | |||
<a id="lr_notice" class="btn btn-default"><i class="fa fa-plus"></i> 通知</a> | |||
<a id="lr_checkyes" class="btn btn-default"><i class="fa fa-plus"></i> 审核通过</a> | |||
<a id="lr_checkno" class="btn btn-default"><i class="fa fa-plus"></i> 审核不通过</a> | |||
</div> | |||
</div> | |||
</div> | |||
@@ -1,12 +1,13 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2020-03-23 15:04 | |||
* 描 述:会议室管理 | |||
* 日 期:2021-02-21 10:07 | |||
* 描 述:会议管理 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var processId = ''; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
@@ -16,20 +17,36 @@ var bootstrap = function ($, learun) { | |||
$('#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_add').on('click', function () { | |||
learun.layerForm({ | |||
id: 'form', | |||
learun.layerForm({ | |||
id: 'addform', | |||
title: '新增', | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingManagement/Form', | |||
width: 600, | |||
height: 400, | |||
width: 1000, | |||
height: 800, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
var res = false; | |||
// 验证数据 | |||
res = top[id].validForm(); | |||
// 保存数据 | |||
if (res) { | |||
res = top[id].save('', function () { | |||
page.search(); | |||
}); | |||
} | |||
return res; | |||
} | |||
}); | |||
}); | |||
@@ -37,14 +54,31 @@ var bootstrap = function ($, learun) { | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus == "1") { | |||
learun.alert.warning("当前项已审核通过!"); | |||
return false; | |||
} else if (CheckStatus == "3") { | |||
learun.alert.warning("当前项审核中!"); | |||
return false; | |||
} | |||
learun.layerForm({ | |||
id: 'form', | |||
id: 'editform', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingManagement/Form?keyValue=' + keyValue, | |||
width: 600, | |||
height: 400, | |||
width: 1000, | |||
height: 800, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
var res = false; | |||
// 验证数据 | |||
res = top[id].validForm(); | |||
// 保存数据 | |||
if (res) { | |||
res = top[id].save('', function () { | |||
page.search(); | |||
}); | |||
} | |||
return res; | |||
} | |||
}); | |||
} | |||
@@ -53,9 +87,115 @@ var bootstrap = function ($, learun) { | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus != "0") { | |||
learun.alert.warning("当前项已审核或审核中!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/DeleteForm', { keyValue: keyValue}, function () { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/DeleteForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 查看 | |||
$('#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_submit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus == "1") { | |||
learun.alert.warning("当前项已审核通过!"); | |||
return false; | |||
} else if (CheckStatus == "3") { | |||
learun.alert.warning("当前项审核中!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认提交该项!', function (res) { | |||
if (res) { | |||
processId = learun.newGuid(); | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/DoSubmit', { keyValue: keyValue, status: '3', processId: processId }, function (res) { | |||
refreshGirdData(res, {}); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 考勤 | |||
// 纪要 | |||
$('#lr_minutes').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'MeetingMinutesIndex', | |||
title: '会议纪要', | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingMinutes/Index?MeetID=' + keyValue, | |||
width: 1000, | |||
height: 800, | |||
btn:null | |||
}); | |||
} | |||
}); | |||
// 通知 | |||
$('#lr_notice').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'MeetingNoticeIndex', | |||
title: '会议通知', | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingNotice/Index?MeetID=' + keyValue, | |||
width: 1000, | |||
height: 800, | |||
btn: null | |||
}); | |||
} | |||
}); | |||
// 审核通过 | |||
$('#lr_checkyes').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus == '1') { | |||
learun.alert.warning("该项已审核通过!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认审核通过该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/DoCheck', { keyValue: keyValue, status: '1' }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 审核不通过 | |||
$('#lr_checkno').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus == '2') { | |||
learun.alert.warning("该项已审核不通过!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认审核不通过该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/DoCheck', { keyValue: keyValue, status: '2' }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
@@ -68,24 +208,81 @@ var bootstrap = function ($, learun) { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingManagement/GetPageList', | |||
headData: [ | |||
{ label: "会议室", name: "MeetingName", width: 100, align: "left"}, | |||
{ label: "预约时间", name: "OrderTime", width: 130, align: "left"}, | |||
{ label: "使用时间", name: "UseTime", width: 130, align: "left"}, | |||
{ label: "纪要记录人", name: "RecordPerson", width: 100, align: "left"}, | |||
{ label: "会议纪要", name: "Content", width: 100, align: "left"}, | |||
{ label: "附件", name: "Files", width: 100, align: "left"}, | |||
{ 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 | |||
mainId: 'Id', | |||
isPage: true, | |||
sidx: 'CreateTime desc' | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
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(); | |||
@@ -0,0 +1,55 @@ | |||
@{ | |||
/**/ | |||
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_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
<a id="lr_view" class="btn btn-default"><i class="fa fa-plus"></i> 查看</a> | |||
<a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i> 提交</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_attendance" class="btn btn-default"><i class="fa fa-plus"></i> 考勤</a> | |||
<a id="lr_minutes" class="btn btn-default"><i class="fa fa-plus"></i> 纪要</a> | |||
<a id="lr_notice" class="btn btn-default"><i class="fa fa-plus"></i> 通知</a> | |||
<a id="lr_checkyes" class="btn btn-default"><i class="fa fa-plus"></i> 审核通过</a> | |||
<a id="lr_checkno" 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/IndexOfMyApply.js") |
@@ -0,0 +1,264 @@ | |||
/* * 版 本 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_add').on('click', function () { | |||
learun.layerForm({ | |||
id: 'addform', | |||
title: '新增', | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingManagement/Form', | |||
width: 1000, | |||
height: 800, | |||
callBack: function (id) { | |||
var res = false; | |||
// 验证数据 | |||
res = top[id].validForm(); | |||
// 保存数据 | |||
if (res) { | |||
res = top[id].save('', function () { | |||
page.search(); | |||
}); | |||
} | |||
return res; | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus == "1") { | |||
learun.alert.warning("当前项已审核通过!"); | |||
return false; | |||
} else if (CheckStatus == "3") { | |||
learun.alert.warning("当前项审核中!"); | |||
return false; | |||
} | |||
learun.layerForm({ | |||
id: 'editform', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingManagement/Form?keyValue=' + keyValue, | |||
width: 1000, | |||
height: 800, | |||
callBack: function (id) { | |||
var res = false; | |||
// 验证数据 | |||
res = top[id].validForm(); | |||
// 保存数据 | |||
if (res) { | |||
res = top[id].save('', function () { | |||
page.search(); | |||
}); | |||
} | |||
return res; | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus != "0") { | |||
learun.alert.warning("当前项已审核或审核中!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/DeleteForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 查看 | |||
$('#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_submit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus == "1") { | |||
learun.alert.warning("当前项已审核通过!"); | |||
return false; | |||
} else if (CheckStatus == "3") { | |||
learun.alert.warning("当前项审核中!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认提交该项!', function (res) { | |||
if (res) { | |||
processId = learun.newGuid(); | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/DoSubmit', { keyValue: keyValue, status: '3', processId: processId }, function (res) { | |||
refreshGirdData(res, {}); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 考勤 | |||
// 纪要 | |||
// 通知 | |||
// 审核通过 | |||
$('#lr_checkyes').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus == '1') { | |||
learun.alert.warning("该项已审核通过!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认审核通过该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/DoCheck', { keyValue: keyValue, status: '1' }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 审核不通过 | |||
$('#lr_checkno').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus == '2') { | |||
learun.alert.warning("该项已审核不通过!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认审核不通过该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/MeetingManagement/DoCheck', { keyValue: keyValue, status: '2' }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
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 || {}; | |||
param.CreateUser = learun.clientdata.get(['userinfo']).userId; | |||
$('#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(); | |||
} |
@@ -0,0 +1,45 @@ | |||
@{ | |||
/**/ | |||
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> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/MeetingManagement/IndexOfMyJoin.js") |
@@ -0,0 +1,120 @@ | |||
/* * 版 本 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 | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
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 || {}; | |||
param.InternalParticipants = learun.clientdata.get(['userinfo']).userId; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function (res, postData) { | |||
page.search(); | |||
}; | |||
page.init(); | |||
} |
@@ -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="datesearch"></div> | |||
</div> | |||
<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> | |||
<input id="begintime" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">结束时间</div> | |||
<input id="endtime" type="text" class="form-control" /> | |||
</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_outport" class="btn btn-default"><i class="fa fa-sign-out"></i> 导出</a> | |||
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/MeetingManagement/IndexStatistics.js") |
@@ -0,0 +1,188 @@ | |||
1 | |||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 | |||
12 | |||
13 | |||
14 | |||
15 | |||
16 | |||
17 | |||
18 | |||
19 | |||
20 | |||
21 | |||
22 | |||
23 | |||
24 | |||
25 | |||
26 | |||
27 | |||
28 | |||
29 | |||
30 | |||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | |||
54 | |||
55 | |||
56 | |||
57 | |||
58 | |||
59 | |||
60 | |||
61 | |||
62 | |||
63 | |||
64 | |||
65 | |||
66 | |||
67 | |||
68 | |||
69 | |||
70 | |||
71 | |||
72 | |||
73 | |||
74 | |||
75 | |||
76 | |||
77 | |||
78 | |||
79 | |||
80 | |||
81 | |||
82 | |||
83 | |||
84 | |||
85 | |||
86 | |||
87 | |||
88 | |||
89 | |||
90 | |||
91 | |||
92 | |||
93 | |||
94 | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-06-07 16:39 | |||
* 描 述:a | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var map = {}; | |||
var startTime; | |||
var endTime; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
// 时间搜索框 | |||
$('#datesearch').lrdate({ | |||
dfdata: [ | |||
{ name: '今天', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00') }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } }, | |||
{ name: '近7天', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00', 'd', -6) }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } }, | |||
{ name: '近1个月', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00', 'm', -1) }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } }, | |||
{ name: '近3个月', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00', 'm', -3) }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } } | |||
], | |||
// 月 | |||
mShow: false, | |||
premShow: false, | |||
// 季度 | |||
jShow: false, | |||
prejShow: false, | |||
// 年 | |||
ysShow: false, | |||
yxShow: false, | |||
preyShow: false, | |||
yShow: false, | |||
// 默认 | |||
dfvalue: '1', | |||
selectfn: function (begin, end) { | |||
startTime = begin; | |||
endTime = end; | |||
page.search(); | |||
} | |||
}); | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 120, 400); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 打印 | |||
$('#lr_print').on('click', function () { | |||
$('#gridtable').jqprintTable(); | |||
}); | |||
// 导出 | |||
$('#lr_outport').on('click', function () { | |||
learun.download({ | |||
method: 'POST', | |||
url: '/Utility/ExportExcel', | |||
param: { | |||
fileName: '导出数据列表', | |||
columnJson: JSON.stringify($('#gridtable').jfGridGet('settingInfo').headData), | |||
dataJson: JSON.stringify($('#gridtable').jfGridGet('settingInfo').rowdatas) | |||
} | |||
}); | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').jfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingManagement/GetStatisticList', | |||
headData: [ | |||
{ label: "会议标题", name: "meetingtitle", width: 100, align: "left" }, | |||
{ label: "会议开始时间", name: "begintime", width: 200, align: "left" }, | |||
{ label: "会议结束时间", name: "endtime", width: 200, align: "left" }, | |||
{ label: "正常(人)", name: "正常", width: 100, align: "left" }, | |||
{ label: "未到(人)", name: "未到", width: 100, align: "left" }, | |||
], | |||
}); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
param.StartTime = startTime; | |||
param.EndTime = endTime; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,27 @@ | |||
@{ | |||
ViewBag.Title = "会议签到记录"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap"> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingSignInRecord" > | |||
<div class="lr-form-item-title">会议</div> | |||
<div id="MeetID" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingSignInRecord" > | |||
<div class="lr-form-item-title">参与人id</div> | |||
<div id="ParticipantID" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingSignInRecord" > | |||
<div class="lr-form-item-title">参与人名字</div> | |||
<input id="ParticipantName" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingSignInRecord" > | |||
<div class="lr-form-item-title">是否签到</div> | |||
<div id="IsSignIn" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingSignInRecord" > | |||
<div class="lr-form-item-title">参加时间</div> | |||
<input id="SignInTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#SignInTime').trigger('change'); } })" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/MeetingSignInRecord/Form.js") |
@@ -0,0 +1,58 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-02-21 10:16 | |||
* 描 述:会议签到记录 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#MeetID').lrDataItemSelect({ code: '' }); | |||
$('#ParticipantID').lrformselect({ | |||
layerUrl: top.$.rootUrl + '/LR_OrganizationModule/User/SelectOnlyForm', | |||
layerUrlW: 400, | |||
layerUrlH: 300, | |||
dataUrl: top.$.rootUrl + '/LR_OrganizationModule/User/GetListByUserIds' | |||
}); | |||
$('#IsSignIn').lrDataItemSelect({ code: 'YesOrNoBit' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/GetFormData?keyValue=' + keyValue, function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id ).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,11 @@ | |||
@{ | |||
ViewBag.Title = "会议考勤"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap"> | |||
<div class="col-xs-12 lr-form-item" data-table="MeetingSignInRecord" > | |||
<div class="lr-form-item-title">考勤类型</div> | |||
<div id="IsSignIn" readonly="readonly" ></div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/MeetingSignInRecord/FormViewAttendance.js") |
@@ -0,0 +1,54 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-02-21 10:16 | |||
* 描 述:会议考勤 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#IsSignIn').lrDataItemSelect({ code: 'meetingAdType' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/GetFormData?keyValue=' + keyValue, function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id ).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,41 @@ | |||
@{ | |||
/**/ | |||
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> | |||
<input id="ParticipantName" type="text" class="form-control" /> | |||
</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_signIn" class="btn btn-default"><i class="fa fa-plus"></i> 已签到</a> | |||
<a id="lr_notSignIn" 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/MeetingSignInRecord/Index.js") |
@@ -0,0 +1,136 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-02-21 10:16 | |||
* 描 述:会议签到记录 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 400); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 新增 | |||
$('#lr_add').on('click', function () { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '新增', | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/Form', | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/Form?keyValue=' + keyValue, | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/DeleteForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 打印 | |||
$('#lr_print').on('click', function () { | |||
$('#gridtable').jqprintTable(); | |||
}); | |||
//已签到 | |||
$('#lr_signIn').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ID'); | |||
if (learun.checkrow(keyValue)) { | |||
var IsSignIn = $('#gridtable').jfGridValue('IsSignIn'); | |||
if (IsSignIn == true) { | |||
learun.alert.warning("该项已签到!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认签到!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/DoSignIn', { keyValue: keyValue, isSignIn: true }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
//未签到 | |||
$('#lr_notSignIn').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ID'); | |||
if (learun.checkrow(keyValue)) { | |||
var IsSignIn = $('#gridtable').jfGridValue('IsSignIn'); | |||
if (IsSignIn != true) { | |||
learun.alert.warning("该项未签到!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认未签到!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/DoSignIn', { keyValue: keyValue, isSignIn: false }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/GetPageList', | |||
headData: [ | |||
{ label: "会议", name: "MeetingTitle", width: 150, align: "left" }, | |||
{ label: "用户", name: "ParticipantName", width: 100, align: "left" }, | |||
{ | |||
label: "状态", name: "IsSignIn", width: 100, align: "left", | |||
formatter: function (cellvalue) { | |||
return cellvalue == true ? "已签到" : "未签到"; | |||
} | |||
}, | |||
{ label: "签到时间", name: "SignInTime", width: 100, align: "left" }, | |||
], | |||
mainId: 'ID', | |||
isPage: true, | |||
sidx: 'MeetID,ParticipantID' | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,44 @@ | |||
@{ | |||
/**/ | |||
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> | |||
<input id="ParticipantName" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">考勤类型</div> | |||
<div id="IsSignIn"></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> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/MeetingSignInRecord/IndexAttendance.js") |
@@ -0,0 +1,81 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-02-21 10:16 | |||
* 描 述:会议考勤管理 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 400); | |||
$('#IsSignIn').lrDataItemSelect({ code: 'meetingAdType' }); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 查看 | |||
$('#lr_view').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '查看', | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/FormViewAttendance?keyValue=' + keyValue, | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').jfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/MeetingSignInRecord/GetPageList', | |||
headData: [ | |||
{ label: "姓名", name: "ParticipantName", width: 100, align: "left" }, | |||
{ label: "会议", name: "MeetingTitle", width: 150, align: "left" }, | |||
{ | |||
label: "考勤类型", name: "IsSignIn", width: 100, align: "left", | |||
//formatterAsync: function (callback, value, row, op, $cell) { | |||
// learun.clientdata.getAsync('dataItem', { | |||
// key: value, | |||
// code: 'meetingAdType', | |||
// callback: function (_data) { | |||
// callback(_data.text); | |||
// } | |||
// }); | |||
//} | |||
formatter: function (cellvalue) { | |||
return cellvalue == true ? "正常" : "未到"; | |||
} | |||
}, | |||
{ label: "考勤时间", name: "SignInTime", width: 100, align: "left" }, | |||
], | |||
mainId: 'ID', | |||
isPage: true, | |||
sidx: 'MeetID,ParticipantID' | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,47 @@ | |||
@{ | |||
ViewBag.Title = "会议管理设置"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-12 lr-form-item" data-table="ReleaseMetting" > | |||
<div class="lr-form-item-title">会议主题<font face="宋体">*</font></div> | |||
<input id="ReleaseName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ReleaseMetting" > | |||
<div class="lr-form-item-title">会议参与教研人员<font face="宋体">*</font></div> | |||
<textarea id="ReleaseStaff" class="form-control" style="height:100px;" isvalid="yes" checkexpession="NotNull" ></textarea> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ReleaseMetting" > | |||
<div class="lr-form-item-title">会议参与其它人员</div> | |||
<textarea id="ReleaseOther" class="form-control" style="height:100px;" ></textarea> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ReleaseMetting" > | |||
<div class="lr-form-item-title">会议内容</div> | |||
<textarea id="ReleaseContent" class="form-control" style="height:100px;" ></textarea> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ReleaseMetting" > | |||
<div class="lr-form-item-title">会议场地</div> | |||
<div id="SiteName" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ReleaseMetting" > | |||
<div class="lr-form-item-title">会议场地状态</div> | |||
<div id="ReleaseState" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ReleaseMetting" > | |||
<div class="lr-form-item-title">联系人</div> | |||
<input id="Contact" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ReleaseMetting" > | |||
<div class="lr-form-item-title">联系电话</div> | |||
<input id="SiteIphone" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ReleaseMetting" > | |||
<div class="lr-form-item-title">会议开始时间</div> | |||
<input id="TimeBegin" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#TimeBegin').trigger('change'); } })" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ReleaseMetting" > | |||
<div class="lr-form-item-title">会议结束时间</div> | |||
<input id="TimeOver" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#TimeOver').trigger('change'); } })" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/ReleaseMetting/Form.js") |
@@ -0,0 +1,52 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-05-12 10:32 | |||
* 描 述:会议管理设置 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#SiteName').lrDataSourceSelect({ code: 'MettingSite',value: 'sitename',text: 'sitename' }); | |||
$('#ReleaseState').lrDataItemSelect({ code: 'ApplyStatus' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/ReleaseMetting/GetFormData?keyValue=' + keyValue, function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id ).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/PersonnelManagement/ReleaseMetting/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,49 @@ | |||
@{ | |||
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="ReleaseName" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">联系人</div> | |||
<input id="Contact" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">会议场地</div> | |||
<div id="SiteName"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">会议场地状态</div> | |||
<div id="ReleaseState"></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_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/ReleaseMetting/Index.js") |
@@ -0,0 +1,118 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-05-12 10:32 | |||
* 描 述:会议管理设置 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 400); | |||
$('#SiteName').lrDataSourceSelect({ code: 'MettingSite',value: 'sitename',text: 'sitename' }); | |||
$('#ReleaseState').lrDataItemSelect({ code: 'ApplyStatus' }); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 新增 | |||
$('#lr_add').on('click', function () { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '新增', | |||
url: top.$.rootUrl + '/PersonnelManagement/ReleaseMetting/Form', | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ReleaseID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/PersonnelManagement/ReleaseMetting/Form?keyValue=' + keyValue, | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ReleaseID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/ReleaseMetting/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 打印 | |||
$('#lr_print').on('click', function () { | |||
$('#gridtable').jqprintTable(); | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/ReleaseMetting/GetPageList', | |||
headData: [ | |||
{ label: "会议主题", name: "ReleaseName", width: 100, align: "left"}, | |||
{ label: "会议场地", name: "SiteName", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'MettingSite', | |||
key: value, | |||
keyId: 'sitename', | |||
callback: function (_data) { | |||
callback(_data['sitename']); | |||
} | |||
}); | |||
}}, | |||
{ label: "联系人", name: "Contact", width: 100, align: "left"}, | |||
{ label: "联系电话", name: "SiteIphone", width: 100, align: "left"}, | |||
{ label: "会议开始时间", name: "TimeBegin", width: 100, align: "left"}, | |||
{ label: "会议场地状态", name: "ReleaseState", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'ApplyStatus', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "会议结束时间", name: "TimeOver", width: 100, align: "left"}, | |||
], | |||
mainId:'ReleaseID', | |||
isPage: true | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,33 @@ | |||
@{ | |||
ViewBag.Title = "教科研组管理"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-12 lr-form-item" data-table="ResearchGER" > | |||
<div class="lr-form-item-title">组织名称<font face="宋体">*</font></div> | |||
<input id="GerName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResearchGER"> | |||
<div class="lr-form-item-title">专业组长<font face="宋体">*</font></div> | |||
<div id="GerBoss"></div> | |||
@*<input id="GerBoss" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />*@ | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResearchGER"> | |||
<div class="lr-form-item-title">组织成员<font face="宋体">*</font></div> | |||
<div id="Gerpeople"></div> | |||
@*<textarea id="Gerpeople" class="form-control" style="height:100px;" isvalid="yes" checkexpession="NotNull"></textarea>*@ | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResearchGER" > | |||
<div class="lr-form-item-title">成立时间</div> | |||
<input id="Gertiem" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#Gertiem').trigger('change'); } })" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResearchGER" > | |||
<div class="lr-form-item-title">状态</div> | |||
<div id="GerState"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResearchGER" > | |||
<div class="lr-form-item-title">备注</div> | |||
<textarea id="postscript" class="form-control" style="height:100px;" ></textarea> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/ResearchGER/Form.js") |
@@ -0,0 +1,56 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-05-11 18:17 | |||
* 描 述:教科研组管理 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#GerBoss').lrDataSourceSelect({ code: 'TeacherInfo', value: 'f_userid', text: 'f_realname' }); | |||
$('#Gerpeople').lrUserSelect({ type: '1' }); | |||
$('#GerState').lrRadioCheckbox({ | |||
type: 'radio', | |||
code: 'EnableStatus', | |||
}); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/ResearchGER/GetFormData?keyValue=' + keyValue, function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id ).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/PersonnelManagement/ResearchGER/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,37 @@ | |||
@{ | |||
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="GerName" type="text" class="form-control" /> | |||
</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_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/ResearchGER/Index.js") |
@@ -0,0 +1,129 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-05-11 18:17 | |||
* 描 述:教科研组管理 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 130, 200); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 新增 | |||
$('#lr_add').on('click', function () { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '新增', | |||
url: top.$.rootUrl + '/PersonnelManagement/ResearchGER/Form', | |||
width: 600, | |||
height: 450, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('GerID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/PersonnelManagement/ResearchGER/Form?keyValue=' + keyValue, | |||
width: 600, | |||
height: 450, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('GerID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/ResearchGER/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 打印 | |||
$('#lr_print').on('click', function () { | |||
$('#gridtable').jqprintTable(); | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/ResearchGER/GetPageList', | |||
headData: [ | |||
{ label: "组织名称", name: "GerName", width: 100, align: "left"}, | |||
{ | |||
label: "专业组长", name: "GerBoss", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'TeacherInfo', | |||
key: value, | |||
keyId: 'f_userid', | |||
callback: function (_data) { | |||
callback(_data['f_realname']); | |||
} | |||
}); | |||
} | |||
}, | |||
{ | |||
label: "成立时间", name: "Gertiem", width: 150, align: "left", | |||
formatter: function (cellvalue) { | |||
return learun.formatDate(cellvalue, 'yyyy-MM-dd'); | |||
}, | |||
sort: true | |||
}, | |||
{ label: "状态", name: "GerState", width: 100, align: "left", | |||
formatter: function (cellvalue, row) { | |||
if (cellvalue == 1) { | |||
return '<span class=\"label label-success\">启用</span>'; | |||
} else if (cellvalue == 0) { | |||
return '<span class=\"label label-danger\">禁用</span>'; | |||
} | |||
} | |||
//formatterAsync: function (callback, value, row, op,$cell) { | |||
// learun.clientdata.getAsync('dataItem', { | |||
// key: value, | |||
// code: 'EnableStatus', | |||
// callback: function (_data) { | |||
// callback(_data.text); | |||
// } | |||
// }); | |||
//} | |||
}, | |||
], | |||
mainId:'GerID', | |||
isPage: true | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,63 @@ | |||
@{ | |||
ViewBag.Title = "教科研人员管理"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">姓名</div> | |||
<input id="MentName" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">性别</div> | |||
<div id="MentSex"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">出生日期</div> | |||
<input id="MentBirth" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#MentBirth').trigger('change'); } })" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">职称</div> | |||
<div id="TheTitle" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">学历</div> | |||
<div id="Learn" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">教科研组</div> | |||
<div id="ResearchGroup" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">人员类型</div> | |||
<div id="IfSchool" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">科研方向</div> | |||
<input id="Direction" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">毕业院校</div> | |||
<input id="Graduate" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">身份证号码</div> | |||
<input id="IdNumber" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">联系电话</div> | |||
<input id="iphone" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">项目经历</div> | |||
<textarea id="Project" class="form-control" style="height:75px;" ></textarea> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">著作及论文</div> | |||
<textarea id="BookPaper" class="form-control" style="height:75px;" ></textarea> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResearchMent" > | |||
<div class="lr-form-item-title">个人简介</div> | |||
<textarea id="Personal" class="form-control" style="height:120px;" ></textarea> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/ResearchMent/Form.js") |
@@ -0,0 +1,58 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-05-08 18:08 | |||
* 描 述:教科研人员管理 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#MentSex').lrRadioCheckbox({ | |||
type: 'radio', | |||
code: 'usersexbit', | |||
}); | |||
$('#TheTitle').lrDataItemSelect({ code: 'jszc' }); | |||
$('#Learn').lrDataItemSelect({ code: 'CollegeType' }); | |||
$('#ResearchGroup').lrDataItemSelect({ code: 'SubjectSpecies' }); | |||
$('#IfSchool').lrDataItemSelect({ code: 'EmpFullTime' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/ResearchMent/GetFormData?keyValue=' + keyValue, function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id ).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/PersonnelManagement/ResearchMent/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,45 @@ | |||
@{ | |||
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="MentName" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">职称</div> | |||
<div id="TheTitle"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">身份证号码</div> | |||
<input id="IdNumber" type="text" class="form-control" /> | |||
</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_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/ResearchMent/Index.js") |
@@ -0,0 +1,135 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-05-08 18:08 | |||
* 描 述:教科研人员管理 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 400); | |||
$('#TheTitle').lrDataItemSelect({ code: 'jszc' }); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 新增 | |||
$('#lr_add').on('click', function () { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '新增', | |||
url: top.$.rootUrl + '/PersonnelManagement/ResearchMent/Form', | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('MentID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/PersonnelManagement/ResearchMent/Form?keyValue=' + keyValue, | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('MentID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/ResearchMent/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 打印 | |||
$('#lr_print').on('click', function () { | |||
$('#gridtable').jqprintTable(); | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/ResearchMent/GetPageList', | |||
headData: [ | |||
{ label: "姓名", name: "MentName", width: 100, align: "left"}, | |||
{ label: "人员类型", name: "IfSchool", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'EmpFullTime', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "职称", name: "TheTitle", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'jszc', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "性别", name: "MentSex", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'usersex', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "出生日期", name: "MentBirth", width: 100, align: "left"}, | |||
{ label: "联系电话", name: "iphone", width: 100, align: "left"}, | |||
{ label: "学历", name: "Learn", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'CollegeType', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "身份证号码", name: "IdNumber", width: 100, align: "left"}, | |||
], | |||
mainId:'MentID', | |||
isPage: true | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,31 @@ | |||
@{ | |||
ViewBag.Title = "资源引入"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-12 lr-form-item" data-table="ResourceImport" > | |||
<div class="lr-form-item-title">标题</div> | |||
<input id="ImportName" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResourceImport" > | |||
<div class="lr-form-item-title">内容</div> | |||
<div id="ImportContent" style="height:200px;"></div> | |||
</div> | |||
@*<div class="col-xs-12 lr-form-item" data-table="ResourceImport" style="display: none; " > | |||
<div class="lr-form-item-title">添加时间</div> | |||
<input id="ImportTime" type="text" readonly class="form-control currentInfo lr-currentInfo-time" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResourceImport" style="display: none; " > | |||
<div class="lr-form-item-title">创建用户</div> | |||
<input id="ImportUser" type="text" readonly class="form-control currentInfo lr-currentInfo-user" /> | |||
</div>*@ | |||
<div class="col-xs-12 lr-form-item" data-table="ResourceImport" > | |||
<div class="lr-form-item-title">附件</div> | |||
<div id="ImportLetter" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ResourceImport" > | |||
<div class="lr-form-item-title">是否发布</div> | |||
<div id="ImportState"></div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/ResourceImport/Form.js") |
@@ -0,0 +1,61 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-05-12 12:15 | |||
* 描 述:资源引入 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
var ImportContentUE = UE.getEditor('ImportContent'); | |||
$('#ImportContent')[0].ue = ImportContentUE; | |||
//$('#ImportTime').val(learun.formatDate(new Date(), 'yyyy-MM-dd hh:mm:ss')); | |||
//$('#ImportUser')[0].lrvalue = learun.clientdata.get(['userinfo']).userId; | |||
//$('#ImportUser').val(learun.clientdata.get(['userinfo']).realName); | |||
$('#ImportLetter').lrUploader(); | |||
$('#ImportState').lrRadioCheckbox({ | |||
type: 'radio', | |||
code: 'publishStatus', | |||
}); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/ResourceImport/GetFormData?keyValue=' + keyValue, function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id ).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/PersonnelManagement/ResourceImport/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,39 @@ | |||
@{ | |||
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="ImportName" type="text" class="form-control" /> | |||
</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_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
<a id="lr_publish" class="btn btn-default"><i class="fa fa-plus"></i> 发布</a> | |||
<a id="lr_nopublish" 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/ResourceImport/Index.js") |
@@ -0,0 +1,147 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-05-12 12:15 | |||
* 描 述:资源引入 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 300); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 新增 | |||
$('#lr_add').on('click', function () { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '新增', | |||
url: top.$.rootUrl + '/PersonnelManagement/ResourceImport/Form', | |||
width: 800, | |||
height: 600, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ImportId'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/PersonnelManagement/ResourceImport/Form?keyValue=' + keyValue, | |||
width: 800, | |||
height: 600, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ImportId'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/ResourceImport/DeleteForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 打印 | |||
$('#lr_print').on('click', function () { | |||
$('#gridtable').jqprintTable(); | |||
}); | |||
//发布 | |||
$('#lr_publish').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ImportId'); | |||
var ImportState = $('#gridtable').jfGridValue('ImportState'); | |||
if (learun.checkrow(keyValue)) { | |||
if (ImportState.indexOf('0') != -1) { | |||
return learun.alert.warning('选中记录包含已发布的记录!'); | |||
} | |||
learun.layerConfirm('是否确认发布选中记录!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/ResourceImport/Publish', { keyValue: keyValue, ImportState: 0 }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
//取消发布 | |||
$('#lr_nopublish').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ImportId'); | |||
var ImportState = $('#gridtable').jfGridValue('ImportState'); | |||
if (learun.checkrow(keyValue)) { | |||
if (ImportState.indexOf('1') != -1) { | |||
return learun.alert.warning('选中记录包含未发布的记录!'); | |||
} | |||
learun.layerConfirm('是否确认发布选中记录!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/ResourceImport/Publish', { keyValue: keyValue, ImportState: 1 }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/ResourceImport/GetPageList', | |||
headData: [ | |||
{ label: "标题", name: "ImportName", width: 100, align: "left" }, | |||
{ | |||
label: "创建用户", name: "ImportUser", width: 100, align: "left" | |||
}, | |||
{ | |||
label: "添加时间", name: "ImportTime", width: 100, align: "left", formatter: function (value) { | |||
return learun.formatDate(value, 'yyyy-MM-dd'); | |||
} | |||
}, | |||
{ | |||
label: "发布状态", | |||
name: "ImportState", | |||
width: 100, | |||
align: "left", | |||
formatter: function (cellvalue, row) { | |||
if (cellvalue == 0) { | |||
return '<span class=\"label label-success\">发布</span>'; | |||
} else if (cellvalue == 1) { | |||
return '<span class=\"label label-danger\">暂未发布</span>'; | |||
} | |||
} | |||
} | |||
], | |||
mainId: 'ImportId', | |||
isPage: true, | |||
isMultiselect: true, | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,27 @@ | |||
@{ | |||
ViewBag.Title = "研究指导"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-12 lr-form-item" data-table="StudyGuide" > | |||
<div class="lr-form-item-title">标题</div> | |||
<input id="StudyName" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StudyGuide" > | |||
<div class="lr-form-item-title">附件上传</div> | |||
<div id="AttachmentUp" ></div> | |||
</div> | |||
@*<div class="col-xs-12 lr-form-item" data-table="StudyGuide" > | |||
<div class="lr-form-item-title">创建用户</div> | |||
<input id="GuideName" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="StudyGuide" > | |||
<div class="lr-form-item-title">添加时间</div> | |||
<input id="Guidetime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm',onpicked: function () { $('#Guidetime').trigger('change'); } })" /> | |||
</div>*@ | |||
<div class="col-xs-12 lr-form-item" data-table="StudyGuide" > | |||
<div class="lr-form-item-title">是否发布</div> | |||
<div id="GuideState" ></div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/StudyGuide/Form.js") |
@@ -0,0 +1,55 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-05-12 11:43 | |||
* 描 述:研究指导 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#AttachmentUp').lrUploader(); | |||
$('#GuideState').lrRadioCheckbox({ | |||
type: 'radio', | |||
code: 'publishStatus', | |||
}); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/StudyGuide/GetFormData?keyValue=' + keyValue, function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id ).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/PersonnelManagement/StudyGuide/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,39 @@ | |||
@{ | |||
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="StudyName" type="text" class="form-control" /> | |||
</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_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
<a id="lr_publish" class="btn btn-default"><i class="fa fa-plus"></i> 发布</a> | |||
<a id="lr_nopublish" class="btn btn-default"><i class="fa fa-plus"></i> 取消发布</a> | |||
@*<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a>*@ | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/StudyGuide/Index.js") |
@@ -0,0 +1,143 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2021-05-12 11:43 | |||
* 描 述:研究指导 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 300); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 新增 | |||
$('#lr_add').on('click', function () { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '新增', | |||
url: top.$.rootUrl + '/PersonnelManagement/StudyGuide/Form', | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('StudyID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/PersonnelManagement/StudyGuide/Form?keyValue=' + keyValue, | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('StudyID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/StudyGuide/DeleteForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 打印 | |||
$('#lr_print').on('click', function () { | |||
$('#gridtable').jqprintTable(); | |||
}); | |||
//发布 | |||
$('#lr_publish').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('StudyID'); | |||
var GuideState = $('#gridtable').jfGridValue('GuideState'); | |||
if (learun.checkrow(keyValue)) { | |||
if (GuideState.indexOf('0') != -1) { | |||
return learun.alert.warning('选中记录包含已发布的记录!'); | |||
} | |||
learun.layerConfirm('是否确认发布选中记录!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/StudyGuide/Publish', { keyValue: keyValue, GuideState: 0 }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
//取消发布 | |||
$('#lr_nopublish').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('StudyID'); | |||
var GuideState = $('#gridtable').jfGridValue('GuideState'); | |||
if (learun.checkrow(keyValue)) { | |||
if (GuideState.indexOf('1') != -1) { | |||
return learun.alert.warning('选中记录包含未发布的记录!'); | |||
} | |||
learun.layerConfirm('是否确认发布选中记录!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/StudyGuide/Publish', { keyValue: keyValue, GuideState: 1 }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/StudyGuide/GetPageList', | |||
headData: [ | |||
{ label: "标题", name: "StudyName", width: 100, align: "left" }, | |||
{ label: "创建用户", name: "CreateUserName", width: 100, align: "left" }, | |||
{ | |||
label: "添加时间", name: "CreateTime", width: 100, align: "left", | |||
formatter: function (value) { | |||
return learun.formatDate(value, 'yyyy-MM-dd'); | |||
} | |||
}, | |||
{ | |||
label: "发布状态", name: "GuideState", width: 100, align: "left", | |||
formatter: function (cellvalue, row) { | |||
if (cellvalue == 0) { | |||
return '<span class=\"label label-success\">发布</span>'; | |||
} else if (cellvalue == 1) { | |||
return '<span class=\"label label-danger\">暂未发布</span>'; | |||
} | |||
} | |||
}, | |||
], | |||
mainId: 'StudyID', | |||
isPage: true, | |||
isMultiselect: true, | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,40 @@ | |||
@{ | |||
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> | |||
<div id="StuId"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">岗位名称</div> | |||
<div id="PositionId"></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_check" class="btn btn-default"><i class="fa fa-lock"></i> 审核通过</a> | |||
<a id="lr_uncheck" class="btn btn-default"><i class="fa fa-unlock"></i> 审核不通过</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/WorkStudyPositionApply/CheckIndex.js") |
@@ -0,0 +1,108 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2020-03-04 16:01 | |||
* 描 述:岗位申请 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 400); | |||
$('#StuId').lrDataSourceSelect({ code: 'StuInfoBasic', value: 'stuid', text: 'stuname' }); | |||
$('#PositionId').lrselect({ | |||
allowSearch: true, | |||
url: top.$.rootUrl + '/PersonnelManagement/WorkStudyPosition/GetList', | |||
value: "Id", | |||
text: "Name" | |||
}); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 查看 | |||
$('#lr_view').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'formview', | |||
title: '查看', | |||
url: top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/FormView?keyValue=' + keyValue, | |||
width: 600, | |||
height: 400, | |||
btn: null | |||
}); | |||
} | |||
}); | |||
// 审核 | |||
$('#lr_check').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认审核通过该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/DoCheck', { keyValue: keyValue, checkStatus: "1" }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 去审核 | |||
$('#lr_uncheck').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认审核不通过该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/DoCheck', { keyValue: keyValue, checkStatus: "2" }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/GetPageList', | |||
headData: [ | |||
{ label: "学生姓名", name: "StuName", width: 100, align: "left" }, | |||
{ label: "学生学号", name: "StuNo", width: 100, align: "left" }, | |||
{ label: "所属专业", name: "MajorName", width: 100, align: "left" }, | |||
{ label: "所属班级", name: "ClassName", width: 100, align: "left" }, | |||
{ label: "岗位名称", name: "Name", width: 100, align: "left" }, | |||
{ label: "薪资(元/月)", name: "Salary", width: 100, align: "left" }, | |||
{ label: "学期", name: "Semester", width: 100, align: "left" }, | |||
{ label: "申请时间", name: "ApplyTime", width: 130, align: "left" }, | |||
{ | |||
label: "申请状态", name: "CheckStatus", width: 100, align: "left", | |||
formatter: function (cellvalue) { | |||
return cellvalue == 1 ? "通过" : cellvalue == 2 ? "未通过" : "待审核"; | |||
} | |||
}, | |||
{ label: "审核时间", name: "CheckTime", width: 130, align: "left" }, | |||
], | |||
mainId: 'Id', | |||
isPage: true, | |||
sidx: 'CreateTime desc' | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
page.search(); | |||
}; | |||
page.init(); | |||
} |
@@ -3,17 +3,21 @@ | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap"> | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply" > | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply"> | |||
<div class="lr-form-item-title">学生<font face="宋体">*</font></div> | |||
<div id="Student" isvalid="yes" checkexpession="NotNull" ></div> | |||
<div id="StuId" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply" > | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply"> | |||
<div class="lr-form-item-title">岗位名称<font face="宋体">*</font></div> | |||
<input id="PositionName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
<div id="PositionId" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply" > | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply"> | |||
<div class="lr-form-item-title">申请时间<font face="宋体">*</font></div> | |||
<input id="ApplyTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm',onpicked: function () { $('#ApplyTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | |||
<input id="ApplyTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm',onpicked: function () { $('#ApplyTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply"> | |||
<div class="lr-form-item-title">申请说明</div> | |||
<textarea id="ApplyReason" class="form-control" style="height:100px;"></textarea> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/WorkStudyPositionApply/Form.js") |
@@ -15,7 +15,13 @@ var bootstrap = function ($, learun) { | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#Student').lrDataSourceSelect({ code: 'StuInfoBasic',value: 'stuno',text: 'stuname' }); | |||
$('#StuId').lrDataSourceSelect({ code: 'StuInfoBasic', value: 'stuid', text: 'stuname' }); | |||
$('#PositionId').lrselect({ | |||
allowSearch: true, | |||
url: top.$.rootUrl + '/PersonnelManagement/WorkStudyPosition/GetList', | |||
value: "Id", | |||
text: "Name" | |||
}); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
@@ -0,0 +1,23 @@ | |||
@{ | |||
ViewBag.Title = "岗位申请"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap"> | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply"> | |||
<div class="lr-form-item-title">学生<font face="宋体">*</font></div> | |||
<div id="StuId" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply"> | |||
<div class="lr-form-item-title">岗位名称<font face="宋体">*</font></div> | |||
<div id="PositionId" isvalid="yes" checkexpession="NotNull" readonly="readonly"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply"> | |||
<div class="lr-form-item-title">申请时间<font face="宋体">*</font></div> | |||
<input id="ApplyTime" type="text" class="form-control lr-input-wdatepicker" readonly="readonly" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="WorkStudyPositionApply"> | |||
<div class="lr-form-item-title">申请说明</div> | |||
<textarea id="ApplyReason" class="form-control" style="height:100px;" readonly="readonly"></textarea> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/WorkStudyPositionApply/FormView.js") |
@@ -0,0 +1,57 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2020-03-04 16:01 | |||
* 描 述:岗位申请 | |||
*/ | |||
var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
$('.lr-form-wrap').lrscroll(); | |||
page.bind(); | |||
page.initData(); | |||
}, | |||
bind: function () { | |||
$('#StuId').lrDataSourceSelect({ code: 'StuInfoBasic', value: 'stuid', text: 'stuname' }); | |||
$('#PositionId').lrselect({ | |||
allowSearch: true, | |||
url: top.$.rootUrl + '/PersonnelManagement/WorkStudyPosition/GetList', | |||
value: "Id", | |||
text: "Name" | |||
}); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/GetFormData?keyValue=' + keyValue, function (data) { | |||
for (var id in data) { | |||
if (!!data[id].length && data[id].length > 0) { | |||
$('#' + id ).jfGridSet('refreshdata', data[id]); | |||
} | |||
else { | |||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | |||
} | |||
} | |||
}); | |||
} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('body').lrValidform()) { | |||
return false; | |||
} | |||
var postData = { | |||
strEntity: JSON.stringify($('body').lrGetFormData()) | |||
}; | |||
$.lrSaveForm(top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -12,11 +12,11 @@ | |||
<div class="lr-query-formcontent"> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">学生</div> | |||
<div id="Student"></div> | |||
<div id="StuId"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">岗位名称</div> | |||
<input id="PositionName" type="text" class="form-control" /> | |||
<div id="PositionId"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@@ -31,10 +31,6 @@ | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_check" class="btn btn-default"><i class="fa fa-lock"></i> 审核</a> | |||
<a id="lr_uncheck" class="btn btn-default"><i class="fa fa-unlock"></i> 去审核</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
@@ -16,7 +16,13 @@ var bootstrap = function ($, learun) { | |||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||
page.search(queryJson); | |||
}, 220, 400); | |||
$('#Student').lrDataSourceSelect({ code: 'StuInfoBasic', value: 'stuno', text: 'stuname' }); | |||
$('#StuId').lrDataSourceSelect({ code: 'StuInfoBasic', value: 'stuid', text: 'stuname' }); | |||
$('#PositionId').lrselect({ | |||
allowSearch: true, | |||
url: top.$.rootUrl + '/PersonnelManagement/WorkStudyPosition/GetList', | |||
value: "Id", | |||
text: "Name" | |||
}); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
@@ -38,6 +44,11 @@ var bootstrap = function ($, learun) { | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus == 1 || CheckStatus == 2) { | |||
learun.alert.warning("当前项目已审核!"); | |||
return false; | |||
} | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
@@ -52,84 +63,47 @@ var bootstrap = function ($, learun) { | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/DeleteForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 审核 | |||
$('#lr_check').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus == true) { | |||
if (CheckStatus == 1 || CheckStatus == 2) { | |||
learun.alert.warning("当前项目已审核!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认审核该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/DoCheck', { keyValue: keyValue, checkStatus: true }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 去审核 | |||
$('#lr_uncheck').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
if (learun.checkrow(keyValue)) { | |||
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); | |||
if (CheckStatus != true) { | |||
learun.alert.warning("当前项目未审核!"); | |||
return false; | |||
} | |||
learun.layerConfirm('是否确认审核该项!', function (res) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.postForm(top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/DoCheck', { keyValue: keyValue, checkStatus: false }, function () { | |||
learun.deleteForm(top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/DeleteForm', { keyValue: keyValue }, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/PersonnelManagement/WorkStudyPositionApply/GetPageList', | |||
headData: [ | |||
{ | |||
label: "学生", name: "Student", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'StuInfoBasic', | |||
key: value, | |||
keyId: 'stuno', | |||
callback: function (_data) { | |||
callback(_data['stuname']); | |||
} | |||
}); | |||
} | |||
}, | |||
{ label: "岗位名称", name: "PositionName", width: 100, align: "left" }, | |||
{ label: "学生姓名", name: "StuName", width: 100, align: "left" }, | |||
{ label: "学生学号", name: "StuNo", width: 100, align: "left" }, | |||
{ label: "所属专业", name: "MajorName", width: 100, align: "left" }, | |||
{ label: "所属班级", name: "ClassName", width: 100, align: "left" }, | |||
{ label: "岗位名称", name: "Name", width: 100, align: "left" }, | |||
{ label: "薪资(元/月)", name: "Salary", width: 100, align: "left" }, | |||
{ label: "学期", name: "Semester", width: 100, align: "left" }, | |||
{ label: "申请时间", name: "ApplyTime", width: 130, align: "left" }, | |||
{ | |||
label: "审核状态", name: "CheckStatus", width: 100, align: "left", | |||
label: "申请状态", name: "CheckStatus", width: 100, align: "left", | |||
formatter: function (cellvalue) { | |||
return cellvalue == true ? "已审核" : "未审核"; | |||
return cellvalue == 1 ? "通过" : cellvalue == 2 ? "未通过" : "待审核"; | |||
} | |||
}, | |||
], | |||
mainId: 'Id', | |||
isPage: true | |||
isPage: true, | |||
sidx: 'CreateTime desc' | |||
}); | |||
page.search(); | |||
}, | |||
@@ -284,6 +284,7 @@ | |||
<Compile Include="Areas\AppManager\AppManagerAreaRegistration.cs" /> | |||
<Compile Include="Areas\AppManager\Controllers\DTImgController.cs" /> | |||
<Compile Include="Areas\AppManager\Controllers\FunctionManagerController.cs" /> | |||
<Compile Include="Areas\Ask\Controllers\Ask_MainOfTeacherController.cs" /> | |||
<Compile Include="Areas\AssetManagementSystem\AssetManagementSystemAreaRegistration.cs" /> | |||
<Compile Include="Areas\AssetManagementSystem\Controllers\AllocationController.cs" /> | |||
<Compile Include="Areas\AssetManagementSystem\Controllers\AssReportController.cs" /> | |||
@@ -478,12 +479,20 @@ | |||
<Compile Include="Areas\Permission\PermissionAreaRegistration.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\EpidemicReportController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\EpidemicSituationCopyController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MeetingManagementController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MeetingSignInRecordController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MP_PerformanceTrackingController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MP_QualityObjectivesController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MP_ManagementPlanController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\OvertimeApplicationController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\ReleaseMettingController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\ResearchGERController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\ResearchMentController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\ResourceImportController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\StudyGuideController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\StuSaverecordController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\TimeTableController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\WorkStudyPositionApplyController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\PersonnelManagementAreaRegistration.cs" /> | |||
<Compile Include="Areas\ReceiveSendFeeManagement\ReceiveSendFeeManagementAreaRegistration.cs" /> | |||
<Compile Include="Areas\StudentWork\Controllers\SW_Ask_MainController.cs" /> | |||
@@ -694,7 +703,6 @@ | |||
<Compile Include="Areas\PersonnelManagement\Controllers\LaborUnionWelfareApplyController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\LaborUnionActivityController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\WorkStudyPositionController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\WorkStudyPositionApplyController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\WorkStudyPayMoneyController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\ScholarshipManagementController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\FundManagementController.cs" /> | |||
@@ -732,7 +740,6 @@ | |||
<Compile Include="Areas\PersonnelManagement\Controllers\SRWorkloadController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\SREncouragementController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\SRDocumentController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MeetingManagementController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\TeacherPassportController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\TeacherGoAbroadController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\Sal_SalaryTemplateController.cs" /> | |||
@@ -820,6 +827,14 @@ | |||
<Content Include="Areas\AppManager\Views\FunctionManager\Form.css" /> | |||
<Content Include="Areas\AppManager\Views\FunctionManager\Form.js" /> | |||
<Content Include="Areas\AppManager\Views\FunctionManager\Index.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerIndex.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerQuery.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Form.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Index.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Paper.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperAdminView.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperView.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\TeacherIndex.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_Question\AnalysisIndex.js" /> | |||
<Content Include="Areas\AssetManagementSystem\Views\Allocation\Form.js" /> | |||
<Content Include="Areas\AssetManagementSystem\Views\Allocation\Index.js" /> | |||
@@ -1376,13 +1391,37 @@ | |||
<Content Include="Areas\PersonnelManagement\Views\ContractManagement\FormRenew.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\EpidemicSituationCopy\FormView.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\EpidemicSituationCopy\IndexAll.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\FormView.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyApply.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyJoin.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexStatistics.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\FormViewAttendance.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\IndexAttendance.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\Sal_UserSalary\ImportForm.css" /> | |||
<Content Include="Areas\PersonnelManagement\Views\Sal_UserSalary\ImportForm.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StuSaverecord\IndexForStudent.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StuSaverecord\IndexForTeacher.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherCancelLeaveManagement\FormView.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherLeaveManagement\FormView.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherOvertimeManagement\FormView.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\CheckIndex.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\FormView.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\Index.js" /> | |||
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\AnswerIndex.js" /> | |||
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\AnswerQuery.js" /> | |||
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\Form.js" /> | |||
@@ -5750,10 +5789,6 @@ | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPosition\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPosition\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPosition\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPayMoney\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPayMoney\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPayMoney\Form.cshtml" /> | |||
@@ -5902,10 +5937,6 @@ | |||
<Content Include="Areas\PersonnelManagement\Views\SRDocument\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\SRDocument\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\SRDocument\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherPassport\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherPassport\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherPassport\Form.cshtml" /> | |||
@@ -6202,6 +6233,342 @@ | |||
<Content Include="Views\Login\Index.cshtml" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Content Include="wsbsdt\backups.html" /> | |||
<Content Include="wsbsdt\css\animate.min.css" /> | |||
<Content Include="wsbsdt\css\backups.css" /> | |||
<Content Include="wsbsdt\css\blue.css" /> | |||
<Content Include="wsbsdt\css\bootstrap.css" /> | |||
<Content Include="wsbsdt\css\bootstrap.min.css" /> | |||
<Content Include="wsbsdt\css\common.css" /> | |||
<Content Include="wsbsdt\css\commonInfo.css" /> | |||
<Content Include="wsbsdt\css\font-awesome.css" /> | |||
<Content Include="wsbsdt\css\green.css" /> | |||
<Content Include="wsbsdt\css\index.css" /> | |||
<Content Include="wsbsdt\css\infor.css" /> | |||
<Content Include="wsbsdt\css\process.css" /> | |||
<Content Include="wsbsdt\css\red.css" /> | |||
<Content Include="wsbsdt\css\style.css" /> | |||
<Content Include="wsbsdt\css\swiper.min.css" /> | |||
<Content Include="wsbsdt\css\teaching.css" /> | |||
<Content Include="wsbsdt\fonts\fontawesome-webfont.svg" /> | |||
<Content Include="wsbsdt\images\head1.png" /> | |||
<Content Include="wsbsdt\images\head2.png" /> | |||
<Content Include="wsbsdt\images\head3.png" /> | |||
<Content Include="wsbsdt\images\head4-1.png" /> | |||
<Content Include="wsbsdt\images\head4-2.png" /> | |||
<Content Include="wsbsdt\images\head4-3.png" /> | |||
<Content Include="wsbsdt\images\head4.png" /> | |||
<Content Include="wsbsdt\images\headBg-green.jpg" /> | |||
<Content Include="wsbsdt\images\headBg-red.jpg" /> | |||
<Content Include="wsbsdt\images\headBg.jpg" /> | |||
<Content Include="wsbsdt\images\infor1-1.jpg" /> | |||
<Content Include="wsbsdt\images\infor1-1.png" /> | |||
<Content Include="wsbsdt\images\infor1-10.png" /> | |||
<Content Include="wsbsdt\images\infor1-11.png" /> | |||
<Content Include="wsbsdt\images\infor1-12.png" /> | |||
<Content Include="wsbsdt\images\infor1-13.png" /> | |||
<Content Include="wsbsdt\images\infor1-14.png" /> | |||
<Content Include="wsbsdt\images\infor1-15.png" /> | |||
<Content Include="wsbsdt\images\infor1-16.png" /> | |||
<Content Include="wsbsdt\images\infor1-17.png" /> | |||
<Content Include="wsbsdt\images\infor1-18.png" /> | |||
<Content Include="wsbsdt\images\infor1-19.png" /> | |||
<Content Include="wsbsdt\images\infor1-2.jpg" /> | |||
<Content Include="wsbsdt\images\infor1-2.png" /> | |||
<Content Include="wsbsdt\images\infor1-20.png" /> | |||
<Content Include="wsbsdt\images\infor1-21.png" /> | |||
<Content Include="wsbsdt\images\infor1-22.png" /> | |||
<Content Include="wsbsdt\images\infor1-23.png" /> | |||
<Content Include="wsbsdt\images\infor1-24.png" /> | |||
<Content Include="wsbsdt\images\infor1-25.png" /> | |||
<Content Include="wsbsdt\images\infor1-26.png" /> | |||
<Content Include="wsbsdt\images\infor1-27.png" /> | |||
<Content Include="wsbsdt\images\infor1-28.png" /> | |||
<Content Include="wsbsdt\images\infor1-29.png" /> | |||
<Content Include="wsbsdt\images\infor1-3.png" /> | |||
<Content Include="wsbsdt\images\infor1-30.png" /> | |||
<Content Include="wsbsdt\images\infor1-31.png" /> | |||
<Content Include="wsbsdt\images\infor1-32.png" /> | |||
<Content Include="wsbsdt\images\infor1-33.png" /> | |||
<Content Include="wsbsdt\images\infor1-34.png" /> | |||
<Content Include="wsbsdt\images\infor1-35.png" /> | |||
<Content Include="wsbsdt\images\infor1-36.png" /> | |||
<Content Include="wsbsdt\images\infor1-37.png" /> | |||
<Content Include="wsbsdt\images\infor1-38.png" /> | |||
<Content Include="wsbsdt\images\infor1-39.png" /> | |||
<Content Include="wsbsdt\images\infor1-4.png" /> | |||
<Content Include="wsbsdt\images\infor1-40.png" /> | |||
<Content Include="wsbsdt\images\infor1-41.png" /> | |||
<Content Include="wsbsdt\images\infor1-42.png" /> | |||
<Content Include="wsbsdt\images\infor1-43.png" /> | |||
<Content Include="wsbsdt\images\infor1-44.png" /> | |||
<Content Include="wsbsdt\images\infor1-45.png" /> | |||
<Content Include="wsbsdt\images\infor1-46.png" /> | |||
<Content Include="wsbsdt\images\infor1-47.png" /> | |||
<Content Include="wsbsdt\images\infor1-48.png" /> | |||
<Content Include="wsbsdt\images\infor1-49.png" /> | |||
<Content Include="wsbsdt\images\infor1-5.png" /> | |||
<Content Include="wsbsdt\images\infor1-50.png" /> | |||
<Content Include="wsbsdt\images\infor1-6.png" /> | |||
<Content Include="wsbsdt\images\infor1-7.png" /> | |||
<Content Include="wsbsdt\images\infor1-8.png" /> | |||
<Content Include="wsbsdt\images\infor1-9.png" /> | |||
<Content Include="wsbsdt\images\inforBg.jpg" /> | |||
<Content Include="wsbsdt\images\inSec1-1-green.png" /> | |||
<Content Include="wsbsdt\images\inSec1-1-red.png" /> | |||
<Content Include="wsbsdt\images\inSec1-1.png" /> | |||
<Content Include="wsbsdt\images\inSec1-10.png" /> | |||
<Content Include="wsbsdt\images\inSec1-11.png" /> | |||
<Content Include="wsbsdt\images\inSec1-12.png" /> | |||
<Content Include="wsbsdt\images\inSec1-13.png" /> | |||
<Content Include="wsbsdt\images\inSec1-14.png" /> | |||
<Content Include="wsbsdt\images\inSec1-15.png" /> | |||
<Content Include="wsbsdt\images\inSec1-16.png" /> | |||
<Content Include="wsbsdt\images\inSec1-17.png" /> | |||
<Content Include="wsbsdt\images\inSec1-18.png" /> | |||
<Content Include="wsbsdt\images\inSec1-19.png" /> | |||
<Content Include="wsbsdt\images\inSec1-2.png" /> | |||
<Content Include="wsbsdt\images\inSec1-20.png" /> | |||
<Content Include="wsbsdt\images\inSec1-21.png" /> | |||
<Content Include="wsbsdt\images\inSec1-22.png" /> | |||
<Content Include="wsbsdt\images\inSec1-3.png" /> | |||
<Content Include="wsbsdt\images\inSec1-4.png" /> | |||
<Content Include="wsbsdt\images\inSec1-5.png" /> | |||
<Content Include="wsbsdt\images\inSec1-6.png" /> | |||
<Content Include="wsbsdt\images\inSec1-7.png" /> | |||
<Content Include="wsbsdt\images\inSec1-8.png" /> | |||
<Content Include="wsbsdt\images\inSec1-9.png" /> | |||
<Content Include="wsbsdt\images\inSec2-1.png" /> | |||
<Content Include="wsbsdt\images\inSec2-10.png" /> | |||
<Content Include="wsbsdt\images\inSec2-11.png" /> | |||
<Content Include="wsbsdt\images\inSec2-12.png" /> | |||
<Content Include="wsbsdt\images\inSec2-13.png" /> | |||
<Content Include="wsbsdt\images\inSec2-14.png" /> | |||
<Content Include="wsbsdt\images\inSec2-15.png" /> | |||
<Content Include="wsbsdt\images\inSec2-16.png" /> | |||
<Content Include="wsbsdt\images\inSec2-17.png" /> | |||
<Content Include="wsbsdt\images\inSec2-18.png" /> | |||
<Content Include="wsbsdt\images\inSec2-2.png" /> | |||
<Content Include="wsbsdt\images\inSec2-3.png" /> | |||
<Content Include="wsbsdt\images\inSec2-4.png" /> | |||
<Content Include="wsbsdt\images\inSec2-5.png" /> | |||
<Content Include="wsbsdt\images\inSec2-6.png" /> | |||
<Content Include="wsbsdt\images\inSec2-7.png" /> | |||
<Content Include="wsbsdt\images\inSec2-8.png" /> | |||
<Content Include="wsbsdt\images\inSec2-9.png" /> | |||
<Content Include="wsbsdt\images\inSec3-1-green.png" /> | |||
<Content Include="wsbsdt\images\inSec3-1-red.png" /> | |||
<Content Include="wsbsdt\images\inSec3-1.png" /> | |||
<Content Include="wsbsdt\images\inSec3-10.png" /> | |||
<Content Include="wsbsdt\images\inSec3-11.png" /> | |||
<Content Include="wsbsdt\images\inSec3-12.png" /> | |||
<Content Include="wsbsdt\images\inSec3-13.png" /> | |||
<Content Include="wsbsdt\images\inSec3-14.png" /> | |||
<Content Include="wsbsdt\images\inSec3-15.png" /> | |||
<Content Include="wsbsdt\images\inSec3-2.png" /> | |||
<Content Include="wsbsdt\images\inSec3-3.png" /> | |||
<Content Include="wsbsdt\images\inSec3-4.png" /> | |||
<Content Include="wsbsdt\images\inSec3-5.png" /> | |||
<Content Include="wsbsdt\images\inSec3-6.png" /> | |||
<Content Include="wsbsdt\images\inSec3-7.png" /> | |||
<Content Include="wsbsdt\images\inSec3-8.png" /> | |||
<Content Include="wsbsdt\images\inSec3-9.png" /> | |||
<Content Include="wsbsdt\images\inSec5-1.png" /> | |||
<Content Include="wsbsdt\images\inSec5-2.png" /> | |||
<Content Include="wsbsdt\images\inSec5-3.png" /> | |||
<Content Include="wsbsdt\images\inSec5-4.png" /> | |||
<Content Include="wsbsdt\images\inSec5-5.png" /> | |||
<Content Include="wsbsdt\images\inSec6-1.png" /> | |||
<Content Include="wsbsdt\images\inSec6-10.png" /> | |||
<Content Include="wsbsdt\images\inSec6-11.png" /> | |||
<Content Include="wsbsdt\images\inSec6-12.png" /> | |||
<Content Include="wsbsdt\images\inSec6-13.png" /> | |||
<Content Include="wsbsdt\images\inSec6-14.png" /> | |||
<Content Include="wsbsdt\images\inSec6-2.png" /> | |||
<Content Include="wsbsdt\images\inSec6-3.png" /> | |||
<Content Include="wsbsdt\images\inSec6-4.png" /> | |||
<Content Include="wsbsdt\images\inSec6-5.png" /> | |||
<Content Include="wsbsdt\images\inSec6-6.png" /> | |||
<Content Include="wsbsdt\images\inSec6-7.png" /> | |||
<Content Include="wsbsdt\images\inSec6-8.png" /> | |||
<Content Include="wsbsdt\images\inSec6-9.png" /> | |||
<Content Include="wsbsdt\images\logo.png" /> | |||
<Content Include="wsbsdt\images\news1-1-green.png" /> | |||
<Content Include="wsbsdt\images\news1-1-red.png" /> | |||
<Content Include="wsbsdt\images\news1-1.png" /> | |||
<Content Include="wsbsdt\images\news1-2.png" /> | |||
<Content Include="wsbsdt\images\news1-3.png" /> | |||
<Content Include="wsbsdt\images\news1-4.png" /> | |||
<Content Include="wsbsdt\images\news1-5.png" /> | |||
<Content Include="wsbsdt\images\news1-6.png" /> | |||
<Content Include="wsbsdt\images\news2-1.png" /> | |||
<Content Include="wsbsdt\images\noLogin.png" /> | |||
<Content Include="wsbsdt\images\pro1-1.png" /> | |||
<Content Include="wsbsdt\images\pro1-2.png" /> | |||
<Content Include="wsbsdt\images\pro1-3.png" /> | |||
<Content Include="wsbsdt\images\pro1-4.png" /> | |||
<Content Include="wsbsdt\images\pro1-5.png" /> | |||
<Content Include="wsbsdt\images\pro1-6.png" /> | |||
<Content Include="wsbsdt\images\pro1-7.png" /> | |||
<Content Include="wsbsdt\images\search.png" /> | |||
<Content Include="wsbsdt\images\teach1.png" /> | |||
<Content Include="wsbsdt\images\teach10.png" /> | |||
<Content Include="wsbsdt\images\teach11.png" /> | |||
<Content Include="wsbsdt\images\teach12.png" /> | |||
<Content Include="wsbsdt\images\teach13.png" /> | |||
<Content Include="wsbsdt\images\teach14.png" /> | |||
<Content Include="wsbsdt\images\teach2.png" /> | |||
<Content Include="wsbsdt\images\teach3.png" /> | |||
<Content Include="wsbsdt\images\teach4.png" /> | |||
<Content Include="wsbsdt\images\teach5.png" /> | |||
<Content Include="wsbsdt\images\teach6.png" /> | |||
<Content Include="wsbsdt\images\teach7.png" /> | |||
<Content Include="wsbsdt\images\teach8.png" /> | |||
<Content Include="wsbsdt\images\teach9.png" /> | |||
<Content Include="wsbsdt\index.html" /> | |||
<Content Include="wsbsdt\index2.html" /> | |||
<Content Include="wsbsdt\index3.html" /> | |||
<Content Include="wsbsdt\infor.html" /> | |||
<Content Include="wsbsdt\js\bootstrap.js" /> | |||
<Content Include="wsbsdt\js\bootstrap.min.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts-en.common.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts-en.common.min.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts-en.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts-en.min.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts-en.simple.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts-en.simple.min.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts.common.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts.common.min.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts.min.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts.simple.js" /> | |||
<Content Include="wsbsdt\js\dist\echarts.simple.min.js" /> | |||
<Content Include="wsbsdt\js\dist\extension\bmap.js" /> | |||
<Content Include="wsbsdt\js\dist\extension\bmap.min.js" /> | |||
<Content Include="wsbsdt\js\dist\extension\dataTool.js" /> | |||
<Content Include="wsbsdt\js\dist\extension\dataTool.min.js" /> | |||
<Content Include="wsbsdt\js\easing.js" /> | |||
<Content Include="wsbsdt\js\echarts.js" /> | |||
<Content Include="wsbsdt\js\html5shiv.js" /> | |||
<Content Include="wsbsdt\js\index.js" /> | |||
<Content Include="wsbsdt\js\index1.js" /> | |||
<Content Include="wsbsdt\js\index3.js" /> | |||
<Content Include="wsbsdt\js\infor.js" /> | |||
<Content Include="wsbsdt\js\infor2.js" /> | |||
<Content Include="wsbsdt\js\jquery-1.10.1.min.js" /> | |||
<Content Include="wsbsdt\js\jquery-ui.min.js" /> | |||
<Content Include="wsbsdt\js\jquery.min.js" /> | |||
<Content Include="wsbsdt\js\jquery.mousewheel.js" /> | |||
<Content Include="wsbsdt\js\main.js" /> | |||
<Content Include="wsbsdt\js\mainInfor.js" /> | |||
<Content Include="wsbsdt\js\respond.min.js" /> | |||
<Content Include="wsbsdt\js\swiper.min.js" /> | |||
<Content Include="wsbsdt\layui\css\layui.css" /> | |||
<Content Include="wsbsdt\layui\css\layui.mobile.css" /> | |||
<Content Include="wsbsdt\layui\css\modules\code.css" /> | |||
<Content Include="wsbsdt\layui\css\modules\laydate\default\laydate.css" /> | |||
<Content Include="wsbsdt\layui\css\modules\layer\default\icon-ext.png" /> | |||
<Content Include="wsbsdt\layui\css\modules\layer\default\icon.png" /> | |||
<Content Include="wsbsdt\layui\css\modules\layer\default\layer.css" /> | |||
<Content Include="wsbsdt\layui\css\modules\layer\default\loading-0.gif" /> | |||
<Content Include="wsbsdt\layui\css\modules\layer\default\loading-1.gif" /> | |||
<Content Include="wsbsdt\layui\css\modules\layer\default\loading-2.gif" /> | |||
<Content Include="wsbsdt\layui\font\iconfont.svg" /> | |||
<Content Include="wsbsdt\layui\images\face\0.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\1.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\10.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\11.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\12.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\13.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\14.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\15.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\16.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\17.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\18.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\19.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\2.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\20.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\21.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\22.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\23.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\24.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\25.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\26.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\27.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\28.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\29.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\3.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\30.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\31.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\32.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\33.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\34.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\35.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\36.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\37.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\38.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\39.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\4.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\40.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\41.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\42.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\43.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\44.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\45.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\46.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\47.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\48.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\49.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\5.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\50.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\51.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\52.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\53.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\54.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\55.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\56.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\57.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\58.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\59.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\6.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\60.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\61.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\62.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\63.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\64.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\65.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\66.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\67.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\68.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\69.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\7.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\70.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\71.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\8.gif" /> | |||
<Content Include="wsbsdt\layui\images\face\9.gif" /> | |||
<Content Include="wsbsdt\layui\layui.all.js" /> | |||
<Content Include="wsbsdt\layui\layui.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\carousel.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\code.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\element.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\flow.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\form.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\jquery.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\laydate.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\layedit.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\layer.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\laypage.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\laytpl.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\mobile.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\table.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\tree.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\upload.js" /> | |||
<Content Include="wsbsdt\layui\lay\modules\util.js" /> | |||
<Content Include="wsbsdt\process1.html" /> | |||
<Content Include="wsbsdt\process2.html" /> | |||
<Content Include="wsbsdt\process3.html" /> | |||
<Content Include="wsbsdt\process4.html" /> | |||
<Content Include="wsbsdt\teaching.html" /> | |||
<Content Include="XmlConfig\database.config"> | |||
<SubType>Designer</SubType> | |||
</Content> | |||
@@ -6984,6 +7351,38 @@ | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_CardSortManage\Index.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_DesktopManage\Form.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_DesktopManage\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\CheckIndex.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\FormView.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\FormView.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyApply.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyJoin.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexStatistics.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\FormViewAttendance.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\IndexAttendance.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerIndex.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerQuery.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Form.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Index.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Paper.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperAdminView.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperView.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\TeacherIndex.cshtml" /> | |||
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" /> | |||
<Content Include="Views\Login\Default-beifen.cshtml" /> | |||
<None Include="Properties\PublishProfiles\FolderProfile1.pubxml" /> | |||
@@ -7060,6 +7459,18 @@ | |||
<Content Include="Views\SSOSystem\DragNoLogin.cshtml" /> | |||
<Content Include="Views\SSOSystem\DragNoWxLogin.cshtml" /> | |||
<Content Include="Views\SSOSystem\_LayoutSSODrag.cshtml" /> | |||
<Content Include="wsbsdt\fonts\fontawesome-webfont.eot" /> | |||
<Content Include="wsbsdt\fonts\fontawesome-webfont.ttf" /> | |||
<Content Include="wsbsdt\fonts\fontawesome-webfont.woff" /> | |||
<Content Include="wsbsdt\fonts\fontawesome-webfont.woff2" /> | |||
<Content Include="wsbsdt\fonts\FontAwesome.otf" /> | |||
<Content Include="wsbsdt\js\dist\echarts-en.js.map" /> | |||
<Content Include="wsbsdt\js\dist\echarts.js.map" /> | |||
<Content Include="wsbsdt\js\dist\extension\bmap.js.map" /> | |||
<Content Include="wsbsdt\js\dist\extension\dataTool.js.map" /> | |||
<Content Include="wsbsdt\layui\font\iconfont.eot" /> | |||
<Content Include="wsbsdt\layui\font\iconfont.ttf" /> | |||
<Content Include="wsbsdt\layui\font\iconfont.woff" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<WCFMetadata Include="Connected Services\" /> | |||
@@ -71,7 +71,7 @@ | |||
} | |||
@if (ViewBag.SSOSystemSwitch) | |||
{ | |||
<a href="/SSOSystem/Index" class="down downsso">网上办事大厅</a> | |||
<a href="/SSOSystem/DragModelOne" class="down downsso">网上办事大厅</a> | |||
} | |||
<img src="~/Content/images/logins/login2.png" /> | |||
<!--登录框 正常登录--> | |||
@@ -0,0 +1,141 @@ | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |||
<meta name="renderer" content="webkit"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"> | |||
<meta name="format-detection" content="telephone=no" /> | |||
<link rel="shortcut icon" href="" /> | |||
<title>云备份</title> | |||
<meta name="keywords" content="云备份" /> | |||
<meta name="description" content="云备份" /> | |||
<script> | |||
(function fontSize() { | |||
var html = document.documentElement; | |||
var windowWidth = html.clientWidth; | |||
html.style.fontSize = 100 * (windowWidth / 720) + 'px'; | |||
})() | |||
</script> | |||
<link rel="stylesheet" type="text/css" href="css/bootstrap.css"> | |||
<link rel="stylesheet" href="layui/css/layui.css"> | |||
<link rel="stylesheet" type="text/css" href="css/font-awesome.css"> | |||
<link rel="stylesheet" href="css/swiper.min.css"> | |||
<link rel="stylesheet" type="text/css" href="css/backups.css"> | |||
<!----自适应-----> | |||
<script src="js/jquery.min.js"></script> | |||
<script src="layui/layui.all.js"></script> | |||
<!----自适应-----> | |||
<!--[if lte IE 9]> | |||
<script src="js/respond.min.js"></script> | |||
<script src="js/html5shiv.js"></script> | |||
<![endif]--> | |||
</head> | |||
<body> | |||
<!-- header --> | |||
<div class="header"> | |||
云备份 | |||
</div> | |||
<!-- header --> | |||
<div class="wapper"> | |||
<div class="indec_sec1"> | |||
<!-- <div class="inSec1Txt">已使用</div> | |||
<div class="inSec1Num">80.56M / 300GB</div> --> | |||
</div> | |||
<div class="indec_sec2 indec_sec"> | |||
<div class="inSecT">信息记录</div> | |||
<table border="0" cellspacing="0" cellpadding="0" class="inSec2Table"> | |||
<tr> | |||
<th style="width: 12%;">序号</th> | |||
<th style="width: 24%;">创建用户</th> | |||
<th style="width: 42%;">名称</th> | |||
<th style="width: 12%;">次数</th> | |||
<th style="width: 10%;"></th> | |||
</tr> | |||
<tr> | |||
<td>1</td> | |||
<td>超级管理员</td> | |||
<td>数据库CollegeMIS</td> | |||
<td>3</td> | |||
<td> | |||
<i class="fa fa-angle-right"></i> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>2</td> | |||
<td>超级管理员</td> | |||
<td>数据库CollegeMIS</td> | |||
<td>3</td> | |||
<td> | |||
<i class="fa fa-angle-right"></i> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>3</td> | |||
<td>超级管理员</td> | |||
<td>数据库CollegeMIS</td> | |||
<td>3</td> | |||
<td> | |||
<i class="fa fa-angle-right"></i> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>4</td> | |||
<td>超级管理员</td> | |||
<td>数据库CollegeMIS</td> | |||
<td>3</td> | |||
<td> | |||
<i class="fa fa-angle-right"></i> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>5</td> | |||
<td>超级管理员</td> | |||
<td>数据库CollegeMIS</td> | |||
<td>3</td> | |||
<td> | |||
<i class="fa fa-angle-right"></i> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>6</td> | |||
<td>超级管理员</td> | |||
<td>数据库CollegeMIS</td> | |||
<td>3</td> | |||
<td> | |||
<i class="fa fa-angle-right"></i> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>7</td> | |||
<td>超级管理员</td> | |||
<td>数据库CollegeMIS</td> | |||
<td>3</td> | |||
<td> | |||
<i class="fa fa-angle-right"></i> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>8</td> | |||
<td>超级管理员</td> | |||
<td>数据库CollegeMIS</td> | |||
<td>3</td> | |||
<td> | |||
<i class="fa fa-angle-right"></i> | |||
</td> | |||
</tr> | |||
</table> | |||
<div class="paging clearfix"> | |||
<div class="pagTxt">共 14 条数据</div> | |||
<div class="pagBtn"> | |||
<span>上一页</span> | |||
<span>下一页</span> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
<script> | |||
</script> | |||
</body> | |||
</html> |
@@ -0,0 +1,139 @@ | |||
html, | |||
body { | |||
background-color: #F7F7F7; | |||
} | |||
.clearfix{ | |||
*zoom:1; | |||
} | |||
.clearfix:after{ | |||
content: ''; | |||
display: block; | |||
clear: both; | |||
} | |||
ul { | |||
margin: 0px; | |||
padding: 0px; | |||
list-style: none; | |||
} | |||
li { | |||
list-style: none; | |||
} | |||
ul li a { | |||
display: block; | |||
} | |||
table { | |||
cellspacing: 0px; | |||
cellpadding: 0px; | |||
} | |||
.header { | |||
height: .86rem; | |||
background-color: #0088FE; | |||
text-align: center; | |||
line-height: .86rem; | |||
font-size: 18px; | |||
color: #fff; | |||
} | |||
.indec_sec1 { | |||
background-color: #0088FE; | |||
padding: .5rem .5rem 1rem; | |||
text-align: center; | |||
font-size: 16px; | |||
} | |||
.inSec1Txt { | |||
color: #60B5FF; | |||
} | |||
.inSec1Num { | |||
font-size: 18px; | |||
font-weight: bold; | |||
color: #fff; | |||
margin-top: .18rem; | |||
} | |||
.indec_sec { | |||
margin: .3rem .4rem; | |||
background-color: #fff; | |||
border-radius: .12rem; | |||
padding: .35rem 0; | |||
} | |||
.indec_sec2 { | |||
margin-top: -1.2rem; | |||
} | |||
.inSecT { | |||
font-size: 16px; | |||
color: #414141; | |||
font-weight: bold; | |||
padding: 0 .35rem; | |||
} | |||
.inSec2Table { | |||
margin: .3rem 0 .2rem; | |||
width: 100%; | |||
} | |||
.inSec2Table td, | |||
.inSec2Table th { | |||
text-align: center; | |||
height: .8rem; | |||
line-height: .4rem; | |||
color: #333333; | |||
padding: .2rem 5px; | |||
} | |||
.inSec2Table th{ | |||
font-size: 13px; | |||
} | |||
.inSec2Table td{ | |||
font-size: 12px; | |||
} | |||
.inSec2Table tr:first-child { | |||
background-color: #E7F4FF !important; | |||
} | |||
.inSec2Table tr:nth-child(2n-1) { | |||
background-color: #F4F4F4; | |||
} | |||
/* .inSec2Table tr:nth-child(2n){ | |||
background-color: #E7F4FF; | |||
} */ | |||
.paging{ | |||
line-height: .54rem; | |||
font-size: 12px; | |||
color: #333333; | |||
padding: 0 .35rem; | |||
margin-top: .4rem; | |||
/* height: .4rem; */ | |||
} | |||
.pagTxt{ | |||
float: left; | |||
} | |||
.pagBtn{ | |||
float: right; | |||
margin-top: -.06rem; | |||
} | |||
.pagBtn span{ | |||
cursor: pointer; | |||
display: inline-block; | |||
vertical-align: middle; | |||
padding: 0 15px; | |||
font-size: 13px; | |||
line-height: .52rem; | |||
height: .54rem; | |||
border: 1px solid #CDCDCD; | |||
border-radius: .27rem; | |||
} | |||
@@ -0,0 +1,94 @@ | |||
html,body{ | |||
background: #EBF6FF; | |||
} | |||
.header{ | |||
background-image:url('../images/headBg.jpg'); | |||
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../images/headBg.jpg', sizingMethod='scale'); | |||
} | |||
.headNum{ | |||
color: #198BE3; | |||
} | |||
.inSec1btn{ | |||
background: #198BE3; | |||
} | |||
.inSec1List1{ | |||
background: #F3FAFF; | |||
} | |||
.inSec1List1 li.active,.inSec1List1 li:hover{ | |||
background: #D8EEFF; | |||
border-bottom-color: #D8EEFF; | |||
} | |||
.inSec1List1 li.active a,.inSec1List1 li:hover a{ | |||
color: #198BE3; | |||
} | |||
.inSec1List1 li{ | |||
border-bottom: 1px solid #e0edef; | |||
} | |||
.index_sec2 .inSec1T{ | |||
background: #198BE3; | |||
} | |||
.inSec1List2 li.active,.inSec1List2 li:hover{ | |||
background: #D8EEFF; | |||
} | |||
.inSec3ListTxt.active:after,.inSec3ListTxt:hover:after{ | |||
background: #198BE3; | |||
} | |||
.inSec3ListTxt.active,.inSec3ListTxt:hover{ | |||
color: #198BE3; | |||
} | |||
.more{ | |||
background: #75B9EE; | |||
} | |||
.inSecShadow{ | |||
-webkit-box-shadow: 0 0 10px rgba(114, 165, 205, 0.25); | |||
-moz-box-shadow: 0 0 10px rgba(114, 165, 205, 0.25); | |||
box-shadow: 0 0 10px rgba(114, 165, 205, 0.25); | |||
} | |||
.headLogin{ | |||
color: #198BE3; | |||
} | |||
.inSec1SerchLists li.active,.inSec1SerchLists li:hover{ | |||
background: #D8EEFF; | |||
} | |||
.inSec4T{ | |||
border: 1px solid #C0E2FC; | |||
background: #F3FAFF; | |||
} | |||
.inSec4Line{ | |||
background: #198BE3; | |||
} | |||
.inSec4Txt{ | |||
color: #198BE3; | |||
} | |||
.inSec4T span{ | |||
color: #198BE3; | |||
} | |||
.inSec4T i{ | |||
background: #198BE3; | |||
} | |||
.pagingR a:first-child{ | |||
border-color: #198BE3; | |||
background: #198BE3; | |||
} | |||
.newSec1List li.active,.newSec1List li:hover{ | |||
background: #D8EEFF; | |||
} | |||
.newSec1List li.active a,.newSec1List li:hover a{ | |||
color: #198BE3 | |||
} | |||
.newSec1List li{ | |||
border-bottom: 1px solid #e0edef; | |||
} | |||
.index_sec1 .inSec1T,.index_sec1s .inSec1T{ | |||
background-image: url('../images/inSec1-1.png'); | |||
} | |||
.index_sec3 .inSec1T{ | |||
background-image: url('../images/inSec3-1.png'); | |||
} | |||
.index_sec1s .newsSec1T { | |||
background-image: url('../images/news1-1.png'); | |||
} | |||
.inSec1T i{ | |||
background: #F6685E; | |||
} | |||
@@ -0,0 +1,71 @@ | |||
@charset "utf-8"; | |||
/* CSS Document */ | |||
body,html{ | |||
font-size:12px; | |||
font-family:"微软雅黑"; | |||
color: #424242; | |||
min-width: 1440px; | |||
} | |||
/*body{ overflow:hidden;} */ | |||
ul{ | |||
margin:0px; | |||
padding:0px; | |||
list-style:none; | |||
} | |||
li{ | |||
list-style:none; | |||
} | |||
ul li a{ | |||
display:block; | |||
} | |||
a{ | |||
text-decoration:none; | |||
color: #424242; | |||
outline:none; | |||
} | |||
input{ | |||
border:1px solid #ccc; | |||
outline:none; | |||
} | |||
textarea{ | |||
border:1px solid #ccc; | |||
outline:none; | |||
} | |||
form{ | |||
margin:0px; | |||
padding:0px; | |||
} | |||
table{ | |||
cellspacing:0px; | |||
cellpadding:0px; | |||
} | |||
img{ | |||
border:none; | |||
} | |||
a,img{border:0;} | |||
.clear{ | |||
clear:both; | |||
} | |||
.clearfix{ | |||
*zoom:1; | |||
} | |||
.clearfix:after{ | |||
content: ''; | |||
display: block; | |||
clear: both; | |||
} | |||
a{outline:none !important;} | |||
img{border:0 none;} | |||
::selection { | |||
background: #000; | |||
color: #fff; | |||
} | |||
.warpper *::-webkit-scrollbar-track-piece{width:1px;background-color:#fff;} | |||
.warpper *::-webkit-scrollbar{width:1px;height:1px} | |||
.warpper *::-webkit-scrollbar-thumb{height:10px;background-color:#ccc;} | |||
.warpper *::-webkit-scrollbar-thumb:hover{background:#ccc;} |
@@ -0,0 +1,63 @@ | |||
@charset "utf-8"; | |||
/* CSS Document */ | |||
body,html{ | |||
font-size:14px; | |||
font-family:"微软雅黑"; | |||
color: #fff; | |||
min-width: 1679px; | |||
} | |||
/*body{ overflow:hidden;} */ | |||
ul{ | |||
margin:0px; | |||
padding:0px; | |||
list-style:none; | |||
} | |||
li{ | |||
list-style:none; | |||
} | |||
ul li a{ | |||
display:block; | |||
} | |||
a{ | |||
text-decoration:none; | |||
color: #424242; | |||
outline:none; | |||
} | |||
input{ | |||
border:1px solid #ccc; | |||
outline:none; | |||
} | |||
textarea{ | |||
border:1px solid #ccc; | |||
outline:none; | |||
} | |||
form{ | |||
margin:0px; | |||
padding:0px; | |||
} | |||
table{ | |||
cellspacing:0px; | |||
cellpadding:0px; | |||
} | |||
img{ | |||
border:none; | |||
} | |||
a,img{border:0;} | |||
.clear{ | |||
clear:both; | |||
} | |||
.clearfix{ | |||
*zoom:1; | |||
} | |||
.clearfix:after{ | |||
content: ''; | |||
display: block; | |||
clear: both; | |||
} | |||
a{outline:none !important;} | |||
img{border:0 none;} | |||
@@ -0,0 +1,94 @@ | |||
html,body{ | |||
background: #EDFEF7; | |||
} | |||
.header{ | |||
background-image:url('../images/headBg-green.jpg'); | |||
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../images/headBg-green.jpg', sizingMethod='scale'); | |||
} | |||
.headNum{ | |||
color: #01A566; | |||
} | |||
.inSec1btn{ | |||
background: #01A566; | |||
} | |||
.inSec1List1{ | |||
background: #F7FFFC; | |||
} | |||
.inSec1List1 li.active,.inSec1List1 li:hover{ | |||
background: #D5F4E9; | |||
border-bottom-color: #D5F4E9; | |||
} | |||
.inSec1List1 li.active a,.inSec1List1 li:hover a{ | |||
color: #01A566; | |||
} | |||
.inSec1List1 li{ | |||
border-bottom: 1px solid #E7F8F2; | |||
} | |||
.index_sec2 .inSec1T{ | |||
background: #01A566; | |||
} | |||
.inSec1List2 li.active,.inSec1List2 li:hover{ | |||
background: #D5F4E9; | |||
} | |||
.inSec3ListTxt.active:after,.inSec3ListTxt:hover:after{ | |||
background: #01A566; | |||
} | |||
.inSec3ListTxt.active,.inSec3ListTxt:hover{ | |||
color: #01A566; | |||
} | |||
.more{ | |||
background: #67C9A3; | |||
} | |||
.inSecShadow{ | |||
-webkit-box-shadow: 0 0 10px rgba(114, 165, 205, 0.25); | |||
-moz-box-shadow: 0 0 10px rgba(114, 165, 205, 0.25); | |||
box-shadow: 0 0 10px rgba(114, 165, 205, 0.25); | |||
} | |||
.headLogin{ | |||
color: #01A566; | |||
} | |||
.inSec1SerchLists li.active,.inSec1SerchLists li:hover{ | |||
background: #D5F4E9; | |||
} | |||
.inSec4T{ | |||
border: 1px solid #D5F4E9; | |||
background: #F7FFFC; | |||
} | |||
.inSec4Line{ | |||
background: #01A566; | |||
} | |||
.inSec4Txt{ | |||
color: #01A566; | |||
} | |||
.inSec4T span{ | |||
color: #01A566; | |||
} | |||
.inSec4T i{ | |||
background: #01A566; | |||
} | |||
.pagingR a:first-child{ | |||
border-color: #01A566; | |||
background: #01A566; | |||
} | |||
.newSec1List li.active,.newSec1List li:hover{ | |||
background: #D5F4E9; | |||
} | |||
.newSec1List li.active a,.newSec1List li:hover a{ | |||
color: #01A566; | |||
} | |||
.newSec1List li{ | |||
border-bottom: 1px solid #E7F8F2; | |||
} | |||
.index_sec1 .inSec1T,.index_sec1s .inSec1T{ | |||
background-image: url('../images/inSec1-1-green.png'); | |||
} | |||
.index_sec3 .inSec1T{ | |||
background-image: url('../images/inSec3-1-green.png'); | |||
} | |||
.index_sec1s .newsSec1T { | |||
background-image: url('../images/news1-1-green.png'); | |||
} | |||
.inSec1T i{ | |||
background: #ECBD02; | |||
} | |||
@@ -0,0 +1,629 @@ | |||
html { | |||
height: 100%; | |||
} | |||
body { | |||
background-image: url(../images/inforBg.jpg); | |||
background-size: 100% 100%; | |||
min-height: 100%; | |||
padding-bottom: 22px; | |||
overflow: auto; | |||
padding-top: 1px; | |||
} | |||
.warpper { | |||
padding: 1px 12px 0; | |||
margin-top: 93px; | |||
width: 200%; | |||
overflow: hidden; | |||
} | |||
.index_con{ | |||
overflow: hidden; | |||
width: 50%; | |||
float: left; | |||
} | |||
::-webkit-scrollbar-track-piece { | |||
width: 1px; | |||
background-color: #142452; | |||
} | |||
::-webkit-scrollbar { | |||
width: 1px; | |||
height: 6px | |||
} | |||
::-webkit-scrollbar-thumb { | |||
height: 6px; | |||
background-color: #3F71FF; | |||
border-radius: 6px; | |||
} | |||
::-webkit-scrollbar-thumb:hover { | |||
background: #3F71FF; | |||
} | |||
/* header */ | |||
.header { | |||
background-image: url(../images/infor1-3.png); | |||
background-size: auto 100%; | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
height: 94px; | |||
line-height: 94px; | |||
text-align: center; | |||
font-size: 34px; | |||
color: #fff; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
z-index: 99; | |||
} | |||
.headerTime { | |||
position: absolute; | |||
right: 34px; | |||
top: 0; | |||
bottom: 0; | |||
font-size: 18px; | |||
line-height: 30px; | |||
height: 60px; | |||
margin: auto; | |||
} | |||
/* header */ | |||
/* index_sec1 */ | |||
.index_sec { | |||
float: left; | |||
padding: 0 12px; | |||
} | |||
.warpper>div { | |||
/* float: left; */ | |||
} | |||
.index_sec1 { | |||
width: 30%; | |||
} | |||
.inSec1Box { | |||
margin-top: 24px; | |||
background-image: url(../images/infor1-1.jpg); | |||
background-size: 100% 100%; | |||
padding: 10px 24px 24px; | |||
} | |||
.inSecT { | |||
line-height: 32px; | |||
font-size: 16px; | |||
color: #5380FF; | |||
overflow: hidden; | |||
} | |||
.inSecT img { | |||
margin-left: 20px; | |||
height: 20px; | |||
} | |||
.inSec1RewardL { | |||
float: left; | |||
} | |||
.inSec1Xq { | |||
margin-top: 20px; | |||
} | |||
.inSec1XqT { | |||
display: inline-block; | |||
background-color: #1D3781; | |||
position: relative; | |||
padding: 0 12px; | |||
height: 26px; | |||
line-height: 26px; | |||
margin-bottom: 10px; | |||
border-radius: 3px; | |||
} | |||
.inSec1XqT:after { | |||
content: ''; | |||
border: 5px solid transparent; | |||
border-left-color: #1D3781; | |||
position: absolute; | |||
left: 0; | |||
bottom: -5px; | |||
} | |||
.inSec1XqTxt { | |||
font-size: 12px; | |||
} | |||
.inSec1XqTxt span { | |||
margin: 0 15px 0 5px; | |||
font-size: 16px; | |||
font-weight: bold; | |||
} | |||
.inSec1Con { | |||
position: relative; | |||
margin-top: 20px; | |||
} | |||
.inSec1RewardR { | |||
margin-left: 290px; | |||
height: 170px; | |||
} | |||
.inSec1rLineBox { | |||
float: left; | |||
width: 50%; | |||
} | |||
.inSec1rLine { | |||
height: 130px; | |||
position: relative; | |||
width: 78%; | |||
margin: 0 11%; | |||
} | |||
.inSec1rLine>div:first-child { | |||
position: absolute; | |||
left: 0; | |||
top: 0; | |||
right: 0; | |||
bottom: 0; | |||
} | |||
.inSec1rLine>div:first-child div { | |||
height: 2px; | |||
background-color: #091025; | |||
margin-top: 2px; | |||
position: relative; | |||
z-index: 3; | |||
} | |||
.inSec1rLineTxt { | |||
font-size: 12px; | |||
text-align: center; | |||
color: #5380FF; | |||
line-height: 16px; | |||
margin-top: 6px; | |||
} | |||
.inSec1G { | |||
background: #C21E1E; | |||
background: linear-gradient(to top, #C21E1E 0, #EA5757 100%); | |||
background: -moz-linear-gradient(bottom, #C21E1E 0, #EA5757 100%); | |||
background: -webkit-linear-gradient(bottom, #C21E1E 0, #EA5757 100%); | |||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#C21E1E', endColorstr='#EA5757', GradientType=1); | |||
} | |||
.inSec1S { | |||
background: #E49833; | |||
background: linear-gradient(to top, #E49833 0, #E9D44B 100%); | |||
background: -moz-linear-gradient(bottom, #E49833 0, #E9D44B 100%); | |||
background: -webkit-linear-gradient(bottom, #E49833 0, #E9D44B 100%); | |||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E49833', endColorstr='#E9D44B', GradientType=1); | |||
} | |||
.inSec1X { | |||
background: #09B56A; | |||
background: linear-gradient(to top, #09B56A 0, #59C7C8 100%); | |||
background: -moz-linear-gradient(bottom, #09B56A 0, #59C7C8 100%); | |||
background: -webkit-linear-gradient(bottom, #09B56A 0, #59C7C8 100%); | |||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#09B56A', endColorstr='#59C7C8', GradientType=1); | |||
} | |||
.inSec1Awards { | |||
width: 33.333333%; | |||
float: left; | |||
padding: 0 10px; | |||
text-align: center; | |||
} | |||
.inSec1Awards div { | |||
line-height: 34px; | |||
color: #fff; | |||
} | |||
.inSec1Awards div:nth-child(2n-1) { | |||
background-color: #18244B; | |||
} | |||
.inSec1Awards div:nth-child(2n) { | |||
background-color: #141F40; | |||
} | |||
.inSec1Awards div:first-child { | |||
position: relative; | |||
border-radius: 3px; | |||
} | |||
.inSec1Awards div:first-child:after { | |||
content: ''; | |||
border: 5px solid transparent; | |||
border-left-color: #1D3781; | |||
position: absolute; | |||
left: 0; | |||
bottom: -5px; | |||
} | |||
.inSec1Awards:nth-child(1) div:first-child { | |||
background-color: #E04949; | |||
} | |||
.inSec1Awards:nth-child(2) div:first-child { | |||
background-color: #E88F0D; | |||
} | |||
.inSec1Awards:nth-child(3) div:first-child { | |||
background-color: #1BB39C; | |||
} | |||
.inSec1Awards:nth-child(1) div:first-child:after { | |||
border-left-color: #E04949; | |||
} | |||
.inSec1Awards:nth-child(2) div:first-child:after { | |||
border-left-color: #E88F0D; | |||
} | |||
.inSec1Awards:nth-child(3) div:first-child:after { | |||
border-left-color: #1BB39C; | |||
} | |||
.inSec1Punish { | |||
width: 50%; | |||
float: left; | |||
padding: 0 10px; | |||
/* text-align: center; */ | |||
line-height: 34px; | |||
color: #fff; | |||
} | |||
.inSec1Punish div { | |||
overflow: hidden; | |||
overflow: hidden; | |||
white-space: nowrap; | |||
text-overflow: ellipsis; | |||
} | |||
.inSec1Punish div:nth-child(2n-1) { | |||
background-color: #18244B; | |||
} | |||
.inSec1Punish div:nth-child(2n) { | |||
background-color: #141F40; | |||
} | |||
.inSec1Punish span { | |||
width: 50%; | |||
float: left; | |||
padding-left: 20px; | |||
} | |||
/* index_sec1 */ | |||
/* index_sec2 */ | |||
.index_sec2 { | |||
width: 40%; | |||
} | |||
.inSec2Top { | |||
/* overflow: hidden; */ | |||
margin-top: 30px; | |||
} | |||
.inSec2TopBox { | |||
width: 33.333333%; | |||
float: left; | |||
padding: 0 10px; | |||
} | |||
.inSec2Num { | |||
font-size: 24px; | |||
font-weight: bold; | |||
color: #20ABFB; | |||
margin-top: 20px; | |||
} | |||
.inSec2TCon { | |||
line-height: 0; | |||
} | |||
.inSec2TCon>* { | |||
display: inline-block; | |||
vertical-align: middle; | |||
} | |||
.inSec2TCon img { | |||
width: 27px; | |||
} | |||
.inSec2TCon span { | |||
margin: 0 20px; | |||
} | |||
/* .inSec2TCon */ | |||
.inSec2TCon:last-child { | |||
margin-top: 20px; | |||
} | |||
.inSec2TopImg { | |||
width: 120px; | |||
margin-top: -20px; | |||
} | |||
.inSec2Bottom { | |||
margin-top: 30px; | |||
text-align: center; | |||
} | |||
.inSec2BImg { | |||
width: 560px; | |||
} | |||
.inSec2WorkList { | |||
margin-bottom: 17px; | |||
} | |||
.inSec2Work { | |||
overflow: hidden; | |||
line-height: 28px; | |||
padding: 0 10px; | |||
} | |||
.inSec2Work:nth-child(2n-1) { | |||
background-color: #18244B; | |||
} | |||
.inSec2Work:nth-child(2n) { | |||
background-color: #141F40; | |||
} | |||
.inSec2Work div { | |||
float: left; | |||
padding: 0 5px; | |||
overflow: hidden; | |||
white-space: nowrap; | |||
text-overflow: ellipsis; | |||
} | |||
.inSec2Work div:nth-child(1) { | |||
width: 50%; | |||
} | |||
.inSec2Work div:nth-child(2) { | |||
width: 10%; | |||
color: #527FFF; | |||
} | |||
.inSec2Work div:nth-child(3) { | |||
width: 30%; | |||
color: #527FFF; | |||
} | |||
.inSec2Work div:nth-child(4) { | |||
width: 10%; | |||
} | |||
/* index_sec2 */ | |||
/* index_sec3 */ | |||
.index_sec3{ | |||
width: 30%; | |||
} | |||
.inSec3L { | |||
float: left; | |||
width: 30%; | |||
} | |||
.inSec3LBox { | |||
line-height: 0; | |||
margin-top: 20px; | |||
} | |||
.inSec3LBox>* { | |||
display: inline-block; | |||
vertical-align: middle; | |||
} | |||
.inSec3LBox img { | |||
width: 18px; | |||
} | |||
.inSec3LBox span { | |||
margin: 0 10px; | |||
line-height: 20px; | |||
} | |||
.inSec3LBox b { | |||
font-size: 20px; | |||
} | |||
.inSec3R { | |||
margin-left: 130px; | |||
line-height: 0; | |||
text-align: center; | |||
} | |||
.inSec3R img { | |||
width: 221px; | |||
} | |||
.index_sec3 .inSec1Awards div { | |||
font-size: 12px; | |||
} | |||
.index_sec3 .inSec1Awards div:after { | |||
border-color: transparent !important; | |||
} | |||
.index_sec3 .inSec1Awards div:first-child { | |||
background-color: transparent !important; | |||
} | |||
.index_sec3 .inSec1Awards:nth-child(1) div:first-child { | |||
border-bottom: 2px solid #B02020; | |||
} | |||
.index_sec3 .inSec1Awards:nth-child(2) div:first-child { | |||
border-bottom: 2px solid #B02020; | |||
} | |||
.index_sec3 .inSec1Awards:nth-child(3) div:first-child { | |||
border-bottom: 2px solid #B02020; | |||
} | |||
.index_sec3 .inSec1Awards img { | |||
position: relative; | |||
width: 32px; | |||
top: 13px; | |||
left: 0; | |||
float: left; | |||
} | |||
.inSec3lwImg{ | |||
line-height: 0; | |||
margin-top: 6px; | |||
} | |||
.inSec3lwImg img{ | |||
width: 404px; | |||
} | |||
.inSec3lwImg:first-child{ | |||
margin-bottom: 20px; | |||
} | |||
/* index_sec3 */ | |||
/* index_sec4 */ | |||
.index_sec4{ | |||
width: 30%; | |||
} | |||
.inSec4Img1{ | |||
line-height: 0; | |||
text-align: center; | |||
padding: 5px 0 4px; | |||
} | |||
.inSec4Img1 img{ | |||
width: 430px; | |||
} | |||
.index_sec4 .inSecT img { | |||
margin-left: 20px; | |||
height: 14px; | |||
} | |||
.layui-form-select .layui-input{ | |||
background-color: #0F2462; | |||
border-radius: 14px; | |||
border: 0; | |||
height: 28px; | |||
} | |||
.layui-form-select dl { | |||
top: 32px; | |||
} | |||
.layui-input-block{ | |||
width: 150px; | |||
position: absolute; | |||
right: 0; | |||
top: -20px; | |||
color: #5380FF; | |||
} | |||
.layui-form-select dl dd.layui-this { | |||
background-color: #198BE3; | |||
} | |||
.layui-form-select dl{ | |||
width: 150px; | |||
background-color: #0F2462; | |||
border: 0; | |||
border-radius: 4px; | |||
} | |||
.layui-form-select dl dd{ | |||
color: #5380FF; | |||
} | |||
.layui-form-select dl dd:hover{ | |||
background-color: #2551d4; | |||
} | |||
/* index_sec4 */ | |||
/* index_sec5 */ | |||
.index_sec5{ | |||
width: 40%; | |||
} | |||
.inSec5TopImg1{ | |||
line-height: 0; | |||
text-align: right; | |||
margin-top: -20px; | |||
} | |||
.inSec5TopImg1 img{ | |||
width: 112px; | |||
} | |||
.inSec5TopImg2 { | |||
line-height: 0; | |||
margin-top: 24px; | |||
text-align: center; | |||
} | |||
.inSec5TopImg2 img{ | |||
text-align: center; | |||
width: 74px; | |||
margin: 0 8px; | |||
} | |||
.inSec5Bottom{ | |||
line-height: 0; | |||
text-align: center; | |||
margin-top: 20px; | |||
} | |||
.inSec5Bottom img{ | |||
width: 530px; | |||
} | |||
.inSec5Img2{ | |||
line-height: 0; | |||
text-align: center; | |||
margin-top: -20px; | |||
} | |||
.inSec5Img2 img{ | |||
width: 550px; | |||
} | |||
/* index_sec5 */ | |||
/* index_sec6 */ | |||
.index_sec6{ | |||
width: 30%; | |||
} | |||
.inSec6Img{ | |||
line-height: 0; | |||
text-align: center; | |||
margin-top: 10px; | |||
} | |||
.inSec6Img img{ | |||
width: 430px; | |||
} | |||
.inSec6Box{ | |||
width: 50%; | |||
float: left; | |||
} | |||
.inSec6Img2{ | |||
line-height: 0; | |||
margin-top: 22px; | |||
} | |||
.inSec6Img2 img{ | |||
width: 188px; | |||
} | |||
/* index_sec6 */ | |||
@@ -0,0 +1,258 @@ | |||
/* process1.html */ | |||
.index_box { | |||
width: 1500px; | |||
margin: 50px auto; | |||
} | |||
.inSec1L { | |||
line-height: 0; | |||
float: left; | |||
width: 261px; | |||
} | |||
.inSec1L img { | |||
width: 100%; | |||
} | |||
.inSec1In { | |||
float: left; | |||
margin-top: 60px; | |||
} | |||
.inSec1In div { | |||
display: inline-block; | |||
vertical-align: middle; | |||
width: 13px; | |||
height: 13px; | |||
border-radius: 50%; | |||
margin: 0 3px; | |||
} | |||
.inSec1In1 div { | |||
background-color: #1D9CFF; | |||
} | |||
.inSec1In1 div:first-child { | |||
margin-left: 0; | |||
} | |||
.inSec1In1 div:last-child { | |||
margin-right: 0; | |||
} | |||
.inSec1R { | |||
margin-left: 343px; | |||
} | |||
.inSec1Box>* { | |||
display: inline-block; | |||
vertical-align: middle; | |||
} | |||
.inSec1Box:first-child .inSec1Con { | |||
margin-top: 30px; | |||
} | |||
.inSec1Con { | |||
position: relative; | |||
font-size: 28px; | |||
font-weight: bold; | |||
width: 318px; | |||
border: 4px solid #5BB7FF; | |||
color: #272727; | |||
padding: 15px 50px; | |||
line-height: 44px; | |||
transition: all 0.3s; | |||
-moz-transition: all 0.3s; | |||
-ms-transition: all 0.3s; | |||
-o-transition: all 0.3s; | |||
-webkit-transition: all 0.3s; | |||
text-align: left; | |||
cursor:pointer; | |||
} | |||
.inSec1Num { | |||
background-color: #fff; | |||
position: absolute; | |||
left: 10px; | |||
top: -25px; | |||
z-index: 3; | |||
font-size: 68px; | |||
font-weight: bold; | |||
font-style: italic; | |||
color: #E5E5E5; | |||
padding: 0 15px 0 0; | |||
} | |||
.inSec1Con i { | |||
height: 34px; | |||
width: 34px; | |||
border-radius: 18px; | |||
line-height: 34px; | |||
background-color: #7BC5FF; | |||
position: absolute; | |||
right: 20px; | |||
top: 0; | |||
bottom: 0; | |||
margin: auto; | |||
text-align: center; | |||
color: #fff; | |||
transition: all 0.3s; | |||
-moz-transition: all 0.3s; | |||
-ms-transition: all 0.3s; | |||
-o-transition: all 0.3s; | |||
-webkit-transition: all 0.3s; | |||
} | |||
.inSec1Box>img { | |||
width: 70px; | |||
margin: 0 10px 0; | |||
} | |||
.inSec1Box:first-child>img { | |||
margin-top: 30px; | |||
} | |||
.inSec1Down { | |||
margin: 8px 0; | |||
text-align: right; | |||
} | |||
.inSec1Down img { | |||
width: 30px; | |||
margin-right: 145px; | |||
} | |||
.inSec1Box2 { | |||
text-align: right; | |||
} | |||
.index_box1 .inSec1Con:hover, | |||
.index_box1 .inSec1Con.active { | |||
border-color: #EFB142; | |||
color: #EFB142; | |||
} | |||
.index_box1 .inSec1Con:hover i, | |||
.index_box1 .inSec1Con.active i { | |||
background-color: #EFB142; | |||
} | |||
/* process1.html */ | |||
/* process2.html */ | |||
.inSec1In2 div { | |||
background-color: #8BBED5; | |||
} | |||
.index_box2 .inSec1Con { | |||
border: 2px solid #2175D6; | |||
border-radius: 4px; | |||
padding: 18px 20px 12px; | |||
width: 213px; | |||
font-size: 23px; | |||
} | |||
.index_box2 .inSec1Num { | |||
font-style: normal; | |||
font-size: 48px; | |||
padding: 0 5px 0 5px; | |||
} | |||
.index_box2 .inSec1Con i { | |||
position: relative; | |||
top: 0; | |||
right: 0; | |||
background-color: #B6CFE5; | |||
height: 28px; | |||
width: 28px; | |||
border-radius: 14px; | |||
line-height: 28px; | |||
} | |||
.index_box2 .inSec1Con span { | |||
display: block; | |||
overflow: hidden; | |||
white-space: nowrap; | |||
text-overflow: ellipsis; | |||
} | |||
.icon { | |||
text-align: center; | |||
margin-top: 10px; | |||
} | |||
.index_box2 .inSec1Down img { | |||
margin-right: 95px; | |||
} | |||
.index_box2 .inSec1Con:hover, | |||
.index_box2 .inSec1Con.active { | |||
border-color: #6AA8C6; | |||
color: #EFB142; | |||
} | |||
.index_box2 .inSec1Con:hover i, | |||
.index_box2 .inSec1Con.active i { | |||
background-color: #EFB142; | |||
} | |||
/* process2.html */ | |||
/* process3.html */ | |||
.inSec1In3 div { | |||
background-color: #ADBBCD; | |||
} | |||
.index_box3 .inSec1Con { | |||
border: 2px solid #3A95E1; | |||
border-radius: 4px; | |||
padding: 18px 20px 12px; | |||
width: 213px; | |||
font-size: 23px; | |||
} | |||
.index_box3 .inSec1Num { | |||
font-style: normal; | |||
font-size: 48px; | |||
padding: 0 5px 0 5px; | |||
} | |||
.index_box3 .inSec1Con i { | |||
position: relative; | |||
top: 0; | |||
right: 0; | |||
background-color: #B6CFE5; | |||
height: 28px; | |||
width: 28px; | |||
border-radius: 14px; | |||
line-height: 28px; | |||
} | |||
.index_box3 .inSec1Con span { | |||
display: block; | |||
} | |||
/* .icon{ | |||
text-align: center; | |||
margin-top: 10px; | |||
} */ | |||
.index_box3 .inSec1Down img { | |||
margin-right: 95px; | |||
} | |||
.index_box3 .inSec1Con:hover, | |||
.index_box3 .inSec1Con.active { | |||
border-color: #3A95E1; | |||
color: #EFB142; | |||
} | |||
.index_box3 .inSec1Con:hover i, | |||
.index_box3 .inSec1Con.active i { | |||
background-color: #EFB142; | |||
} | |||
/* process3.html */ | |||
/* process4.html */ | |||
/* process4.html */ |
@@ -0,0 +1,94 @@ | |||
html,body{ | |||
background: #FFE9E7; | |||
} | |||
.header{ | |||
background-image:url('../images/headBg-red.jpg'); | |||
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../images/headBg-red.jpg', sizingMethod='scale'); | |||
} | |||
.headNum{ | |||
color: #C32015; | |||
} | |||
.inSec1btn{ | |||
background: #C32015; | |||
} | |||
.inSec1List1{ | |||
background: #FFF2F1; | |||
} | |||
.inSec1List1 li.active,.inSec1List1 li:hover{ | |||
background: #FFD9D6; | |||
border-bottom-color: #FFD9D6; | |||
} | |||
.inSec1List1 li.active a,.inSec1List1 li:hover a{ | |||
color: #C32015; | |||
} | |||
.inSec1List1 li{ | |||
border-bottom: 1px solid #FDE6E4; | |||
} | |||
.index_sec2 .inSec1T{ | |||
background: #C32015; | |||
} | |||
.inSec1List2 li.active,.inSec1List2 li:hover{ | |||
background: #FFD9D6; | |||
} | |||
.inSec3ListTxt.active:after,.inSec3ListTxt:hover:after{ | |||
background: #C32015; | |||
} | |||
.inSec3ListTxt.active,.inSec3ListTxt:hover{ | |||
color: #C32015; | |||
} | |||
.more{ | |||
background: #DB7973; | |||
} | |||
.inSecShadow{ | |||
-webkit-box-shadow: 0 0 10px rgba(114, 165, 205, 0.25); | |||
-moz-box-shadow: 0 0 10px rgba(114, 165, 205, 0.25); | |||
box-shadow: 0 0 10px rgba(114, 165, 205, 0.25); | |||
} | |||
.headLogin{ | |||
color: #C32015; | |||
} | |||
.inSec1SerchLists li.active,.inSec1SerchLists li:hover{ | |||
background: #FFD9D6; | |||
} | |||
.inSec4T{ | |||
border: 1px solid #FFD9D6; | |||
background: #FFF2F1; | |||
} | |||
.inSec4Line{ | |||
background: #C32015; | |||
} | |||
.inSec4Txt{ | |||
color: #C32015; | |||
} | |||
.inSec4T span{ | |||
color: #C32015; | |||
} | |||
.inSec4T i{ | |||
background: #C32015; | |||
} | |||
.pagingR a:first-child{ | |||
border-color: #C32015; | |||
background: #C32015; | |||
} | |||
.newSec1List li.active,.newSec1List li:hover{ | |||
background: #FFD9D6; | |||
} | |||
.newSec1List li.active a,.newSec1List li:hover a{ | |||
color: #C32015; | |||
} | |||
.newSec1List li{ | |||
border-bottom: 1px solid #FDE6E4; | |||
} | |||
.index_sec1 .inSec1T,.index_sec1s .inSec1T{ | |||
background-image: url('../images/inSec1-1-red.png'); | |||
} | |||
.index_sec3 .inSec1T{ | |||
background-image: url('../images/inSec3-1-red.png'); | |||
} | |||
.index_sec1s .newsSec1T { | |||
background-image: url('../images/news1-1-red.png'); | |||
} | |||
.inSec1T i{ | |||
background: #ECBD02; | |||
} | |||
@@ -0,0 +1,150 @@ | |||
/*news.html*/ | |||
.newSec1List{ | |||
height: 100%; | |||
overflow: auto; | |||
position: relative; | |||
} | |||
.newSec1List li{ | |||
padding: 5px 22px; | |||
transition:all 0.3s; | |||
-moz-transition:all 0.3s; | |||
-ms-transition:all 0.3s; | |||
-o-transition:all 0.3s; | |||
-webkit-transition:all 0.3s; | |||
} | |||
.newSec1List a{ | |||
display: block; | |||
line-height: 25px; | |||
font-size: 14px; | |||
} | |||
.newSec1List span{ | |||
display: block; | |||
margin-left: 20px; | |||
} | |||
.newSec1List img{ | |||
width: 13px; | |||
float: left; | |||
margin-top: 4px; | |||
} | |||
.news_sec2{ | |||
background: #fff; | |||
margin: 22px 22px 10px 414px; | |||
padding: 35px; | |||
overflow: auto; | |||
} | |||
.news2List{ | |||
padding: 0 10px; | |||
background: #fff; | |||
} | |||
.news2List li{ | |||
padding: 14px 0; | |||
border-bottom: 1px dashed #E7E7E7; | |||
} | |||
.news2List a,.news2List span{ | |||
display: block; | |||
} | |||
.news2List a{ | |||
font-size: 14px; | |||
} | |||
.news2T{ | |||
width: 80%; | |||
overflow:hidden; | |||
white-space:nowrap; | |||
text-overflow:ellipsis; | |||
} | |||
.news2T img{ | |||
float: left; | |||
margin-right: 8px; | |||
width: 18px; | |||
margin-top: 3px; | |||
} | |||
.news2Time{ | |||
text-align: right; | |||
color: #C2C2C2; | |||
float: right; | |||
} | |||
.paging{ | |||
height: 30px; | |||
margin-top: 30px; | |||
overflow: hidden; | |||
} | |||
.pagingTxt{ | |||
float: left; | |||
line-height: 30px; | |||
font-size: 14px; | |||
color: #ABABAB; | |||
} | |||
.pagingR{ | |||
float: right; | |||
} | |||
.pagingR *{ | |||
display: inline-block; | |||
vertical-align: middle; | |||
font-size: 14px; | |||
height: 30px; | |||
} | |||
.pagingR a{ | |||
border: 1px solid #F1F1F1; | |||
width: 68px; | |||
line-height: 28px; | |||
border-radius: 15px; | |||
margin-left: 10px; | |||
text-align: center; | |||
} | |||
.pagingR a:first-child{ | |||
margin-left: 0; | |||
color: #fff; | |||
} | |||
.pagingR span{ | |||
width: 50px; | |||
line-height: 30px; | |||
text-align: right; | |||
margin-right: 10px; | |||
} | |||
.pagingR input{ | |||
width: 56px; | |||
border: 1px solid #F1F1F1; | |||
text-align: center; | |||
line-height: 28px; | |||
} | |||
.pagingBtn{ | |||
cursor: pointer; | |||
border: 1px solid #F1F1F1; | |||
width: 68px; | |||
line-height: 28px; | |||
border-radius: 15px; | |||
margin-left: 10px; | |||
text-align: center; | |||
} | |||
/*news.html*/ | |||
@media(max-width:1680px) { | |||
.news_sec2 { | |||
margin: 22px 22px 10px 344px; | |||
} | |||
} | |||
@@ -0,0 +1,198 @@ | |||
.swiper-container { | |||
width:100%; | |||
height:100%; | |||
margin:0 auto; | |||
position:relative; | |||
overflow:hidden; | |||
-webkit-backface-visibility:hidden; | |||
-moz-backface-visibility:hidden; | |||
-ms-backface-visibility:hidden; | |||
-o-backface-visibility:hidden; | |||
backface-visibility:hidden; | |||
/* Fix of Webkit flickering */ | |||
z-index:1; | |||
} | |||
.swiper-wrapper { | |||
position:relative; | |||
width:100%; | |||
height:100%; | |||
-webkit-transition-property:-webkit-transform, left, top; | |||
-webkit-transition-duration:0s; | |||
-webkit-transform:translate3d(0px,0,0); | |||
-webkit-transition-timing-function:ease; | |||
-moz-transition-property:-moz-transform, left, top; | |||
-moz-transition-duration:0s; | |||
-moz-transform:translate3d(0px,0,0); | |||
-moz-transition-timing-function:ease; | |||
-o-transition-property:-o-transform, left, top; | |||
-o-transition-duration:0s; | |||
-o-transform:translate3d(0px,0,0); | |||
-o-transition-timing-function:ease; | |||
-o-transform:translate(0px,0px); | |||
-ms-transition-property:-ms-transform, left, top; | |||
-ms-transition-duration:0s; | |||
-ms-transform:translate3d(0px,0,0); | |||
-ms-transition-timing-function:ease; | |||
transition-property:transform, left, top; | |||
transition-duration:0s; | |||
transform:translate3d(0px,0,0); | |||
transition-timing-function:ease; | |||
-webkit-box-sizing: content-box; | |||
-moz-box-sizing: content-box; | |||
box-sizing: content-box; | |||
} | |||
.swiper-free-mode > .swiper-wrapper { | |||
-webkit-transition-timing-function: ease-out; | |||
-moz-transition-timing-function: ease-out; | |||
-ms-transition-timing-function: ease-out; | |||
-o-transition-timing-function: ease-out; | |||
transition-timing-function: ease-out; | |||
margin: 0 auto; | |||
} | |||
.swiper-slide { | |||
width:100%; | |||
height:100%; | |||
float: left; | |||
-webkit-box-sizing: content-box; | |||
-moz-box-sizing: content-box; | |||
box-sizing: content-box; | |||
} | |||
/* IE10 Windows Phone 8 Fixes */ | |||
.swiper-wp8-horizontal { | |||
-ms-touch-action: pan-y; | |||
} | |||
.swiper-wp8-vertical { | |||
-ms-touch-action: pan-x; | |||
} | |||
/* =============================================================== | |||
Your custom styles, here you need to specify container's and slide's | |||
sizes, pagination, etc. | |||
================================================================*/ | |||
.swiper-container { | |||
/* Specify Swiper's Size: */ | |||
/*width:200px; | |||
height: 100px;*/ | |||
} | |||
.swiper-slide { | |||
/* Specify Slides's Size: */ | |||
/*width: 100%; | |||
height: 100%;*/ | |||
} | |||
.swiper-slide-active { | |||
/* Specific active slide styling: */ | |||
} | |||
.swiper-slide-visible { | |||
/* Specific visible slide styling: */ | |||
} | |||
/* =============================================================== | |||
Pagination Styles | |||
================================================================*/ | |||
.swiper-pagination { | |||
position: absolute; | |||
left: 0; | |||
text-align: center; | |||
bottom:30px; | |||
width: 100%; | |||
} | |||
/*基本点的样式*/ | |||
.swiper-pagination-switch { | |||
display: inline-block; | |||
width: 12px; | |||
height: 12px; | |||
border-radius: 10px; | |||
background: #999; | |||
margin: 0 6px; | |||
cursor: pointer; | |||
} | |||
.swiper-active-switch { | |||
background: #fff; | |||
} | |||
.swiper-visible-switch { | |||
/* Specific visible button style: */ | |||
} | |||
/*箭头的样式*/ | |||
.arrow-left { | |||
width: 17px; | |||
height: 30px; | |||
position:absolute; | |||
z-index:1; | |||
top:50%; | |||
left:10px; | |||
text-decoration:none; | |||
color:#fff | |||
} | |||
.arrow-right { | |||
width: 17px; | |||
height: 30px; | |||
position:absolute; | |||
z-index:1; | |||
top:50%; | |||
right:10px; | |||
text-decoration:none; | |||
color:#fff | |||
} | |||
/*可以增加箭头:如下*/ | |||
/*增加*/ | |||
.arrow-left2 { | |||
width: 17px; | |||
height: 30px; | |||
position:absolute; | |||
z-index:1; | |||
top:50%; | |||
left:10px; | |||
text-decoration:none; | |||
color:#fff | |||
} | |||
.arrow-right2 { | |||
width: 17px; | |||
height: 30px; | |||
position:absolute; | |||
z-index:1; | |||
top:50%; | |||
right:10px; | |||
text-decoration:none; | |||
color:#fff | |||
} | |||
/*增加*/ | |||
@@ -0,0 +1,169 @@ | |||
html, | |||
body { | |||
background-color: #F4F4F4; | |||
min-width: auto; | |||
} | |||
.header { | |||
position: fixed; | |||
left: 0; | |||
top: 0; | |||
right: 0; | |||
font-size: 30px; | |||
color: #fff; | |||
background-color: #4A94FF; | |||
padding: 0 20px; | |||
height: 68px; | |||
line-height: 68px; | |||
} | |||
.navList { | |||
position: fixed; | |||
top: 68px; | |||
left: 0; | |||
bottom: 0; | |||
background-color: #fff; | |||
width: 142px; | |||
padding: 0 20px; | |||
overflow: auto; | |||
} | |||
.navBox { | |||
text-align: center; | |||
padding: 40px 0 20px; | |||
border-bottom: 2px solid #E3E9F1; | |||
cursor: pointer; | |||
} | |||
.navImg { | |||
line-height: 0; | |||
margin-bottom: 12px; | |||
} | |||
.navImg img { | |||
width: 38px; | |||
} | |||
.navTxt { | |||
width: 72px; | |||
height: 26px; | |||
line-height: 26px; | |||
color: #424242; | |||
margin: 0 auto; | |||
border-radius: 13px; | |||
} | |||
.navBox.active { | |||
border-color: #4A94FF; | |||
} | |||
.navBox.active .navTxt { | |||
background-color: #4A94FF; | |||
color: #fff; | |||
} | |||
.teachBox { | |||
margin: 88px 20px 0 162px; | |||
} | |||
.teachCon { | |||
background-color: #fff; | |||
padding-bottom: 22px; | |||
} | |||
.teachT { | |||
height: 55px; | |||
padding: 0 34px; | |||
line-height: 54px; | |||
border-bottom: 1px solid #D8D8D8; | |||
} | |||
.teachT span { | |||
font-weight: bold; | |||
color: #595959; | |||
font-size: 20px; | |||
} | |||
.teachWord { | |||
float: right; | |||
} | |||
.teachWord a { | |||
display: inline-block; | |||
vertical-align: middle; | |||
height: 34px; | |||
line-height: 32px; | |||
padding: 0 10px; | |||
border: 1px solid #D3D3D3; | |||
border-radius: 17px; | |||
color: #424242; | |||
margin-left: 10px; | |||
transition: all 0.3s; | |||
-moz-transition: all 0.3s; | |||
-ms-transition: all 0.3s; | |||
-o-transition: all 0.3s; | |||
-webkit-transition: all 0.3s; | |||
margin-top: -4px; | |||
} | |||
.teachWord a:hover { | |||
background-color: #F7B600; | |||
border-color: #F7B600; | |||
color: #fff; | |||
} | |||
.teachModule { | |||
height: 500px; | |||
background-color: #999; | |||
margin: 22px 34px 0; | |||
} | |||
.teachListBox { | |||
margin-top: 20px; | |||
background-color: #fff; | |||
overflow: auto; | |||
padding: 15px 20px; | |||
white-space: nowrap; | |||
text-align: center; | |||
} | |||
.teachList { | |||
display: inline-block; | |||
vertical-align: middle; | |||
text-align: center; | |||
margin: 0 20px; | |||
width: 100px; | |||
} | |||
.teachListImg { | |||
line-height: 0; | |||
} | |||
.teachListImg img { | |||
width: 56px; | |||
} | |||
.teachListTxt { | |||
margin-top: 10px; | |||
color: #424242; | |||
} | |||
::-webkit-scrollbar-track-piece { | |||
width: 1px; | |||
background-color: #142452; | |||
} | |||
::-webkit-scrollbar { | |||
width: 1px; | |||
height: 6px | |||
} | |||
::-webkit-scrollbar-thumb { | |||
height: 6px; | |||
background-color: #3F71FF; | |||
border-radius: 6px; | |||
} | |||
::-webkit-scrollbar-thumb:hover { | |||
background: #3F71FF; | |||
} |