You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
1.4 KiB

  1. /* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn)
  2. * Copyright (c) 2013-2018 北京泉江科技有限公司
  3. * 创建人:超级管理员
  4. * 日 期:2019-03-06 17:17
  5. * 描 述:查看日志
  6. */
  7. var acceptClick;
  8. var keyValue = request('keyValue');
  9. var bootstrap = function ($, learun) {
  10. "use strict";
  11. var selectedRow =learun.frameTab.currentIframe().selectedRow;
  12. var page = {
  13. init: function () {
  14. $('.lr-form-wrap').lrscroll();
  15. page.bind();
  16. page.initData();
  17. },
  18. bind: function () {
  19. $('#JTypeId').lrDataItemSelect({ code: 'JournalType' });
  20. },
  21. initData: function () {
  22. if (!!keyValue) {
  23. $.lrSetForm(top.$.rootUrl + '/EducationalAdministration/JournalReceive/GetFormData?keyValue=' + keyValue, function (data) {
  24. for (var id in data) {
  25. if (!!data[id].length && data[id].length > 0) {
  26. $('#' + id).jfGridSet('refreshdata', data[id]);
  27. }
  28. else {
  29. $('[data-table="' + id + '"]').lrSetFormData(data[id]);
  30. }
  31. }
  32. $("#JContent").html(data.JournalReceive["JContent"]);
  33. });
  34. }
  35. }
  36. };
  37. page.init();
  38. }