Browse Source

合并大厂分支

大厂分支
liangkun 4 years ago
parent
commit
333db3207f
100 changed files with 1330 additions and 357 deletions
  1. +3
    -0
      .gitignore
  2. +79
    -0
      Learun.Framework.Ultimate V7/Doc文档/数字化智慧校园统一身份认证oauth2.0对接说明V1.0.docx
  3. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.IMServer/App.config
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.IMServer/AppStart/Startup.cs
  5. +0
    -102
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/_sgbak/Learun.Application.Mobile.jsproj.51038.2.2020-04-20.17-16-21.9995
  6. +0
    -102
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/_sgbak/Learun.Application.Mobile.jsproj.51038.2.2020-06-08.18-21-40.5401
  7. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www.7z
  8. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-1.png
  9. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-2.png
  10. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-3.png
  11. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-4.png
  12. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-5.png
  13. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-6.png
  14. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter2-1.png
  15. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter2-2.png
  16. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter2-3.png
  17. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter2-4.png
  18. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter2-5.png
  19. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/reportBg.png
  20. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/Ask.js
  21. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Ass_InventoryItemList.js
  22. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Form/form.js
  23. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryList/Ass_InventoryList.js
  24. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemper.css
  25. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemper.html
  26. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemper.js
  27. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/BookBorrow/BookBorrow.css
  28. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/BookBorrow/BookBorrow.html
  29. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/BookBorrow/BookBorrow.js
  30. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.css
  31. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.html
  32. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.js
  33. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpRegister/EmpRegister.js
  34. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeach.css
  35. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeach.html
  36. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeach.js
  37. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeahcers/EvaluationTeahcers.css
  38. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeahcers/EvaluationTeahcers.html
  39. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeahcers/EvaluationTeahcers.js
  40. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/JournalSend.js
  41. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/form/form.js
  42. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterBuilding/form/form.js
  43. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterSchool/form/form.js
  44. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/SYS_ReceiveMessage/SYS_ReceiveMessage.js
  45. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/SYS_ReceiveMessage/form/form.js
  46. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/SchoolCalendar/SchoolCalendar.js
  47. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/SchoolCalendar/form/form.js
  48. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuAttendanceLeave/StuAttendanceLeave.js
  49. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuAttendanceLeave/form/form.js
  50. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuConsumption/StuConsumption.js
  51. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuConsumption/form/form.js
  52. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/StuInfoBasic.css
  53. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/StuInfoBasic.html
  54. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/StuInfoBasic.js
  55. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/PayFee.css
  56. +24
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/PayFee.html
  57. +135
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/PayFee.js
  58. +10
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/form/form.css
  59. +14
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/form/form.html
  60. +161
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/form/form.js
  61. +122
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.css
  62. +34
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.html
  63. +70
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.js
  64. +131
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/StudentLoan/StudentLoan.css
  65. +15
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/StudentLoan/StudentLoan.html
  66. +55
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/StudentLoan/StudentLoan.js
  67. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuMail/StuMail.js
  68. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuMail/form/form.js
  69. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFile.js
  70. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/form/form.js
  71. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/TeachPlan/TeachPlan.js
  72. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/TeachPlan/form/form.js
  73. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Thermography/Thermography.js
  74. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Thermography/form/form.js
  75. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Thermography/measure/measure.js
  76. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LR_OAModule/Notice/Notice.js
  77. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/ListenClassRecord.js
  78. +7
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/form/form.js
  79. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ActivitySchedule/ActivitySchedule.js
  80. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ActivitySchedule/form/form.js
  81. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ClassWork/ClassWork.js
  82. +8
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ClassWork/form/form.js
  83. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/CommunityInfo/CommunityInfo.js
  84. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/CommunityInfo/form/form.js
  85. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/CommunityMember/CommunityMember.js
  86. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/ContactsDetails.js
  87. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/form/form.js
  88. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/DutySchedule/DutySchedule.css
  89. +0
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/DutySchedule/DutySchedule.html
  90. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/DutySchedule/DutySchedule.js
  91. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/EmpRepair/EmpRepair.js
  92. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/EmpRepair/form/form.js
  93. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/EpidemicSituation/EpidemicSituation.js
  94. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/EpidemicSituationCopy/EpidemicSituationCopy.js
  95. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/Schedule/Schedule.js
  96. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/Schedule/form/form.js
  97. +99
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/WelcomNewStudents/ConfirmStudentsCheckIn/ConfirmStudentsCheckIn.css
  98. +8
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/WelcomNewStudents/ConfirmStudentsCheckIn/ConfirmStudentsCheckIn.html
  99. +60
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/WelcomNewStudents/ConfirmStudentsCheckIn/ConfirmStudentsCheckIn.js
  100. +155
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/WelcomNewStudents/ConfirmStudentsCheckIn/form/form.css

+ 3
- 0
.gitignore View File

@@ -76,3 +76,6 @@ typings/
unpackage
Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
/Learun.Framework.Ultimate V7/Learun.Application.Web/Resource/
/Learun.Framework.Ultimate V7/Learun.Application.Mobile/platforms/android/assets/www
/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www.7z
/Learun.Framework.Ultimate V7/Learun.Application.WebApi/bin.7z

+ 79
- 0
Learun.Framework.Ultimate V7/Doc文档/数字化智慧校园统一身份认证oauth2.0对接说明V1.0.docx View File

@@ -0,0 +1,79 @@


数字化智慧校园





统一身份认证oauth2.0
对接说明






V1.0


概述
由于各学校存在N套系统,各系统都存在自己独立的用户登录验证,给使用者造成了许多重复操作,也容易造成帐户密码混乱及丢失的情况。为了低成本的解决以上问题,我公司特开发了基于原系统验证方式、无需统一使用用户库的解决方案。
对接方当前所使用的用户验证体系无需更改,仅需增加数据解密部分代码。
实现逻辑
标准oauth2.0认证。
统一身份认证工作机制说明
第一步,各对接方在数字化智慧校园系统中配置统一身份认证的登录接口地址
我方提供配置UI
测试地址:
http://数字化智慧校园部署地址 / 测试用户名:thirdtest密码:123456
学校内网地址:
依照学校实际地址
系统登录

应用添加

应用配置
此处可以配置修改回调地址既【登录接口地址】和应用私钥【secret】,保存后点击【修改】可以查看【appid】

权限配置
点击人员授权

查看个人应用
点击【进入系统】访问

跳转页面如下图

至此,统一应用端配置完毕。

第二步 获取授权用户信息
接上一步,点击统一认证平台中的【进入系统】后,系统会根据各系统在【应用配置】功能中填写的【登录接口地址】重定向到【登录接口地址】并携带参数appkey,对接方需要获取appkey,并发送请求到授权接口换取当前登录用户信息。

授权接口采用标准Http Get请求方式,appkey有效期为10分钟
请求地址:http:// 数字化智慧校园部署地址/SSOSystem/authorize?appid=APPID&secret=SECRET&appkey=APPKEY
参数说明
参数
是否必须
说明
appid
应用唯一标识
secret
密钥
appkey
统一认证平台重定向携带的appkey参数值

返回成功结果示例:
{
"code": 200,
"info": "响应成功",
"data": {
"useraccount": "user01"
}
}

第三步:获取useraccount并实现系统登录逻辑
使用获取到的useraccount数据进行接入方系统认证操作。

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.IMServer/App.config View File

@@ -29,10 +29,10 @@
</containers>
</unity>-->
<!--数据库-->
<connectionStrings>
<!--<connectionStrings>
<add name="BaseDb" connectionString="Server=192.168.2.126;Initial Catalog=adms7ultimate2;User ID=sa;Password=bjqj@2015!" providerName="System.Data.SqlClient" />

</connectionStrings>
</connectionStrings>-->
<!--系统设置-->
<appSettings>
<!-- ================== 1:开发系统相关配置 ================== -->


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.IMServer/AppStart/Startup.cs View File

@@ -51,7 +51,7 @@ namespace Learun.Application.IMServer
}
catch (TargetInvocationException exception)
{
Console.WriteLine("服务开启失败. 已经有一个服务运行在{0}", SignalRURI);
Console.WriteLine("服务开启失败. 已经有一个服务运行在{0}. 异常信息:{1}", SignalRURI, exception.ToString());
Console.ReadLine();
}
}


+ 0
- 102
Learun.Framework.Ultimate V7/Learun.Application.Mobile/_sgbak/Learun.Application.Mobile.jsproj.51038.2.2020-04-20.17-16-21.9995 View File

