webpackJsonpeasyUI([13],{

/***/ 0:
/***/ (function(module, exports) {

// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global = module.exports = typeof window != 'undefined' && window.Math == Math
  ? window : typeof self != 'undefined' && self.Math == Math ? self
  // eslint-disable-next-line no-new-func
  : Function('return this')();
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef


/***/ }),

/***/ 1:
/***/ (function(module, exports) {

var core = module.exports = { version: '2.6.9' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef


/***/ }),

/***/ 10:
/***/ (function(module, exports) {

module.exports = function (it) {
  return typeof it === 'object' ? it !== null : typeof it === 'function';
};


/***/ }),

/***/ 11:
/***/ (function(module, exports, __webpack_require__) {

var anObject = __webpack_require__(6);
var IE8_DOM_DEFINE = __webpack_require__(59);
var toPrimitive = __webpack_require__(38);
var dP = Object.defineProperty;

exports.f = __webpack_require__(7) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
  anObject(O);
  P = toPrimitive(P, true);
  anObject(Attributes);
  if (IE8_DOM_DEFINE) try {
    return dP(O, P, Attributes);
  } catch (e) { /* empty */ }
  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
  if ('value' in Attributes) O[P] = Attributes.value;
  return O;
};


/***/ }),

/***/ 113:
/***/ (function(module, exports, __webpack_require__) {

module.exports = { "default": __webpack_require__(115), __esModule: true };

/***/ }),

/***/ 115:
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(116);
module.exports = __webpack_require__(1).Object.assign;


/***/ }),

/***/ 116:
/***/ (function(module, exports, __webpack_require__) {

// 19.1.3.1 Object.assign(target, source)
var $export = __webpack_require__(5);

$export($export.S + $export.F, 'Object', { assign: __webpack_require__(117) });


/***/ }),

/***/ 117:
/***/ (function(module, exports, __webpack_require__) {

"use strict";

// 19.1.2.1 Object.assign(target, source, ...)
var DESCRIPTORS = __webpack_require__(7);
var getKeys = __webpack_require__(18);
var gOPS = __webpack_require__(42);
var pIE = __webpack_require__(27);
var toObject = __webpack_require__(26);
var IObject = __webpack_require__(58);
var $assign = Object.assign;

// should work with symbols and should have deterministic property order (V8 bug)
module.exports = !$assign || __webpack_require__(13)(function () {
  var A = {};
  var B = {};
  // eslint-disable-next-line no-undef
  var S = Symbol();
  var K = 'abcdefghijklmnopqrst';
  A[S] = 7;
  K.split('').forEach(function (k) { B[k] = k; });
  return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars
  var T = toObject(target);
  var aLen = arguments.length;
  var index = 1;
  var getSymbols = gOPS.f;
  var isEnum = pIE.f;
  while (aLen > index) {
    var S = IObject(arguments[index++]);
    var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);
    var length = keys.length;
    var j = 0;
    var key;
    while (length > j) {
      key = keys[j++];
      if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];
    }
  } return T;
} : $assign;


/***/ }),

/***/ 12:
/***/ (function(module, exports) {

var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
  return hasOwnProperty.call(it, key);
};


/***/ }),

/***/ 13:
/***/ (function(module, exports) {

module.exports = function (exec) {
  try {
    return !!exec();
  } catch (e) {
    return true;
  }
};


/***/ }),

/***/ 14:
/***/ (function(module, exports, __webpack_require__) {

// to indexed object, toObject with fallback for non-array-like ES3 strings
var IObject = __webpack_require__(58);
var defined = __webpack_require__(22);
module.exports = function (it) {
  return IObject(defined(it));
};


/***/ }),

/***/ 16:
/***/ (function(module, exports) {

var toString = {}.toString;

module.exports = function (it) {
  return toString.call(it).slice(8, -1);
};


/***/ }),

/***/ 17:
/***/ (function(module, exports) {

module.exports = true;


/***/ }),

/***/ 18:
/***/ (function(module, exports, __webpack_require__) {

// 19.1.2.14 / 15.2.3.14 Object.keys(O)
var $keys = __webpack_require__(60);
var enumBugKeys = __webpack_require__(37);

module.exports = Object.keys || function keys(O) {
  return $keys(O, enumBugKeys);
};


/***/ }),

/***/ 20:
/***/ (function(module, exports, __webpack_require__) {

// optional / simple context binding
var aFunction = __webpack_require__(21);
module.exports = function (fn, that, length) {
  aFunction(fn);
  if (that === undefined) return fn;
  switch (length) {
    case 1: return function (a) {
      return fn.call(that, a);
    };
    case 2: return function (a, b) {
      return fn.call(that, a, b);
    };
    case 3: return function (a, b, c) {
      return fn.call(that, a, b, c);
    };
  }
  return function (/* ...args */) {
    return fn.apply(that, arguments);
  };
};


/***/ }),

/***/ 21:
/***/ (function(module, exports) {

module.exports = function (it) {
  if (typeof it != 'function') throw TypeError(it + ' is not a function!');
  return it;
};


/***/ }),

