From 2752b0f226f08dc9f4d13c46dd40796e9353828c Mon Sep 17 00:00:00 2001 From: zhichao lei <442149704@qq.com> Date: Mon, 19 Oct 2020 16:39:45 +0800 Subject: [PATCH] =?UTF-8?q?=E2=80=A2=20=E8=A1=A8=E5=8D=95=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=AD=E5=A2=9E=E5=8A=A0=E5=AF=B9=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=EF=BC=9A=20=201.=20=E4=BA=BA=E5=91=98?= =?UTF-8?q?=EF=BC=8C=E9=83=A8=E9=97=A8=20=EF=BC=8C=E8=A7=92=E8=89=B2=20?= =?UTF-8?q?=E7=AD=89=20=E6=9D=A1=E4=BB=B6=E7=9A=84=E5=A4=9A=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E6=9F=A5=E8=AF=A2=E8=AE=BE=E7=BD=AE=20=E2=80=A2=20?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=A2=9E=E5=8A=A0=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=9A=20=E5=85=AC=E6=96=87=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EmpInfo/{form/form.css => EmpInfo.css} | 0 .../EmpInfo/{form/form.html => EmpInfo.html} | 0 .../EmpInfo/{form/form.js => EmpInfo.js} | 4 +- .../JournalSend/JournalSend.js | 4 +- .../JournalSend/form/form.js | 8 +- .../Sys_ReceiveFile/Sys_ReceiveFile.js | 4 +- .../Sys_ReceiveFile/form/form.js | 6 +- .../Views/FormRelation/PreviewIndex.js | 1 + .../Views/FormRelation/QueryFieldForm.js | 3 +- .../plugin/custmerform/lr-formcomponts.js | 25 ++ .../XmlConfig/database.config | 8 +- .../Modules/EmpInfoApi.cs | 18 +- .../Modules/Sys_ReceiveFileApi.cs | 6 +- .../Sys_ReceiveFile/Sys_ReceiveFileService.cs | 6 +- .../learun-mpui/learun-ui-ali/textarea.vue | 39 ++- .../LearunApp-2.2.0/pages.json | 13 +- .../EmpInfo/list.vue | 251 ++++++++++++++ .../JournalSend/list.vue | 6 +- .../JournalSend/single.vue | 6 +- .../Sys_ReceiveFile/list.vue | 326 ++++++++++++++++++ .../Sys_ReceiveFile/single.vue | 199 +++++++++++ .../LearunApp-2.2.0/pages/login.vue | 1 + 22 files changed, 884 insertions(+), 50 deletions(-) rename Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/{form/form.css => EmpInfo.css} (100%) rename Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/{form/form.html => EmpInfo.html} (100%) rename Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/{form/form.js => EmpInfo.js} (96%) create mode 100644 Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/EmpInfo/list.vue create mode 100644 Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/Sys_ReceiveFile/list.vue create mode 100644 Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/Sys_ReceiveFile/single.vue diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/form/form.css b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.css similarity index 100% rename from Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/form/form.css rename to Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.css diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/form/form.html b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.html similarity index 100% rename from Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/form/form.html rename to Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.html diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/form/form.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.js similarity index 96% rename from Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/form/form.js rename to Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.js index 83f13366d..b6285d9f2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/form/form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/EmpInfo/EmpInfo.js @@ -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) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/JournalSend.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/JournalSend.js index 3ab9b7b6a..0b7a5d1f8 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/JournalSend.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/JournalSend.js @@ -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(); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/form/form.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/form/form.js index 252d24d82..c44b53032 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/form/form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/form/form.js @@ -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) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFile.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFile.js index e0b7e9362..934eb09d7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFile.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFile.js @@ -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,7 +117,7 @@ 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(); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/form/form.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/form/form.js index 640d5ff90..0fe47fb43 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/form/form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Sys_ReceiveFile/form/form.js @@ -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(); @@ -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) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_FormModule/Views/FormRelation/PreviewIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_FormModule/Views/FormRelation/PreviewIndex.js index cd7d7920e..a2836aa2e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_FormModule/Views/FormRelation/PreviewIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_FormModule/Views/FormRelation/PreviewIndex.js @@ -107,6 +107,7 @@ var bootstrap = function ($, learun) { var $title = $('