@@ -1,102 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Android">
<Configuration>Debug</Configuration>
<Platform>Android</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|iOS">
<Configuration>Debug</Configuration>
<Platform>iOS</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Windows-x64">
<Configuration>Debug</Configuration>
<Platform>Windows-x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Windows-x86">
<Configuration>Debug</Configuration>
<Platform>Windows-x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Windows-ARM">
<Configuration>Debug</Configuration>
<Platform>Windows-ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Android">
<Configuration>Release</Configuration>
<Platform>Android</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|iOS">
<Configuration>Release</Configuration>
<Platform>iOS</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Windows-x64">
<Configuration>Release</Configuration>
<Platform>Windows-x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Windows-x86">
<Configuration>Release</Configuration>
<Platform>Windows-x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Windows-ARM">
<Configuration>Release</Configuration>
<Platform>Windows-ARM</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>b9943e88-bf67-46ec-a4d8-d0c81d5846c4</ProjectGuid>
<SccProjectName>Learun.Application.Mobile</SccProjectName>
<SccProvider>SourceGear Vault Visual Studio 2005 Client:{1EA47954-8515-402d-82D9-B5C332120A8D}</SccProvider>
<SccAuxPath>http://123.57.209.16:8090/VaultService</SccAuxPath>
<SccLocalPath>1~a7250b02-76e9-4d74-aa27-f5cdf7719296</SccLocalPath>
</PropertyGroup>
<ItemGroup>
<ProjectCapability Include="UseFileGlobs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '15.0'">
<VisualStudioVersion>15.0</VisualStudioVersion>
</PropertyGroup>
<PropertyGroup>
<TypeScriptCompileOnSaveEnabled>false</TypeScriptCompileOnSaveEnabled>
<TypeScriptToolsVersion>2.3</TypeScriptToolsVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ApacheCordovaTools\vs-mda-targets\Microsoft.TypeScript.MDA.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets" />
<PropertyGroup>
<ProjectUISubcaption>Tools for Apache Cordova</ProjectUISubcaption>
</PropertyGroup>
<PropertyGroup>
<TargetPlatformIdentifier>MDD</TargetPlatformIdentifier>
</PropertyGroup>
<Target Name="EnsureBuildPrerequisites">
<!-- These errors will trigger if building from inside Visual Studio and requirements could not be determined -->
<Error Condition="$(MDAPropertiesEvaluated) == 'true' And $(NodeJsDir) == ''" Text="Path to NodeJs could not be determined. Please check that NodeJs has been installed." />
<!-- These errors will trigger if building from outside Visual Studio (e.g. command line) and environment variables have not been set -->
<Error Condition="$(MDAPropertiesEvaluated) == '' And $(NodeJsDir) == ''" Text="Path to NodeJs has not been specified. Please check that NodeJs has been installed and set the NodeJsDir environment variable before building." />
<!-- Sanity check that things exist in the specified places. These are more likely to fail if building outside Visual Studio and the required environment variables have not been set, or set incorrectly. -->
<Error Condition="!Exists('$(NodeJsDir)') Or !Exists('$(NodeJsDir)\node.exe')" Text="The specified NodeJs directory $(NodeJsDir) either does not exist, or does not contain node.exe. Please check that NodeJs has been installed, and set the NodeJsDir variable to the correct directory." />
</Target>
<ProjectExtensions>
<VisualStudio>
<UserProperties />
</VisualStudio>
</ProjectExtensions>
<PropertyGroup>
<!-- Customize which folders are not shown by default -->
<ExcludedItems>bin;bld;platforms;node_modules;simulation;plugins</ExcludedItems>
</PropertyGroup>
<ItemGroup>
<Content Include="**\**" Exclude="**\platforms\**;**\bin\**;**\bld\**;**\node_modules\**;**\simulation\**;**\plugins\**;.gitignore;Learun.Application.Mobile.*" />
</ItemGroup>
<ItemGroup>
<Content Update=".vs\config\applicationhost.config">
<SubType>Designer</SubType>
</Content>
<Content Update="config.xml">
<SubType>Designer</SubType>
</Content>
</ItemGroup>
<ItemGroup>
<Service Include="{4a0dddb5-7a95-4fbf-97cc-616d07737a77}" />
</ItemGroup>
</Project>

+ 0
- 102
Learun.Framework.Ultimate V7/Learun.Application.Mobile/_sgbak/Learun.Application.Mobile.jsproj.51038.2.2020-06-08.18-21-40.5401 View File

@@ -1,102 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Android">
<Configuration>Debug</Configuration>
<Platform>Android</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|iOS">
<Configuration>Debug</Configuration>
<Platform>iOS</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Windows-x64">
<Configuration>Debug</Configuration>
<Platform>Windows-x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Windows-x86">
<Configuration>Debug</Configuration>
<Platform>Windows-x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Windows-ARM">
<Configuration>Debug</Configuration>
<Platform>Windows-ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Android">
<Configuration>Release</Configuration>
<Platform>Android</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|iOS">
<Configuration>Release</Configuration>
<Platform>iOS</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Windows-x64">
<Configuration>Release</Configuration>
<Platform>Windows-x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Windows-x86">
<Configuration>Release</Configuration>
<Platform>Windows-x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Windows-ARM">
<Configuration>Release</Configuration>
<Platform>Windows-ARM</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>b9943e88-bf67-46ec-a4d8-d0c81d5846c4</ProjectGuid>
<SccProjectName>Learun.Application.Mobile</SccProjectName>
<SccProvider>SourceGear Vault Visual Studio 2005 Client:{1EA47954-8515-402d-82D9-B5C332120A8D}</SccProvider>
<SccAuxPath>http://123.57.209.16:8090/VaultService</SccAuxPath>
<SccLocalPath>1~a7250b02-76e9-4d74-aa27-f5cdf7719296</SccLocalPath>
</PropertyGroup>
<ItemGroup>
<ProjectCapability Include="UseFileGlobs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '15.0'">
<VisualStudioVersion>15.0</VisualStudioVersion>
</PropertyGroup>
<PropertyGroup>
<TypeScriptCompileOnSaveEnabled>false</TypeScriptCompileOnSaveEnabled>
<TypeScriptToolsVersion>2.3</TypeScriptToolsVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ApacheCordovaTools\vs-mda-targets\Microsoft.TypeScript.MDA.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets" />
<PropertyGroup>
<ProjectUISubcaption>Tools for Apache Cordova</ProjectUISubcaption>
</PropertyGroup>
<PropertyGroup>
<TargetPlatformIdentifier>MDD</TargetPlatformIdentifier>
</PropertyGroup>
<Target Name="EnsureBuildPrerequisites">
<!-- These errors will trigger if building from inside Visual Studio and requirements could not be determined -->
<Error Condition="$(MDAPropertiesEvaluated) == 'true' And $(NodeJsDir) == ''" Text="Path to NodeJs could not be determined. Please check that NodeJs has been installed." />
<!-- These errors will trigger if building from outside Visual Studio (e.g. command line) and environment variables have not been set -->
<Error Condition="$(MDAPropertiesEvaluated) == '' And $(NodeJsDir) == ''" Text="Path to NodeJs has not been specified. Please check that NodeJs has been installed and set the NodeJsDir environment variable before building." />
<!-- Sanity check that things exist in the specified places. These are more likely to fail if building outside Visual Studio and the required environment variables have not been set, or set incorrectly. -->
<Error Condition="!Exists('$(NodeJsDir)') Or !Exists('$(NodeJsDir)\node.exe')" Text="The specified NodeJs directory $(NodeJsDir) either does not exist, or does not contain node.exe. Please check that NodeJs has been installed, and set the NodeJsDir variable to the correct directory." />
</Target>
<ProjectExtensions>
<VisualStudio>
<UserProperties />
</VisualStudio>
</ProjectExtensions>
<PropertyGroup>
<!-- Customize which folders are not shown by default -->
<ExcludedItems>bin;bld;platforms;node_modules;simulation;plugins</ExcludedItems>
</PropertyGroup>
<ItemGroup>
<Content Include="**\**" Exclude="**\platforms\**;**\bin\**;**\bld\**;**\node_modules\**;**\simulation\**;**\plugins\**;.gitignore;Learun.Application.Mobile.*" />
</ItemGroup>
<ItemGroup>
<Content Update=".vs\config\applicationhost.config">
<SubType>Designer</SubType>
</Content>
<Content Update="config.xml">
<SubType>Designer</SubType>
</Content>
</ItemGroup>
<ItemGroup>
<Service Include="{4a0dddb5-7a95-4fbf-97cc-616d07737a77}" />
</ItemGroup>
</Project>

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www.7z View File


BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-1.png View File

Before After
Width: 57  |  Height: 71  |  Size: 3.5 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-2.png View File

Before After
Width: 57  |  Height: 71  |  Size: 2.9 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-3.png View File

Before After
Width: 57  |  Height: 71  |  Size: 3.9 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-4.png View File

