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 = $('
' + item.fieldName + '
'); $row.append($title); $content.append($row); + $.lrFormComponents[item.compont.type].renderQuery(item.compont, $row)[0].compont = item.compont; } }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_FormModule/Views/FormRelation/QueryFieldForm.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_FormModule/Views/FormRelation/QueryFieldForm.js index b2337308d..48d223b52 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_FormModule/Views/FormRelation/QueryFieldForm.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_FormModule/Views/FormRelation/QueryFieldForm.js @@ -25,7 +25,8 @@ var bootstrap = function ($, learun) { bind: function () { var formFields2 = []; $.each(formFields, function (id, item) { - if (item.type != 'label' && item.type != 'datetime' && item.type != 'upload' && item.type != 'currentInfo') { + console.log(item); + if (item.type != 'label' && item.type != 'datetime' && item.type != 'upload' ) { formFields2.push(item); } }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/custmerform/lr-formcomponts.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/custmerform/lr-formcomponts.js index 3d86c2660..f7b8c23f7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/custmerform/lr-formcomponts.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/custmerform/lr-formcomponts.js @@ -1208,6 +1208,31 @@ $row.hide(); } + $row.append($compont); + return $compont; + }, + renderQuery: function (compont, $row) { + var $compont = $('
'); + $row.append($compont); + + switch (compont.dataType) { + case 'company': + $compont.lrCompanySelect({ type: 'multiple' }) + break; + case 'department': + $compont.lrDepartmentSelect(); + break; + case 'user': + $compont.lrUserSelect({ type: '1' }) + break; + case 'role': + $compont.lrPostSelect({ type: 'treemultiple' }); + break; + } + if (compont.isHide == '1') { + $row.hide(); + } + $row.append($compont); return $compont; } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config index 489b3b61f..5d293d24b 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config @@ -16,17 +16,17 @@ - + - + +     +       +      {{ tips }} +   +       +       +         +           +           +   +             +              发送人: +              {{ displayListItem(item, 'Sender') }} +             +   +             +              主题: +              {{ displayListItem(item, 'Title') }} +             +   +             +              发送时间: +              {{ displayListItem(item, 'SendTime') }} +             +   +             +              接收对象: +              {{ displayListItem(item, 'SendType') }} +             +   +             +              状态: +              {{ showStatus(item) }} +             +   +             +              查阅时间: +              {{ displayListItem(item, 'ReadTime') }} +             +   +   +             +           +         +       +     +   +     +     +       +     +   +     +     +       +   +         +   +         +         +   +         +         +          重置查询条件 +         +       +     +   +     +   +   + +   +   + +   +   + \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/Sys_ReceiveFile/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/Sys_ReceiveFile/single.vue new file mode 100644 index 000000000..5a2d04044 --- /dev/null +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/Sys_ReceiveFile/single.vue @@ -0,0 +1,199 @@ + +   +   + \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue index 9996e26e2..0f4a0e6c3 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue @@ -151,6 +151,7 @@ export default { } if (!loginResult) { + this.TOAST(loginResult); return }