/***/ 22:
/***/ (function(module, exports) {

// 7.2.1 RequireObjectCoercible(argument)
module.exports = function (it) {
  if (it == undefined) throw TypeError("Can't call method on  " + it);
  return it;
};


/***/ }),

/***/ 229:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vux_loader_src_script_loader_js_node_modules_vux_loader_src_script_loader_js_node_modules_vue_loader_lib_selector_type_script_index_0_index_vue__ = __webpack_require__(447);
/* empty harmony namespace reexport */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_loader_node_modules_vux_loader_src_script_loader_js_node_modules_vue_loader_lib_selector_type_script_index_0_index_vue__ = __webpack_require__(448);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_template_compiler_index_id_data_v_827c92ea_hasScoped_false_transformToRequire_video_src_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vux_loader_src_before_template_compiler_loader_js_node_modules_vux_loader_src_template_loader_js_node_modules_vue_loader_lib_selector_type_template_index_0_index_vue__ = __webpack_require__(449);
function injectStyle (ssrContext) {
  __webpack_require__(446)
}
var normalizeComponent = __webpack_require__(3)
/* script */


/* template */

/* template functional */
var __vue_template_functional__ = false
/* styles */
var __vue_styles__ = injectStyle
/* scopeId */
var __vue_scopeId__ = null
/* moduleIdentifier (server only) */
var __vue_module_identifier__ = null
var Component = normalizeComponent(
  __WEBPACK_IMPORTED_MODULE_1__babel_loader_node_modules_vux_loader_src_script_loader_js_node_modules_vue_loader_lib_selector_type_script_index_0_index_vue__["a" /* default */],
  __WEBPACK_IMPORTED_MODULE_2__node_modules_vue_loader_lib_template_compiler_index_id_data_v_827c92ea_hasScoped_false_transformToRequire_video_src_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vux_loader_src_before_template_compiler_loader_js_node_modules_vux_loader_src_template_loader_js_node_modules_vue_loader_lib_selector_type_template_index_0_index_vue__["a" /* default */],
  __vue_template_functional__,
  __vue_styles__,
  __vue_scopeId__,
  __vue_module_identifier__
)

/* harmony default export */ __webpack_exports__["default"] = (Component.exports);


/***/ }),

/***/ 24:
/***/ (function(module, exports) {

module.exports = function (bitmap, value) {
  return {
    enumerable: !(bitmap & 1),
    configurable: !(bitmap & 2),
    writable: !(bitmap & 4),
    value: value
  };
};


/***/ }),

/***/ 25:
/***/ (function(module, exports) {

var id = 0;
var px = Math.random();
module.exports = function (key) {
  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};


/***/ }),

/***/ 26:
/***/ (function(module, exports, __webpack_require__) {

// 7.1.13 ToObject(argument)
var defined = __webpack_require__(22);
module.exports = function (it) {
  return Object(defined(it));
};


/***/ }),

/***/ 27:
/***/ (function(module, exports) {

exports.f = {}.propertyIsEnumerable;


/***/ }),

/***/ 3:
/***/ (function(module, exports) {

/* globals __VUE_SSR_CONTEXT__ */

// IMPORTANT: Do NOT use ES2015 features in this file.
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.

module.exports = function normalizeComponent (
  rawScriptExports,
  compiledTemplate,
  functionalTemplate,
  injectStyles,
  scopeId,
  moduleIdentifier /* server only */
) {
  var esModule
  var scriptExports = rawScriptExports = rawScriptExports || {}

  // ES6 modules interop
  var type = typeof rawScriptExports.default
  if (type === 'object' || type === 'function') {
    esModule = rawScriptExports
    scriptExports = rawScriptExports.default
  }

  // Vue.extend constructor export interop
  var options = typeof scriptExports === 'function'
    ? scriptExports.options
    : scriptExports

  // render functions
  if (compiledTemplate) {
    options.render = compiledTemplate.render
    options.staticRenderFns = compiledTemplate.staticRenderFns
    options._compiled = true
  }

  // functional template
  if (functionalTemplate) {
    options.functional = true
  }

  // scopedId
  if (scopeId) {
    options._scopeId = scopeId
  }

  var hook
  if (moduleIdentifier) { // server build
    hook = function (context) {
      // 2.3 injection
      context =
        context || // cached call
        (this.$vnode && this.$vnode.ssrContext) || // stateful
        (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
      // 2.2 with runInNewContext: true
      if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
        context = __VUE_SSR_CONTEXT__
      }
      // inject component styles
      if (injectStyles) {
        injectStyles.call(this, context)
      }
      // register component module identifier for async chunk inferrence
      if (context && context._registeredComponents) {
        context._registeredComponents.add(moduleIdentifier)
      }
    }
    // used by ssr in case component is cached and beforeCreate
    // never gets called
    options._ssrRegister = hook
  } else if (injectStyles) {
    hook = injectStyles
  }

  if (hook) {
    var functional = options.functional
    var existing = functional
      ? options.render
      : options.beforeCreate

    if (!functional) {
      // inject component registration as beforeCreate hook
      options.beforeCreate = existing
        ? [].concat(existing, hook)
        : [hook]
    } else {
      // for template-only hot-reload because in that case the render fn doesn't
      // go through the normalizer
      options._injectStyles = hook
      // register for functioal component in vue file
      options.render = function renderWithStyleInjection (h, context) {
        hook.call(context)
        return existing(h, context)
      }
    }
  }

  return {
    esModule: esModule,
    exports: scriptExports,
    options: options
  }
}


/***/ }),