Before After
Width: 57  |  Height: 71  |  Size: 4.1 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-5.png View File

Before After
Width: 57  |  Height: 71  |  Size: 4.4 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter1-6.png View File

Before After
Width: 51  |  Height: 57  |  Size: 2.4 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter2-1.png View File

Before After
Width: 57  |  Height: 71  |  Size: 3.3 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter2-2.png View File

Before After
Width: 57  |  Height: 71  |  Size: 2.9 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter2-3.png View File

Before After
Width: 57  |  Height: 71  |  Size: 3.8 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter2-4.png View File

Before After
Width: 57  |  Height: 71  |  Size: 4.0 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/enter2-5.png View File

Before After
Width: 57  |  Height: 71  |  Size: 4.3 KiB

BIN
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/images/reportBg.png View File

Before After
Width: 750  |  Height: 425  |  Size: 60 KiB

+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/Ask.js View File

@@ -43,7 +43,7 @@
callback(data.rows, parseInt(data.records));
}
else {
callback([], 0);
callback([], 2);
}
});
},
@@ -57,15 +57,15 @@
_$item.append($('<p class="lr-ellipsis"><span>考核学期:</span></p>').dataFormatter({ value: _item.Semester }));
_$item.append($('<p class="lr-ellipsis"><span>考核评分:</span></p>').dataFormatter({ value: _item.TotalScore }));
_$item.append($('<p class="lr-ellipsis"><span>提交时间:</span></p>').dataFormatter({ value: _item.CreateDate }));
_$item.append($('<p class="lr-ellipsis"><span>是否交卷:</span></p>').dataFormatter({ value: (_item.IsAnswer != undefined && _item.IsAnswer ===true) ? "已交" : "未交" }));
_$item.append($('<p class="lr-ellipsis"><span>是否交卷:</span></p>').dataFormatter({ value: (_item.IsAnswer != undefined && _item.IsAnswer === true) ? "已交" : "未交" }));
return '';
},
rowClick: function (item, $item, $page) {// 列表行点击触发方法
if (item.IsAnswer === true || item.IsAnswer==='true') {
if (item.IsAnswer === true || item.IsAnswer === 'true') {
learun.layer.warning("当前项目已交卷!");
return;
}
learun.nav.go({ path: 'Ask/AskPaper', title: '开始答卷', type: 'right', param: { VID: item.VID} });
learun.nav.go({ path: 'Ask/AskPaper', title: '开始答卷', type: 'right', param: { VID: item.VID } });
},
btnClick: function (item, $item, $page) {// 左滑按钮点击事件
if (item.IsAnswer === false || item.IsAnswer === 'false') {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Ass_InventoryItemList.js View File

@@ -201,7 +201,7 @@
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Form/form.js View File

@@ -72,7 +72,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryList/Ass_InventoryList.js View File

@@ -82,7 +82,7 @@
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/ArrangeLessonTermAttemper/ArrangeLessonTermAttemper.css → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemper.css View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/ArrangeLessonTermAttemper/ArrangeLessonTermAttemper.html → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemper.html View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/ArrangeLessonTermAttemper/ArrangeLessonTermAttemper.js → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemper.js View File

@@ -53,7 +53,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/EducationalAdministration/ArrangeLessonTermAttemper/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/ArrangeLessonTermAttemper/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);

Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/BookBorrow/BookBorrow.css → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/BookBorrow/BookBorrow.css View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/BookBorrow/BookBorrow.html → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/BookBorrow/BookBorrow.html View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/BookBorrow/BookBorrow.js → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/BookBorrow/BookBorrow.js View File

@@ -64,7 +64,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/EducationalAdministration/BookBorrow/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/BookBorrow/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -98,14 +98,14 @@
// learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
// if (_index === '1') {
// learun.layer.loading(true, '正在删除该笔数据');
// learun.httppost(config.webapi + 'learun/EducationalAdministration/BookBorrow/delete', item.ID, (data) => {
// learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/BookBorrow/delete', item.ID, (data) => {
// if (data) {// 删除数据成功
// page.grid.reload();
// }
// learun.layer.loading(false);
// });
// }
// }, 'Learun智慧校园提示', ['取消', '确定']);
// }, '智慧校园提示', ['取消', '确定']);
//},
//rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};

Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/form/form.css → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.css View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/form/form.html → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.html View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/form/form.js → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.js View File

@@ -94,7 +94,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/EmpRegister/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/EmpRegister/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -122,7 +122,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/EducationalAdministration/EmpRegister/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/EmpRegister/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpRegister/EmpRegister.js View File

@@ -32,7 +32,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EvaluationTeach/EvaluationTeach.css → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeach.css View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EvaluationTeach/EvaluationTeach.html → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeach.html View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EvaluationTeach/EvaluationTeach.js → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeach.js View File

@@ -36,7 +36,7 @@
if (param.multipleData) {
_postParam.queryJson = JSON.stringify(multipleData);
}
learun.httpget(config.webapi + '/learun/eval/studentlist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/eval/studentlist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -61,14 +61,14 @@
learun.layer.warning("当前项目已评教!");
return;
}
learun.nav.go({ path: 'EvaluationTeach/EvaluationTeahcers', title: '评价教师', type: 'right', param: { VID: item.VID, EmpNo: item.EmpNo, LessonNo: item.LessonNo } });
learun.nav.go({ path: 'EducationalAdministration/EvaluationTeach/EvaluationTeahcers', title: '评价教师', type: 'right', param: { VID: item.VID, EmpNo: item.EmpNo, LessonNo: item.LessonNo } });
},
btnClick: function (item, $item, $page) {// 左滑按钮点击事件
if (item.UID == undefined || item.UID === '') {
learun.layer.warning("当前项目未评教!");
return;
}
learun.nav.go({ path: 'EvaluationTeach/EvaluationTeahcers', title: '评价教师', type: 'right', param: { VID: item.VID, StuNo: item.StuNo } });
learun.nav.go({ path: 'EducationalAdministration/EvaluationTeach/EvaluationTeahcers', title: '评价教师', type: 'right', param: { VID: item.VID, StuNo: item.StuNo } });
},
rowBtns: ['<a class="lr-btn-success">查看</a>'] // 列表行左滑按钮
};

Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EvaluationTeach/EvaluationTeahcers/EvaluationTeahcers.css → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeahcers/EvaluationTeahcers.css View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EvaluationTeach/EvaluationTeahcers/EvaluationTeahcers.html → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeahcers/EvaluationTeahcers.html View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EvaluationTeach/EvaluationTeahcers/EvaluationTeahcers.js → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EvaluationTeach/EvaluationTeahcers/EvaluationTeahcers.js View File

