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.
 
 
 
 
 

29 lines
737 B

'use strict';
var fnPageInit = function () {
var canDo = new CanDo({
/**
* 當前程式所有ID名稱集合
*/
idKeys: ['OrgID', 'EmailID'],
/**
* 當前程式所有參數名稱集合
*/
paramKeys: ['EmailID'],
/**
* 須初始化的UEEditer 的物件ID集合
*/
ueEditorIds: ['BodyHtml'],
/**
* 頁面初始化
* @param {Object} pargs CanDo 對象
*/
pageInit: function (pargs) {
if (pargs.action === 'upd') {
$('#EmailID').prop('disabled', true);
pargs._getOne();
}
}
});
};
require(['base', 'cando'], fnPageInit);