MWF.xApplication.process.FormDesigner.Module = MWF.xApplication.process.FormDesigner.Module || {}; MWF.xDesktop.requireApp("process.FormDesigner", "Module.$ElElement", null, false); MWF.xApplication.process.FormDesigner.Module.Eltime = MWF.FCEltime = new Class({ Extends: MWF.FC$ElElement, Implements: [Options, Events], options: { "style": "default", "propertyPath": "../x_component_process_FormDesigner/Module/Eltime/eltime.html" }, _initModuleType: function(){ this.className = "Eltime"; this.moduleType = "element"; this.moduleName = "eltime"; }, _createElementHtml: function() { if (this.json.timeSelectType === "select"){ // if (this.json.isRange ) { // return this.createSelectRangeElementHtml(); // } else { return this.createSelectElementHtml(); // } }else{ if (this.json.isRange) { return this.createPickerRangeElementHtml(); } else { return this.createPickerElementHtml(); } } }, getCommonHtml: function(){ var html = ""; html += " readonly"; html += " :clearable=\"clearable\""; html += " :size=\"size\""; html += " :prefix-icon=\"prefixIcon\""; if (this.json.elProperties){ Object.keys(this.json.elProperties).forEach(function(k){ if (this.json.elProperties[k]) html += " "+k+"=\""+this.json.elProperties[k]+"\""; }, this); } html += " :style=\"tmpElStyles\">"; if (this.json.vueSlot) html += this.json.vueSlot; return html; }, createSelectElementHtml: function(){ var html = ""; // // html += "