@@ -4,7 +4,7 @@
init: function($page, param) {
var path = config.webapi;
learun.layer.loading(true, "加载数据中...");
learun.httpget(path + "/learun/eval/paper", {
learun.httpget(path + "learun/adms/eval/paper", {
VID: param.VID
}, (res) => {
learun.layer.loading(false);
@@ -92,7 +92,7 @@
return
}
// return
learun.httpget(path + "/learun/eval/savepaper",
learun.httpget(path + "learun/adms/eval/savepaper",
{
VID: param.VID,
LessonNo: param.LessonNo,

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/JournalSend.js View File

@@ -71,7 +71,7 @@
_postParam.queryJson = JSON.stringify({ userId: baseUser.baseinfo.userId });

console.log(baseUser);
learun.httpget(config.webapi + 'learun/EducationalAdministration/Journal/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/Journal/pagelist', _postParam, (data) => {

$page.find('.lr-badge').text('0');
if (data) {
@@ -109,7 +109,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/Journal/delete', item.JournalSendId, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/Journal/delete', item.JournalSendId, (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/form/form.js View File

@@ -61,7 +61,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/Journal/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/Journal/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/Journal/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/Journal/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -119,7 +119,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/Journal/saveDraft', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/Journal/saveDraft', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -146,7 +146,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/EducationalAdministration/Journal/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/Journal/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterBuilding/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterSchool/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/SYS_ReceiveMessage/SYS_ReceiveMessage.js View File

@@ -61,7 +61,7 @@
var baseUser = JSON.parse(localStorage.userinfo);
_postParam.queryJson = JSON.stringify({ userId: baseUser.baseinfo.userId });
console.log(_postParam);
learun.httpget(config.webapi + 'learun/EducationalAdministration/SYS_ReceiveMessage/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/SYS_ReceiveMessage/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -91,14 +91,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/SYS_ReceiveMessage/delete', item.MESSAGEID, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/SYS_ReceiveMessage/delete', item.MESSAGEID, (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/SYS_ReceiveMessage/form/form.js View File

@@ -53,7 +53,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/SYS_ReceiveMessage/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/SYS_ReceiveMessage/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -80,7 +80,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/SYS_ReceiveMessage/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/SYS_ReceiveMessage/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -107,7 +107,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/EducationalAdministration/SYS_ReceiveMessage/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/SYS_ReceiveMessage/form', keyValue, (data) => {
console.log(data);
console.log(data.SYS_ReceiveMessage.URL);
$("#URL").attr("href", config.web + data.SYS_ReceiveMessage.URL);


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/SchoolCalendar/SchoolCalendar.js View File

@@ -103,7 +103,7 @@
learun.layer.loading(false);
});
}
}, 'Learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/SchoolCalendar/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuAttendanceLeave/StuAttendanceLeave.js View File

@@ -55,7 +55,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/EducationalAdministration/StuAttendanceLeave/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/StuAttendanceLeave/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -95,14 +95,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/StuAttendanceLeave/delete', item.ID, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/StuAttendanceLeave/delete', item.ID, (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuAttendanceLeave/form/form.js View File

@@ -61,7 +61,7 @@
// learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
// if (_index === '1') {
// learun.layer.loading(true, '正在删除该笔数据');
// learun.httppost(config.webapi + 'learun/EducationalAdministration/StuAttendanceLeave/delete', keyValue, (data) => {
// learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/StuAttendanceLeave/delete', keyValue, (data) => {
// learun.layer.loading(false);
// if (data) {// 删除数据成功
// learun.nav.closeCurrent();
@@ -70,7 +70,7 @@
// }
// });
// }
// }, 'Learun敏捷框架提示', ['取消', '确定']);
// }, '智慧校园提示', ['取消', '确定']);
// }
// }
// ],
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/StuAttendanceLeave/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/StuAttendanceLeave/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -116,7 +116,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/EducationalAdministration/StuAttendanceLeave/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/StuAttendanceLeave/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuConsumption/StuConsumption.js View File

@@ -130,7 +130,7 @@
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuConsumption/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/form/form.css → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/StuInfoBasic.css View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/form/form.html → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/StuInfoBasic.html View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/form/form.js → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/StuInfoBasic.js View File

@@ -76,7 +76,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/StuInfoBasic/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/StuInfoBasic/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -85,7 +85,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],
@@ -103,7 +103,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/StuInfoBasic/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/StuInfoBasic/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -131,7 +131,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/EducationalAdministration/StuInfoBasic/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/StuInfoBasic/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/PayFee.css View File

@@ -0,0 +1 @@


+ 24
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/PayFee.html View File

@@ -0,0 +1,24 @@
<div class="lr-page lr-StuInfoFreshPayFee-page">
<div class="lr-page-tool">
<div class="lr-tool-left">
总共<span class="lr-badge lr-badge-primary">0</span>条
</div>
<div class="lr-tool-right">
<div class="lr-tool-right-btn lr_multiple_search">
<i class="iconfont icon-searchlist"></i>
<div class="lr-tool-right-btn-content lr-form-container">
<div class="lr-form-row">
<label>学号</label>
<input id="StuNo" type="text">
</div>
<div class="lr-form-row">
<label>学生姓名</label>
<input id="StuName" type="text">
</div>
</div>
</div>
</div>
</div>
<div class="lr-page-content" id="lr_StuInfoFreshPayFee_list"></div>
</div>

+ 135
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/PayFee.js View File

@@ -0,0 +1,135 @@
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn)
* Copyright (c) 2013-2018 北京泉江科技有限公司
* 创建人:超级管理员
* 日 期:2019-12-26 14:43
* 描 述:新生缴费管理
*/
(function () {
var begin = '';
var end = '';
var multipleData = null;
var page = {
grid: null,
init: function ($page) {
begin = '';
end = '';
multipleData = null;
page.grid = $page.find('#lr_StuInfoFreshPayFee_list').lrpagination({
lclass: page.lclass,
rows: 10, // 每页行数
getData: function (param, callback) {// 获取数据 param 分页参数,callback 异步回调
param.multipleData = multipleData;
page.loadData(param, callback, $page);
},
renderData: function (_index, _item, _$item) {// 渲染数据模板
return page.rowRender(_index, _item, _$item, $page);
},
click: function (item, $item, $et) {// 列表行点击事件
if ($et.hasClass('lr-btn-danger')) {
page.btnClick(item, $item, $page);
}
else {
page.rowClick(item, $item, $page);
}
},
btns: page.rowBtns
});
// 多条件查询
var $multiple = $page.find('.lr_multiple_search').multiplequery({
callback: function (data) {
begin = '';
end = '';
multipleData = data || {};
//multipleData.EmpNo = learun.storage.get('userinfo').baseinfo.account;
page.grid.reload();
}
});
//$multiple.find('#ClassNo').lrpickerex({
// type: 'sourceData',
// code: 'bjsj',
// ivalue:'classno',
// itext:'classname'
//});
},
lclass: 'lr-list',
loadData: function (param, callback, $page) {// 列表加载后台数据
var empno = {
//EmpNo: learun.storage.get('userinfo').baseinfo.account
};
var _postParam = {
pagination: {
rows: param.rows,
page: param.page,
sidx: 'ClassNo,StuNo',
sord: 'ASC'
},
queryJson: JSON.stringify(empno)
};
if (param.multipleData) {
_postParam.queryJson = JSON.stringify(multipleData);
}
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'StuInfoFresh/pageList', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
callback(data.rows, parseInt(data.records));
}
else {
callback([], 0);
}
});
},
rowRender: function (_index, _item, _$item, $page) {// 渲染列表行数据
_$item.addClass('lr-list-item lr-list-item-multi');
_$item.append($('<p class="lr-ellipsis"><span>学号:</span></p>').dataFormatter({ value: _item.StuNo }));
_$item.append($('<p class="lr-ellipsis"><span>姓名:</span></p>').dataFormatter({ value: _item.StuName }));
_$item.append($('<p class="lr-ellipsis"><span>班级:</span></p>').dataFormatter({
value: _item.ClassNo,
type: 'dataSource',
code: 'bjsj',
keyId: 'classno',
text: 'classname'
}));
_$item.append($('<p class="lr-ellipsis"><span>线上缴费状态:</span></p>').dataFormatter({
value: _item.PayFeeStatus == "1" ? "已缴费" : "未缴费"
//type: 'dataItem',
//code: 'PayStatus'
}));
//_$item.append($('<p class="lr-ellipsis"><span>线上缴费时间:</span></p>').dataFormatter({
// value: _item.PayFeeDate,
// type: 'datetime',
// dateformat: 'yyyy-MM-dd hh:mm:ss'
//}));
_$item.append($('<p class="lr-ellipsis"><span>贷款回执码:</span></p>').dataFormatter({ value: _item.StudentLoan }));
_$item.append($('<p class="lr-ellipsis"><span>助学贷款状态:</span></p>').dataFormatter({ value: _item.StudentLoanStatus == "1" ? "已审核" : "未审核" }));
_$item.append($('<p class="lr-ellipsis"><span>现场缴费状态:</span></p>').dataFormatter({
value: _item.OnsitePayFeeStatus,
type: 'dataItem',
code: 'OnsitePayStatus'
}));

return '';
},
rowClick: function (item, $item, $page) {// 列表行点击触发方法
learun.nav.go({ path: 'EducationalAdministration/StuInfoFresh/PayFee/form', title: '缴费详情', type: 'right', param: { keyValue: item.ID } });
},
//btnClick: function (item, $item, $page) {// 左滑按钮点击事件
// learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
// if (_index === '1') {
// learun.layer.loading(true, '正在删除该笔数据');
// learun.httppost(config.webapi + 'learun/PersonnelManagement/ClassWork/delete', item.Id, (data) => {
// if (data) {// 删除数据成功
// page.grid.reload();
// }
// learun.layer.loading(false);
// });
// }
// }, '智慧校园提示', ['取消', '确定']);
//},
//rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};
return page;
})();

+ 10
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/form/form.css View File

@@ -0,0 +1,10 @@
.lr-form-container .lr-form-row {
padding-left: 100px;
}

.lr-form-row label {
width: 100px;
}
#StudentLoan[readonly='readonly']{
background-color:#eee;
}

+ 14
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/form/form.html View File

@@ -0,0 +1,14 @@
<div class="lr-form-container">
<div class="lr-form-row " data-table="StuInfoFresh">
<label>线上缴费状态</label>
<div id="PayFeeStatus"></div>
</div>
<div class="lr-form-row " data-table="StuInfoFresh">
<label>贷款回执码</label>
<input id="StudentLoan" type="text" />
</div>
<div class="lr-form-row " data-table="StuInfoFresh">
<label>现场缴费状态</label>
<div id="OnsitePayFeeStatus"></div>
</div>
</div>

+ 161
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/form/form.js View File

@@ -0,0 +1,161 @@
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn)
* Copyright (c) 2013-2018 北京泉江科技有限公司
* 创建人:超级管理员
* 日 期:2019-12-26 14:43
* 描 述:新生缴费管理
*/
(function () {
var keyValue = '';
var $header = null;
var titleText = '';
var page = {
isScroll: true,
init: function ($page, param) {
keyValue = param.keyValue;
// 添加头部按钮列表
var _html = '\
<div class="lr-form-header-cancel" >取消</div>\
<div class="lr-form-header-btnlist" >\
<div class="lr-form-header-edit" ><i class="iconfont icon-edit" ></i></div>\
</div>\
<div class="lr-form-header-submit" >提交</div>';
$header = $page.parents('.f-page').find('.f-page-header');
$header.append(_html);
// 取消
$header.find('.lr-form-header-cancel').on('tap', function () {
learun.layer.confirm('确定要退出当前编辑?', function (_index) {
if (_index === '1') {
if (keyValue) {// 如果是编辑状态
learun.formblur();
$header.find('.lr-form-header-cancel').hide();
$header.find('.lr-form-header-submit').hide();
$header.find('.lr-form-header-btnlist').show();
$header.find('.f-page-title').text(titleText);
$page.find('.lr-form-container').setFormRead();
}
else {// 如果是新增状态 关闭当前页面
learun.nav.closeCurrent();
}
}
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
$header.find('.lr-form-header-btnlist').hide();
$header.find('.lr-form-header-cancel').show();
$header.find('.lr-form-header-submit').show();
titleText = $header.find('.f-page-title').text();
$header.find('.f-page-title').text('编辑');
$page.find('.lr-form-container').setFormWrite();
});
// 更多
//$header.find('.lr-form-header-more').on('tap', function () {
// learun.actionsheet({
// id: 'more',
// data: [
// {
// text: '删除',
// mark: true,
// event: function () {// 删除当前条信息
// learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
// if (_index === '1') {
// learun.layer.loading(true, '正在删除该笔数据');
// learun.httppost(config.webapi + 'learun/PersonnelManagement/ClassWork/delete', keyValue, (data) => {
// learun.layer.loading(false);
// if (data) {// 删除数据成功
// learun.nav.closeCurrent();
// var prepage = learun.nav.getpage('PersonnelManagement/ClassWork');
// prepage.grid.reload();
// }
// });
// }
// }, '智慧校园提示', ['取消', '确定']);
// }
// }
// ],
// cancel: function () {
// }
// });
//});
// 提交
$header.find('.lr-form-header-submit').on('tap', function () {
// 获取表单数据
if (!$page.find('.lr-form-container').lrformValid()) {
return false;
}
var data = $page.find('.lr-form-container').lrformGet();
data.StudentLoanStatus = "0";
if ($('#StudentLoan').val().trim() != null && $('#StudentLoan').val().trim() != "" && $('#StudentLoan').val().trim() != undefined) {
data.StudentLoanStatus = "1";
}
var _postData = {}
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify(data);
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'StuInfoFresh/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
learun.layer.toast('保存数据成功!');
learun.formblur();
$header.find('.lr-form-header-cancel').hide();
$header.find('.lr-form-header-submit').hide();
$header.find('.lr-form-header-btnlist').show();
$header.find('.f-page-title').text(titleText);
$page.find('.lr-form-container').setFormRead();
}
else {// 如果是
learun.nav.closeCurrent();
}
var prepage = learun.nav.getpage('/EducationalAdministration/StuInfoFresh/PayFee');
prepage.grid.reload();
}
});
});
page.bind($page, param);
if (keyValue) {
// 添加编辑按钮
$page.find('.lr-form-container').setFormRead();
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'StuInfoFresh/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {
$page.find('#' + id).lrgridSet(data[id]);
}
else {
$page.find('[data-table="' + id + '"]').lrformSet(data[id]);
}
if (data[id].StudentLoanStatus == "1") {
$page.find("#StudentLoan").attr("readonly", "readonly");
} else {
$page.find("#StudentLoan").removeAttr("readonly");
}
}
}
learun.layer.loading(false);
});
}
else {
$header.find('.lr-form-header-cancel').show();
$header.find('.lr-form-header-submit').show();
}
},
bind: function ($page, param) {
$page.find('#PayFeeStatus').lrpickerex({
type: 'dataItem',
code: 'PayStatus'
}).lrpickerSet(0);
$page.find('#OnsitePayFeeStatus').lrpickerex({
type: 'dataItem',
code: 'OnsitePayStatus'
}).lrpickerSet(0);
}, destroy: function (pageinfo) {
$header = null;
keyValue = '';
}
};
return page;
})();

