twmodule 0.1.16 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/twComp.umd.js CHANGED
@@ -96,6 +96,13 @@ return /******/ (function(modules) { // webpackBootstrap
96
96
  /************************************************************************/
97
97
  /******/ ({
98
98
 
99
+ /***/ "01b4":
100
+ /***/ (function(module, exports, __webpack_require__) {
101
+
102
+ // extracted by mini-css-extract-plugin
103
+
104
+ /***/ }),
105
+
99
106
  /***/ "053b":
100
107
  /***/ (function(module, exports, __webpack_require__) {
101
108
 
@@ -2213,13 +2220,6 @@ test[TO_STRING_TAG] = 'z';
2213
2220
  module.exports = String(test) === '[object z]';
2214
2221
 
2215
2222
 
2216
- /***/ }),
2217
-
2218
- /***/ "4a8c":
2219
- /***/ (function(module, exports, __webpack_require__) {
2220
-
2221
- // extracted by mini-css-extract-plugin
2222
-
2223
2223
  /***/ }),
2224
2224
 
2225
2225
  /***/ "4fda":
@@ -2810,17 +2810,6 @@ module.exports = !fails(function () {
2810
2810
  });
2811
2811
 
2812
2812
 
2813
- /***/ }),
2814
-
2815
- /***/ "659f":
2816
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2817
-
2818
- "use strict";
2819
- /* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_623ece2c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4a8c");
2820
- /* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_623ece2c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_623ece2c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
2821
- /* unused harmony reexport * */
2822
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_623ece2c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
2823
-
2824
2813
  /***/ }),
2825
2814
 
2826
2815
  /***/ "692f":
@@ -5832,6 +5821,17 @@ module.exports = Object.keys || function keys(O) {
5832
5821
  };
5833
5822
 
5834
5823
 
5824
+ /***/ }),
5825
+
5826
+ /***/ "cdf4":
5827
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5828
+
5829
+ "use strict";
5830
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_b9896e6c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("01b4");
5831
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_b9896e6c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_b9896e6c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
5832
+ /* unused harmony reexport * */
5833
+ /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_3_vue_loader_lib_index_js_vue_loader_options_twTable_vue_vue_type_style_index_0_id_b9896e6c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
5834
+
5835
5835
  /***/ }),
5836
5836
 
5837
5837
  /***/ "cf8c":
@@ -9720,19 +9720,19 @@ var mainvue_type_template_id_61236700_staticRenderFns = []
9720
9720
 
9721
9721
  // CONCATENATED MODULE: ./packages/twTable/src/main.vue?vue&type=template&id=61236700&
9722
9722
 