/***/ 32:
/***/ (function(module, exports) {

// 7.1.4 ToInteger
var ceil = Math.ceil;
var floor = Math.floor;
module.exports = function (it) {
  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
};


/***/ }),

/***/ 33:
/***/ (function(module, exports, __webpack_require__) {

var shared = __webpack_require__(36)('keys');
var uid = __webpack_require__(25);
module.exports = function (key) {
  return shared[key] || (shared[key] = uid(key));
};


/***/ }),

/***/ 34:
/***/ (function(module, exports, __webpack_require__) {

var isObject = __webpack_require__(10);
var document = __webpack_require__(0).document;
// typeof document.createElement is 'object' in old IE
var is = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
  return is ? document.createElement(it) : {};
};


/***/ }),

/***/ 36:
/***/ (function(module, exports, __webpack_require__) {

var core = __webpack_require__(1);
var global = __webpack_require__(0);
var SHARED = '__core-js_shared__';
var store = global[SHARED] || (global[SHARED] = {});

(module.exports = function (key, value) {
  return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
  version: core.version,
  mode: __webpack_require__(17) ? 'pure' : 'global',
  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
});


/***/ }),

/***/ 37:
/***/ (function(module, exports) {

// IE 8- don't enum bug keys
module.exports = (
  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
).split(',');


/***/ }),

/***/ 38:
/***/ (function(module, exports, __webpack_require__) {

// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__(10);
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
module.exports = function (it, S) {
  if (!isObject(it)) return it;
  var fn, val;
  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  throw TypeError("Can't convert object to primitive value");
};


/***/ }),

/***/ 42:
/***/ (function(module, exports) {

exports.f = Object.getOwnPropertySymbols;


/***/ }),

/***/ 446:
/***/ (function(module, exports) {

// removed by extract-text-webpack-plugin

/***/ }),