+ 122
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.css View File

@@ -0,0 +1,122 @@
#sQrCode {
height: 100%;
background-color: #EEF2F3;
padding-bottom: 30px;
}

.sTabBox {
line-height: 24px;
text-align: center;
margin-bottom: 18px;
color: #333;
}

.sTabBox div {
display: inline-block;
width: 80px;
background-color: rgba(255, 255, 255, .7);
margin: 0 5px;
font-size: 14px;
border-radius: 2px;
}

.sQrLogo {
background-image: url(images/reportBg.png);
background-size: 100% 100%;
text-align: center;
line-height: 0;
padding: 20px 0 70px;
}

.sQrLogoImg1 img {
width: 20%;
}

.sQrLogoImg1 {
margin-bottom: 10px;
}

.sQrLogoImg2 img {
width: 50%;
}

.sQrBox {
margin: -50px 20px 0;
background-color: #fff;
padding: 30px 38px;
border-radius: 10px;
-webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
-moz-box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

.sQrT {
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 20px;
color: #000;
}

.sQrList {
background-color: #F8F8F8;
margin: 0 -15px;
padding: 10px 30px;
border-radius: 4px
}

.sQrList div {
padding: 7px 10px;
font-size: 14px;
color: #000;
border-top: 1px solid #D7D7D7;
}

.sQrList div:first-child {
border: 0;
}

.sQrList div span {
color: #AEAEAE;
margin-right: 10px;
}

.sQrImg {
width: 145px;
height: 145px;
line-height: 0;
margin: 20px auto;
}

.sQrImg img {
width: 100%;
}

.sQrTxt {
margin-bottom: 10px;
text-align: center;
font-size: 16px;
font-weight: bold;
color: #AEAEAE;
}

.sQrText {
font-size: 12px;
color: #AEAEAE;
overflow: hidden;
margin: 15px -15px 0;
}
.sQrText div{
float: left;
padding: 0 5px;
}
.sQrText div:first-child{
width: 45%;
}
.sQrText div:last-child{
width: 55%;
}
.sQrText span{
color: #000;
margin-left: 5px;
}

+ 34
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.html View File

@@ -0,0 +1,34 @@
<div class="lr-form-container" id="sQrCode">
<div class="sQrCode">
<div class="sQrLogo">
<!-- <div class="sTabBox">
<div id="aa">正常</div>
<div id="bb">异常微弱</div>
<div id="cc">异常严重</div>
</div> -->
<div class="sQrLogoImg1"><img src="images/logoXc.png" alt=""></div>
<div class="sQrLogoImg2"><img src="images/logoXcTxt.png" alt=""></div>
</div>
<div class="sQrBox">
<div class="sQrT">新生报到二维码</div>
<div class="sQrList">
<div><span>姓名</span><strong></strong></div>
<div><span>系别</span><strong></strong></div>
<div><span>专业</span><strong></strong></div>
<div><span>班级</span><strong></strong></div>
<div><span>教室</span><strong></strong></div>
</div>
<div class="sQrText">
<div>班主任姓名 <span></span></div>
<div>班主任电话 <span></span></div>
</div>
<div class="sQrText">
<div>辅导员姓名 <span></span></div>
<div>辅导员电话 <span></span></div>
</div>
<div id="lr_mycode_qrcode" class="sQrImg"></div>
<div class="sQrTxt">请持报到二维码到对应教室找班主任、辅导员扫描完成报到。</div>
<!-- <div class="sQrText">请持报到二维码到对应教室找班主任、辅导员扫描完成报到。</div> -->
</div>
</div>
</div>

+ 70
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.js View File

@@ -0,0 +1,70 @@
(function () {
var colDataItemArr = ['GenderNo'];
var colDataItemCode = ['usersex'];

var page = {
isScroll: true,
init: function ($page) {
// 获取登录者信息
var userinfo = learun.storage.get('userinfo');

//数据绑定
learun.layer.loading(true, '获取数据中');
learun.httpget(config.webapi + "StuInfoFresh/stuInfoFreshEntity", userinfo.baseinfo.account, (data) => {
if (data) {
//判断是否显示报到二维码:未确认报到,且已完善信息,且缴费三有一;
var entity = data["StuInfoFreshEntity"];
if (entity.RegisterStatus == "1") {
learun.layer.loading(false);
learun.layer.confirm('新生已确认报到!', function (_index) {
learun.nav.closeCurrent();
}, '智慧校园提示', ['确定']);
return false;
}
if (entity.IsCompleteInfo == "未完善") {
learun.layer.loading(false);
learun.layer.confirm('新生未完善个人信息,无法报到!', function (_index) {
learun.nav.closeCurrent();
}, '智慧校园提示', ['确定']);
return false;
}
if (entity.PayFeeStatus != "1" && entity.StudentLoanStatus != "1" && entity.OnsitePayFeeStatus != "1") {
learun.layer.loading(false);
learun.layer.confirm('新生未缴费,无法报到!', function (_index) {
learun.nav.closeCurrent();
}, '智慧校园提示', ['确定']);
return false;
}

//学生
$('.sQrList strong').eq(0).html(data.StuInfoFreshEntity.StuName);
$('.sQrList strong').eq(1).html(data.StuInfoFreshEntity.DeptNo);
$('.sQrList strong').eq(2).html(data.StuInfoFreshEntity.MajorNo);
$('.sQrList strong').eq(3).html(data.StuInfoFreshEntity.ClassNo);
$('.sQrList strong').eq(4).html(data.StuInfoFreshEntity.DefaultClassRoomName);
//班主任
$('.sQrText span').eq(0).html(data.StuInfoFreshEntity.ClassDiredctorName != null ? data.StuInfoFreshEntity.ClassDiredctorName.slice(0, 1) + "老师" : "");
$('.sQrText span').eq(1).html(data.StuInfoFreshEntity.ClassDiredctorMobile);
//辅导员
$('.sQrText span').eq(2).html(data.StuInfoFreshEntity.ClassTutorName != null ? data.StuInfoFreshEntity.ClassTutorName.slice(0, 1) + "老师" : "");
$('.sQrText span').eq(3).html(data.StuInfoFreshEntity.ClassTutorMobile);
//二维码
learun.code.encode({ id: 'lr_mycode_qrcode', text: data.StuInfoFreshEntity.StuNo });



learun.layer.loading(false);
}

});


},
bind: function ($page) {

}
};


return page;
})();

+ 131
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/StudentLoan/StudentLoan.css View File

@@ -0,0 +1,131 @@

.welcome {
padding: 1px 12px 20px;
background: #fff;
}

.welT {
font-size: 16px;
margin-bottom: 10px;
line-height: 26px;
}

.welT i {
width: 26px;
height: 26px;
line-height: 24px;
border: 1px solid #efefef;
border-radius: 4px;
float: right;
text-align: center;
color: #999;
}

.welLine {
height: 1px;
background: #efefef;
margin: 10px -12px;
}

.welText {
overflow: hidden;
font-size: 14px;
margin-top: 5px;
}

.welText span {
float: right;
width: 60%;
text-align: right;
}

.welInput {
overflow: hidden;
font-size: 14px;
margin-top: 10px;
}

.welInput span {
float: left;
width: 26%;
text-align: right;
line-height: 30px;
}

.welInput input {
display: block;
margin-left: 28%;
width: 72%;
border: 1px solid #efefef;
border-radius: 4px;
height: 30px;
line-height: 28px;
padding: 0 10px;
margin-bottom: 0;
}

.welCon {
padding: 10px;
border: 1px solid #efefef;
margin-top: 18px;
border-radius: 4px;
position: relative;
}

.welDel {
position: absolute;
top: -8px;
left: -8px;
background: #fff;
}

.welDel i {
text-align: center;
width: 26px;
height: 26px;
display: block;
line-height: 24px;
border: 1px solid #efefef;
border-radius: 50%;
}

.welImgAdd {
text-align: center;
line-height: 0;
}

#files {
opacity: 0;
-webkit-opacity: 0;
z-index: 9;
display: none;
}

