From f5efe198f41fe93a92c966e2b5c103555334f08e Mon Sep 17 00:00:00 2001 From: zhichao lei <442149704@qq.com> Date: Wed, 21 Oct 2020 12:01:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=90=AC=E8=AF=BE?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ListenClassRecord/ListenClassRecord.js | 4 +- .../ListenClassRecord/form/form.js | 10 +- .../ContactsDetails/ContactsDetails.js | 4 +- .../ContactsDetails/form/form.js | 6 +- .../Modules/DeptApi.cs | 2 +- .../Modules/ListenClassRecordApi.cs | 2 +- .../PersonnelManagement/ContactsDetailsApi.cs | 2 +- .../LearunApp-2.2.0/pages.json | 8 +- .../ListenClassRecord/list.vue | 352 +++++++++++++++ .../ListenClassRecord/single.vue | 401 ++++++++++++++++++ .../ContactsDetails/list.vue | 332 +++++++++++++++ .../ContactsDetails/single.vue | 247 +++++++++++ 12 files changed, 1354 insertions(+), 16 deletions(-) create mode 100644 Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/ListenClassRecord/list.vue create mode 100644 Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/ListenClassRecord/single.vue create mode 100644 Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/ContactsDetails/list.vue create mode 100644 Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/ContactsDetails/single.vue diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/ListenClassRecord.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/ListenClassRecord.js index 4dea69815..6772728e4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/ListenClassRecord.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/ListenClassRecord.js @@ -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,7 +106,7 @@ 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(); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/form/form.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/form/form.js index 7a055801e..35dcecf7e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/form/form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/LogisticsManagement/ListenClassRecord/form/form.js @@ -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(); @@ -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); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/ContactsDetails.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/ContactsDetails.js index 40aa385bf..81e50c1f4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/ContactsDetails.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/ContactsDetails.js @@ -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,7 +112,7 @@ 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(); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/form/form.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/form/form.js index a8e2c165a..440bb616f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/form/form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/ContactsDetails/form/form.js @@ -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(); @@ -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) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/DeptApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/DeptApi.cs index e8915b3b2..728da9347 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/DeptApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/DeptApi.cs @@ -22,7 +22,7 @@ namespace Learun.Application.WebApi /// 注册接口 /// public DeptApi() - : base("/dept") + : base("/learun/adms/dept") { Get["/majorbydept"] = GetMajorByDeptNo; Get["/classbymajor"] = GetClassByMajorNo; diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/ListenClassRecordApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/ListenClassRecordApi.cs index ab2fdf314..1907a1343 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/ListenClassRecordApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/ListenClassRecordApi.cs @@ -19,7 +19,7 @@ namespace Learun.Application.WebApi /// 注册接口 /// public ListenClassRecordApi() - : base("/Learun/LogisticsManagement/ListenClassRecord") + : base("/Learun/adms/LogisticsManagement/ListenClassRecord") { Get["/pagelist"] = GetPageList; Get["/list"] = GetList; diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PersonnelManagement/ContactsDetailsApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PersonnelManagement/ContactsDetailsApi.cs index b733f7908..47440b2ba 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PersonnelManagement/ContactsDetailsApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/PersonnelManagement/ContactsDetailsApi.cs @@ -19,7 +19,7 @@ namespace Learun.Application.WebApi /// 注册接口 /// public ContactsDetailsApi() - : base("/Learun/PersonnelManagement/ContactsDetails") + : base("/Learun/adms/PersonnelManagement/ContactsDetails") { Get["/pagelist"] = GetPageList; Get["/list"] = GetList; diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json index 3fbdf36a7..b5db21c2d 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json @@ -180,7 +180,13 @@ { "path": "pages/EducationalAdministration/ArrangeLessonTermAttemper/list", "style": { "navigationBarTitleText": "调度信息" } }, //请假管理 { "path": "pages/EducationalAdministration/StuAttendanceLeave/list", "style": { "navigationBarTitleText": "请假管理" } }, - { "path": "pages/EducationalAdministration/StuAttendanceLeave/single", "style": { "navigationBarTitleText": "审核" } } + { "path": "pages/EducationalAdministration/StuAttendanceLeave/single", "style": { "navigationBarTitleText": "审核" } }, + //疫情详细信息 + { "path": "pages/PersonnelManagement/ContactsDetails/list", "style": { "navigationBarTitleText": "疫情详细信息" } }, + { "path": "pages/PersonnelManagement/ContactsDetails/single", "style": { "navigationBarTitleText": "详情" } }, + //听课记录 + { "path": "pages/LogisticsManagement/ListenClassRecord/list", "style": { "navigationBarTitleText": "听课记录" } }, + { "path": "pages/LogisticsManagement/ListenClassRecord/single", "style": { "navigationBarTitleText": "详情" } } ], diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/ListenClassRecord/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/ListenClassRecord/list.vue new file mode 100644 index 000000000..586ef12f6 --- /dev/null +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/ListenClassRecord/list.vue @@ -0,0 +1,352 @@ + +   +   + +   +   + \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/ListenClassRecord/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/ListenClassRecord/single.vue new file mode 100644 index 000000000..1dc22e4d0 --- /dev/null +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/ListenClassRecord/single.vue @@ -0,0 +1,401 @@ + +   +   + \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/ContactsDetails/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/ContactsDetails/list.vue new file mode 100644 index 000000000..3b4a55117 --- /dev/null +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/ContactsDetails/list.vue @@ -0,0 +1,332 @@ + +   +   + +   +   + \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/ContactsDetails/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/ContactsDetails/single.vue new file mode 100644 index 000000000..5dfa81f5a --- /dev/null +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/ContactsDetails/single.vue @@ -0,0 +1,247 @@ + +   +   + \ No newline at end of file