/***/ 447:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign__ = __webpack_require__(113);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign__);

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/* unused harmony default export */ var _unused_webpack_default_export = ({
  name: 'HLayout',
  props: {
    layoutData: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    showFormTitle: {
      type: Boolean,
      default: true
    },
    showTabDivider: {
      type: Boolean,
      default: true
    },
    showTabBorder: {
      type: Boolean,
      default: false
    },
    showBtnDivider: {
      type: Boolean,
      default: true
    },
    showBtn: {
      type: Boolean,
      default: true
    },
    formData: {
      type: Object,
      default: function _default() {}
    },
    readOnly: {
      type: Boolean,
      default: false
    }
  },
  data: function data() {
    return {
      tabIndex: 0,
      data: {},
      layoutConfig: [],
      activeTab: null,
      activeTabFiled: null,
      hasBottom: false
    };
  },

  computed: {},
  /**
   * 通过布局代码解析出form表单中定义了那些字端。取出字端的默认值等
   * 取出布局中的全部按钮，返回给父组件，用于按钮逻辑的处理
   * 取出后通过$set以及$email函数把值传递给父组件
   */
  created: function created() {
    var vm = this;
    if (vm.layoutData.length && vm.layoutData[0].layoutConfigList.length) {
      vm.layoutConfig = vm.layoutData[0].layoutConfigList;
      var btns = [];
      vm.layoutConfig.forEach(function (com, index) {
        if (com.configType === 'BottomTab') {
          vm.hasBottom = true;
        }
        if (com.configType === 'Form') {
          var form = com;
          var temp = {};
          if (form.layoutFiledList.length) {
            var fileds = form.layoutFiledList;
            fileds.forEach(function (filed, index) {
              if (vm.formData[form.configCode] && vm.formData[form.configCode][filed.filedCode] !== undefined) {
                temp[filed.filedCode] = vm.formData[form.configCode][filed.filedCode];
                if (filed.filedType === 'SELECT') {
                  temp[filed.filedCode + '_n'] = vm.formData[form.configCode][filed.filedCode + '_n'];
                }
              } else {
                if (filed.filedType === 'SELECT') {
                  temp[filed.filedCode] = filed.defaultValue;
                  temp[filed.filedCode + '_n'] = filed.defaultValueN;
                } else if (filed.filedType === 'SWITCH') {
                  temp[filed.filedCode] = !!filed.defaultValue;
                } else if (filed.filedType === 'CHECKBOX') {
                  temp[filed.filedCode] = !!filed.defaultValue;
                } else {
                  temp[filed.filedCode] = filed.defaultValue;
                }
              }
            });
            // 保留父组件data的值
            if (vm.formData[form.configCode]) {
              temp = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign___default()(temp, vm.formData[form.configCode]);
            }
            vm.$set(vm.data, [form.configCode], temp);
          }
        } else if (com.configType === 'Stab') {
          vm.activeTab = com.configCode;
          vm.activeTabFiled = com.layoutFiledList.length ? com.layoutFiledList[vm.tabIndex].filedCode : '';
        } else if (com.configType === 'Button' || com.configType === 'BottomTab') {
          if (com.layoutFiledList.length) {
            var btnFileds = com.layoutFiledList;
            btnFileds.forEach(function (btnFiled, index) {
              var btn = { 'btnType': com.configType, 'btnCode': btnFiled.filedCode, 'btnName': btnFiled.filedName };
              btns.push(btn);
            });
            vm.$set(vm.data, 'btns', btns);
          }
        }
      });
      vm.$emit('input', vm.data);
    }
  },

  methods: {
    filedReadOnly: function filedReadOnly(filed) {
      var vm = this;
      return vm.readOnly ? true : filed.inputMode === 'readOnly';
    },

    /**
     * item左右距离查询出来为字符串 在此转换为数组
     * @param proportion
     * @returns {*}
     */
    proportionArray: function proportionArray(proportion) {
      return proportion.split(',');
    },

    /**
     * STAB的点击事件
     * @param index
     */
    layoutTabClick: function layoutTabClick(index) {
      var vm = this;
      vm.tabIndex = index;
      this.$emit('tabClick', index);
    },

    /**
     * tab的点击事件用于判断当前的哪个tab的哪个子元素是活跃状态，用于动态切换显示form
     * @param com 当前组件
     */
    tabNativeClick: function tabNativeClick(com) {
      var vm = this;
      vm.activeTab = com.configCode;
      vm.activeTabFiled = com.layoutFiledList.length ? com.layoutFiledList[vm.tabIndex].filedCode : '';
    },

    /**
     * 根据tab的显示动态判断tab下的form显示情况
     * @param com 当前的form组件
     */
    checkFromHide: function checkFromHide(com) {
      var vm = this;
      if (com.tabConfigCode && com.tabFiledCode) {
        if (com.tabConfigCode === vm.activeTab && com.tabFiledCode === vm.activeTabFiled) {
          return true;
        }
      }
      return false;
    },

    /**
     * Form title点击事件用于隐藏form下的内容
     * @param index
     */
    hideFormClick: function hideFormClick(index) {
      var vm = this;
      vm.layoutConfig[index]['hideForm'] = !vm.layoutConfig[index]['hideForm'];
    },

    /**
     * 下拉框点击函数 交由父组件处理 传递父组件当前点击对象以及字端名
     * @param com 当前组件
     * @param filed 当前字端
     */
    showSelect: function showSelect(com, filed) {
      if (this.readOnly) return;
      if (filed.inputMode !== 'readOnly') {
        this.$emit('showSelect', com.configCode, filed.filedCode);
      }
    },

    /**
     * 时间点击函数 交由父组件处理 传递父组件当前点击对象以及字端名
     * @param com 当前组件
     * @param filed 当前字端
     */
    showTime: function showTime(com, filed) {
      if (this.readOnly) return;
      if (filed.inputMode !== 'readOnly') {
        this.$emit('showTime', com.configCode, filed.filedCode);
      }
    },

    /**
     * 其他非input的字端点击函数 用于超链接等其他字端的逻辑处理 暴露给父组件一个点击事件传递父组件当前点击对象以及字端名
     * @param com 当前组件
     * @param filed 当前字端
     */
    filedClick: function filedClick(com, filed) {
      if (!this.readOnly) {
        this.$emit('filedClick', com.configCode, filed.filedCode);
      }
    },

    /**
     * 按钮点击事件 交由父组件处理 传递当前的按钮对象
     * @param com 当前组件
     * @param filed 当前字端
     */
    btnClick: function btnClick(com, filed) {
      var _this = this;

      if (!this.readOnly) {
        var btnType = com.configType;
        var btnCode = filed.filedCode;
        this.data.btns.forEach(function (btn, index) {
          if (btn.btnType === btnType && btn.btnCode === btnCode) {
            _this.$emit('btnClick', btn);
          }
        });
      }
    }
  }
});

/***/ }),

