|
|
|
@ -92,7 +92,7 @@ class FimsFormFields extends FormFields {
|
|
|
|
|
const fmtType = input.dataset.fmtType;
|
|
|
|
|
switch (fmtType) {
|
|
|
|
|
case 'dt' :
|
|
|
|
|
value = dateTimeFormat.format(value);
|
|
|
|
|
value = datetimeFormat.format(value);
|
|
|
|
|
break;
|
|
|
|
|
case 'day' :
|
|
|
|
|
value = dateFormat.format(value);
|
|
|
|
@ -136,7 +136,7 @@ class FimsFormFields extends FormFields {
|
|
|
|
|
} else if("checkbox" == input.type) {
|
|
|
|
|
if(input.checked){
|
|
|
|
|
if(obj[property]){
|
|
|
|
|
obj[property] += ","+value;
|
|
|
|
|
obj[property] += ","+value;
|
|
|
|
|
} else {
|
|
|
|
|
obj[property] = value;
|
|
|
|
|
}
|
|
|
|
@ -174,10 +174,10 @@ class FimsFormFields extends FormFields {
|
|
|
|
|
$.fn.getHeaderInfo = function() {
|
|
|
|
|
var excelTitle = [];
|
|
|
|
|
var excelTitleWidth = [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.each(function(){
|
|
|
|
|
var title = $(this).text();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(title != ""){
|
|
|
|
|
excelTitle.push(title);
|
|
|
|
|
var titleWidth = $(this).outerWidth();
|
|
|
|
@ -185,7 +185,7 @@ $.fn.getHeaderInfo = function() {
|
|
|
|
|
excelTitleWidth.push(titleWidth);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
excelTitle : excelTitle.join(","),
|
|
|
|
|
excelTitleWidth : excelTitleWidth.join(",")
|
|
|
|
|