dyy 4 years ago
parent
commit
c3df0d271e
2 changed files with 6 additions and 6 deletions
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/JournalSend.js
  2. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/JournalSend/form/form.js

+ 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/adms/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/adms/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/adms/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/adms/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/adms/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/adms/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) {


Loading…
Cancel
Save