/***/ 448:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign__ = __webpack_require__(113);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign__);

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/* harmony default export */ __webpack_exports__["a"] = ({
  name: 'HLayout',
  props: {
    layoutData: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    showFormTitle: {
      type: Boolean,
      default: true
    },
    showTabDivider: {
      type: Boolean,
      default: true
    },
    showTabBorder: {
      type: Boolean,
      default: false
    },
    showBtnDivider: {
      type: Boolean,
      default: true
    },
    showBtn: {
      type: Boolean,
      default: true
    },
    formData: {
      type: Object,
      default: function _default() {}
    },
    readOnly: {
      type: Boolean,
      default: false
    }
  },
  data: function data() {
    return {
      tabIndex: 0,
      data: {},
      layoutConfig: [],
      activeTab: null,
      activeTabFiled: null,
      hasBottom: false
    };
  },

  computed: {},
  /**
   * 通过布局代码解析出form表单中定义了那些字端。取出字端的默认值等
   * 取出布局中的全部按钮，返回给父组件，用于按钮逻辑的处理
   * 取出后通过$set以及$email函数把值传递给父组件
   */
  created: function created() {
    var vm = this;
    if (vm.layoutData.length && vm.layoutData[0].layoutConfigList.length) {
      vm.layoutConfig = vm.layoutData[0].layoutConfigList;
      var btns = [];
      vm.layoutConfig.forEach(function (com, index) {
        if (com.configType === 'BottomTab') {
          vm.hasBottom = true;
        }
        if (com.configType === 'Form') {
          var form = com;
          var temp = {};
          if (form.layoutFiledList.length) {
            var fileds = form.layoutFiledList;
            fileds.forEach(function (filed, index) {
              if (vm.formData[form.configCode] && vm.formData[form.configCode][filed.filedCode] !== undefined) {
                temp[filed.filedCode] = vm.formData[form.configCode][filed.filedCode];
                if (filed.filedType === 'SELECT') {
                  temp[filed.filedCode + '_n'] = vm.formData[form.configCode][filed.filedCode + '_n'];
                }
              } else {
                if (filed.filedType === 'SELECT') {
                  temp[filed.filedCode] = filed.defaultValue;
                  temp[filed.filedCode + '_n'] = filed.defaultValueN;
                } else if (filed.filedType === 'SWITCH') {
                  temp[filed.filedCode] = !!filed.defaultValue;
                } else if (filed.filedType === 'CHECKBOX') {
                  temp[filed.filedCode] = !!filed.defaultValue;
                } else {
                  temp[filed.filedCode] = filed.defaultValue;
                }
              }
            });
            // 保留父组件data的值
            if (vm.formData[form.configCode]) {
              temp = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_assign___default()(temp, vm.formData[form.configCode]);
            }
            vm.$set(vm.data, [form.configCode], temp);
          }
        } else if (com.configType === 'Stab') {
          vm.activeTab = com.configCode;
          vm.activeTabFiled = com.layoutFiledList.length ? com.layoutFiledList[vm.tabIndex].filedCode : '';
        } else if (com.configType === 'Button' || com.configType === 'BottomTab') {
          if (com.layoutFiledList.length) {
            var btnFileds = com.layoutFiledList;
            btnFileds.forEach(function (btnFiled, index) {
              var btn = { 'btnType': com.configType, 'btnCode': btnFiled.filedCode, 'btnName': btnFiled.filedName };
              btns.push(btn);
            });
            vm.$set(vm.data, 'btns', btns);
          }
        }
      });
      vm.$emit('input', vm.data);
    }
  },

  methods: {
    filedReadOnly: function filedReadOnly(filed) {
      var vm = this;
      return vm.readOnly ? true : filed.inputMode === 'readOnly';
    },

    /**
     * item左右距离查询出来为字符串 在此转换为数组
     * @param proportion
     * @returns {*}
     */
    proportionArray: function proportionArray(proportion) {
      return proportion.split(',');
    },

    /**
     * STAB的点击事件
     * @param index
     */
    layoutTabClick: function layoutTabClick(index) {
      var vm = this;
      vm.tabIndex = index;
      this.$emit('tabClick', index);
    },

    /**
     * tab的点击事件用于判断当前的哪个tab的哪个子元素是活跃状态，用于动态切换显示form
     * @param com 当前组件
     */
    tabNativeClick: function tabNativeClick(com) {
      var vm = this;
      vm.activeTab = com.configCode;
      vm.activeTabFiled = com.layoutFiledList.length ? com.layoutFiledList[vm.tabIndex].filedCode : '';
    },

    /**
     * 根据tab的显示动态判断tab下的form显示情况
     * @param com 当前的form组件
     */
    checkFromHide: function checkFromHide(com) {
      var vm = this;
      if (com.tabConfigCode && com.tabFiledCode) {
        if (com.tabConfigCode === vm.activeTab && com.tabFiledCode === vm.activeTabFiled) {
          return true;
        }
      }
      return false;
    },

    /**
     * Form title点击事件用于隐藏form下的内容
     * @param index
     */
    hideFormClick: function hideFormClick(index) {
      var vm = this;
      vm.layoutConfig[index]['hideForm'] = !vm.layoutConfig[index]['hideForm'];
    },

    /**
     * 下拉框点击函数 交由父组件处理 传递父组件当前点击对象以及字端名
     * @param com 当前组件
     * @param filed 当前字端
     */
    showSelect: function showSelect(com, filed) {
      if (this.readOnly) return;
      if (filed.inputMode !== 'readOnly') {
        this.$emit('showSelect', com.configCode, filed.filedCode);
      }
    },

    /**
     * 时间点击函数 交由父组件处理 传递父组件当前点击对象以及字端名
     * @param com 当前组件
     * @param filed 当前字端
     */
    showTime: function showTime(com, filed) {
      if (this.readOnly) return;
      if (filed.inputMode !== 'readOnly') {
        this.$emit('showTime', com.configCode, filed.filedCode);
      }
    },

    /**
     * 其他非input的字端点击函数 用于超链接等其他字端的逻辑处理 暴露给父组件一个点击事件传递父组件当前点击对象以及字端名
     * @param com 当前组件
     * @param filed 当前字端
     */
    filedClick: function filedClick(com, filed) {
      if (!this.readOnly) {
        this.$emit('filedClick', com.configCode, filed.filedCode);
      }
    },

    /**
     * 按钮点击事件 交由父组件处理 传递当前的按钮对象
     * @param com 当前组件
     * @param filed 当前字端
     */
    btnClick: function btnClick(com, filed) {
      var _this = this;

      if (!this.readOnly) {
        var btnType = com.configType;
        var btnCode = filed.filedCode;
        this.data.btns.forEach(function (btn, index) {
          if (btn.btnType === btnType && btn.btnCode === btnCode) {
            _this.$emit('btnClick', btn);
          }
        });
      }
    }
  }
});