9723
- // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9b9f7194-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=623ece2c&scoped=true&
9724
- var twTablevue_type_template_id_623ece2c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{style:({position:'relative','padding-bottom':(_vm.tableInit.addNewRow || _vm.tableInit.pagination)?'70px':'0'})},[_c('a-table',{class:_vm.tableInit.tableClassName?_vm.tableInit.tableClassName+' twTableStyle':'twTableStyle',attrs:{"columns":_vm.columns.filter(function (v) { return !v.rowHide; }),"data-source":_vm.tableData,"pagination":false,"size":_vm.tableInit.size?_vm.tableInit.size:'small',"customRow":_vm.customRow,"bordered":_vm.tableInit.border,"rowKey":function (record) { return _vm.tableInit.rowId?record[_vm.tableInit.rowId]:record.tableItemKey },"customHeaderRow":_vm.customHeaderRow,"scroll":{y:_vm.tableInit.height?_vm.tableInit.height:'',x:_vm.tableInit.width?_vm.tableInit.width:''},"row-selection":_vm.tableInit.select?{ selectedRowKeys: _vm.selectedRowKeys,getCheckboxProps:_vm.getCheckboxProps,
9723
+ // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9b9f7194-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=b9896e6c&scoped=true&
9724
+ var twTablevue_type_template_id_b9896e6c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{style:({position:'relative','padding-bottom':(_vm.tableInit.addNewRow || _vm.tableInit.pagination)?'70px':'0'})},[_c('a-table',{class:_vm.tableInit.tableClassName?_vm.tableInit.tableClassName+' twTableStyle':'twTableStyle',attrs:{"columns":_vm.columns.filter(function (v) { return !v.rowHide; }),"data-source":_vm.tableData,"pagination":false,"size":_vm.tableInit.size?_vm.tableInit.size:'small',"customRow":_vm.customRow,"bordered":_vm.tableInit.border,"rowKey":function (record) { return _vm.tableInit.rowId?record[_vm.tableInit.rowId]:record.tableItemKey },"customHeaderRow":_vm.customHeaderRow,"scroll":{y:_vm.tableInit.height?_vm.tableInit.height:'',x:_vm.tableInit.width?_vm.tableInit.width:''},"row-selection":_vm.tableInit.select?{ selectedRowKeys: _vm.selectedRowKeys,getCheckboxProps:_vm.getCheckboxProps,
9725
9725
  onChange: _vm.onSelectChange,onSelect: _vm.onSelect,onSelectAll: _vm.onSelectAll,onSelectInvert: _vm.onSelectInvert }:null,"rowClassName":_vm.rowClassName,"showHeader":!_vm.tableInit.hideHeader},scopedSlots:_vm._u([_vm._l((_vm.columns),function(item,foreachIndex){return {key:item.dataIndex,fn:function(text, record, index){return _c('div',{key:foreachIndex+'w'},[(item.isEdit)?_c('span',{staticClass:"twFlex-start"},[(item.isEdit.required)?_c('span',{staticStyle:{"color":"red","margin-right":"5px"}},[_vm._v("*")]):_vm._e(),_c('span',{staticStyle:{"width":"90%"}},[(item.isEdit.type === 'textBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[item.dataIndex]?record[item.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item,index)},"input":function($event){return _vm.onCellFBC('change',record,item,index,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item,index)},"input":function($event){return _vm.onCellFBC('change',record,item,index,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item,index)}},slot:"reference",model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}})],1)],1)],1):_vm._e(),(item.isEdit.type === 'numberBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[item.dataIndex]?record[item.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item,index)},"input":function($event){return _vm.onCellFBC('change',record,item,index,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入',"size":"mini","type":"number","clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item,index)},"input":function($event){return _vm.onCellFBC('change',record,item,index,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item,index)}},slot:"reference",model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}})],1)],1)],1):_vm._e(),(item.isEdit.type === 'textareaBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[item.dataIndex]?record[item.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":item.isEdit.boxWidth?item.isEdit.boxWidth:300,"trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item,index)},"input":function($event){return _vm.onCellFBC('change',record,item,index,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入',"size":"mini","type":"textarea","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item,index)},"input":function($event){return _vm.onCellFBC('change',record,item,index,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item,index)}},slot:"reference",model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}})],1)],1)],1):_vm._e(),(item.isEdit.type === 'text')?_c('el-input',{attrs:{"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item,index)},"input":function($event){return _vm.onCellFBC('change',record,item,index,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'number')?_c('el-input',{attrs:{"type":"number","size":"mini","clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item,index)},"input":function($event){return _vm.onCellFBC('change',record,item,index,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'textarea')?_c('el-input',{attrs:{"type":"textarea","size":"mini","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"readonly":!!item.isEdit.readonly,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,item,index)},"input":function($event){return _vm.onCellFBC('change',record,item,index,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'selectCascade')?_c('el-cascader',{attrs:{"filterable":item.isEdit.selectSearch?item.isEdit.selectSearch:true,"options":item.isEdit.dataList,"size":"mini","collapse-tags":item.isEdit.showAllName !== 'showAll',"disabled":item.isEdit.disabled,"show-all-levels":item.isEdit.showAllLevel?item.isEdit.showAllLevel:false,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请选择',"clearable":"","props":{ expandTrigger: item.isEdit.trigger?item.isEdit.trigger:'hover',
9726
9726
  multiple:item.isEdit.isSelectMore?item.isEdit.isSelectMore:false,
9727
9727
  checkStrictly:item.isEdit.checkAny?item.isEdit.checkAny:false,
9728
9728
  label:item.isEdit.changeLabel?item.isEdit.changeLabel:'label',
9729
9729
  value:item.isEdit.changeValue?item.isEdit.changeValue:'value',
9730
9730
  children:item.isEdit.changeChildren?item.isEdit.changeChildren:'children'
9731
- }},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'select')?_c('el-select',{attrs:{"size":"mini","clearable":"","filterable":!!item.isEdit.selectSearch,"multiple":!!item.isEdit.isSelectMore,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请选择',"collapse-tags":item.isEdit.showAllName !== 'showAll',"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(item){return _c('el-option',{key:item.value+Math.ceil(Math.random()*1000),attrs:{"label":item.name,"value":item.value}})}),1):_vm._e(),(item.isEdit.type === 'radio')?_c('el-radio-group',{attrs:{"disabled":!!item.isEdit.disabled || record.twRadioDisabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(radioItem,foreachIndex){return _c('el-radio',{key:foreachIndex+'e',attrs:{"label":radioItem.value}},[_vm._v(_vm._s(radioItem.name))])}),1):_vm._e(),(item.isEdit.type === 'checkBox')?_c('el-checkbox-group',{attrs:{"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(checkItem,foreachIndex){return _c('el-checkbox',{key:foreachIndex+'r',attrs:{"label":checkItem.value}},[_vm._v(_vm._s(checkItem.name))])}),1):_vm._e(),(item.isEdit.type === 'switch')?_c('el-switch',{attrs:{"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"active-color":item.isEdit.activeColor?item.isEdit.activeColor:'',"inactive-color":item.isEdit.defaultColor?item.isEdit.defaultColor:''},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'date')?_c('el-date-picker',{attrs:{"size":"mini","type":item.isEdit.dateType?item.isEdit.dateType:'date',"clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请选择',"value-format":item.isEdit.valueFormat,"format":item.isEdit.dateFormat,"picker-options":_vm.processDate(item)},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e()],1)]):_vm._e(),(item.isBtn)?_c('span',_vm._l((item.isBtn.btnList),function(itemBtn,foreachIndex){return ((itemBtn.isShowBtn && record[itemBtn.isShowBtn]) || !itemBtn.isShowBtn)?_c('el-button',{key:foreachIndex+'b',style:({'color':itemBtn.color?itemBtn.color:''}),attrs:{"type":"text","icon":itemBtn.icon},on:{"click":function($event){return _vm.clickBtn(record,itemBtn,index)}}},[_vm._v(_vm._s(itemBtn.name))]):_vm._e()}),1):_vm._e(),(item.isFiles)?_c('span',[(record[item.dataIndex] && record[item.dataIndex].length>0)?_c('span',[_c('el-popover',{attrs:{"placement":"bottom","width":"200","trigger":item.isFiles.trigger?item.isFiles.trigger:'hover'}},[_vm._l((record[item.dataIndex]),function(itemBtn,foreachIndex){return _c('section',{key:foreachIndex+'c'},[_c('div',{staticClass:"twFlex-between",staticStyle:{"margin-bottom":"10px","color":"#39f"}},[_c('span',{staticClass:"twEllipsis",staticStyle:{"max-width":"90%","cursor":"pointer"},attrs:{"title":itemBtn.fileName}},[_vm._v(_vm._s(itemBtn.fileName))]),_c('span',{staticStyle:{"color":"red","cursor":"pointer"},on:{"click":function($event){$event.stopPropagation();return _vm.clickBtn(record,item,index,{name:'删除',index:foreachIndex,childItem:itemBtn,list:record[item.dataIndex]})}}},[_c('i',{staticClass:"el-icon-delete"})])])])}),_c('el-button',{attrs:{"type":"primary","plain":"","size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.clickBtn(record,item,index)}}},[_vm._v("附件上传")]),_c('div',{staticClass:"twEllipsis",staticStyle:{"cursor":"pointer"},attrs:{"slot":"reference"},slot:"reference"},_vm._l((record[item.dataIndex]),function(itemBtn,foreachIndex){return _c('span',{key:foreachIndex+'v',staticStyle:{"color":"#39f"}},[_vm._v(" "+_vm._s(itemBtn.fileName)+", ")])}),0)],2)],1):_c('span',{style:({'color':item.isFiles.color?item.isFiles.color:'#39f','cursor':'pointer'}),on:{"click":function($event){return _vm.clickBtn(record,item,index)}}},[_vm._v(" "+_vm._s(item.isFiles.placeholder?item.isFiles.placeholder:'上传附件')+" ")])]):_vm._e(),(item.isSpecial)?_c('span',[(item.isSpecial.type === 'num')?_c('span',{class:item.isSpecial.class,on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(_vm.changeNum(text,item.isSpecial.numType)))]):_vm._e(),(item.isSpecial.type === 'img')?_c('img',{class:item.isSpecial.class,attrs:{"src":item.isSpecial.img},on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}}):_vm._e(),_vm._l((item.isSpecial.imgList),function(imgItem,foreachIndex){return (item.isSpecial.type === 'imgList' && imgItem.value === text)?_c('img',{key:foreachIndex+'t',class:item.isSpecial.class,attrs:{"src":imgItem.img},on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}}):_vm._e()}),(item.isSpecial.type === 'style')?_c('span',{class:item.isSpecial.class,style:(item.isSpecial.textStyle),on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(text))]):_vm._e(),_vm._l((item.isSpecial.textStyleList),function(styleItem,foreachIndex){return (item.isSpecial.type === 'styleList' && styleItem.value === text)?_c('span',{key:foreachIndex+'y',class:item.isSpecial.class,style:(styleItem.style),on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(text))]):_vm._e()})],2):_vm._e(),(item.twEllipsis)?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":text,"placement":"top-start"}},[_c('div',{class:item.twEllipsis===1?'twEllipsis':'twEllipsis2'},[_vm._v(_vm._s(text))])])],1):_vm._e(),(item.isState)?_c('span',_vm._l((item.isState.stateList),function(stateItem,foreachIndex){return (text === stateItem.value)?_c('span',{key:foreachIndex+'s',class:stateItem.class?stateItem.class+' cellSateStyle':'cellSateStyle',style:(stateItem.styles),on:{"click":function($event){item.isState.isClick?_vm.clickBtn(record,item,index):''}}},[_c('span',{staticStyle:{"display":"flex","align-items":"center","justify-content":"center"}},[(stateItem.icon)?_c('i',{class:stateItem.icon}):_vm._e(),(stateItem.img)?_c('img',{class:stateItem.imgClass,attrs:{"src":stateItem.img}}):_vm._e(),_c('span',[_vm._v(_vm._s(stateItem.name || text))])])]):_vm._e()}),0):_vm._e(),(item.isHtml)?_c('div',_vm._l((item.isHtml),function(htmlItem,foreachIndex){return (text === htmlItem.value)?_c('div',{key:foreachIndex+'d',domProps:{"innerHTML":_vm._s(htmlItem.html)}}):_vm._e()}),0):_vm._e(),(item.mention && !item.isSpecial && !item.isState && !item.isEdit && !item.isFiles && !item.isHtml && !item.isBtn)?_c('div',[_vm._v(" "+_vm._s(record[item.dataIndex])+" ")]):_vm._e()])}}}),_vm._l((_vm.columnsChild),function(itemChild,foreachIndex){return {key:itemChild.dataIndex,fn:function(text, record, index){return _c('div',{key:foreachIndex+'u'},[(itemChild.isEdit)?_c('span',[(itemChild.isEdit.required)?_c('span',{staticStyle:{"color":"red"}},[_vm._v("*")]):_vm._e(),(itemChild.isEdit.type === 'textBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'numberBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","type":"number","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'textareaBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","type":"textarea","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'text')?_c('el-input',{attrs:{"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'number')?_c('el-input',{attrs:{"type":"number","size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'textarea')?_c('el-input',{attrs:{"type":"textarea","size":"mini","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'select')?_c('el-select',{attrs:{"size":"mini","clearable":"","filterable":!!itemChild.isEdit.selectSearch,"multiple":!!itemChild.isEdit.isSelectMore,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请选择',"collapse-tags":itemChild.isEdit.showAllName !== 'showAll',"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(item){return _c('el-option',{key:item.value+Math.ceil(Math.random()*1000),attrs:{"label":item.name,"value":item.value}})}),1):_vm._e(),(itemChild.isEdit.type === 'radio')?_c('el-radio-group',{attrs:{"disabled":!!itemChild.isEdit.disabled || record.twRadioDisabled || record[itemChild.dataIndex+'RadioDisabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(radioItem,foreachIndex){return _c('el-radio',{key:foreachIndex+'i',attrs:{"label":radioItem.value}},[_vm._v(_vm._s(radioItem.name))])}),1):_vm._e(),(itemChild.isEdit.type === 'checkBox')?_c('el-checkbox-group',{attrs:{"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(checkItem,foreachIndex){return _c('el-checkbox',{key:foreachIndex+'o',attrs:{"label":checkItem.value}},[_vm._v(_vm._s(checkItem.name))])}),1):_vm._e(),(itemChild.isEdit.type === 'switch')?_c('el-switch',{attrs:{"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"active-color":itemChild.isEdit.activeColor?itemChild.isEdit.activeColor:'',"inactive-color":itemChild.isEdit.defaultColor?itemChild.isEdit.defaultColor:''},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'date')?_c('el-date-picker',{attrs:{"size":"mini","type":itemChild.isEdit.dateType?itemChild.isEdit.dateType:'date',"clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请选择',"value-format":itemChild.isEdit.valueFormat,"format":itemChild.isEdit.dateFormat,"picker-options":_vm.processDate(itemChild)},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e()],1):_vm._e(),(itemChild.isBtn)?_c('span',_vm._l((itemChild.isBtn.btnList),function(itemBtn,foreachIndex){return ((itemBtn.isShowBtn && record[itemBtn.isShowBtn]) || !itemBtn.isShowBtn)?_c('el-button',{key:foreachIndex+'p',style:({'color':itemBtn.color?itemBtn.color:''}),attrs:{"type":"text","icon":itemBtn.icon},on:{"click":function($event){return _vm.clickBtn(record,itemBtn,index)}}},[_vm._v(_vm._s(itemBtn.name))]):_vm._e()}),1):_vm._e(),(itemChild.isSpecial)?_c('span',[(itemChild.isSpecial.type === 'num')?_c('span',{class:itemChild.isSpecial.class,on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(_vm.changeNum(text,itemChild.isSpecial.numType)))]):_vm._e(),(itemChild.isSpecial.type === 'img')?_c('img',{class:itemChild.isSpecial.class,attrs:{"src":itemChild.isSpecial.img},on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}}):_vm._e(),_vm._l((itemChild.isSpecial.imgList),function(imgItem,foreachIndex){return (itemChild.isSpecial.type === 'imgList' && imgItem.value === text)?_c('img',{key:foreachIndex+'f',class:itemChild.isSpecial.class,attrs:{"src":imgItem.img},on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}}):_vm._e()}),(itemChild.isSpecial.type === 'style')?_c('span',{class:itemChild.isSpecial.class,style:(itemChild.isSpecial.textStyle),on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(text))]):_vm._e(),_vm._l((itemChild.isSpecial.textStyleList),function(styleItem,foreachIndex){return (itemChild.isSpecial.type === 'styleList' && styleItem.value === text)?_c('span',{key:foreachIndex+'p',class:itemChild.isSpecial.class,style:(styleItem.style),on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(text))]):_vm._e()})],2):_vm._e(),(itemChild.twEllipsis)?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":text,"placement":"top-start"}},[_c('div',{class:itemChild.twEllipsis===1?'twEllipsis':'twEllipsis2'},[_vm._v(_vm._s(text))])])],1):_vm._e(),(itemChild.isState)?_c('span',_vm._l((itemChild.isState.stateList),function(stateItem,foreachIndex){return (text === stateItem.value)?_c('span',{key:foreachIndex+'a',class:stateItem.class?stateItem.class+' cellSateStyle':'cellSateStyle',style:(stateItem.styles),on:{"click":function($event){itemChild.isState.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_c('span',{staticStyle:{"display":"flex","align-items":"center"}},[(stateItem.icon)?_c('i',{class:stateItem.icon}):_vm._e(),(stateItem.img)?_c('img',{attrs:{"src":stateItem.img}}):_vm._e(),_c('span',[_vm._v(_vm._s(stateItem.name || text))])])]):_vm._e()}),0):_vm._e(),(itemChild.isHtml)?_c('div',_vm._l((itemChild.isHtml),function(htmlItem,foreachIndex){return (text === htmlItem.value)?_c('div',{key:foreachIndex+'a',domProps:{"innerHTML":_vm._s(htmlItem.html)}}):_vm._e()}),0):_vm._e(),(itemChild.mention && !itemChild.isSpecial && !itemChild.isState && !itemChild.isEdit && !itemChild.isFiles && !itemChild.isHtml && !itemChild.isBtn)?_c('div',[_vm._v(" "+_vm._s(record[itemChild.dataIndex])+" ")]):_vm._e()])}}})],null,true)},[_vm._l((_vm.columns),function(headItem,headIndex){return _c('template',{slot:headItem.iconName},[_c('div',{staticClass:"twFlex-start"},[_c('span',[_vm._v(_vm._s(headItem.iconName))]),(headItem.mention)?_c('el-popover',{attrs:{"placement":headItem.mention.direct?headItem.mention.direct:'left',"width":headItem.mention.width?headItem.mention.width:'250',"trigger":headItem.mention.trigger?headItem.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(headItem.mention.textStyle)},[_vm._v(_vm._s(headItem.mention.text))]),(headItem.mention)?_c('i',{class:headItem.mention.icon?headItem.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(headItem.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)])})],2),(_vm.tableInit.addNewRow)?_c('div',{staticClass:"addLine"},[_c('el-button',{attrs:{"type":"text","icon":"el-icon-plus"},on:{"click":_vm.addLine}},[_vm._v("添加")])],1):_vm._e(),(_vm.tableInit.pagination)?_c('PaginationAnt',{staticStyle:{"float":"right"},attrs:{"total":_vm.tableInit.pagination.total,"showJumper":_vm.tableInit.pagination.showJumper,"hideTotal":_vm.tableInit.pagination.hideTotal,"defaultPageSize":_vm.tableInit.pagination.pageSize,"currPage":_vm.tableInit.pagination.currPage,"pageSizes":_vm.tableInit.pagination.sizeList?_vm.tableInit.pagination.sizeList:['10','20','30','50','100']},on:{"paginaFunc":_vm.paginaFunc}}):_vm._e()],1)}
9732
- var twTablevue_type_template_id_623ece2c_scoped_true_staticRenderFns = []
9731
+ }},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'select')?_c('el-select',{attrs:{"size":"mini","clearable":"","filterable":!!item.isEdit.selectSearch,"multiple":!!item.isEdit.isSelectMore,"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请选择',"collapse-tags":item.isEdit.showAllName !== 'showAll',"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(item){return _c('el-option',{key:item.value+Math.ceil(Math.random()*1000),attrs:{"label":item.name,"value":item.value}})}),1):_vm._e(),(item.isEdit.type === 'radio')?_c('el-radio-group',{attrs:{"disabled":!!item.isEdit.disabled || record.twRadioDisabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(radioItem,foreachIndex){return _c('el-radio',{key:foreachIndex+'e',attrs:{"label":radioItem.value}},[_vm._v(_vm._s(radioItem.name))])}),1):_vm._e(),(item.isEdit.type === 'checkBox')?_c('el-checkbox-group',{attrs:{"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}},_vm._l((item.isEdit.dataList),function(checkItem,foreachIndex){return _c('el-checkbox',{key:foreachIndex+'r',attrs:{"label":checkItem.value}},[_vm._v(_vm._s(checkItem.name))])}),1):_vm._e(),(item.isEdit.type === 'switch')?_c('el-switch',{attrs:{"disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"active-color":item.isEdit.activeColor?item.isEdit.activeColor:'',"inactive-color":item.isEdit.defaultColor?item.isEdit.defaultColor:''},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e(),(item.isEdit.type === 'date')?_c('el-date-picker',{attrs:{"size":"mini","type":item.isEdit.dateType?item.isEdit.dateType:'date',"clearable":"","disabled":!!item.isEdit.disabled || record[item.dataIndex+'Disabled'],"placeholder":item.isEdit.placeholder?item.isEdit.placeholder:'请选择',"value-format":item.isEdit.valueFormat,"format":item.isEdit.dateFormat,"picker-options":_vm.processDate(item)},on:{"change":function($event){return _vm.clickBtn(record,item,index)}},model:{value:(record[item.dataIndex]),callback:function ($$v) {_vm.$set(record, item.dataIndex, $$v)},expression:"record[item.dataIndex]"}}):_vm._e()],1)]):_vm._e(),(item.isBtn)?_c('span',_vm._l((item.isBtn.btnList),function(itemBtn,foreachIndex){return ((itemBtn.isShowBtn && record[itemBtn.isShowBtn]) || !itemBtn.isShowBtn)?_c('el-button',{key:foreachIndex+'b',style:({'color':itemBtn.color?itemBtn.color:''}),attrs:{"type":"text","icon":itemBtn.icon},on:{"click":function($event){return _vm.clickBtn(record,itemBtn,index)}}},[_vm._v(_vm._s(itemBtn.name))]):_vm._e()}),1):_vm._e(),(item.isFiles)?_c('span',[(record[item.dataIndex] && record[item.dataIndex].length>0)?_c('span',[_c('el-popover',{attrs:{"placement":"bottom","width":"200","trigger":item.isFiles.trigger?item.isFiles.trigger:'hover'}},[_vm._l((record[item.dataIndex]),function(itemBtn,foreachIndex){return _c('section',{key:foreachIndex+'c'},[_c('div',{staticClass:"twFlex-between",staticStyle:{"margin-bottom":"10px","color":"#39f"}},[_c('span',{staticClass:"twEllipsis",staticStyle:{"max-width":"90%","cursor":"pointer"},attrs:{"title":itemBtn.fileName}},[_vm._v(_vm._s(itemBtn.fileName))]),_c('span',{staticStyle:{"color":"red","cursor":"pointer"},on:{"click":function($event){$event.stopPropagation();return _vm.clickBtn(record,item,index,{name:'删除',index:foreachIndex,childItem:itemBtn,list:record[item.dataIndex]})}}},[_c('i',{staticClass:"el-icon-delete"})])])])}),_c('el-button',{attrs:{"type":"primary","plain":"","size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.clickBtn(record,item,index)}}},[_vm._v("附件上传")]),_c('div',{staticClass:"twEllipsis",staticStyle:{"cursor":"pointer"},attrs:{"slot":"reference"},slot:"reference"},_vm._l((record[item.dataIndex]),function(itemBtn,foreachIndex){return _c('span',{key:foreachIndex+'v',staticStyle:{"color":"#39f"}},[_vm._v(" "+_vm._s(itemBtn.fileName)+", ")])}),0)],2)],1):_c('span',{style:({'color':item.isFiles.color?item.isFiles.color:'#39f','cursor':'pointer'}),on:{"click":function($event){return _vm.clickBtn(record,item,index)}}},[_vm._v(" "+_vm._s(item.isFiles.placeholder?item.isFiles.placeholder:'上传附件')+" ")])]):_vm._e(),(item.isSpecial)?_c('span',[(item.isSpecial.type === 'num')?_c('span',{class:item.isSpecial.class,on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(_vm.changeNum(text,item.isSpecial.numType)))]):_vm._e(),(item.isSpecial.type === 'img')?_c('img',{class:item.isSpecial.class,attrs:{"src":item.isSpecial.img},on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}}):_vm._e(),_vm._l((item.isSpecial.imgList),function(imgItem,foreachIndex){return (item.isSpecial.type === 'imgList' && imgItem.value === text)?_c('img',{key:foreachIndex+'t',class:item.isSpecial.class,attrs:{"src":imgItem.img},on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}}):_vm._e()}),(item.isSpecial.type === 'style')?_c('span',{class:item.isSpecial.class,style:(item.isSpecial.textStyle),on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(text))]):_vm._e(),_vm._l((item.isSpecial.textStyleList),function(styleItem,foreachIndex){return (item.isSpecial.type === 'styleList' && styleItem.value === text)?_c('span',{key:foreachIndex+'y',class:item.isSpecial.class,style:(styleItem.style),on:{"click":function($event){item.isSpecial.isClick?_vm.clickBtn(record,item,index):''}}},[_vm._v(_vm._s(text))]):_vm._e()})],2):_vm._e(),(item.twEllipsis)?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":text,"placement":"top-start"}},[_c('div',{class:item.twEllipsis===1?'twEllipsis':'twEllipsis2'},[_vm._v(_vm._s(text))])])],1):_vm._e(),(item.isState)?_c('span',_vm._l((item.isState.stateList),function(stateItem,foreachIndex){return (text === stateItem.value)?_c('span',{key:foreachIndex+'s',class:stateItem.class?stateItem.class+' cellSateStyle':'cellSateStyle',style:(stateItem.styles),on:{"click":function($event){item.isState.isClick?_vm.clickBtn(record,item,index):''}}},[_c('span',{staticStyle:{"display":"flex","align-items":"center","justify-content":"center"}},[(stateItem.icon)?_c('i',{class:stateItem.icon}):_vm._e(),(stateItem.img)?_c('img',{class:stateItem.imgClass,attrs:{"src":stateItem.img}}):_vm._e(),_c('span',[_vm._v(_vm._s(stateItem.name || text))])])]):_vm._e()}),0):_vm._e(),(item.isHtml)?_c('div',_vm._l((item.isHtml),function(htmlItem,foreachIndex){return (text === htmlItem.value)?_c('div',{key:foreachIndex+'d',domProps:{"innerHTML":_vm._s(htmlItem.html)}}):_vm._e()}),0):_vm._e(),(item.mention && !item.isSpecial && !item.isState && !item.isEdit && !item.isFiles && !item.isHtml && !item.isBtn)?_c('div',[_vm._v(" "+_vm._s(record[item.dataIndex])+" ")]):_vm._e()])}}}),_vm._l((_vm.columnsChild),function(itemChild,foreachIndex){return {key:itemChild.dataIndex,fn:function(text, record, index){return _c('div',{key:foreachIndex+'u'},[(itemChild.isEdit)?_c('span',[(itemChild.isEdit.required)?_c('span',{staticStyle:{"color":"red"}},[_vm._v("*")]):_vm._e(),(itemChild.isEdit.type === 'textBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'numberBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","type":"number","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'textareaBox')?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":record[itemChild.dataIndex]?record[itemChild.dataIndex]+'':'',"placement":"top-start"}},[_c('el-popover',{attrs:{"placement":"bottom","width":"300","trigger":"click"}},[_c('el-input',{staticClass:"cellTextarea",attrs:{"type":"textarea","size":"mini","rows":3,"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}),_c('el-input',{attrs:{"slot":"reference","placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","type":"textarea","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},slot:"reference",model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}})],1)],1)],1):_vm._e(),(itemChild.isEdit.type === 'text')?_c('el-input',{attrs:{"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入',"size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'number')?_c('el-input',{attrs:{"type":"number","size":"mini","clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'textarea')?_c('el-input',{attrs:{"type":"textarea","size":"mini","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"readonly":!!itemChild.isEdit.readonly,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请输入'},on:{"focus":function($event){return _vm.onCellFBC('focus',record,itemChild)},"input":function($event){return _vm.onCellFBC('change',record,itemChild,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,itemChild)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'select')?_c('el-select',{attrs:{"size":"mini","clearable":"","filterable":!!itemChild.isEdit.selectSearch,"multiple":!!itemChild.isEdit.isSelectMore,"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请选择',"collapse-tags":itemChild.isEdit.showAllName !== 'showAll',"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(item){return _c('el-option',{key:item.value+Math.ceil(Math.random()*1000),attrs:{"label":item.name,"value":item.value}})}),1):_vm._e(),(itemChild.isEdit.type === 'radio')?_c('el-radio-group',{attrs:{"disabled":!!itemChild.isEdit.disabled || record.twRadioDisabled || record[itemChild.dataIndex+'RadioDisabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(radioItem,foreachIndex){return _c('el-radio',{key:foreachIndex+'i',attrs:{"label":radioItem.value}},[_vm._v(_vm._s(radioItem.name))])}),1):_vm._e(),(itemChild.isEdit.type === 'checkBox')?_c('el-checkbox-group',{attrs:{"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled']},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}},_vm._l((itemChild.isEdit.dataList),function(checkItem,foreachIndex){return _c('el-checkbox',{key:foreachIndex+'o',attrs:{"label":checkItem.value}},[_vm._v(_vm._s(checkItem.name))])}),1):_vm._e(),(itemChild.isEdit.type === 'switch')?_c('el-switch',{attrs:{"disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"active-color":itemChild.isEdit.activeColor?itemChild.isEdit.activeColor:'',"inactive-color":itemChild.isEdit.defaultColor?itemChild.isEdit.defaultColor:''},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e(),(itemChild.isEdit.type === 'date')?_c('el-date-picker',{attrs:{"size":"mini","type":itemChild.isEdit.dateType?itemChild.isEdit.dateType:'date',"clearable":"","disabled":!!itemChild.isEdit.disabled || record[itemChild.dataIndex+'Disabled'],"placeholder":itemChild.isEdit.placeholder?itemChild.isEdit.placeholder:'请选择',"value-format":itemChild.isEdit.valueFormat,"format":itemChild.isEdit.dateFormat,"picker-options":_vm.processDate(itemChild)},on:{"change":function($event){return _vm.clickBtn(record,itemChild,index)}},model:{value:(record[itemChild.dataIndex]),callback:function ($$v) {_vm.$set(record, itemChild.dataIndex, $$v)},expression:"record[itemChild.dataIndex]"}}):_vm._e()],1):_vm._e(),(itemChild.isBtn)?_c('span',_vm._l((itemChild.isBtn.btnList),function(itemBtn,foreachIndex){return ((itemBtn.isShowBtn && record[itemBtn.isShowBtn]) || !itemBtn.isShowBtn)?_c('el-button',{key:foreachIndex+'p',style:({'color':itemBtn.color?itemBtn.color:''}),attrs:{"type":"text","icon":itemBtn.icon},on:{"click":function($event){return _vm.clickBtn(record,itemBtn,index)}}},[_vm._v(_vm._s(itemBtn.name))]):_vm._e()}),1):_vm._e(),(itemChild.isSpecial)?_c('span',[(itemChild.isSpecial.type === 'num')?_c('span',{class:itemChild.isSpecial.class,on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(_vm.changeNum(text,itemChild.isSpecial.numType)))]):_vm._e(),(itemChild.isSpecial.type === 'img')?_c('img',{class:itemChild.isSpecial.class,attrs:{"src":itemChild.isSpecial.img},on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}}):_vm._e(),_vm._l((itemChild.isSpecial.imgList),function(imgItem,foreachIndex){return (itemChild.isSpecial.type === 'imgList' && imgItem.value === text)?_c('img',{key:foreachIndex+'f',class:itemChild.isSpecial.class,attrs:{"src":imgItem.img},on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}}):_vm._e()}),(itemChild.isSpecial.type === 'style')?_c('span',{class:itemChild.isSpecial.class,style:(itemChild.isSpecial.textStyle),on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(text))]):_vm._e(),_vm._l((itemChild.isSpecial.textStyleList),function(styleItem,foreachIndex){return (itemChild.isSpecial.type === 'styleList' && styleItem.value === text)?_c('span',{key:foreachIndex+'p',class:itemChild.isSpecial.class,style:(styleItem.style),on:{"click":function($event){itemChild.isSpecial.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_vm._v(_vm._s(text))]):_vm._e()})],2):_vm._e(),(itemChild.twEllipsis)?_c('span',[_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":text,"placement":"top-start"}},[_c('div',{class:itemChild.twEllipsis===1?'twEllipsis':'twEllipsis2'},[_vm._v(_vm._s(text))])])],1):_vm._e(),(itemChild.isState)?_c('span',_vm._l((itemChild.isState.stateList),function(stateItem,foreachIndex){return (text === stateItem.value)?_c('span',{key:foreachIndex+'a',class:stateItem.class?stateItem.class+' cellSateStyle':'cellSateStyle',style:(stateItem.styles),on:{"click":function($event){itemChild.isState.isClick?_vm.clickBtn(record,itemChild,index):''}}},[_c('span',{staticStyle:{"display":"flex","align-items":"center"}},[(stateItem.icon)?_c('i',{class:stateItem.icon}):_vm._e(),(stateItem.img)?_c('img',{attrs:{"src":stateItem.img}}):_vm._e(),_c('span',[_vm._v(_vm._s(stateItem.name || text))])])]):_vm._e()}),0):_vm._e(),(itemChild.isHtml)?_c('div',_vm._l((itemChild.isHtml),function(htmlItem,foreachIndex){return (text === htmlItem.value)?_c('div',{key:foreachIndex+'a',domProps:{"innerHTML":_vm._s(htmlItem.html)}}):_vm._e()}),0):_vm._e(),(itemChild.mention && !itemChild.isSpecial && !itemChild.isState && !itemChild.isEdit && !itemChild.isFiles && !itemChild.isHtml && !itemChild.isBtn)?_c('div',[_vm._v(" "+_vm._s(record[itemChild.dataIndex])+" ")]):_vm._e()])}}})],null,true)},[_vm._l((_vm.columns),function(headItem,headIndex){return _c('template',{slot:headItem.iconName},[_c('div',{staticClass:"twFlex-start"},[(headItem.isHtmlHead)?_c('div',{domProps:{"innerHTML":_vm._s(headItem.iconName)}}):_c('div',[_vm._v(_vm._s(headItem.iconName))]),(headItem.mention)?_c('el-popover',{attrs:{"placement":headItem.mention.direct?headItem.mention.direct:'left',"width":headItem.mention.width?headItem.mention.width:'250',"trigger":headItem.mention.trigger?headItem.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(headItem.mention.textStyle)},[_vm._v(_vm._s(headItem.mention.text))]),(headItem.mention)?_c('i',{class:headItem.mention.icon?headItem.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(headItem.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)])}),_vm._l((_vm.columns),function(headItem,headIndex){return _c('template',{slot:headItem.htmlName},[_c('div',{domProps:{"innerHTML":_vm._s(headItem.htmlName)}})])})],2),(_vm.tableInit.addNewRow)?_c('div',{staticClass:"addLine"},[_c('el-button',{attrs:{"type":"text","icon":"el-icon-plus"},on:{"click":_vm.addLine}},[_vm._v("添加")])],1):_vm._e(),(_vm.tableInit.pagination)?_c('PaginationAnt',{staticStyle:{"float":"right"},attrs:{"total":_vm.tableInit.pagination.total,"showJumper":_vm.tableInit.pagination.showJumper,"hideTotal":_vm.tableInit.pagination.hideTotal,"defaultPageSize":_vm.tableInit.pagination.pageSize,"currPage":_vm.tableInit.pagination.currPage,"pageSizes":_vm.tableInit.pagination.sizeList?_vm.tableInit.pagination.sizeList:['10','20','30','50','100']},on:{"paginaFunc":_vm.paginaFunc}}):_vm._e()],1)}
9732
+ var twTablevue_type_template_id_b9896e6c_scoped_true_staticRenderFns = []
9733
9733
 
9734
9734
 
9735
- // CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=623ece2c&scoped=true&
9735
+ // CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=b9896e6c&scoped=true&
9736
9736
 
9737
9737
  // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.for-each.js
9738
9738
  var es_array_for_each = __webpack_require__("fe59");
@@ -10089,6 +10089,11 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
10089
10089
  //
10090
10090
  //
10091
10091
  //
10092
+ //
10093
+ //
10094
+ //
10095
+ //
10096
+ //
10092
10097
 
10093
10098
  /* harmony default export */ var twTablevue_type_script_lang_js_ = ({
10094
10099
  components: {
@@ -10234,13 +10239,16 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
10234
10239
  }
10235
10240
  },
10236
10241
  customHeaderRow: function customHeaderRow(column) {
10242
+ var _this2 = this;
10243
+
10237
10244
  var headerClassName = this.tableInit.tableHeadClass ? this.tableInit.tableHeadClass + ' tableHeadClass' : 'tableHeadClass';
10238
10245
  column.forEach(function (e, index) {
10239
10246
  column[index].className = headerClassName;
10247
+ column[index].align = _this2.tableInit.headAlign || 'center';
10240
10248
  });
10241
10249
  },
10242
10250
  initTableData: function initTableData(list) {
10243
- var _this2 = this;
10251
+ var _this3 = this;
10244
10252
 
10245
10253
  //表单数据初始化
10246
10254
  list.map(function (i, j) {
@@ -10256,7 +10264,7 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
10256
10264
  };
10257
10265
  };
10258
10266
 
10259
- _this2.combineRow(i.dataIndex); //行合并
10267
+ _this3.combineRow(i.dataIndex); //行合并
10260
10268
 
10261
10269
  }
10262
10270
 
@@ -10275,7 +10283,7 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
10275
10283
  i.onFilterDropdownVisibleChange = function (visible) {
10276
10284
  if (visible) {
10277
10285
  setTimeout(function () {
10278
- _this2.searchInput.focus();
10286
+ _this3.searchInput.focus();
10279
10287
  }, 0);
10280
10288
  }
10281
10289
  };
@@ -10288,14 +10296,21 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
10288
10296
  };
10289
10297
  }
10290
10298
 
10291
- if (i.isEdit || i.isFiles || i.isBtn || i.isSpecial || i.isState || i.twEllipsis || i.isHtml || i.mention) {
10299
+ if (i.isEdit || i.isFiles || i.isBtn || i.isSpecial || i.isState || i.twEllipsis || i.isHtml || i.mention || i.isHtmlHead) {
10292
10300
  if (i.mention) {
10293
- i.iconName = JSON.parse(JSON.stringify(i.title));
10301
+ i.iconName = JSON.parse(JSON.stringify(i.title || ''));
10294
10302
  i.scopedSlots = {
10295
10303
  customRender: i.dataIndex,
10296
10304
  title: i.iconName
10297
10305
  };
10298
10306
  delete i.title;
10307
+ } else if (i.isHtmlHead) {
10308
+ i.htmlName = JSON.parse(JSON.stringify(i.title || ''));
10309
+ i.scopedSlots = {
10310
+ customRender: i.dataIndex,
10311
+ title: i.htmlName
10312
+ };
10313
+ delete i.title;
10299
10314
  } else {
10300
10315
  i.scopedSlots = {
10301
10316
  customRender: i.dataIndex
@@ -10305,7 +10320,7 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
10305
10320
 
10306
10321
  if (i.isEdit && i.isEdit.type === 'checkBox') {
10307
10322
  //列是checkBox的时候,需要预制个空数组
10308
- _this2.tableData.map(function (j) {
10323
+ _this3.tableData.map(function (j) {
10309
10324
  if (j[i.dataIndex] && Object.prototype.toString.call(j[i.dataIndex]) !== '[object Array]') {
10310
10325
  j[i.dataIndex] = [];
10311
10326
  }
@@ -10314,9 +10329,9 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
10314
10329
 
10315
10330
  if (i.children && i.children.length > 0) {
10316
10331
  //递归
10317
- _this2.initTableData(i.children);
10332
+ _this3.initTableData(i.children);
10318
10333
 
10319
- _this2.columnsChild = _this2.columnsChild.concat(i.children);
10334
+ _this3.columnsChild = _this3.columnsChild.concat(i.children);
10320
10335
  }
10321
10336
  });
10322
10337
  },
@@ -10409,8 +10424,8 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
10409
10424
  });
10410
10425
  // CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=script&lang=js&
10411
10426
  /* harmony default export */ var twTable_twTablevue_type_script_lang_js_ = (twTablevue_type_script_lang_js_);
10412
- // EXTERNAL MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=style&index=0&id=623ece2c&scoped=true&lang=scss&
10413
- var twTablevue_type_style_index_0_id_623ece2c_scoped_true_lang_scss_ = __webpack_require__("659f");
10427
+ // EXTERNAL MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=style&index=0&id=b9896e6c&scoped=true&lang=scss&
10428
+ var twTablevue_type_style_index_0_id_b9896e6c_scoped_true_lang_scss_ = __webpack_require__("cdf4");
10414
10429
 
10415
10430
  // CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue
10416
10431
 
@@ -10423,11 +10438,11 @@ var twTablevue_type_style_index_0_id_623ece2c_scoped_true_lang_scss_ = __webpack
10423
10438
 
10424
10439
  var twTable_component = Object(componentNormalizer["a" /* default */])(
10425
10440
  twTable_twTablevue_type_script_lang_js_,
10426
- twTablevue_type_template_id_623ece2c_scoped_true_render,
10427
- twTablevue_type_template_id_623ece2c_scoped_true_staticRenderFns,
10441
+ twTablevue_type_template_id_b9896e6c_scoped_true_render,
10442
+ twTablevue_type_template_id_b9896e6c_scoped_true_staticRenderFns,
10428
10443
  false,
10429
10444
  null,
10430
- "623ece2c",
10445
+ "b9896e6c",
10431
10446
  null
10432
10447
 
10433
10448
  )