@@ -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"> | |||
<input id="txt_Keyword" type="text" class="form-control" placeholder="请输入要查询关键字" /> | |||
</div> | |||
<div class="lr-layout-tool-item"> | |||
<a id="btn_Search" class="btn btn-primary btn-sm"><i class="fa fa-search"></i> <span class="lrlt">查询</span></a> | |||
</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"> | |||
<a id="lr-download" class="btn btn-default"><i class="fa fa-download"></i> <span class="lrlt">下载</span></a> | |||
<a id="lr-preview" class="btn btn-default"><i class="fa fa-eye"></i> <span class="lrlt">预览</span></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/LR_Desktop/Views/EnrollData/IndexPersonnel.js") |
@@ -0,0 +1,128 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-02-24 16:59 | |||
* 描 述:招生数据 | |||
*/ | |||
var refreshGirdData; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.initGird(); | |||
page.bind(); | |||
}, | |||
bind: function () { | |||
// 查询 | |||
$('#btn_Search').on('click', function () { | |||
var keyword = $('#txt_Keyword').val(); | |||
page.search({ keyword: keyword }); | |||
}); | |||
// 刷新 | |||
$('#lr_refresh').on('click', function () { | |||
location.reload(); | |||
}); | |||
// 新增 | |||
$('#lr_add').on('click', function () { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '新增', | |||
url: top.$.rootUrl + '/LR_Desktop/EnrollData/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 + '/LR_Desktop/EnrollData/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 + '/LR_Desktop/EnrollData/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 打印 | |||
$('#lr_print').on('click', function () { | |||
$('#gridtable').jqprintTable(); | |||
}); | |||
//文件下载 | |||
$('#lr-download').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||
var Path = $("#gridtable").jfGridValue("Path"); | |||
if (keyValue) { | |||
learun.download({ url: top.$.rootUrl + '/LR_Desktop/EnrollData/DownloadFile', param: { folderid: Path }, method: 'POST' }); | |||
} else { | |||
learun.alert.warning('请选择要下载的文件!'); | |||
} | |||
}); | |||
//文件预览 | |||
$('#lr-preview').on('click', function () { | |||
var keyValue = $("#gridtable").jfGridValue("Id"); | |||
var Path = $("#gridtable").jfGridValue("Path"); | |||
if (keyValue) { | |||
learun.layerForm({ | |||
id: 'PreviewForm', | |||
title: '文件预览', | |||
url: top.$.rootUrl + '/LR_Desktop/EnrollData/PreviewFile?folderid=' + Path, | |||
width: 1080, | |||
height: 850, | |||
btn: null, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} else { | |||
learun.alert.warning('请选择要预览的文件!'); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').jfGrid({ | |||
url: top.$.rootUrl + '/LR_Desktop/EnrollData/GetPageList', | |||
headData: [ | |||
{ label: "文件名", name: "F_FileName", width: 200, align: "left"}, | |||
{ label: "上传时间", name: "UploadTime", width: 100, align: "left"}, | |||
], | |||
mainId:'Id', | |||
isPage: true, | |||
sidx: 'UploadTime desc', | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
param.Type = 2; | |||
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -834,6 +834,9 @@ | |||
<Compile Include="Areas\EducationalAdministration\Controllers\StuDisciplineManagementController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\StuCancelDisciplineManagementController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\ArrangeExamTermNewController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\StuVolunteerController.cs" /> | |||
<Compile Include="Areas\LR_Desktop\Controllers\EnrollTemplateController.cs" /> | |||
<Compile Include="Areas\LR_Desktop\Controllers\EnrollDataController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\Exam_ExamPlanController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\Sys_PsychologicalCounseController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\Exam_ExamTeacherTimeController.cs" /> | |||
@@ -1439,6 +1442,8 @@ | |||
<Content Include="Areas\LR_Desktop\Views\DTSetting\App\AppIndex.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\DTSetting\PC\PcIndex.css" /> | |||
<Content Include="Areas\LR_Desktop\Views\DTSetting\PC\PcIndex.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollData\IndexPersonnel.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollTemplate\IndexPersonnel.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\FormulaChild\Form.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\FormulaChild\Index.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\FormulaMain\Form.js" /> | |||
@@ -6607,6 +6612,18 @@ | |||
<Content Include="Areas\EducationalAdministration\Views\VaccinationInfo\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\VaccinationInfo\Form.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\VaccinationInfo\Form.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuVolunteer\Index.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuVolunteer\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuVolunteer\Form.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuVolunteer\Form.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollTemplate\Index.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollTemplate\Index.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollTemplate\Form.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollTemplate\Form.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollData\Index.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollData\Index.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollData\Form.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollData\Form.js" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Folder Include="Areas\EducationalAdministration\Views\HomeStatistics\" /> | |||
@@ -7940,6 +7957,8 @@ | |||
<Content Include="Areas\PersonnelManagement\Views\TimeTable\SchoolLesson.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TimeTable\PrintSchedule.cshtml" /> | |||
<Content Include="Areas\LogisticsManagement\Views\Accommodation\IndexImport.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollTemplate\IndexPersonnel.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\EnrollData\IndexPersonnel.cshtml" /> | |||
<None Include="Properties\PublishProfiles\CustomProfile.pubxml" /> | |||
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" /> | |||
<Content Include="Views\Login\Default-beifen.cshtml" /> | |||
@@ -65,7 +65,7 @@ | |||
<add key="userKey" value="14B417B0-463D-4F2B-8075-0A20EEDB773A" /> | |||
<!-- ==================注意附件上传地址 修改到部署目录下的Resource要不然飞星会报错================== --> | |||
<add key="AnnexesFile" value="D:\西昌程序单校区版2019_09_16\Learun.Framework.Ultimate V7\Learun.Application.Web\Resource" /> | |||
<add key="AnnexesFile" value="D:\work\DigitalScholl\Learun.Framework.Ultimate V7\Learun.Application.Web\Resource" /> | |||
<!-- ================== 8:流程服务地址 ================== --> | |||
<add key="workflowapi" value="http://localhost:8013" /> | |||
<!--Redis 缓存前缀 --> | |||
@@ -77,11 +77,11 @@ | |||
<add key="RedisExchangeHosts" value="127.0.0.1:6379,allowadmin=true"/> | |||
<!--head 头像存储地址 --> | |||
<add key="fileHeadImg" value="D:\西昌程序单校区版2019_09_16\Learun.Framework.Ultimate V7\Learun.Application.Web\bin\Release\Publish\Content\images\head" /> | |||
<add key="fileHeadImg" value="E:\西昌程序单校区版2019_09_16\Learun.Framework.Ultimate V7\Learun.Application.Web\bin\Release\Publish\Content\images\head" /> | |||
<add key="fileAppDTImg" value="C:/fileAppDTImg" /> | |||
<add key="fileLogoImg" value="C:/fileLogoImg" /> | |||
<!--印章管理存储图片路径 --> | |||
<add key="Stamp" value="D:\授权版706\Learun.Application.Web\Resource/StampImg" /> | |||
<add key="Stamp" value="E:\授权版706\Learun.Application.Web\Resource/StampImg" /> | |||
<add key="Intervals" value="1"/> | |||
@@ -143,16 +143,16 @@ | |||
<add key="dbbackuppath" value="D:\数字化校园\lr7test\Publish\Resource\DataBaseBackup"/> | |||
<!-- 报名选修课排队需要调用的WebApi --> | |||
<add key="WebApi" value="http://localhost:8088/" /> | |||
<add key="WebApi" value="http://localhost:8081/" /> | |||
<!-- 报名选修课的最大课程数 --> | |||
<add key="ElectiveLessonApplyMax" value="5" /> | |||
<add key="ElectiveLessonApplyMax" value="2" /> | |||
<!-- 河南对接登录 --> | |||
<add key="appid" value="TZ6RW1DUNIN6C5M88I" /> | |||
<add key="secret" value="55848ef07e0f4e0c991bc8b4426100b2" /> | |||
<add key="redirecturl" value="http://123.6.9.199:6060/Login/SSOLogin" /> | |||
<!-- 深信服ACIp --> | |||
<add key="ACIp" value=""/> | |||
<add key="ACIp2" value=""/> | |||
<add key="ACIp" value="192.168.90.2"/> | |||
<add key="ACIp2" value="192.168.200.252"/> | |||
<!-- 是否强制验证强密码 --> | |||
<add key="verifypwd" value="false"/> | |||
<!--疫情防控组角色Id--> | |||
@@ -160,7 +160,7 @@ | |||
<!--注册教师生成编号 金隅:jy;西昌:xc;大厂:dc--> | |||
<add key="EmpNoRule" value="jy"/> | |||
<!--考勤明细统计时查询的职工编号前缀 大厂:DCZZ--> | |||
<add key="ADR_RecordUserNoPrev" value=""/> | |||
<add key="ADR_RecordUserNoPrev" value="DCZZ"/> | |||
<!--第三方登录跳转地址(最后不加/)--> | |||
<add key="redirect_url" value="http://localhost:20472"/> | |||
<add key="QJUrl" value="www.qj.com"/> | |||
@@ -172,7 +172,9 @@ | |||
<add key="ForbidLoginMinutes" value="10"/> | |||
<!--下发新闻配置--> | |||
<add key="SiteId" value="1"/> | |||
<add key="ChannelId" value="6"/> | |||
<add key="ApiKey" value="fafc361a-40c1-4060-8eee-ea796640c39c"/> | |||
<add key="SiteId" value="39"/> | |||
<add key="ChannelId" value="49"/> | |||
<add key="ApiKey" value="fafc361a-40c1-4060-8eee-ea796640c39c"/> | |||
<add key="Ports" value="192.168.50.127:8007"/> | |||
</appSettings> |
@@ -1,11 +1,5 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<connectionStrings> | |||
<!--本机--> | |||
<!--<add name="BaseDb" connectionString="Server=.;Initial Catalog=adms7ultimate2_塔里木;User ID=sa;Password=123456" providerName="System.Data.SqlClient" /> | |||
<add name="CollegeMIS" connectionString="Server=.;Initial Catalog=NewCollegeMIS_塔里木;User ID=sa;Password=123456" providerName="System.Data.SqlClient" /> | |||
<add name="hangfireString" connectionString="Server=123.57.209.16;Initial Catalog=Hangfire;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||
<add name="paikeDbString" connectionString="Data Source=10.30.0.11;Database=paike;User ID=root;Password=12345678;" providerName="MySql.Data.MySqlClient" />--> | |||
<!--<add name="BaseDb" connectionString="Server=192.168.2.126;Initial Catalog=adms7ultimate2;User ID=sa;Password=bjqj@2015!" providerName="System.Data.SqlClient" /> | |||
<add name="CollegeMIS" connectionString="Server=192.168.2.126;Initial Catalog=CollegeMIS;User ID=sa;Password=bjqj@2015!" providerName="System.Data.SqlClient" />--> | |||
<!--<add name="BaseDb" connectionString="Server=123.57.209.16;Initial Catalog=adms7ultimate2_西昌;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||
@@ -25,8 +19,13 @@ | |||
<add name="CollegeMIS" connectionString="Server=112.45.152.8;Initial Catalog=NewCollegeMIS;User ID=sa;Password=qj@2018" providerName="System.Data.SqlClient" /> | |||
<add name="hangfireString" connectionString="Server=112.45.152.8;Initial Catalog=HangFire;User ID=sa;Password=qj@2018" providerName="System.Data.SqlClient" />--> | |||
<!--塔里木测试--> | |||
<add name="BaseDb" connectionString="Server=123.57.209.16;Initial Catalog=adms7ultimate2_塔里木;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||
<!--<add name="BaseDb" connectionString="Server=123.57.209.16;Initial Catalog=adms7ultimate2_塔里木;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||
<add name="CollegeMIS" connectionString="Server=123.57.209.16;Initial Catalog=CollegeMIS_塔里木;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||
<add name="hangfireString" connectionString="Server=123.57.209.16;Initial Catalog=Hangfire;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||
<add name="paikeDbString" connectionString="Data Source=10.30.0.11;Database=paike;User ID=root;Password=12345678;" providerName="MySql.Data.MySqlClient" /> | |||
<add name="paikeDbString" connectionString="Data Source=10.30.0.11;Database=paike;User ID=root;Password=12345678;" providerName="MySql.Data.MySqlClient" />--> | |||
<!--西昌--> | |||
<add name="BaseDb" connectionString="Server=123.57.209.16;Initial Catalog=adms7ultimate2_娄底;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||
<add name="CollegeMIS" connectionString="Server=123.57.209.16;Initial Catalog=CollegeMIS_娄底;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||
<add name="hangfireString" connectionString="Server=123.57.209.16;Initial Catalog=Hangfire;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||
</connectionStrings> |
@@ -65,7 +65,7 @@ | |||
<add key="userKey" value="14B417B0-463D-4F2B-8075-0A20EEDB773A" /> | |||
<!-- ==================注意附件上传地址 修改到主网站部署目录下的Resource要不然飞星会报错================== --> | |||
<add key="AnnexesFile" value="D:\leiprojects\西昌单校区\Learun.Application.Web\Resource" /> | |||
<add key="AnnexesFile" value="D:\work\DigitalScholl\Learun.Framework.Ultimate V7\Learun.Application.Web\Resource" /> | |||
<add key="ReportFile" value="~/Reports" /> | |||
<!-- ================== 工作流服务地址 ================== --> | |||
<add key="workflowapi" value="http://localhost:8013" /> | |||