|
|
@@ -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) { |
|
|
|