twmodule 0.1.12 → 0.1.14
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 +83 -79
- package/lib/twComp.css +1 -1
- package/lib/twComp.umd.js +83 -79
- package/lib/twComp.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/twComp.umd.js
CHANGED
@@ -498,13 +498,6 @@ module.exports = [
|
|
498
498
|
];
|
499
499
|
|
500
500
|
|
501
|
-
/***/ }),
|
502
|
-
|
503
|
-
/***/ "1931":
|
504
|
-
/***/ (function(module, exports, __webpack_require__) {
|
505
|
-
|
506
|
-
// extracted by mini-css-extract-plugin
|
507
|
-
|
508
501
|
/***/ }),
|
509
502
|
|
510
503
|
/***/ "1944":
|
@@ -2230,6 +2223,13 @@ var getBuiltIn = __webpack_require__("6d7a");
|
|
2230
2223
|
module.exports = getBuiltIn('navigator', 'userAgent') || '';
|
2231
2224
|
|
2232
2225
|
|
2226
|
+
/***/ }),
|
2227
|
+
|
2228
|
+
/***/ "5028":
|
2229
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2230
|
+
|
2231
|
+
// extracted by mini-css-extract-plugin
|
2232
|
+
|
2233
2233
|
/***/ }),
|
2234
2234
|
|
2235
2235
|
/***/ "50fb":
|
@@ -2798,6 +2798,17 @@ var WeakMap = global.WeakMap;
|
|
2798
2798
|
module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
|
2799
2799
|
|
2800
2800
|
|
2801
|
+
/***/ }),
|
2802
|
+
|
2803
|
+
/***/ "63fc":
|
2804
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2805
|
+
|
2806
|
+
"use strict";
|
2807
|
+
/* 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");
|
2808
|
+
/* 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__);
|
2809
|
+
/* unused harmony reexport * */
|
2810
|
+
/* 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);
|
2811
|
+
|
2801
2812
|
/***/ }),
|
2802
2813
|
|
2803
2814
|
/***/ "64bf":
|
@@ -2874,6 +2885,17 @@ module.exports = function (IteratorConstructor, NAME, next) {
|
|
2874
2885
|
};
|
2875
2886
|
|
2876
2887
|
|
2888
|
+
/***/ }),
|
2889
|
+
|
2890
|
+
/***/ "6b39":
|
2891
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2892
|
+
|
2893
|
+
"use strict";
|
2894
|
+
/* 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_035e9650_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8868");
|
2895
|
+
/* 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_035e9650_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_035e9650_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
2896
|
+
/* unused harmony reexport * */
|
2897
|
+
/* 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_035e9650_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
2898
|
+
|
2877
2899
|
/***/ }),
|
2878
2900
|
|
2879
2901
|
/***/ "6d28":
|
@@ -3492,6 +3514,13 @@ module.exports = function (it) {
|
|
3492
3514
|
};
|
3493
3515
|
|
3494
3516
|
|
3517
|
+
/***/ }),
|
3518
|
+
|
3519
|
+
/***/ "8868":
|
3520
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3521
|
+
|
3522
|
+
// extracted by mini-css-extract-plugin
|
3523
|
+
|
3495
3524
|
/***/ }),
|
3496
3525
|
|
3497
3526
|
/***/ "8a1c":
|
@@ -5338,17 +5367,6 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
|
|
5338
5367
|
|
5339
5368
|
/***/ }),
|
5340
5369
|
|
5341
|
-
/***/ "b604":
|
5342
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5343
|
-
|
5344
|
-
"use strict";
|
5345
|
-
/* 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_0b6b3fe8_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1931");
|
5346
|
-
/* 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_0b6b3fe8_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_0b6b3fe8_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
5347
|
-
/* unused harmony reexport * */
|
5348
|
-
/* 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_0b6b3fe8_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
5349
|
-
|
5350
|
-
/***/ }),
|
5351
|
-
|
5352
5370
|
/***/ "b60f":
|
5353
5371
|
/***/ (function(module, exports, __webpack_require__) {
|
5354
5372
|
|
@@ -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=ef2c20c8&
|
9243
|
+
var mainvue_type_template_id_ef2c20c8_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,"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_ef2c20c8_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=ef2c20c8&
|
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=399944c6&
|
9250
|
+
var paginationvue_type_template_id_399944c6_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_399944c6_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=399944c6&
|
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'],
|
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;
|
@@ -9339,8 +9340,8 @@ var es_array_concat = __webpack_require__("b4fb");
|
|
9339
9340
|
|
9340
9341
|
var pagination_component = Object(componentNormalizer["a" /* default */])(
|
9341
9342
|
paginationAnt_paginationvue_type_script_lang_js_,
|
9342
|
-
|
9343
|
-
|
9343
|
+
paginationvue_type_template_id_399944c6_render,
|
9344
|
+
paginationvue_type_template_id_399944c6_staticRenderFns,
|
9344
9345
|
false,
|
9345
9346
|
null,
|
9346
9347
|
null,
|
@@ -9349,12 +9350,12 @@ var pagination_component = Object(componentNormalizer["a" /* default */])(
|
|
9349
9350
|
)
|
9350
9351
|
|
9351
9352
|
/* 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
|
9353
|
+
// 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&
|
9354
|
+
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)}
|
9355
|
+
var paginationvue_type_template_id_8aad737a_staticRenderFns = []
|
9355
9356
|
|
9356
9357
|
|
9357
|
-
// CONCATENATED MODULE: ./examples/components/comPage/pagination/pagination.vue?vue&type=template&id=
|
9358
|
+
// CONCATENATED MODULE: ./examples/components/comPage/pagination/pagination.vue?vue&type=template&id=8aad737a&
|
9358
9359
|
|
9359
9360
|
// 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
9361
|
//
|
@@ -9376,7 +9377,7 @@ var paginationvue_type_template_id_c060b234_staticRenderFns = []
|
|
9376
9377
|
//
|
9377
9378
|
/* harmony default export */ var pagination_paginationvue_type_script_lang_js_ = ({
|
9378
9379
|
name: 'pagination',
|
9379
|
-
props: ['total', 'size', 'defaultPageSize', 'currPage'],
|
9380
|
+
props: ['total', 'size', 'defaultPageSize', 'currPage', 'showJumper'],
|
9380
9381
|
data: function data() {
|
9381
9382
|
return {
|
9382
9383
|
current: 1,
|
@@ -9431,8 +9432,8 @@ var paginationvue_type_template_id_c060b234_staticRenderFns = []
|
|
9431
9432
|
|
9432
9433
|
var pagination_pagination_component = Object(componentNormalizer["a" /* default */])(
|
9433
9434
|
comPage_pagination_paginationvue_type_script_lang_js_,
|
9434
|
-
|
9435
|
-
|
9435
|
+
paginationvue_type_template_id_8aad737a_render,
|
9436
|
+
paginationvue_type_template_id_8aad737a_staticRenderFns,
|
9436
9437
|
false,
|
9437
9438
|
null,
|
9438
9439
|
null,
|
@@ -9457,7 +9458,7 @@ var pagination_pagination_component = Object(componentNormalizer["a" /* default
|
|
9457
9458
|
|
9458
9459
|
/* harmony default export */ var twPagination_src_mainvue_type_script_lang_js_ = ({
|
9459
9460
|
name: 'twPagination',
|
9460
|
-
props: ['total', 'size', 'pageSize', 'ant', 'currPage'],
|
9461
|
+
props: ['total', 'size', 'pageSize', 'ant', 'currPage', 'showJumper'],
|
9461
9462
|
components: {
|
9462
9463
|
Pagination: pagination_pagination,
|
9463
9464
|
PaginationAnt: pagination
|
@@ -9489,8 +9490,8 @@ var pagination_pagination_component = Object(componentNormalizer["a" /* default
|
|
9489
9490
|
|
9490
9491
|
var twPagination_src_main_component = Object(componentNormalizer["a" /* default */])(
|
9491
9492
|
packages_twPagination_src_mainvue_type_script_lang_js_,
|
9492
|
-
|
9493
|
-
|
9493
|
+
mainvue_type_template_id_ef2c20c8_render,
|
9494
|
+
mainvue_type_template_id_ef2c20c8_staticRenderFns,
|
9494
9495
|
false,
|
9495
9496
|
null,
|
9496
9497
|
null,
|
@@ -9713,19 +9714,19 @@ var mainvue_type_template_id_61236700_staticRenderFns = []
|
|
9713
9714
|
|
9714
9715
|
// CONCATENATED MODULE: ./packages/twTable/src/main.vue?vue&type=template&id=61236700&
|
9715
9716
|
|
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
|
9718
|
-
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)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},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)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},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)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},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)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},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)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},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)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},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)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},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)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},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)},"input":function($event){return _vm.onCellFBC('change',record,item,$event)},"blur":function($event){return _vm.onCellFBC('blur',record,item)}},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',
|
9717
|
+
// 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=035e9650&scoped=true&
|
9718
|
+
var twTablevue_type_template_id_035e9650_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,
|
9719
|
+
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
9720
|
multiple:item.isEdit.isSelectMore?item.isEdit.isSelectMore:false,
|
9720
9721
|
checkStrictly:item.isEdit.checkAny?item.isEdit.checkAny:false,
|
9721
9722
|
label:item.isEdit.changeLabel?item.isEdit.changeLabel:'label',
|
9722
9723
|
value:item.isEdit.changeValue?item.isEdit.changeValue:'value',
|
9723
9724
|
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
|
9725
|
+
}},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,"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)}
|
9726
|
+
var twTablevue_type_template_id_035e9650_scoped_true_staticRenderFns = []
|
9726
9727
|
|
9727
9728
|
|
9728
|
-
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=
|
9729
|
+
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=035e9650&scoped=true&
|
9729
9730
|
|
9730
9731
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.for-each.js
|
9731
9732
|
var es_array_for_each = __webpack_require__("fe59");
|
@@ -10080,6 +10081,7 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
|
|
10080
10081
|
//
|
10081
10082
|
//
|
10082
10083
|
//
|
10084
|
+
//
|
10083
10085
|
|
10084
10086
|
/* harmony default export */ var twTablevue_type_script_lang_js_ = ({
|
10085
10087
|
components: {
|
@@ -10167,14 +10169,15 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
|
|
10167
10169
|
childItemList: childItemList
|
10168
10170
|
});
|
10169
10171
|
},
|
10170
|
-
onCellFBC: function onCellFBC(type, currDataItem, columnItem, val) {
|
10172
|
+
onCellFBC: function onCellFBC(type, currDataItem, columnItem, index, val) {
|
10171
10173
|
//单元格的blur,focus,change事件
|
10172
10174
|
if (type === 'blur' && columnItem.isEdit.cellBlur || type === 'focus' && columnItem.isEdit.cellFocus || type === 'change' && columnItem.isEdit.cellChange) {
|
10173
10175
|
this.$emit('cellClickFBC', {
|
10174
10176
|
type: type,
|
10175
10177
|
currDataItem: currDataItem,
|
10176
10178
|
columnItem: columnItem,
|
10177
|
-
val: val
|
10179
|
+
val: val,
|
10180
|
+
index: index
|
10178
10181
|
});
|
10179
10182
|
}
|
10180
10183
|
},
|
@@ -10399,8 +10402,8 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
|
|
10399
10402
|
});
|
10400
10403
|
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=script&lang=js&
|
10401
10404
|
/* harmony default export */ var twTable_twTablevue_type_script_lang_js_ = (twTablevue_type_script_lang_js_);
|
10402
|
-
// EXTERNAL MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=style&index=0&id=
|
10403
|
-
var
|
10405
|
+
// EXTERNAL MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=style&index=0&id=035e9650&scoped=true&lang=scss&
|
10406
|
+
var twTablevue_type_style_index_0_id_035e9650_scoped_true_lang_scss_ = __webpack_require__("6b39");
|
10404
10407
|
|
10405
10408
|
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue
|
10406
10409
|
|
@@ -10413,11 +10416,11 @@ var twTablevue_type_style_index_0_id_0b6b3fe8_scoped_true_lang_scss_ = __webpack
|
|
10413
10416
|
|
10414
10417
|
var twTable_component = Object(componentNormalizer["a" /* default */])(
|
10415
10418
|
twTable_twTablevue_type_script_lang_js_,
|
10416
|
-
|
10417
|
-
|
10419
|
+
twTablevue_type_template_id_035e9650_scoped_true_render,
|
10420
|
+
twTablevue_type_template_id_035e9650_scoped_true_staticRenderFns,
|
10418
10421
|
false,
|
10419
10422
|
null,
|
10420
|
-
"
|
10423
|
+
"035e9650",
|
10421
10424
|
null
|
10422
10425
|
|
10423
10426
|
)
|
@@ -10529,8 +10532,8 @@ var mainvue_type_template_id_7ea093f5_staticRenderFns = []
|
|
10529
10532
|
|
10530
10533
|
// CONCATENATED MODULE: ./packages/twFormPC/src/main.vue?vue&type=template&id=7ea093f5&
|
10531
10534
|
|
10532
|
-
// 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=
|
10533
|
-
var
|
10535
|
+
// 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&
|
10536
|
+
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":{
|
10534
10537
|
expandTrigger: formItem.trigger?formItem.trigger:'hover',
|
10535
10538
|
multiple:formItem.isSelectMore?formItem.isSelectMore:false,
|
10536
10539
|
checkStrictly:formItem.checkAny?formItem.checkAny:false,
|
@@ -10538,10 +10541,10 @@ var twFormModulevue_type_template_id_ca021e7c_scoped_true_render = function () {
|
|
10538
10541
|
value:formItem.changeValue?formItem.changeValue:'value',
|
10539
10542
|
children:formItem.changeChildren?formItem.changeChildren:'children'
|
10540
10543
|
}},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)}
|
10541
|
-
var
|
10544
|
+
var twFormModulevue_type_template_id_129725a4_scoped_true_staticRenderFns = []
|
10542
10545
|
|
10543
10546
|
|
10544
|
-
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=template&id=
|
10547
|
+
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=template&id=129725a4&scoped=true&
|
10545
10548
|
|
10546
10549
|
// 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&
|
10547
10550
|
|
@@ -10692,6 +10695,7 @@ var twFormModulevue_type_template_id_ca021e7c_scoped_true_staticRenderFns = []
|
|
10692
10695
|
//
|
10693
10696
|
//
|
10694
10697
|
//
|
10698
|
+
//
|
10695
10699
|
/* harmony default export */ var twFormModulevue_type_script_lang_js_ = ({
|
10696
10700
|
name: "twFormModule",
|
10697
10701
|
props: ['formSettings', 'formDatas', 'formModule'],
|
@@ -10849,8 +10853,8 @@ var twFormModulevue_type_template_id_ca021e7c_scoped_true_staticRenderFns = []
|
|
10849
10853
|
});
|
10850
10854
|
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=script&lang=js&
|
10851
10855
|
/* harmony default export */ var twFormModule_twFormModulevue_type_script_lang_js_ = (twFormModulevue_type_script_lang_js_);
|
10852
|
-
// EXTERNAL MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=style&index=0&id=
|
10853
|
-
var
|
10856
|
+
// EXTERNAL MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue?vue&type=style&index=0&id=129725a4&scoped=true&lang=css&
|
10857
|
+
var twFormModulevue_type_style_index_0_id_129725a4_scoped_true_lang_css_ = __webpack_require__("63fc");
|
10854
10858
|
|
10855
10859
|
// CONCATENATED MODULE: ./examples/components/comPage/twFormModule/twFormModule.vue
|
10856
10860
|
|
@@ -10863,11 +10867,11 @@ var twFormModulevue_type_style_index_0_id_ca021e7c_scoped_true_lang_css_ = __web
|
|
10863
10867
|
|
10864
10868
|
var twFormModule_component = Object(componentNormalizer["a" /* default */])(
|
10865
10869
|
twFormModule_twFormModulevue_type_script_lang_js_,
|
10866
|
-
|
10867
|
-
|
10870
|
+
twFormModulevue_type_template_id_129725a4_scoped_true_render,
|
10871
|
+
twFormModulevue_type_template_id_129725a4_scoped_true_staticRenderFns,
|
10868
10872
|
false,
|
10869
10873
|
null,
|
10870
|
-
"
|
10874
|
+
"129725a4",
|
10871
10875
|
null
|
10872
10876
|
|
10873
10877
|
)
|