/***/ }),

/***/ 449:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"h-form"},[_vm._l((_vm.layoutConfig),function(com){return (com.configType==='Stab' && com.layoutFiledList.length)?_c('s-tab',{key:com.configId,class:com.cssClass,attrs:{"default-active":_vm.tabIndex,"has-border":_vm.showTabBorder,"show-divider":_vm.showTabDivider},on:{"tabClick":_vm.layoutTabClick},nativeOn:{"click":function($event){return _vm.tabNativeClick(com)}}},_vm._l((com.layoutFiledList),function(tab){return _c('tab-item',{key:tab.filedId},[_c('section',{domProps:{"innerHTML":_vm._s(tab.tabContent || tab.filedName)}})])}),1):_vm._e()}),_vm._v(" "),_c('h-content',{class:{'has-footer':_vm.hasBottom}},[_vm._l((_vm.layoutConfig),function(com,index){return [(com.configType==='Form' && com.layoutFiledList.length)?_c('list-item',{directives:[{name:"show",rawName:"v-show",value:(_vm.checkFromHide(com)),expression:"checkFromHide(com)"}],key:com.configId,class:com.cssClass},[_c('item',{directives:[{name:"show",rawName:"v-show",value:(_vm.showFormTitle),expression:"showFormTitle"}],staticClass:"form-title",nativeOn:{"click":function($event){return _vm.hideFormClick(index)}}},[_c('div',{attrs:{"slot":"name"},slot:"name"},[_vm._v(_vm._s(com.configName))]),_vm._v(" "),_c('img',{staticClass:"right-icon ",class:{'hide-down-icon':!com.hideForm,'hide-up-icon':com.hideForm},attrs:{"slot":"right-icon","src":__webpack_require__(450)},slot:"right-icon"})]),_vm._v(" "),_vm._l((com.layoutFiledList),function(filed){return _c('item',{directives:[{name:"show",rawName:"v-show",value:(!com.hideForm),expression:"!com.hideForm"}],key:filed.filedId,class:filed.cssClass,attrs:{"has-border":filed.hasBorder,"showContent":filed.showContent,"proportion":_vm.proportionArray(filed.proportion),"showName":filed.showName,"showArrow":filed.showArrow,"item-height":filed.filedHeight}},[(filed.leftIcon)?_c('img',{staticClass:"left-icon",attrs:{"slot":"left-icon","src":filed.leftIcon},slot:"left-icon"}):_vm._e(),_vm._v(" "),_c('div',{class:{'required':filed.inputMode=='required'},attrs:{"slot":"name"},slot:"name"},[_vm._v(_vm._s(filed.filedName))]),_vm._v(" "),((filed.inputType)==='checkbox'&&(filed.filedType==='INPUT'))?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.data[com.configCode][filed.filedCode]),expression:"data[com.configCode][filed.filedCode]"}],attrs:{"slot":"content","readonly":_vm.filedReadOnly(filed),"placeholder":filed.placeholder,"name":filed.filedCode,"type":"checkbox"},domProps:{"checked":Array.isArray(_vm.data[com.configCode][filed.filedCode])?_vm._i(_vm.data[com.configCode][filed.filedCode],null)>-1:(_vm.data[com.configCode][filed.filedCode])},on:{"change":function($event){var $$a=_vm.data[com.configCode][filed.filedCode],$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.data[com.configCode], filed.filedCode, $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.data[com.configCode], filed.filedCode, $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.data[com.configCode], filed.filedCode, $$c)}}},slot:"content"}):((filed.inputType)==='radio'&&(filed.filedType==='INPUT'))?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.data[com.configCode][filed.filedCode]),expression:"data[com.configCode][filed.filedCode]"}],attrs:{"slot":"content","readonly":_vm.filedReadOnly(filed),"placeholder":filed.placeholder,"name":filed.filedCode,"type":"radio"},domProps:{"checked":_vm._q(_vm.data[com.configCode][filed.filedCode],null)},on:{"change":function($event){return _vm.$set(_vm.data[com.configCode], filed.filedCode, null)}},slot:"content"}):(filed.filedType==='INPUT')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.data[com.configCode][filed.filedCode]),expression:"data[com.configCode][filed.filedCode]"}],attrs:{"slot":"content","readonly":_vm.filedReadOnly(filed),"placeholder":filed.placeholder,"name":filed.filedCode,"type":filed.inputType},domProps:{"value":(_vm.data[com.configCode][filed.filedCode])},on:{"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.data[com.configCode], filed.filedCode, $event.target.value)}},slot:"content"}):(filed.filedType==='SELECT')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.data[com.configCode][filed.filedCode+'_n']),expression:"data[com.configCode][filed.filedCode+'_n']"}],attrs:{"slot":"content","name":filed.filedCode,"placeholder":filed.placeholder,"readonly":""},domProps:{"value":(_vm.data[com.configCode][filed.filedCode+'_n'])},on:{"click":function($event){return _vm.showSelect(com,filed)},"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.data[com.configCode], filed.filedCode+'_n', $event.target.value)}},slot:"content"}):(filed.filedType=='TIME')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.data[com.configCode][filed.filedCode]),expression:"data[com.configCode][filed.filedCode]"}],attrs:{"slot":"content","name":filed.filedCode,"placeholder":filed.placeholder,"readonly":""},domProps:{"value":(_vm.data[com.configCode][filed.filedCode])},on:{"click":function($event){return _vm.showTime(com,filed)},"input":function($event){if($event.target.composing){ return; }_vm.$set(_vm.data[com.configCode], filed.filedCode, $event.target.value)}},slot:"content"}):(filed.filedType==='SWITCH')?_c('h-switch',{attrs:{"slot":"content","name":filed.filedCode,"disable":_vm.filedReadOnly(filed)},slot:"content",model:{value:(_vm.data[com.configCode][filed.filedCode]),callback:function ($$v) {_vm.$set(_vm.data[com.configCode], filed.filedCode, $$v)},expression:"data[com.configCode][filed.filedCode]"}}):(filed.filedType==='CHECKBOX')?_c('h-check',{attrs:{"slot":"content","name":filed.filedCode,"disable":_vm.filedReadOnly(filed)},slot:"content",model:{value:(_vm.data[com.configCode][filed.filedCode]),callback:function ($$v) {_vm.$set(_vm.data[com.configCode], filed.filedCode, $$v)},expression:"data[com.configCode][filed.filedCode]"}}):_c('div',{attrs:{"slot":"content"},domProps:{"innerHTML":_vm._s(_vm.data[com.configCode][filed.filedCode])},on:{"click":function($event){return _vm.filedClick(com,filed)}},slot:"content"}),_vm._v(" "),(filed.rightIcon)?_c('img',{staticClass:"right-icon",attrs:{"slot":"right-icon","src":filed.rightIcon},slot:"right-icon"}):_vm._e()],1)})],2):_vm._e(),_vm._v(" "),(_vm.showBtn)?[(com.configType==='Button' && com.layoutFiledList.length)?_c('section',{staticClass:"layout-button"},_vm._l((com.layoutFiledList),function(btn){return _c('h-button',{key:btn.filedId,class:btn.cssClass,attrs:{"size":"normal"},nativeOn:{"click":function($event){return _vm.btnClick(com,btn)}}},[_c('section',{domProps:{"innerHTML":_vm._s(btn.btnContent || btn.filedName)}})])}),1):_vm._e()]:_vm._e()]})],2),_vm._v(" "),(_vm.showBtn)?_vm._l((_vm.layoutConfig),function(com,index){return (com.configType==='BottomTab' && com.layoutFiledList.length)?_c('bottom-tab',{key:index,class:com.cssClass,attrs:{"show-divider":_vm.showBtnDivider}},_vm._l((com.layoutFiledList),function(btn){return _c('tab-button',{key:btn.filedId,class:btn.cssClass,attrs:{"disabled":_vm.filedReadOnly(btn)},nativeOn:{"click":function($event){return _vm.btnClick(com,btn)}}},[_c('section',{domProps:{"innerHTML":_vm._s(btn.btnContent || btn.filedName)}})])}),1):_vm._e()}):_vm._e()],2)}
var staticRenderFns = []
var esExports = { render: render, staticRenderFns: staticRenderFns }
/* harmony default export */ __webpack_exports__["a"] = (esExports);