#welImgBtn {
display: block;
width: 110px;
height: 30px;
text-align: center;
line-height: 26px;
border: 2px solid #efefef;
border-radius: 4px;
font-size: 14px;
color: #999;
margin: 10px auto;
cursor: pointer;
}

#PhotoImg {
width: 110px;
}

.btnBox {
margin-top: 30px;
text-align: center;
}

#saveBtn {
margin: auto;
margin-top: 25px;
width: 92%;
}

+ 15
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/StudentLoan/StudentLoan.html View File

@@ -0,0 +1,15 @@
<div class="welcome">
<div class="welBox">
<div class="welInput">
<span>贷款回执码</span>
<input id="ID" type="hidden"/>
<input id="StudentLoan" type="text" placeholder="请填写贷款回执码" value=""/>
</div>
</div>
<div class="welLine"></div>
<div class="btnBox">
<button id="saveBtn" type="button" class="lr-btn-primary lr-btn-block">保存</button>
</div>
</div>

+ 55
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/StudentLoan/StudentLoan.js View File

@@ -0,0 +1,55 @@
(function () {
var page = {
isScroll: false,
init: function ($page) {
//数据绑定
learun.layer.loading(true, '获取数据中');
learun.httpget(config.webapi + "StuInfoFresh/stuInfoFresh", {}, (data) => {
if (data) {
for (var id in data) {
if (id == "StuInfoFreshEntity") {
$page.find("#ID").val(data[id].ID);
$page.find("#StudentLoan").val(data[id].StudentLoan);
if (data[id].StudentLoanStatus == "1") {
learun.layer.loading(false);
learun.layer.confirm('新生助学贷款已审核!', function (_index) {
learun.nav.closeCurrent();
}, '智慧校园提示', ['确定']);
return false;
}
}
}
page.bind($page);
learun.layer.loading(false);
}
});

//保存
$page.find('#saveBtn').on('tap', function () {
var postdata = {
ID: $('#ID').val(),
StudentLoan: $('#StudentLoan').val(),
StudentLoanStatus: "0"
};
if ($('#StudentLoan').val().trim() != null && $('#StudentLoan').val().trim() != "" && $('#StudentLoan').val().trim() != undefined) {
postdata.StudentLoanStatus = "1";
}
learun.httpget(config.webapi + "StuInfoFresh/saveLoan", postdata, (data) => {
if (data) {
learun.layer.toast('保存成功');
setTimeout(function () {
learun.nav.closeCurrent();
}, 2000);
}
});

});

},
bind: function ($page) {

}
};

return page;
})();

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuMail/StuMail.js View File

@@ -63,7 +63,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/EducationalAdministration/StuMail/pagelistByUserId', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/StuMail/pagelistByUserId', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -90,14 +90,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/StuMail/delete', item.Id , (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/StuMail/delete', item.Id , (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuMail/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -61,7 +61,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/StuMail/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/StuMail/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/StuMail/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/StuMail/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -115,7 +115,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/EducationalAdministration/StuMail/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/StuMail/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFile.js View File

@@ -76,7 +76,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end, ReceiverId: logininfo.baseinfo.userId });
}
learun.httpget(config.webapi + 'learun/EducationalAdministration/Sys_ReceiveFile/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/Sys_ReceiveFile/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -117,14 +117,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/Sys_ReceiveFile/delete', item.RFileId, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/Sys_ReceiveFile/delete', item.RFileId, (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -61,7 +61,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/Sys_ReceiveFile/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/Sys_ReceiveFile/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/Sys_ReceiveFile/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/Sys_ReceiveFile/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -115,7 +115,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/EducationalAdministration/Sys_ReceiveFile/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/Sys_ReceiveFile/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/TeachPlan/TeachPlan.js View File

@@ -118,7 +118,7 @@
learun.layer.loading(false);
});
}
}, 'Learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/TeachPlan/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun敏捷框架提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Thermography/Thermography.js View File

@@ -96,7 +96,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end, MeasurerID: learun.storage.get('userinfo').baseinfo.account });
}
learun.httpget(config.webapi + 'learun/EducationalAdministration/Thermography/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/Thermography/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -160,14 +160,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/Thermography/delete', item.ID, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/Thermography/delete', item.ID, (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
//rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Thermography/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -61,7 +61,7 @@
// learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
// if (_index === '1') {
// learun.layer.loading(true, '正在删除该笔数据');
// learun.httppost(config.webapi + 'learun/EducationalAdministration/Thermography/delete', keyValue, (data) => {
// learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/Thermography/delete', keyValue, (data) => {
// learun.layer.loading(false);
// if (data) {// 删除数据成功
// learun.nav.closeCurrent();
@@ -70,7 +70,7 @@
// }
// });
// }
// }, 'Learun智慧校园提示', ['取消', '确定']);
// }, '智慧校园提示', ['取消', '确定']);
// }
//}
],
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/EducationalAdministration/Thermography/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/Thermography/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -115,7 +115,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/EducationalAdministration/Thermography/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/Thermography/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Thermography/measure/measure.js View File

