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.

28 lines
737 B

2 years ago
  1. 'use strict';
  2. var fnPageInit = function () {
  3. var canDo = new CanDo({
  4. /**
  5. * 當前程式所有ID名稱集合
  6. */
  7. idKeys: ['OrgID', 'EmailID'],
  8. /**
  9. * 當前程式所有參數名稱集合
  10. */
  11. paramKeys: ['EmailID'],
  12. /**
  13. * 須初始化的UEEditer 的物件ID集合
  14. */
  15. ueEditorIds: ['BodyHtml'],
  16. /**
  17. * 頁面初始化
  18. * @param {Object} pargs CanDo 對象
  19. */
  20. pageInit: function (pargs) {
  21. if (pargs.action === 'upd') {
  22. $('#EmailID').prop('disabled', true);
  23. pargs._getOne();
  24. }
  25. }
  26. });
  27. };
  28. require(['base', 'cando'], fnPageInit);