/***/ }),

/***/ 450:
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__.p + "static/img/right-arrow@2x.3ab5e11.png";

/***/ }),

/***/ 49:
/***/ (function(module, exports, __webpack_require__) {

// 7.1.15 ToLength
var toInteger = __webpack_require__(32);
var min = Math.min;
module.exports = function (it) {
  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
};


/***/ }),

/***/ 5:
/***/ (function(module, exports, __webpack_require__) {

var global = __webpack_require__(0);
var core = __webpack_require__(1);
var ctx = __webpack_require__(20);
var hide = __webpack_require__(9);
var has = __webpack_require__(12);
var PROTOTYPE = 'prototype';

var $export = function (type, name, source) {
  var IS_FORCED = type & $export.F;
  var IS_GLOBAL = type & $export.G;
  var IS_STATIC = type & $export.S;
  var IS_PROTO = type & $export.P;
  var IS_BIND = type & $export.B;
  var IS_WRAP = type & $export.W;
  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
  var expProto = exports[PROTOTYPE];
  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
  var key, own, out;
  if (IS_GLOBAL) source = name;
  for (key in source) {
    // contains in native
    own = !IS_FORCED && target && target[key] !== undefined;
    if (own && has(exports, key)) continue;
    // export native or passed
    out = own ? target[key] : source[key];
    // prevent global pollution for namespaces
    exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
    // bind timers to global for call from export context
    : IS_BIND && own ? ctx(out, global)
    // wrap global constructors for prevent change them in library
    : IS_WRAP && target[key] == out ? (function (C) {
      var F = function (a, b, c) {
        if (this instanceof C) {
          switch (arguments.length) {
            case 0: return new C();
            case 1: return new C(a);
            case 2: return new C(a, b);
          } return new C(a, b, c);
        } return C.apply(this, arguments);
      };
      F[PROTOTYPE] = C[PROTOTYPE];
      return F;
    // make static versions for prototype methods
    })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
    // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
    if (IS_PROTO) {
      (exports.virtual || (exports.virtual = {}))[key] = out;
      // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
      if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
    }
  }
};
// type bitmap
$export.F = 1;   // forced
$export.G = 2;   // global
$export.S = 4;   // static
$export.P = 8;   // proto
$export.B = 16;  // bind
$export.W = 32;  // wrap
$export.U = 64;  // safe
$export.R = 128; // real proto method for `library`
module.exports = $export;


/***/ }),

