twmodule 0.1.13 → 0.1.15
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/README.md +2 -0
- package/lib/twComp.common.js +85 -77
- package/lib/twComp.css +1 -1
- package/lib/twComp.umd.js +85 -77
- package/lib/twComp.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/twComp.umd.js
CHANGED
@@ -2213,6 +2213,13 @@ test[TO_STRING_TAG] = 'z';
|
|
2213
2213
|
module.exports = String(test) === '[object z]';
|
2214
2214
|
|
2215
2215
|
|
2216
|
+
/***/ }),
|
2217
|
+
|
2218
|
+
/***/ "4a8c":
|
2219
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2220
|
+
|
2221
|
+
// extracted by mini-css-extract-plugin
|
2222
|
+
|
2216
2223
|
/***/ }),
|
2217
2224
|
|
2218
2225
|
/***/ "4fda":
|
@@ -2223,6 +2230,13 @@ var getBuiltIn = __webpack_require__("6d7a");
|
|
2223
2230
|
module.exports = getBuiltIn('navigator', 'userAgent') || '';
|
2224
2231
|
|
2225
2232
|
|
2233
|
+
/***/ }),
|
2234
|
+
|
2235
|
+
/***/ "5028":
|
2236
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2237
|
+
|
2238
|
+
// extracted by mini-css-extract-plugin
|
2239
|
+
|
2226
2240
|
/***/ }),
|
2227
2241
|
|
2228
2242
|
/***/ "50fb":
|
@@ -2791,6 +2805,17 @@ var WeakMap = global.WeakMap;
|
|
2791
2805
|
module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
|
2792
2806
|
|
2793
2807
|
|
2808
|
+
/***/ }),
|
2809
|
+
|
2810
|
+
/***/ "63fc":
|
2811
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2812
|
+
|
2813
|
+
"use strict";
|
2814
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_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_6_oneOf_1_2_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_twFormModule_vue_vue_type_style_index_0_id_129725a4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5028");
|
2815
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_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_6_oneOf_1_2_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_twFormModule_vue_vue_type_style_index_0_id_129725a4_scoped_true_lang_css___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_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_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_6_oneOf_1_2_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_twFormModule_vue_vue_type_style_index_0_id_129725a4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
2816
|
+
/* unused harmony reexport * */
|
2817
|
+
/* 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_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_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_6_oneOf_1_2_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_twFormModule_vue_vue_type_style_index_0_id_129725a4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
2818
|
+
|
2794
2819
|
/***/ }),
|
2795
2820
|
|
2796
2821
|
/***/ "64bf":
|
@@ -2803,6 +2828,17 @@ module.exports = !fails(function () {
|
|
2803
2828
|
});
|
2804
2829
|
|
2805
2830
|
|
2831
|
+
/***/ }),
|
2832
|
+
|
2833
|
+
/***/ "659f":
|
2834
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2835
|
+
|
2836
|
+
"use strict";
|
2837
|
+
/* 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");
|
2838
|
+
/* 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__);
|
2839
|
+
/* unused harmony reexport * */
|
2840
|
+
/* 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);
|
2841
|
+
|
2806
2842
|
/***/ }),
|
2807
2843
|
|
2808
2844
|
/***/ "692f":
|
@@ -5434,24 +5470,6 @@ function _arrayLikeToArray(arr, len) {
|
|
5434
5470
|
|
5435
5471
|
/***/ }),
|
5436
5472
|
|
5437
|
-
/***/ "bc10":
|
5438
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5439
|
-
|
5440
|
-
"use strict";
|
5441
|
-
/* 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_84613efc_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bd34");
|
5442
|
-
/* 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_84613efc_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_84613efc_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
5443
|
-
/* unused harmony reexport * */
|
5444
|
-
/* 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_84613efc_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
5445
|
-
|
5446
|
-
/***/ }),
|
5447
|
-
|
5448
|
-
/***/ "bd34":
|
5449
|
-
/***/ (function(module, exports, __webpack_require__) {
|
5450
|
-
|
5451
|
-
// extracted by mini-css-extract-plugin
|
5452
|
-
|
5453
|
-
/***/ }),
|
5454
|
-
|
5455
5473
|
/***/ "be57":
|
5456
5474
|
/***/ (function(module, exports, __webpack_require__) {
|
5457
5475
|
|
@@ -5788,24 +5806,6 @@ module.exports = ''.repeat || function repeat(count) {
|
|
5788
5806
|
};
|
5789
5807
|
|
5790
5808
|
|
5791
|
-
/***/ }),
|
5792
|
-
|
5793
|
-
/***/ "c7f2":
|
5794
|
-
/***/ (function(module, exports, __webpack_require__) {
|
5795
|
-
|
5796
|
-
// extracted by mini-css-extract-plugin
|
5797
|
-
|
5798
|
-
/***/ }),
|
5799
|
-
|
5800
|
-
/***/ "c807":
|
5801
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5802
|
-
|
5803
|
-
"use strict";
|
5804
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_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_6_oneOf_1_2_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_twFormModule_vue_vue_type_style_index_0_id_ca021e7c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c7f2");
|
5805
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_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_6_oneOf_1_2_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_twFormModule_vue_vue_type_style_index_0_id_ca021e7c_scoped_true_lang_css___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_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_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_6_oneOf_1_2_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_twFormModule_vue_vue_type_style_index_0_id_ca021e7c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
5806
|
-
/* unused harmony reexport * */
|
5807
|
-
/* 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_6_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_6_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_6_oneOf_1_2_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_twFormModule_vue_vue_type_style_index_0_id_ca021e7c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
5808
|
-
|
5809
5809
|
/***/ }),
|
5810
5810
|
|
5811
5811
|
/***/ "cbab":
|
@@ -9239,19 +9239,19 @@ function reset_Obj(obj) {
|
|
9239
9239
|
};
|
9240
9240
|
}
|
9241
9241
|
});
|
9242
|
-
// 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!./packages/twPagination/src/main.vue?vue&type=template&id=
|
9243
|
-
var
|
9244
|
-
var
|
9242
|
+
// 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!./packages/twPagination/src/main.vue?vue&type=template&id=09f09c89&
|
9243
|
+
var mainvue_type_template_id_09f09c89_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[(_vm.ant)?_c('PaginationAnt',{attrs:{"total":_vm.total,"size":_vm.size,"hideTotal":_vm.hideTotal,"defaultPageSize":_vm.pageSize,"currPage":_vm.getCurrPage,"showJumper":_vm.showJumper},on:{"paginaFunc":_vm.paginaFunc}}):_c('Pagination',{attrs:{"total":_vm.total,"size":_vm.size,"defaultPageSize":_vm.pageSize,"currPage":_vm.getCurrPage,"showJumper":_vm.showJumper},on:{"paginaFunc":_vm.paginaFunc}})],1)}
|
9244
|
+
var mainvue_type_template_id_09f09c89_staticRenderFns = []
|
9245
9245
|
|
9246
9246
|
|
9247
|
-
// CONCATENATED MODULE: ./packages/twPagination/src/main.vue?vue&type=template&id=
|
9247
|
+
// CONCATENATED MODULE: ./packages/twPagination/src/main.vue?vue&type=template&id=09f09c89&
|
9248
9248
|
|
9249
|
-
// 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/paginationAnt/pagination.vue?vue&type=template&id=
|
9250
|
-
var
|
9251
|
-
var
|
9249
|
+
// 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/paginationAnt/pagination.vue?vue&type=template&id=061cd99f&
|
9250
|
+
var paginationvue_type_template_id_061cd99f_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"elePaging"},[_c('a-pagination',{attrs:{"total":_vm.total,"defaultPageSize":_vm.pageSize,"showTotal":_vm.totalText,"size":_vm.size,"showSizeChanger":"","showQuickJumper":_vm.showJumper,"pageSizeOptions":_vm.pageSizes?_vm.pageSizes:[ '10', '20', '30', '50', '100']},on:{"showSizeChange":_vm.changeSize},model:{value:(_vm.current),callback:function ($$v) {_vm.current=$$v},expression:"current"}}),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showJumper),expression:"showJumper"}]},[_vm._v("跳转")])],1)}
|
9251
|
+
var paginationvue_type_template_id_061cd99f_staticRenderFns = []
|
9252
9252
|
|
9253
9253
|
|
9254
|
-
// CONCATENATED MODULE: ./examples/components/comPage/paginationAnt/pagination.vue?vue&type=template&id=
|
9254
|
+
// CONCATENATED MODULE: ./examples/components/comPage/paginationAnt/pagination.vue?vue&type=template&id=061cd99f&
|
9255
9255
|
|
9256
9256
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.concat.js
|
9257
9257
|
var es_array_concat = __webpack_require__("b4fb");
|
@@ -9270,7 +9270,7 @@ var es_array_concat = __webpack_require__("b4fb");
|
|
9270
9270
|
//
|
9271
9271
|
/* harmony default export */ var paginationvue_type_script_lang_js_ = ({
|
9272
9272
|
name: 'pagination',
|
9273
|
-
props: ['total', 'size', 'defaultPageSize', 'currPage', 'pageSizes'],
|
9273
|
+
props: ['total', 'size', 'defaultPageSize', 'currPage', 'pageSizes', 'showJumper', 'hideTotal'],
|
9274
9274
|
data: function data() {
|
9275
9275
|
return {
|
9276
9276
|
current: 1,
|
@@ -9281,6 +9281,7 @@ var es_array_concat = __webpack_require__("b4fb");
|
|
9281
9281
|
mounted: function mounted() {
|
9282
9282
|
var _this = this;
|
9283
9283
|
|
9284
|
+
console.log('showJumper:', this.showJumper);
|
9284
9285
|
this.isChangeSize = true; // this.current = this.currPage?this.currPage:1;
|
9285
9286
|
|
9286
9287
|
this.$set(this, 'current', this.current ? this.current : 1); // this.pageSize = this.defaultPageSize?this.defaultPageSize:10;
|
@@ -9292,7 +9293,11 @@ var es_array_concat = __webpack_require__("b4fb");
|
|
9292
9293
|
},
|
9293
9294
|
methods: {
|
9294
9295
|
totalText: function totalText(total) {
|
9295
|
-
|
9296
|
+
if (this.hideTotal) {
|
9297
|
+
return "\u5171".concat(Math.ceil(total / this.pageSize), "\u9875");
|
9298
|
+
} else {
|
9299
|
+
return "\u5171".concat(Math.ceil(total / this.pageSize), "\u9875\uFF0C\u627E\u5230 ").concat(total, " \u4E2A\u7ED3\u679C");
|
9300
|
+
}
|
9296
9301
|
},
|
9297
9302
|
changeSize: function changeSize(current, pageSize) {
|
9298
9303
|
var _this2 = this;
|
@@ -9339,8 +9344,8 @@ var es_array_concat = __webpack_require__("b4fb");
|
|
9339
9344
|
|
9340
9345
|
var pagination_component = Object(componentNormalizer["a" /* default */])(
|
9341
9346
|
paginationAnt_paginationvue_type_script_lang_js_,
|
9342
|
-
|
9343
|
-
|
9347
|
+
paginationvue_type_template_id_061cd99f_render,
|
9348
|
+
paginationvue_type_template_id_061cd99f_staticRenderFns,
|
9344
9349
|
false,
|
9345
9350
|
null,
|
9346
9351
|
null,
|
@@ -9349,12 +9354,12 @@ var pagination_component = Object(componentNormalizer["a" /* default */])(
|
|
9349
9354
|
)
|
9350
9355
|
|
9351
9356
|
/* harmony default export */ var pagination = (pagination_component.exports);
|
9352
|
-
// 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/pagination/pagination.vue?vue&type=template&id=
|
9353
|
-
var
|
9354
|
-
var
|
9357
|
+
// 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/pagination/pagination.vue?vue&type=template&id=8aad737a&
|
9358
|
+
var paginationvue_type_template_id_8aad737a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"elePaging"},[_c('el-pagination',{attrs:{"current-page":_vm.current,"page-sizes":[10, 20, 30, 50,100],"page-size":_vm.pageSize,"background":"","small":_vm.size=='small'?true:false,"layout":"total, prev, pager, next, sizes,jumper","total":_vm.total},on:{"size-change":_vm.changeSize,"current-change":_vm.changePage}}),(_vm.showJumper)?_c('span',[_vm._v("确定")]):_vm._e()],1)}
|
9359
|
+
var paginationvue_type_template_id_8aad737a_staticRenderFns = []
|
9355
9360
|
|
9356
9361
|
|
9357
|
-
// CONCATENATED MODULE: ./examples/components/comPage/pagination/pagination.vue?vue&type=template&id=
|
9362
|
+
// CONCATENATED MODULE: ./examples/components/comPage/pagination/pagination.vue?vue&type=template&id=8aad737a&
|
9358
9363
|
|
9359
9364
|
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./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/pagination/pagination.vue?vue&type=script&lang=js&
|
9360
9365
|
//
|
@@ -9376,7 +9381,7 @@ var paginationvue_type_template_id_c060b234_staticRenderFns = []
|
|
9376
9381
|
//
|
9377
9382
|
/* harmony default export */ var pagination_paginationvue_type_script_lang_js_ = ({
|
9378
9383
|
name: 'pagination',
|
9379
|
-
props: ['total', 'size', 'defaultPageSize', 'currPage'],
|
9384
|
+
props: ['total', 'size', 'defaultPageSize', 'currPage', 'showJumper'],
|
9380
9385
|
data: function data() {
|
9381
9386
|
return {
|
9382
9387
|
current: 1,
|
@@ -9431,8 +9436,8 @@ var paginationvue_type_template_id_c060b234_staticRenderFns = []
|
|
9431
9436
|
|
9432
9437
|
var pagination_pagination_component = Object(componentNormalizer["a" /* default */])(
|
9433
9438
|
comPage_pagination_paginationvue_type_script_lang_js_,
|
9434
|
-
|
9435
|
-
|
9439
|
+
paginationvue_type_template_id_8aad737a_render,
|
9440
|
+
paginationvue_type_template_id_8aad737a_staticRenderFns,
|
9436
9441
|
false,
|
9437
9442
|
null,
|
9438
9443
|
null,
|
@@ -9457,7 +9462,7 @@ var pagination_pagination_component = Object(componentNormalizer["a" /* default
|
|
9457
9462
|
|
9458
9463
|
/* harmony default export */ var twPagination_src_mainvue_type_script_lang_js_ = ({
|
9459
9464
|
name: 'twPagination',
|
9460
|
-
props: ['total', 'size', 'pageSize', 'ant', 'currPage'],
|
9465
|
+
props: ['total', 'size', 'pageSize', 'ant', 'currPage', 'showJumper', 'hideTotal'],
|
9461
9466
|
components: {
|
9462
9467
|
Pagination: pagination_pagination,
|
9463
9468
|
PaginationAnt: pagination
|
@@ -9489,8 +9494,8 @@ var pagination_pagination_component = Object(componentNormalizer["a" /* default
|
|
9489
9494
|
|
9490
9495
|
var twPagination_src_main_component = Object(componentNormalizer["a" /* default */])(
|
9491
9496
|
packages_twPagination_src_mainvue_type_script_lang_js_,
|
9492
|
-
|
9493
|
-
|
9497
|
+
mainvue_type_template_id_09f09c89_render,
|
9498
|
+
mainvue_type_template_id_09f09c89_staticRenderFns,
|
9494
9499
|
false,
|
9495
9500
|
null,
|
9496
9501
|
null,
|
@@ -9713,19 +9718,19 @@ var mainvue_type_template_id_61236700_staticRenderFns = []
|
|
9713
9718
|
|
9714
9719
|
// CONCATENATED MODULE: ./packages/twTable/src/main.vue?vue&type=template&id=61236700&
|
9715
9720
|
|
9716
|
-
// 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=
|
9717
|
-
var
|
9721
|
+
// 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&
|
9722
|
+
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,
|
9718
9723
|
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',
|
9719
9724
|
multiple:item.isEdit.isSelectMore?item.isEdit.isSelectMore:false,
|
9720
9725
|
checkStrictly:item.isEdit.checkAny?item.isEdit.checkAny:false,
|
9721
9726
|
label:item.isEdit.changeLabel?item.isEdit.changeLabel:'label',
|
9722
9727
|
value:item.isEdit.changeValue?item.isEdit.changeValue:'value',
|
9723
9728
|
children:item.isEdit.changeChildren?item.isEdit.changeChildren:'children'
|
9724
|
-
}},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,"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)}
|
9725
|
-
var
|
9729
|
+
}},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)}
|
9730
|
+
var twTablevue_type_template_id_623ece2c_scoped_true_staticRenderFns = []
|
9726
9731
|
|
9727
9732
|
|
9728
|
-
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=
|
9733
|
+
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=623ece2c&scoped=true&
|
9729
9734
|
|
9730
9735
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.for-each.js
|
9731
9736
|
var es_array_for_each = __webpack_require__("fe59");
|
@@ -10080,6 +10085,8 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
|
|
10080
10085
|
//
|
10081
10086
|
//
|
10082
10087
|
//
|
10088
|
+
//
|
10089
|
+
//
|
10083
10090
|
|
10084
10091
|
/* harmony default export */ var twTablevue_type_script_lang_js_ = ({
|
10085
10092
|
components: {
|
@@ -10400,8 +10407,8 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
|
|
10400
10407
|
});
|
10401
10408
|
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=script&lang=js&
|
10402
10409
|
/* harmony default export */ var twTable_twTablevue_type_script_lang_js_ = (twTablevue_type_script_lang_js_);
|
10403
|
-
// EXTERNAL MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=style&index=0&id=
|
10404
|
-
var
|
10410
|
+
// EXTERNAL MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=style&index=0&id=623ece2c&scoped=true&lang=scss&
|
10411
|
+
var twTablevue_type_style_index_0_id_623ece2c_scoped_true_lang_scss_ = __webpack_require__("659f");
|
10405
10412
|
|
10406
10413
|
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue
|
10407
10414
|
|
@@ -10414,11 +10421,11 @@ var twTablevue_type_style_index_0_id_84613efc_scoped_true_lang_scss_ = __webpack
|
|
10414
10421
|
|
10415
10422
|
var twTable_component = Object(componentNormalizer["a" /* default */])(
|
10416
10423
|
twTable_twTablevue_type_script_lang_js_,
|
10417
|
-
|
10418
|
-
|
10424
|
+
twTablevue_type_template_id_623ece2c_scoped_true_render,
|
10425
|
+
twTablevue_type_template_id_623ece2c_scoped_true_staticRenderFns,
|
10419
10426
|
false,
|
10420
10427
|
null,
|
10421
|
-
"
|
10428
|
+
"623ece2c",
|
10422
10429
|
null
|
10423
10430
|
|
10424
10431
|
)
|
@@ -10530,8 +10537,8 @@ var mainvue_type_template_id_7ea093f5_staticRenderFns = []
|
|
10530
10537
|
|
10531
10538
|
// CONCATENATED MODULE: ./packages/twFormPC/src/main.vue?vue&type=template&id=7ea093f5&
|
10532
10539
|
|
10533
|
-
// 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/twFormModule/twFormModule.vue?vue&type=template&id=
|
10534
|
-
var
|
10540
|
+
// 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/twFormModule/twFormModule.vue?vue&type=template&id=129725a4&scoped=true&
|
10541
|
+
var twFormModulevue_type_template_id_129725a4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_c('el-form',{ref:"form",staticClass:"twFormModule",attrs:{"model":_vm.formData,"label-width":_vm.formSetting.labelWidth?_vm.formSetting.labelWidth:'91px',"size":_vm.formSetting.formSize?_vm.formSetting.formSize:'small'}},[_c('el-row',_vm._l((_vm.formModule),function(formItem,formIndex){return _c('el-col',{directives:[{name:"show",rawName:"v-show",value:(!formItem.isHidden),expression:"!formItem.isHidden"}],key:'form'+formIndex,attrs:{"span":formItem.span?formItem.span:8,"offset":formItem.offset?formItem.offset:0}},[_c('el-form-item',{staticClass:"twFormModuleItem"},[_c('span',{attrs:{"slot":"label"},slot:"label"},[(formItem.required)?_c('span',{staticStyle:{"color":"red","margin-right":"3px"}},[_vm._v("*")]):_vm._e(),_vm._v(_vm._s(formItem.label))]),(formItem.showWarning && (formItem.itemType === 'radio' || formItem.itemType === 'checkBox'))?_c('span',{staticClass:"warningText"},[_vm._v(_vm._s(formItem.warningText?formItem.warningText:'必填项!'))]):(formItem.showWarning)?_c('span',{staticClass:"warningText"},[_vm._v(_vm._s(formItem.warningText))]):_vm._e(),(formItem.itemType === 'title')?_c('div',{class:formItem.titleStyle?formItem.titleStyle+' formTitleDefaultStyle':'formTitleDefaultStyle'},[_c('span',{style:({left:_vm.formSetting.labelWidth?'-'+_vm.formSetting.labelWidth:'-91px'})},[_vm._v(_vm._s(formItem.itemValue))])]):_vm._e(),(formItem.itemType === 'text' || formItem.itemType === 'number' || formItem.itemType === 'textarea')?_c('el-input',{class:formItem.showWarning?'redBorder':'',attrs:{"type":formItem.itemType?formItem.itemType:'text',"readonly":formItem.readonly,"disabled":formItem.disabled,"clearable":"","rows":formItem.rows?formItem.rows:4,"placeholder":formItem.placeholder?formItem.placeholder:'请输入'+formItem.label},on:{"input":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)},"focus":function($event){return _vm.formFBC('focus',formItem,_vm.formData)},"blur":function($event){return _vm.formFBC('blur',formItem,_vm.formData)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}}):_vm._e(),(formItem.itemType === 'date')?_c('el-date-picker',{class:formItem.showWarning?'redBorder':'',attrs:{"type":formItem.dateType?formItem.dateType:'date',"format":formItem.dateFormat,"value-format":formItem.valueFormat,"disabled":formItem.disabled,"placeholder":formItem.placeholder?formItem.placeholder:'请选择'+formItem.label,"picker-options":_vm.processDate(formItem)},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}}):_vm._e(),(formItem.itemType === 'dateRange')?_c('el-date-picker',{class:formItem.showWarning?'redBorder':'',attrs:{"type":formItem.dateType?formItem.dateType+'range':'daterange',"format":formItem.dateFormat,"value-format":formItem.valueFormat,"placeholder":formItem.placeholder?formItem.placeholder:formItem.label,"range-separator":formItem.separator?formItem.separator:'至',"picker-options":_vm.processDate(formItem),"start-placeholder":formItem.startPlaceholder?formItem.startPlaceholder:'开始日期',"end-placeholder":formItem.endPlaceholder?formItem.endPlaceholder:'结束日期',"disabled":formItem.disabled},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}}):_vm._e(),(formItem.itemType === 'select')?_c('el-select',{class:formItem.showWarning?'redBorder':'',attrs:{"placeholder":"请选择","disabled":formItem.disabled,"placeholder":formItem.placeholder?formItem.placeholder:'请选择'+formItem.label,"clearable":"","filterable":formItem.filterable},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}},_vm._l((formItem.selectList),function(selectItem){return _c('el-option',{key:selectItem.value,attrs:{"label":selectItem.name,"value":selectItem.value}})}),1):_vm._e(),(formItem.itemType === 'selectMore')?_c('el-select',{class:formItem.showWarning?'redBorder':'',attrs:{"clearable":"","placeholder":formItem.placeholder?formItem.placeholder:'请选择'+formItem.label,"multiple":"","disabled":formItem.disabled,"collapse-tags":formItem.showAllName !== 'showAll',"filterable":formItem.selectSearch?formItem.selectSearch:true},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}},_vm._l((formItem.selectList),function(selectItem){return _c('el-option',{key:selectItem.value,attrs:{"label":selectItem.name,"value":selectItem.value}})}),1):_vm._e(),(formItem.itemType === 'selectCascade')?_c('el-cascader',{class:formItem.showWarning?'redBorder':'',attrs:{"filterable":formItem.selectSearch?formItem.selectSearch:true,"options":formItem.selectList,"collapse-tags":formItem.showAllName !== 'showAll',"disabled":formItem.disabled,"show-all-levels":formItem.showAllLevel?formItem.showAllLevel:false,"placeholder":formItem.placeholder?formItem.placeholder:'请选择'+formItem.label,"clearable":"","props":{
|
10535
10542
|
expandTrigger: formItem.trigger?formItem.trigger:'hover',
|
10536
10543
|
multiple:formItem.isSelectMore?formItem.isSelectMore:false,
|
10537
10544
|
checkStrictly:formItem.checkAny?formItem.checkAny:false,
|
@@ -10539,10 +10546,10 @@ var twFormModulevue_type_template_id_ca021e7c_scoped_true_render = function () {
|
|
10539
10546
|
value:formItem.changeValue?formItem.changeValue:'value',
|
10540
10547
|
children:formItem.changeChildren?formItem.changeChildren:'children'
|
10541
10548
|
}},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}}):_vm._e(),(formItem.itemType === 'radio')?_c('el-radio-group',{staticClass:"twSearchRadio",model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}},_vm._l((formItem.radioList),function(itemChild,index){return _c('el-radio',{key:'radio'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(formItem.itemType === 'checkBox')?_c('el-checkbox-group',{staticClass:"twSearchCheckbox",model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}},_vm._l((formItem.checkBoxList),function(itemChild,index){return _c('el-checkbox',{key:'checkBox'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled,"data-a":_vm.checkBoxState},on:{"change":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(formItem.itemType === 'selectTree')?_c('section',{staticClass:"popTree"},[_c('el-popover',{attrs:{"placement":"bottom-start"},model:{value:(formItem.popTreeBox),callback:function ($$v) {_vm.$set(formItem, "popTreeBox", $$v)},expression:"formItem.popTreeBox"}},[_c('section',{staticStyle:{"text-align":"center","border-bottom":"1px solid #ddd","padding-bottom":"10px"}},[_c('div',{staticStyle:{"display":"flex"}},[_c('el-input',{attrs:{"placeholder":"输入关键字进行过滤","size":"mini","clearable":""},on:{"input":function($event){return _vm.filterInput($event,formItem)}},model:{value:(formItem.popTreeInput),callback:function ($$v) {_vm.$set(formItem, "popTreeInput", $$v)},expression:"formItem.popTreeInput"}}),_c('el-button',{staticStyle:{"margin-left":"10px"},attrs:{"type":"primary","size":"mini"},on:{"click":function($event){return _vm.chooseOrg(formItem.itemValue,formItem)}}},[_vm._v("确定选择")])],1)]),_c('el-tree',{ref:formItem.popTreeRef,refInFor:true,staticClass:"selectTree",attrs:{"data":formItem.treeList.length>0?formItem.treeList:[],"props":formItem.defaultProps,"filter-node-method":_vm.filterNode,"highlight-current":true},on:{"node-click":_vm.handleNodeClick}}),_c('el-input',{class:formItem.showWarning?'redBorder':'',attrs:{"slot":"reference","size":"small","clearable":"","placeholder":formItem.placeholder?formItem.placeholder:'请选择'+formItem.label,"disabled":formItem.disabled},on:{"clear":function($event){return _vm.clearText(formItem)}},slot:"reference",model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}})],1)],1):_vm._e(),(formItem.itemType === 'valueRange')?_c('section',{staticClass:"valueRangeStyle"},[_c('el-input',{class:formItem.showWarning?'redBorder':'',attrs:{"type":formItem.isNumber?'number':'text',"clearable":"","placeholder":formItem.placeholder?formItem.placeholder:'请输入'+formItem.label,"disabled":formItem.disabled,"clearable":""},on:{"input":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)},"focus":function($event){return _vm.formFBC('focus',formItem,_vm.formData)},"blur":function($event){return _vm.formFBC('blur',formItem,_vm.formData)}},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}}),_c('span',{staticStyle:{"margin":"0 5px"}},[_vm._v("-")]),_c('el-input',{class:formItem.showWarning?'redBorder':'',attrs:{"type":formItem.isNumber?'number':'text',"clearable":"","placeholder":formItem.placeholder?formItem.placeholder:'请输入'+formItem.label,"disabled":formItem.disabled,"clearable":""},on:{"input":function($event){return _vm.formFBC('change',formItem,_vm.formData,$event)},"focus":function($event){return _vm.formFBC('focus',formItem,_vm.formData)},"blur":function($event){return _vm.formFBC('blur',formItem,_vm.formData)}},model:{value:(_vm.formData[formItem.itemValueSec]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValueSec, $$v)},expression:"formData[formItem.itemValueSec]"}})],1):_vm._e(),(formItem.itemType === 'doSelf')?_c('section',{on:{"click":function($event){return _vm.formFBC('doSelf',formItem,_vm.formData)}}},[_c('el-input',{class:formItem.showWarning?'redBorder':'',attrs:{"type":"text","readonly":"","disabled":formItem.disabled,"placeholder":"请点击"},model:{value:(_vm.formData[formItem.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, formItem.itemValue, $$v)},expression:"formData[formItem.itemValue]"}})],1):_vm._e(),(formItem.mention)?_c('el-popover',{attrs:{"placement":formItem.mention.direct?formItem.mention.direct:'left',"width":formItem.mention.width?formItem.mention.width:'250',"trigger":formItem.mention.trigger?formItem.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(formItem.mention.textStyle)},[_vm._v(_vm._s(formItem.mention.text))]),(formItem.mention)?_c('i',{class:formItem.mention.icon?formItem.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(formItem.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)],1)}),1)],1)],1)}
|
10542
|
-
var
|
10549
|
+
var twFormModulevue_type_template_id_129725a4_scoped_true_staticRenderFns = []
|
10543
10550
|
|
10544
10551
|
|
10545
|
-
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=template&id=
|
10552
|
+
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=template&id=129725a4&scoped=true&
|
10546
10553
|
|
10547
10554
|
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./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/twFormModule/twFormModule.vue?vue&type=script&lang=js&
|
10548
10555
|
|
@@ -10693,6 +10700,7 @@ var twFormModulevue_type_template_id_ca021e7c_scoped_true_staticRenderFns = []
|
|
10693
10700
|
//
|
10694
10701
|
//
|
10695
10702
|
//
|
10703
|
+
//
|
10696
10704
|
/* harmony default export */ var twFormModulevue_type_script_lang_js_ = ({
|
10697
10705
|
name: "twFormModule",
|
10698
10706
|
props: ['formSettings', 'formDatas', 'formModule'],
|
@@ -10850,8 +10858,8 @@ var twFormModulevue_type_template_id_ca021e7c_scoped_true_staticRenderFns = []
|
|
10850
10858
|
});
|
10851
10859
|
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=script&lang=js&
|
10852
10860
|
/* harmony default export */ var twFormModule_twFormModulevue_type_script_lang_js_ = (twFormModulevue_type_script_lang_js_);
|
10853
|
-
// EXTERNAL MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=style&index=0&id=
|
10854
|
-
var
|
10861
|
+
// EXTERNAL MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=style&index=0&id=129725a4&scoped=true&lang=css&
|
10862
|
+
var twFormModulevue_type_style_index_0_id_129725a4_scoped_true_lang_css_ = __webpack_require__("63fc");
|
10855
10863
|
|
10856
10864
|
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue
|
10857
10865
|
|
@@ -10864,11 +10872,11 @@ var twFormModulevue_type_style_index_0_id_ca021e7c_scoped_true_lang_css_ = __web
|
|
10864
10872
|
|
10865
10873
|
var twFormModule_component = Object(componentNormalizer["a" /* default */])(
|
10866
10874
|
twFormModule_twFormModulevue_type_script_lang_js_,
|
10867
|
-
|
10868
|
-
|
10875
|
+
twFormModulevue_type_template_id_129725a4_scoped_true_render,
|
10876
|
+
twFormModulevue_type_template_id_129725a4_scoped_true_staticRenderFns,
|
10869
10877
|
false,
|
10870
10878
|
null,
|
10871
|
-
"
|
10879
|
+
"129725a4",
|
10872
10880
|
null
|
10873
10881
|
|
10874
10882
|
)
|