@@ -69,7 +69,7 @@
if (_index === '1') {
learun.layer.loading(true, '正在提交');
learun.httppost(
config.webapi + '/Learun/EducationalAdministration/Thermography/save',
config.webapi + '/learun/adms/EducationalAdministration/Thermography/save',
{
keyValue: data.ID,
strEntity: JSON.stringify(data)
@@ -97,7 +97,7 @@
}
)
};
learun.httpget(config.webapi + "/Learun/EducationalAdministration/Thermography/listOfStudent", _postParam, (data) => {
learun.httpget(config.webapi + "/learun/adms/EducationalAdministration/Thermography/listOfStudent", _postParam, (data) => {
if (data) {
studentCheckData(data, param);
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LR_OAModule/Notice/Notice.js View File

@@ -94,7 +94,7 @@
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/ListenClassRecord.js View File

@@ -79,7 +79,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/LogisticsManagement/ListenClassRecord/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/LogisticsManagement/ListenClassRecord/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -106,14 +106,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/LogisticsManagement/ListenClassRecord/delete', item.ID , (data) => {
learun.httppost(config.webapi + 'learun/adms/LogisticsManagement/ListenClassRecord/delete', item.ID , (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 7
- 7
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -61,7 +61,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/LogisticsManagement/ListenClassRecord/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/LogisticsManagement/ListenClassRecord/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/LogisticsManagement/ListenClassRecord/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/LogisticsManagement/ListenClassRecord/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -115,7 +115,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/LogisticsManagement/ListenClassRecord/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/LogisticsManagement/ListenClassRecord/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {
@@ -142,7 +142,7 @@
itext: 'deptname',
change:function(val) {
if (val != null) {
learun.httpget(config.webapi+'dept/majorbydept',val,(data) => {
learun.httpget(config.webapi+'learun/adms/dept/majorbydept',val,(data) => {
if (data) {
$page.find('#MajorNo').lrpickerSetData(data);
}
@@ -155,7 +155,7 @@
itext: 'MajorName',
change:function(val) {
if (val != null) {
learun.httpget(config.webapi+'dept/classbymajor',val,(data) => {
learun.httpget(config.webapi+'learun/adms/dept/classbymajor',val,(data) => {
if (data) {
console.log(data);
$page.find('#ClassNo').lrpickerSetData(data);


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ActivitySchedule/ActivitySchedule.js View File

@@ -63,7 +63,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/PersonnelManagement/ActivitySchedule/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/ActivitySchedule/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -93,14 +93,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/ActivitySchedule/delete', item.Id , (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/ActivitySchedule/delete', item.Id , (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ActivitySchedule/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -61,7 +61,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/ActivitySchedule/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/ActivitySchedule/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/ActivitySchedule/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/ActivitySchedule/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -115,7 +115,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/PersonnelManagement/ActivitySchedule/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/ActivitySchedule/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ClassWork/ClassWork.js View File

@@ -68,7 +68,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/PersonnelManagement/ClassWork/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/ClassWork/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -102,14 +102,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/ClassWork/delete', item.Id , (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/ClassWork/delete', item.Id , (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 8
- 7
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ClassWork/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -61,7 +61,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/ClassWork/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/ClassWork/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/ClassWork/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/ClassWork/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -115,11 +115,11 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/PersonnelManagement/ClassWork/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/ClassWork/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {
$page.find('#' + id ).lrgridSet(data[id]);
$page.find('#' + id).lrgridSet(data[id]);
}
else {
$page.find('[data-table="' + id + '"]').lrformSet(data[id]);
@@ -142,8 +142,9 @@
itext: 'classname'
});
$page.find('#Date').lrdate({
type: 'date'
});
}, destroy: function (pageinfo) {
}, destroy: function (pageinfo) {
$header = null;
keyValue = '';
}


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/CommunityInfo/CommunityInfo.js View File

@@ -67,7 +67,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/PersonnelManagement/CommunityInfo/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/CommunityInfo/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -92,27 +92,27 @@
// learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
// if (_index === '1') {
// learun.layer.loading(true, '正在删除该笔数据');
// learun.httppost(config.webapi + 'learun/PersonnelManagement/CommunityInfo/delete', item.Id, (data) => {
// learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/CommunityInfo/delete', item.Id, (data) => {
// if (data) {// 删除数据成功
// page.grid.reload();
// }
// learun.layer.loading(false);
// });
// }
// }, 'Learun智慧校园提示', ['取消', '确定']);
// }, '智慧校园提示', ['取消', '确定']);
//},
btnJoinClick: function (item, $item, $page) {// 左滑按钮点击事件
learun.layer.confirm('确定要申请加入该社团吗?', function (_index) {
if (_index === '1') {
//learun.layer.loading(true, '正在申请加入该社团');
learun.httppost(config.webapi + 'learun/PersonnelManagement/CommunityInfo/join', item.Id, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/CommunityInfo/join', item.Id, (data) => {
if (data) {
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
//rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
rowBtns: ['<a class="lr-btn-join">申请加入</a>'] // 列表行左滑按钮


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/CommunityInfo/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -61,7 +61,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/CommunityInfo/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/CommunityInfo/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/CommunityInfo/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/CommunityInfo/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -115,7 +115,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/PersonnelManagement/CommunityInfo/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/CommunityInfo/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/CommunityMember/CommunityMember.js View File

@@ -61,7 +61,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/PersonnelManagement/CommunityInfo/communityMemberpagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/CommunityInfo/communityMemberpagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -98,14 +98,14 @@
// learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
// if (_index === '1') {
// learun.layer.loading(true, '正在删除该笔数据');
// learun.httppost(config.webapi + 'learun/PersonnelManagement/CommunityInfo/delete', item.Id, (data) => {
// learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/CommunityInfo/delete', item.Id, (data) => {
// if (data) {// 删除数据成功
// page.grid.reload();
// }
// learun.layer.loading(false);
// });
// }
// }, 'Learun智慧校园提示', ['取消', '确定']);
// }, '智慧校园提示', ['取消', '确定']);
//},
//rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/ContactsDetails.js View File

@@ -61,7 +61,7 @@

_postParam.queryJson = JSON.stringify({ EID: EID });
}
learun.httpget(config.webapi + 'learun/PersonnelManagement/ContactsDetails/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/ContactsDetails/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -112,14 +112,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/ContactsDetails/delete', item.ID, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/ContactsDetails/delete', item.ID, (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/form/form.js View File

@@ -39,7 +39,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -62,7 +62,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/ContactsDetails/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/ContactsDetails/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -71,7 +71,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],
@@ -93,7 +93,7 @@
}
_postData.strEntity = JSON.stringify(bodyForm);
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/ContactsDetails/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/ContactsDetails/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -120,7 +120,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/PersonnelManagement/ContactsDetails/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/ContactsDetails/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/DutySchedule/DutySchedule.css → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/DutySchedule/DutySchedule.css View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/DutySchedule/DutySchedule.html → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/DutySchedule/DutySchedule.html View File


Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/DutySchedule/DutySchedule.js → Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/DutySchedule/DutySchedule.js View File

@@ -61,7 +61,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/EducationalAdministration/DutySchedule/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/DutySchedule/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/EmpRepair/EmpRepair.js View File

@@ -63,7 +63,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/PersonnelManagement/EmpRepair/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/EmpRepair/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -95,14 +95,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/EmpRepair/delete', item.Id , (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/EmpRepair/delete', item.Id , (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/EmpRepair/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -61,7 +61,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/EmpRepair/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/EmpRepair/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/EmpRepair/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/EmpRepair/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -115,7 +115,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/PersonnelManagement/EmpRepair/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/EmpRepair/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/EpidemicSituation/EpidemicSituation.js View File

@@ -141,7 +141,7 @@
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/EpidemicSituationCopy/EpidemicSituationCopy.js View File

@@ -155,7 +155,7 @@
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/Schedule/Schedule.js View File

@@ -64,7 +64,7 @@
if (param.begin && param.end) {
_postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end });
}
learun.httpget(config.webapi + 'learun/PersonnelManagement/Schedule/pagelist', _postParam, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/Schedule/pagelist', _postParam, (data) => {
$page.find('.lr-badge').text('0');
if (data) {
$page.find('.lr-badge').text(data.records);
@@ -98,14 +98,14 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/Schedule/delete', item.F_ScheduleId, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/Schedule/delete', item.F_ScheduleId, (data) => {
if (data) {// 删除数据成功
page.grid.reload();
}
learun.layer.loading(false);
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
},
rowBtns: ['<a class="lr-btn-danger">删除</a>'] // 列表行左滑按钮
};


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/Schedule/form/form.js View File

@@ -38,7 +38,7 @@
learun.nav.closeCurrent();
}
}
}, 'learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
});
// 编辑
$header.find('.lr-form-header-edit').on('tap', function () {
@@ -61,7 +61,7 @@
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) {
if (_index === '1') {
learun.layer.loading(true, '正在删除该笔数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/Schedule/delete', keyValue, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/Schedule/delete', keyValue, (data) => {
learun.layer.loading(false);
if (data) {// 删除数据成功
learun.nav.closeCurrent();
@@ -70,7 +70,7 @@
}
});
}
}, 'Learun智慧校园提示', ['取消', '确定']);
}, '智慧校园提示', ['取消', '确定']);
}
}
],
@@ -88,7 +88,7 @@
_postData.keyValue = keyValue;
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet());
learun.layer.loading(true, '正在提交数据');
learun.httppost(config.webapi + 'learun/PersonnelManagement/Schedule/save', _postData, (data) => {
learun.httppost(config.webapi + 'learun/adms/PersonnelManagement/Schedule/save', _postData, (data) => {
learun.layer.loading(false);
if (data) {// 表单数据保存成功
if (keyValue) {
@@ -115,7 +115,7 @@
$header.find('.lr-form-header-btnlist').show();
// 获取表单数据
learun.layer.loading(true, '获取表单数据');
learun.httpget(config.webapi + 'learun/PersonnelManagement/Schedule/form', keyValue, (data) => {
learun.httpget(config.webapi + 'learun/adms/PersonnelManagement/Schedule/form', keyValue, (data) => {
if (data) {
for (var id in data) {
if (data[id].length) {


+ 99
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/WelcomNewStudents/ConfirmStudentsCheckIn/ConfirmStudentsCheckIn.css View File

@@ -0,0 +1,99 @@
.lr-contact-page {
position: relative;
height: 100%;
width: 100%;
}

.lr-contact-page .searchBox {
position: relative;
top: 0;
left: 0;
height: 50px;
padding: 10px;
width: 100%;
background: #f5f5f5;
}

.lr-contact-page .searchBox i {
position: absolute;
top: 19px;
left: 30px;
color: #999;
z-index: 1;
font-size: 12px;
}

.lr-contact-page .searchBox .search {
position: relative;
width: 100%;
height: 100%;
border-radius: 3px;
line-height: 30px;
font-size: 14px;
background-color: #fff;
padding-left: 42px;
color: #999;
}

.lr-contact-page .lr-user-list {
position: relative;
width: 100%;
}

.lr-contact-page .lr-list-item:after {
display: none;
}

.lr-contact-page .lr-list-item {
min-height: 36px;
line-height: 36px;
}

.lr-contact-page .lr-list-item.user {
position: relative;
height: 43px;
line-height: 43px;
padding-left: 40px;
}

.lr-contact-page .lr-list-item.user img {
position: absolute;
top: 6px;
left: 0;
width: 30px;
height: 30px;
border-radius: 50%;
}

.InputBtnBox {
margin: 0 15px;
}

.scbottom {
padding-top: 15px;
padding-bottom: 10px;
width: 100%;
color: #FFFFF4;
text-align: center;
font-size: 14px;
background-color: #242424;
position: absolute;
bottom: 0;
left: 0;
}

#bcid {
background-color: #242424;
width: 100%;
height: 100%;
}

.bcidBox {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 999;
display: none;
}

+ 8
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/WelcomNewStudents/ConfirmStudentsCheckIn/ConfirmStudentsCheckIn.html View File

@@ -0,0 +1,8 @@
<div class="lr-page lr-WelcomNewStudentsConfirmStudentsCheckIn-page">
<div class="lr-form-container">
<div class="btnBox">
<div>点击开始扫描按钮对准学生二维码扫描</div>
<button id="btnscan" type="button" class="lr-btn-primary lr-btn-block">开始扫描</button>
</div>
</div>
</div>

+ 60
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/WelcomNewStudents/ConfirmStudentsCheckIn/ConfirmStudentsCheckIn.js View File

@@ -0,0 +1,60 @@
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn)
* Copyright (c) 2013-2018 北京泉江科技有限公司
* 创建人:超级管理员
* 日 期:2020-04-21 09:27
* 描 述:扫码报到
*/
(function () {
var page = {
grid: null,
init: function ($page) {
$page.find('#btnscan').on('tap', function () {
var ua = navigator.userAgent.toLowerCase();
if (/(html5plus)/i.test(ua)) {
//if (false) {
$('.bcidBox').css('display', 'block');
var scan = new plus.barcode.Barcode('bcid');
scan.onmarked = function onmarked(type, result) {
scan.close();
$('.bcidBox').css('display', 'none');
learun.layer.loading(true, '正在读取学生数据');
learun.nav.closeCurrent();
learun.nav.go({ path: 'WelcomNewStudents/ConfirmStudentsCheckIn/form', title: '确认报到', param: { StuNo: result }, isBack: true, isHead: true });
};
scan.start();
} else if (/micromessenger/.test(ua)) {
$.ajax({
url: config.webapi + "weixinapi/getweixinwebaccess_token?url=" + encodeURIComponent(window.location.href),
type: "get",
success: function (res) {
wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: res.data.appid, // 必填,公众号的唯一标识
timestamp: res.data.timestamp, // 必填,生成签名的时间戳
nonceStr: res.data.noncestr, // 必填,生成签名的随机串
signature: res.data.certificate, // 必填,签名
jsApiList: ["scanQRCode"] // 必填,需要使用的JS接口列表
});

wx.ready(function () {
wx.scanQRCode({
needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有
success: function (res) {
learun.layer.loading(true, '正在读取学生数据');
learun.nav.closeCurrent();
learun.nav.go({ path: 'WelcomNewStudents/ConfirmStudentsCheckIn/form', title: '确认报到', param: { StuNo: res.resultStr }, isBack: true, isHead: true });
}
});
});
}
});
} else {
learun.layer.warning('请下载app或者到微信浏览器打开网页');
}
});
}
};
return page;
})();

+ 155
- 0
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/WelcomNewStudents/ConfirmStudentsCheckIn/form/form.css View File

@@ -0,0 +1,155 @@
.welcome {
padding: 1px 12px 20px;
background: #fff;
}

.welT {
font-size: 16px;
margin-bottom: 10px;
line-height: 26px;
}

.welT i {
width: 26px;
height: 26px;
line-height: 24px;
border: 1px solid #efefef;
border-radius: 4px;
float: right;
text-align: center;
color: #999;
}

.welLine {
height: 1px;
background: #efefef;
margin: 10px -12px;
}

.welText {
overflow: hidden;
font-size: 14px;
margin-top: 5px;
}

.welText span {
float: right;
width: 60%;
text-align: right;
}

.welInput {
overflow: hidden;
font-size: 14px;
margin-top: 10px;
}

.welInput span {
float: left;
width: 26%;
text-align: right;
line-height: 30px;
}

.welInput input {
display: block;
margin-left: 28%;
width: 72%;
border: 1px solid #efefef;
border-radius: 4px;
height: 30px;
line-height: 28px;
padding: 0 10px;
margin-bottom: 0;
}

.welInput div {
margin-left: 28%;
width: 72%;
height: 30px;
line-height: 28px;
}

#WaitInfo .welInput span {
width: 30%;
}

#WaitInfo .welInput div {
margin-left: 32%;
width: 68%;
}

.welCon {
padding: 10px;
border: 1px solid #efefef;
margin-top: 18px;
border-radius: 4px;
position: relative;
}

.welDel {
position: absolute;
top: -8px;
left: -8px;
background: #fff;
}

.welDel i {
text-align: center;
width: 26px;
height: 26px;
display: block;
line-height: 24px;
border: 1px solid #efefef;
border-radius: 50%;
}

.welImgAdd {
text-align: center;
line-height: 0;
}

#files {
opacity: 0;
-webkit-opacity: 0;
z-index: 9;
display: none;
}

#welImgBtn {
display: block;
width: 110px;
height: 30px;
text-align: center;
line-height: 26px;
border: 2px solid #efefef;
border-radius: 4px;
font-size: 14px;
color: #999;
margin: 10px auto;
cursor: pointer;
}

.welBoxPhoto {
height: 110px;
}

.welBoxPhoto .welImgAdd {
height: 100%;
}

#PhotoImg {
width: 110px;
height: 100%;
}

.btnBox {
margin-top: 20px;
text-align: center;
}

#saveBtn {
margin: auto;
margin-top: 25px;
width: 92%;
}

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save