/***/ 58:
/***/ (function(module, exports, __webpack_require__) {

// fallback for non-array-like ES3 and non-enumerable old V8 strings
var cof = __webpack_require__(16);
// eslint-disable-next-line no-prototype-builtins
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
  return cof(it) == 'String' ? it.split('') : Object(it);
};


/***/ }),

/***/ 59:
/***/ (function(module, exports, __webpack_require__) {

module.exports = !__webpack_require__(7) && !__webpack_require__(13)(function () {
  return Object.defineProperty(__webpack_require__(34)('div'), 'a', { get: function () { return 7; } }).a != 7;
});


/***/ }),

/***/ 6:
/***/ (function(module, exports, __webpack_require__) {

var isObject = __webpack_require__(10);
module.exports = function (it) {
  if (!isObject(it)) throw TypeError(it + ' is not an object!');
  return it;
};


/***/ }),

/***/ 60:
/***/ (function(module, exports, __webpack_require__) {

var has = __webpack_require__(12);
var toIObject = __webpack_require__(14);
var arrayIndexOf = __webpack_require__(86)(false);
var IE_PROTO = __webpack_require__(33)('IE_PROTO');

module.exports = function (object, names) {
  var O = toIObject(object);
  var i = 0;
  var result = [];
  var key;
  for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
  // Don't enum bug & hidden keys
  while (names.length > i) if (has(O, key = names[i++])) {
    ~arrayIndexOf(result, key) || result.push(key);
  }
  return result;
};


/***/ }),

/***/ 7:
/***/ (function(module, exports, __webpack_require__) {

// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__(13)(function () {
  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
});


/***/ }),

/***/ 86:
/***/ (function(module, exports, __webpack_require__) {

// false -> Array#indexOf
// true  -> Array#includes
var toIObject = __webpack_require__(14);
var toLength = __webpack_require__(49);
var toAbsoluteIndex = __webpack_require__(87);
module.exports = function (IS_INCLUDES) {
  return function ($this, el, fromIndex) {
    var O = toIObject($this);
    var length = toLength(O.length);
    var index = toAbsoluteIndex(fromIndex, length);
    var value;
    // Array#includes uses SameValueZero equality algorithm
    // eslint-disable-next-line no-self-compare
    if (IS_INCLUDES && el != el) while (length > index) {
      value = O[index++];
      // eslint-disable-next-line no-self-compare
      if (value != value) return true;
    // Array#indexOf ignores holes, Array#includes - not
    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
      if (O[index] === el) return IS_INCLUDES || index || 0;
    } return !IS_INCLUDES && -1;
  };
};


/***/ }),

/***/ 87:
/***/ (function(module, exports, __webpack_require__) {

var toInteger = __webpack_require__(32);
var max = Math.max;
var min = Math.min;
module.exports = function (index, length) {
  index = toInteger(index);
  return index < 0 ? max(index + length, 0) : min(index, length);
};


/***/ }),

/***/ 9:
/***/ (function(module, exports, __webpack_require__) {

var dP = __webpack_require__(11);
var createDesc = __webpack_require__(24);
module.exports = __webpack_require__(7) ? function (object, key, value) {
  return dP.f(object, key, createDesc(1, value));
} : function (object, key, value) {
  object[key] = value;
  return object;
};


/***/ })

});