twmodule 0.1.3 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/twComp.common.js +74 -63
- package/lib/twComp.css +1 -1
- package/lib/twComp.umd.js +74 -63
- package/lib/twComp.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/twComp.common.js
CHANGED
@@ -87,13 +87,6 @@ module.exports =
|
|
87
87
|
/************************************************************************/
|
88
88
|
/******/ ({
|
89
89
|
|
90
|
-
/***/ "02f8":
|
91
|
-
/***/ (function(module, exports, __webpack_require__) {
|
92
|
-
|
93
|
-
// extracted by mini-css-extract-plugin
|
94
|
-
|
95
|
-
/***/ }),
|
96
|
-
|
97
90
|
/***/ "053b":
|
98
91
|
/***/ (function(module, exports, __webpack_require__) {
|
99
92
|
|
@@ -1907,17 +1900,6 @@ module.exports = {
|
|
1907
1900
|
};
|
1908
1901
|
|
1909
1902
|
|
1910
|
-
/***/ }),
|
1911
|
-
|
1912
|
-
/***/ "2ac2":
|
1913
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1914
|
-
|
1915
|
-
"use strict";
|
1916
|
-
/* 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_twFormSearch_vue_vue_type_style_index_0_id_98d58986_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("02f8");
|
1917
|
-
/* 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_twFormSearch_vue_vue_type_style_index_0_id_98d58986_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_twFormSearch_vue_vue_type_style_index_0_id_98d58986_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
1918
|
-
/* unused harmony reexport * */
|
1919
|
-
/* 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_twFormSearch_vue_vue_type_style_index_0_id_98d58986_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
1920
|
-
|
1921
1903
|
/***/ }),
|
1922
1904
|
|
1923
1905
|
/***/ "2eeb":
|
@@ -2042,6 +2024,13 @@ module.exports = function (S, index, unicode) {
|
|
2042
2024
|
};
|
2043
2025
|
|
2044
2026
|
|
2027
|
+
/***/ }),
|
2028
|
+
|
2029
|
+
/***/ "3a05":
|
2030
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2031
|
+
|
2032
|
+
// extracted by mini-css-extract-plugin
|
2033
|
+
|
2045
2034
|
/***/ }),
|
2046
2035
|
|
2047
2036
|
/***/ "3a08":
|
@@ -3080,6 +3069,13 @@ module.exports = NATIVE_SYMBOL
|
|
3080
3069
|
&& typeof Symbol.iterator == 'symbol';
|
3081
3070
|
|
3082
3071
|
|
3072
|
+
/***/ }),
|
3073
|
+
|
3074
|
+
/***/ "74d1":
|
3075
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3076
|
+
|
3077
|
+
// extracted by mini-css-extract-plugin
|
3078
|
+
|
3083
3079
|
/***/ }),
|
3084
3080
|
|
3085
3081
|
/***/ "74e7":
|
@@ -3293,6 +3289,17 @@ module.exports = function (key) {
|
|
3293
3289
|
};
|
3294
3290
|
|
3295
3291
|
|
3292
|
+
/***/ }),
|
3293
|
+
|
3294
|
+
/***/ "7efc":
|
3295
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3296
|
+
|
3297
|
+
"use strict";
|
3298
|
+
/* 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_40c06270_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3a05");
|
3299
|
+
/* 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_40c06270_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_40c06270_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
3300
|
+
/* unused harmony reexport * */
|
3301
|
+
/* 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_40c06270_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
3302
|
+
|
3296
3303
|
/***/ }),
|
3297
3304
|
|
3298
3305
|
/***/ "8216":
|
@@ -5435,13 +5442,6 @@ module.exports = {
|
|
5435
5442
|
};
|
5436
5443
|
|
5437
5444
|
|
5438
|
-
/***/ }),
|
5439
|
-
|
5440
|
-
/***/ "b837":
|
5441
|
-
/***/ (function(module, exports, __webpack_require__) {
|
5442
|
-
|
5443
|
-
// extracted by mini-css-extract-plugin
|
5444
|
-
|
5445
5445
|
/***/ }),
|
5446
5446
|
|
5447
5447
|
/***/ "b85e":
|
@@ -5797,6 +5797,17 @@ module.exports = ''.repeat || function repeat(count) {
|
|
5797
5797
|
};
|
5798
5798
|
|
5799
5799
|
|
5800
|
+
/***/ }),
|
5801
|
+
|
5802
|
+
/***/ "ca15":
|
5803
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5804
|
+
|
5805
|
+
"use strict";
|
5806
|
+
/* 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_twFormSearch_vue_vue_type_style_index_0_id_cf254ff4_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("74d1");
|
5807
|
+
/* 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_twFormSearch_vue_vue_type_style_index_0_id_cf254ff4_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_twFormSearch_vue_vue_type_style_index_0_id_cf254ff4_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
5808
|
+
/* unused harmony reexport * */
|
5809
|
+
/* 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_twFormSearch_vue_vue_type_style_index_0_id_cf254ff4_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
5810
|
+
|
5800
5811
|
/***/ }),
|
5801
5812
|
|
5802
5813
|
/***/ "cbab":
|
@@ -6053,17 +6064,6 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
6053
6064
|
};
|
6054
6065
|
|
6055
6066
|
|
6056
|
-
/***/ }),
|
6057
|
-
|
6058
|
-
/***/ "df3e":
|
6059
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6060
|
-
|
6061
|
-
"use strict";
|
6062
|
-
/* 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_3e6d71e3_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b837");
|
6063
|
-
/* 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_3e6d71e3_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_3e6d71e3_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
6064
|
-
/* unused harmony reexport * */
|
6065
|
-
/* 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_3e6d71e3_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
6066
|
-
|
6067
6067
|
/***/ }),
|
6068
6068
|
|
6069
6069
|
/***/ "e055":
|
@@ -7976,16 +7976,16 @@ var mainvue_type_template_id_7cab38b6_staticRenderFns = []
|
|
7976
7976
|
|
7977
7977
|
// CONCATENATED MODULE: ./packages/twSearchBox/src/main.vue?vue&type=template&id=7cab38b6&
|
7978
7978
|
|
7979
|
-
// 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/twFormSearch/twFormSearch.vue?vue&type=template&id=
|
7980
|
-
var
|
7979
|
+
// 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/twFormSearch/twFormSearch.vue?vue&type=template&id=cf254ff4&scoped=true&
|
7980
|
+
var twFormSearchvue_type_template_id_cf254ff4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[(_vm.formReady)?_c('el-form',{staticClass:"twFormSearch",attrs:{"inline":true,"model":_vm.formData,"size":_vm.formModule.size?_vm.formModule.size:'small',"label-width":_vm.formModule.labelWidth?_vm.formModule.labelWidth:'75px'}},[_vm._l((_vm.formDataList),function(item,index){return _c('el-form-item',{directives:[{name:"show",rawName:"v-show",value:(!item.isHidden),expression:"!item.isHidden"}],key:index,style:({'margin-right':_vm.formModule.mention?'20px':'12px'}),attrs:{"label":item.label,"required":item.required}},[(item.warning && item.required)?_c('span',{staticClass:"warningText"},[_vm._v("必填项")]):_vm._e(),(item.itemType === 'text' || item.itemType === 'number')?_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"placeholder":item.placeholder?item.placeholder:'请输入'+item.label,"clearable":"","type":item.itemType,"disabled":item.disabled,"readonly":item.readonly,"suffix-icon":item.iconDirection ==='right'?item.inputIcon:'',"prefix-icon":item.iconDirection ==='left' || (!item.iconDirection && item.inputIcon)?item.inputIcon:''},on:{"input":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'select')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"disabled":item.disabled,"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectMore')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"multiple":"","disabled":item.disabled,"collapse-tags":item.showAllName !== 'showAll',"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectCascade')?_c('el-cascader',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"filterable":item.selectSearch?item.selectSearch:true,"options":item.selectList,"collapse-tags":item.showAllName !== 'showAll',"disabled":item.disabled,"show-all-levels":item.showAllLevel?item.showAllLevel:false,"placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"clearable":"","props":{ expandTrigger: item.trigger?item.trigger:'hover',multiple:item.isSelectMore?item.isSelectMore:false
|
7981
7981
|
,checkStrictly:item.checkAny?item.checkAny:false,label:item.changeLabel?item.changeLabel:'label'
|
7982
|
-
,value:item.changeValue?item.changeValue:'value',children:item.changeChildren?item.changeChildren:'children'}},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'date')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType:'date',"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"picker-options":_vm.processDate(item)},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'dateRange')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType+'range':'daterange',"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"range-separator":item.separator?item.separator:'至',"picker-options":_vm.processDate(item),"start-placeholder":item.startPlaceholder?item.startPlaceholder:'开始日期',"end-placeholder":item.endPlaceholder?item.endPlaceholder:'结束日期'},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'radio')?_c('el-radio-group',{staticClass:"twSearchRadio",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.radioList),function(itemChild,index){return _c('el-radio',{key:'radio'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'checkBox')?_c('el-checkbox-group',{staticClass:"twSearchCheckbox",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.checkBoxList),function(itemChild,index){return _c('el-checkbox',{key:'checkBox'+index,attrs:{"data-a":_vm.checkBoxState,"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'selectTree')?_c('section',{staticClass:"popTree"},[_c('el-popover',{attrs:{"placement":"bottom-start"},model:{value:(item.popTreeBox),callback:function ($$v) {_vm.$set(item, "popTreeBox", $$v)},expression:"item.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,item)}},model:{value:(item.popTreeInput),callback:function ($$v) {_vm.$set(item, "popTreeInput", $$v)},expression:"item.popTreeInput"}}),_c('el-button',{staticStyle:{"margin-left":"10px"},attrs:{"type":"primary","size":"mini"},on:{"click":function($event){return _vm.chooseOrg(item.itemValue,item)}}},[_vm._v("确定选择")])],1)]),_c('el-tree',{ref:item.popTreeRef,refInFor:true,staticClass:"selectTree",attrs:{"data":item.treeList.length>0?item.treeList:[],"props":item.defaultProps,"filter-node-method":_vm.filterNode,"highlight-current":true},on:{"node-click":function($event){item.doubleClick?_vm.handleNodeClickEvent($event,item.itemValue,item):_vm.handleNodeClick($event)}}}),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"slot":"reference","size":"small","placeholder":"请选择","clearable":""},on:{"clear":function($event){return _vm.clearText(item)}},slot:"reference",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1)],1):_vm._e(),(item.itemType === 'valueRange')?_c('section',{staticClass:"valueRangeStyle"},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}),_c('span',{staticStyle:{"margin":"0 5px"}},[_vm._v("-")]),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValueSec]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValueSec, $$v)},expression:"formData[item.itemValueSec]"}})],1):_vm._e(),(item.itemType === 'doSelf')?_c('section',{on:{"click":function($event){return _vm.itemFocus(item,_vm.formData)}}},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":"text","clearable":"","placeholder":"请点击","readonly":""},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1):_vm._e(),(item.mention)?_c('el-popover',{attrs:{"placement":item.mention.direct?item.mention.direct:'left',"width":item.mention.width?item.mention.width:'250',"trigger":item.mention.trigger?item.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(item.mention.textStyle)},[_vm._v(_vm._s(item.mention.text))]),(item.mention)?_c('i',{class:item.mention.icon?item.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(item.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)}),_c('el-form-item',{staticStyle:{"text-align":"left","min-width":"initial","margin-left":"20px"}},[_c('el-button',{staticClass:"searchBtn",attrs:{"type":"primary"},on:{"click":_vm.onSubmit}},[_vm._v("查询")]),(_vm.formModule.reset)?_c('el-button',{staticClass:"searchBtn",on:{"click":_vm.resetObjFun}},[_vm._v("重置")]):_vm._e(),(_vm.formModule.showSearchMore && _vm.showMore)?_c('el-button',{staticStyle:{"margin-left":"0"},attrs:{"type":"text"},on:{"click":function($event){_vm.showMore = !_vm.showMore}}},[_vm._v("收起")]):_vm._e(),(_vm.formModule.showSearchMore && !_vm.showMore)?_c('el-button',{staticStyle:{"margin-left":"0"},attrs:{"type":"text"},on:{"click":function($event){_vm.showMore = !_vm.showMore}}},[_vm._v("高级搜索")]):_vm._e()],1),(_vm.showMore && _vm.formModule.showSearchMore)?_c('section',{staticClass:"showMore"},[_c('el-form',{staticClass:"twFormSearch twFormMore",attrs:{"inline":true,"model":_vm.formData,"size":_vm.formModule.size?_vm.formModule.size:'small',"label-width":_vm.formModule.hideLabelWidth?_vm.formModule.hideLabelWidth:(_vm.formModule.labelWidth?_vm.formModule.labelWidth:'75px')}},_vm._l((_vm.formDataHideList),function(item,index){return _c('el-form-item',{directives:[{name:"show",rawName:"v-show",value:(!item.isHidden),expression:"!item.isHidden"}],key:index,attrs:{"label":item.label}},[(item.warning && item.required)?_c('span',{staticClass:"warningText"},[_vm._v("必填项")]):_vm._e(),(item.itemType === 'text' || item.itemType === 'number')?_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"placeholder":item.placeholder?item.placeholder:'请输入'+item.label,"clearable":"","type":item.itemType,"disabled":item.disabled,"readonly":item.readonly,"suffix-icon":item.iconDirection ==='right'?item.inputIcon:'',"prefix-icon":item.iconDirection ==='left' || (!item.iconDirection && item.inputIcon)?item.inputIcon:''},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'select')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"disabled":item.disabled,"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectMore')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"multiple":"","disabled":item.disabled,"collapse-tags":item.showAllName !== 'showAll',"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectCascade')?_c('el-cascader',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"filterable":item.selectSearch?item.selectSearch:true,"options":item.selectList,"collapse-tags":item.showAllName !== 'showAll',"disabled":item.disabled,"show-all-levels":item.showAllLevel?item.showAllLevel:false,"placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"clearable":"","props":{ expandTrigger: item.trigger?item.trigger:'hover',multiple:item.isSelectMore?item.isSelectMore:false
|
7982
|
+
,value:item.changeValue?item.changeValue:'value',children:item.changeChildren?item.changeChildren:'children'}},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'date')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType:'date',"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"picker-options":_vm.processDate(item)},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'dateRange')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType+'range':'daterange',"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"range-separator":item.separator?item.separator:'至',"picker-options":_vm.processDate(item),"start-placeholder":item.startPlaceholder?item.startPlaceholder:'开始日期',"end-placeholder":item.endPlaceholder?item.endPlaceholder:'结束日期'},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'radio')?_c('el-radio-group',{staticClass:"twSearchRadio",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.radioList),function(itemChild,index){return _c('el-radio',{key:'radio'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'checkBox')?_c('el-checkbox-group',{staticClass:"twSearchCheckbox",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.checkBoxList),function(itemChild,index){return _c('el-checkbox',{key:'checkBox'+index,attrs:{"data-a":_vm.checkBoxState,"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'selectTree')?_c('section',{staticClass:"popTree"},[_c('el-popover',{attrs:{"placement":"bottom-start"},model:{value:(item.popTreeBox),callback:function ($$v) {_vm.$set(item, "popTreeBox", $$v)},expression:"item.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,item)}},model:{value:(item.popTreeInput),callback:function ($$v) {_vm.$set(item, "popTreeInput", $$v)},expression:"item.popTreeInput"}}),_c('el-button',{staticStyle:{"margin-left":"10px"},attrs:{"type":"primary","size":"mini"},on:{"click":function($event){return _vm.chooseOrg(item.itemValue,item)}}},[_vm._v("确定选择")])],1)]),_c('el-tree',{ref:item.popTreeRef,refInFor:true,staticClass:"selectTree",attrs:{"data":item.treeList.length>0?item.treeList:[],"props":item.defaultProps,"filter-node-method":_vm.filterNode,"highlight-current":true},on:{"node-click":function($event){item.doubleClick?_vm.handleNodeClickEvent($event,item.itemValue,item):_vm.handleNodeClick($event)}}}),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"slot":"reference","size":"small","placeholder":"请选择","clearable":""},on:{"clear":function($event){return _vm.clearText(item)}},slot:"reference",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1)],1):_vm._e(),(item.itemType === 'valueRange')?_c('section',{staticClass:"valueRangeStyle"},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}),_c('span',{staticStyle:{"margin":"0 5px"}},[_vm._v("-")]),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValueSec]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValueSec, $$v)},expression:"formData[item.itemValueSec]"}})],1):_vm._e(),(item.itemType === 'doSelf')?_c('section',{on:{"click":function($event){return _vm.itemFocus(item,_vm.formData)}}},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":"text","clearable":"","placeholder":"请点击","readonly":""},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1):_vm._e(),(item.mention)?_c('el-popover',{attrs:{"placement":item.mention.direct?item.mention.direct:'left',"width":item.mention.width?item.mention.width:'250',"trigger":item.mention.trigger?item.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(item.mention.textStyle)},[_vm._v(_vm._s(item.mention.text))]),(item.mention)?_c('i',{class:item.mention.icon?item.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(item.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)}),_c('el-form-item',{staticStyle:{"text-align":"left","min-width":"initial","margin-left":"20px"}},[_c('el-button',{staticClass:"searchBtn",attrs:{"type":"primary"},on:{"click":_vm.onSubmit}},[_vm._v("查询")]),(_vm.formModule.reset)?_c('el-button',{staticClass:"searchBtn",on:{"click":_vm.resetObjFun}},[_vm._v("重置")]):_vm._e(),(_vm.formModule.showSearchMore && _vm.showMore)?_c('el-button',{staticStyle:{"margin-left":"0"},attrs:{"type":"text"},on:{"click":function($event){_vm.showMore = !_vm.showMore}}},[_vm._v("收起")]):_vm._e(),(_vm.formModule.showSearchMore && !_vm.showMore)?_c('el-button',{staticStyle:{"margin-left":"0"},attrs:{"type":"text"},on:{"click":function($event){_vm.showMore = !_vm.showMore}}},[_vm._v("更多搜索")]):_vm._e()],1),(_vm.showMore && _vm.formModule.showSearchMore)?_c('section',{staticClass:"showMore"},[_c('el-form',{staticClass:"twFormSearch twFormMore",attrs:{"inline":true,"model":_vm.formData,"size":_vm.formModule.size?_vm.formModule.size:'small',"label-width":_vm.formModule.hideLabelWidth?_vm.formModule.hideLabelWidth:(_vm.formModule.labelWidth?_vm.formModule.labelWidth:'75px')}},_vm._l((_vm.formDataHideList),function(item,index){return _c('el-form-item',{directives:[{name:"show",rawName:"v-show",value:(!item.isHidden),expression:"!item.isHidden"}],key:index,attrs:{"label":item.label}},[(item.warning && item.required)?_c('span',{staticClass:"warningText"},[_vm._v("必填项")]):_vm._e(),(item.itemType === 'text' || item.itemType === 'number')?_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"placeholder":item.placeholder?item.placeholder:'请输入'+item.label,"clearable":"","type":item.itemType,"disabled":item.disabled,"readonly":item.readonly,"suffix-icon":item.iconDirection ==='right'?item.inputIcon:'',"prefix-icon":item.iconDirection ==='left' || (!item.iconDirection && item.inputIcon)?item.inputIcon:''},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'select')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"disabled":item.disabled,"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectMore')?_c('el-select',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"clearable":"","placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"multiple":"","disabled":item.disabled,"collapse-tags":item.showAllName !== 'showAll',"filterable":item.selectSearch?item.selectSearch:true},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.selectList),function(itemOption){return _c('el-option',{key:item.changeValue?itemOption[item.changeValue]:itemOption.value,attrs:{"label":item.changeLabel?itemOption[item.changeLabel]:itemOption.name,"value":item.changeValue?itemOption[item.changeValue]:itemOption.value}})}),1):_vm._e(),(item.itemType === 'selectCascade')?_c('el-cascader',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"filterable":item.selectSearch?item.selectSearch:true,"options":item.selectList,"collapse-tags":item.showAllName !== 'showAll',"disabled":item.disabled,"show-all-levels":item.showAllLevel?item.showAllLevel:false,"placeholder":item.placeholder?item.placeholder:'请选择'+item.label,"clearable":"","props":{ expandTrigger: item.trigger?item.trigger:'hover',multiple:item.isSelectMore?item.isSelectMore:false
|
7983
7983
|
,checkStrictly:item.checkAny?item.checkAny:false,label:item.changeLabel?item.changeLabel:'label'
|
7984
7984
|
,value:item.changeValue?item.changeValue:'value',children:item.changeChildren?item.changeChildren:'children'}},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'date')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType:'date',"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"picker-options":_vm.processDate(item)},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'dateRange')?_c('el-date-picker',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.dateType?item.dateType+'range':'daterange',"format":item.dateFormat,"placeholder":item.placeholder?item.placeholder:item.label,"range-separator":item.separator?item.separator:'至',"picker-options":_vm.processDate(item),"start-placeholder":item.startPlaceholder?item.startPlaceholder:'开始日期',"end-placeholder":item.endPlaceholder?item.endPlaceholder:'结束日期'},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}):_vm._e(),(item.itemType === 'radio')?_c('el-radio-group',{staticClass:"twSearchRadio",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.radioList),function(itemChild,index){return _c('el-radio',{key:'radio'+index,attrs:{"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'checkBox')?_c('el-checkbox-group',{staticClass:"twSearchCheckbox",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}},_vm._l((item.checkBoxList),function(itemChild,index){return _c('el-checkbox',{key:'checkBox'+index,attrs:{"data-a":_vm.checkBoxState,"label":itemChild.value,"disabled":itemChild.disabled},on:{"change":function($event){return _vm.itemChange($event,item,_vm.formData)}}},[_vm._v(_vm._s(itemChild.name))])}),1):_vm._e(),(item.itemType === 'selectTree')?_c('section',{staticClass:"popTree"},[_c('el-popover',{attrs:{"placement":"bottom-start"},model:{value:(item.popTreeBox),callback:function ($$v) {_vm.$set(item, "popTreeBox", $$v)},expression:"item.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,item)}},model:{value:(item.popTreeInput),callback:function ($$v) {_vm.$set(item, "popTreeInput", $$v)},expression:"item.popTreeInput"}}),_c('el-button',{staticStyle:{"margin-left":"10px"},attrs:{"type":"primary","size":"mini"},on:{"click":function($event){return _vm.chooseOrg(item.itemValue,item)}}},[_vm._v("确定选择")])],1)]),_c('el-tree',{ref:item.popTreeRef,refInFor:true,staticClass:"selectTree",attrs:{"data":item.treeList.length>0?item.treeList:[],"props":item.defaultProps,"filter-node-method":_vm.filterNode,"highlight-current":true},on:{"node-click":function($event){item.doubleClick?_vm.handleNodeClickEvent($event,item.itemValue,item):_vm.handleNodeClick($event)}}}),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"slot":"reference","size":"small","placeholder":"请选择","clearable":""},on:{"clear":function($event){return _vm.clearText(item)}},slot:"reference",model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1)],1):_vm._e(),(item.itemType === 'valueRange')?_c('section',{staticClass:"valueRangeStyle"},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}}),_c('span',{staticStyle:{"margin":"0 5px"}},[_vm._v("-")]),_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":item.isNumber?'number':'text',"clearable":"","placeholder":"请输入"},on:{"input":function($event){return _vm.itemChange($event,item)},"blur":function($event){return _vm.itemBlur(item,_vm.formData)},"focus":function($event){return _vm.itemFocus(item,_vm.formData)}},model:{value:(_vm.formData[item.itemValueSec]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValueSec, $$v)},expression:"formData[item.itemValueSec]"}})],1):_vm._e(),(item.itemType === 'doSelf')?_c('section',{on:{"click":function($event){return _vm.itemFocus(item,_vm.formData)}}},[_c('el-input',{class:(item.warning && item.required)?(item.className?item.className:'')+' warningBorder':(item.className?item.className:''),attrs:{"type":"text","clearable":"","placeholder":"请点击","readonly":""},model:{value:(_vm.formData[item.itemValue]),callback:function ($$v) {_vm.$set(_vm.formData, item.itemValue, $$v)},expression:"formData[item.itemValue]"}})],1):_vm._e(),(item.mention)?_c('el-popover',{attrs:{"placement":item.mention.direct?item.mention.direct:'left',"width":item.mention.width?item.mention.width:'250',"trigger":item.mention.trigger?item.mention.trigger:'hover'}},[_c('section',{staticClass:"mentionText",style:(item.mention.textStyle)},[_vm._v(_vm._s(item.mention.text))]),(item.mention)?_c('i',{class:item.mention.icon?item.mention.icon+' inputMention':'el-icon-warning-outline inputMention',style:(item.mention.iconStyle),attrs:{"slot":"reference"},slot:"reference"}):_vm._e()]):_vm._e()],1)}),1)],1):_vm._e()],2):_vm._e()],1)}
|
7985
|
-
var
|
7985
|
+
var twFormSearchvue_type_template_id_cf254ff4_scoped_true_staticRenderFns = []
|
7986
7986
|
|
7987
7987
|
|
7988
|
-
// CONCATENATED MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=template&id=
|
7988
|
+
// CONCATENATED MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=template&id=cf254ff4&scoped=true&
|
7989
7989
|
|
7990
7990
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.filter.js
|
7991
7991
|
var es_array_filter = __webpack_require__("dbb3");
|
@@ -8513,8 +8513,8 @@ function _defineProperty(obj, key, value) {
|
|
8513
8513
|
});
|
8514
8514
|
// CONCATENATED MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=script&lang=js&
|
8515
8515
|
/* harmony default export */ var twFormSearch_twFormSearchvue_type_script_lang_js_ = (twFormSearchvue_type_script_lang_js_);
|
8516
|
-
// EXTERNAL MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=style&index=0&id=
|
8517
|
-
var
|
8516
|
+
// EXTERNAL MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue?vue&type=style&index=0&id=cf254ff4&scoped=true&lang=scss&
|
8517
|
+
var twFormSearchvue_type_style_index_0_id_cf254ff4_scoped_true_lang_scss_ = __webpack_require__("ca15");
|
8518
8518
|
|
8519
8519
|
// CONCATENATED MODULE: ./examples/components/comPage/twFormSearch/twFormSearch.vue
|
8520
8520
|
|
@@ -8527,11 +8527,11 @@ var twFormSearchvue_type_style_index_0_id_98d58986_scoped_true_lang_scss_ = __we
|
|
8527
8527
|
|
8528
8528
|
var twFormSearch_component = Object(componentNormalizer["a" /* default */])(
|
8529
8529
|
twFormSearch_twFormSearchvue_type_script_lang_js_,
|
8530
|
-
|
8531
|
-
|
8530
|
+
twFormSearchvue_type_template_id_cf254ff4_scoped_true_render,
|
8531
|
+
twFormSearchvue_type_template_id_cf254ff4_scoped_true_staticRenderFns,
|
8532
8532
|
false,
|
8533
8533
|
null,
|
8534
|
-
"
|
8534
|
+
"cf254ff4",
|
8535
8535
|
null
|
8536
8536
|
|
8537
8537
|
)
|
@@ -9227,12 +9227,12 @@ function reset_Obj(obj) {
|
|
9227
9227
|
};
|
9228
9228
|
}
|
9229
9229
|
});
|
9230
|
-
// 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=
|
9231
|
-
var
|
9232
|
-
var
|
9230
|
+
// 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=97db0fb8&
|
9231
|
+
var mainvue_type_template_id_97db0fb8_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},on:{"paginaFunc":_vm.paginaFunc}}):_c('Pagination',{attrs:{"total":_vm.total,"size":_vm.size,"defaultPageSize":_vm.pageSize,"currPage":_vm.getCurrPage},on:{"paginaFunc":_vm.paginaFunc}})],1)}
|
9232
|
+
var mainvue_type_template_id_97db0fb8_staticRenderFns = []
|
9233
9233
|
|
9234
9234
|
|
9235
|
-
// CONCATENATED MODULE: ./packages/twPagination/src/main.vue?vue&type=template&id=
|
9235
|
+
// CONCATENATED MODULE: ./packages/twPagination/src/main.vue?vue&type=template&id=97db0fb8&
|
9236
9236
|
|
9237
9237
|
// 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=d879416e&
|
9238
9238
|
var paginationvue_type_template_id_d879416e_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":"","pageSizeOptions":[ '10', '20', '30', '50', '100']},on:{"showSizeChange":_vm.changeSize},model:{value:(_vm.current),callback:function ($$v) {_vm.current=$$v},expression:"current"}}),_c('span',[_vm._v("确定")])],1)}
|
@@ -9459,7 +9459,11 @@ var pagination_pagination_component = Object(componentNormalizer["a" /* default
|
|
9459
9459
|
this.$emit('paginaFunc', e);
|
9460
9460
|
}
|
9461
9461
|
},
|
9462
|
-
computed: {
|
9462
|
+
computed: {
|
9463
|
+
getCurrPage: function getCurrPage() {
|
9464
|
+
return this.currPage;
|
9465
|
+
}
|
9466
|
+
}
|
9463
9467
|
});
|
9464
9468
|
// CONCATENATED MODULE: ./packages/twPagination/src/main.vue?vue&type=script&lang=js&
|
9465
9469
|
/* harmony default export */ var packages_twPagination_src_mainvue_type_script_lang_js_ = (twPagination_src_mainvue_type_script_lang_js_);
|
@@ -9473,8 +9477,8 @@ var pagination_pagination_component = Object(componentNormalizer["a" /* default
|
|
9473
9477
|
|
9474
9478
|
var twPagination_src_main_component = Object(componentNormalizer["a" /* default */])(
|
9475
9479
|
packages_twPagination_src_mainvue_type_script_lang_js_,
|
9476
|
-
|
9477
|
-
|
9480
|
+
mainvue_type_template_id_97db0fb8_render,
|
9481
|
+
mainvue_type_template_id_97db0fb8_staticRenderFns,
|
9478
9482
|
false,
|
9479
9483
|
null,
|
9480
9484
|
null,
|
@@ -9697,18 +9701,18 @@ var mainvue_type_template_id_9f852c24_staticRenderFns = []
|
|
9697
9701
|
|
9698
9702
|
// CONCATENATED MODULE: ./packages/twTable/src/main.vue?vue&type=template&id=9f852c24&
|
9699
9703
|
|
9700
|
-
// 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=
|
9701
|
-
var
|
9704
|
+
// 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=40c06270&scoped=true&
|
9705
|
+
var twTablevue_type_template_id_40c06270_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,"bordered":_vm.tableInit.border,"rowKey":function (record) { return _vm.tableInit.rowId?record[_vm.tableInit.rowId]:record.tableItemKey },"pagination":false,"size":_vm.tableInit.size?_vm.tableInit.size:'small',"customRow":_vm.customRow,"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,onChange: _vm.onSelectChange,getCheckboxProps:_vm.getCheckboxProps }: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":"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',
|
9702
9706
|
multiple:item.isEdit.isSelectMore?item.isEdit.isSelectMore:false,
|
9703
9707
|
checkStrictly:item.isEdit.checkAny?item.isEdit.checkAny:false,
|
9704
9708
|
label:item.isEdit.changeLabel?item.isEdit.changeLabel:'label',
|
9705
9709
|
value:item.isEdit.changeValue?item.isEdit.changeValue:'value',
|
9706
9710
|
children:item.isEdit.changeChildren?item.isEdit.changeChildren:'children'
|
9707
|
-
}},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:'请选择',"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()])}}}),_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:'请选择',"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()])}}})],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":[10,20,30,50,100]},on:{"paginaFunc":_vm.paginaFunc}}):_vm._e()],1)}
|
9708
|
-
var
|
9711
|
+
}},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:'请选择',"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:'请选择',"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":[10,20,30,50,100]},on:{"paginaFunc":_vm.paginaFunc}}):_vm._e()],1)}
|
9712
|
+
var twTablevue_type_template_id_40c06270_scoped_true_staticRenderFns = []
|
9709
9713
|
|
9710
9714
|
|
9711
|
-
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=
|
9715
|
+
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=template&id=40c06270&scoped=true&
|
9712
9716
|
|
9713
9717
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.array.for-each.js
|
9714
9718
|
var es_array_for_each = __webpack_require__("fe59");
|
@@ -10047,6 +10051,13 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
|
|
10047
10051
|
//
|
10048
10052
|
//
|
10049
10053
|
//
|
10054
|
+
//
|
10055
|
+
//
|
10056
|
+
//
|
10057
|
+
//
|
10058
|
+
//
|
10059
|
+
//
|
10060
|
+
//
|
10050
10061
|
|
10051
10062
|
/* harmony default export */ var twTablevue_type_script_lang_js_ = ({
|
10052
10063
|
components: {
|
@@ -10335,8 +10346,8 @@ var web_dom_collections_for_each = __webpack_require__("08ba");
|
|
10335
10346
|
});
|
10336
10347
|
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=script&lang=js&
|
10337
10348
|
/* harmony default export */ var twTable_twTablevue_type_script_lang_js_ = (twTablevue_type_script_lang_js_);
|
10338
|
-
// EXTERNAL MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=style&index=0&id=
|
10339
|
-
var
|
10349
|
+
// EXTERNAL MODULE: ./examples/components/comPage/twTable/twTable.vue?vue&type=style&index=0&id=40c06270&scoped=true&lang=scss&
|
10350
|
+
var twTablevue_type_style_index_0_id_40c06270_scoped_true_lang_scss_ = __webpack_require__("7efc");
|
10340
10351
|
|
10341
10352
|
// CONCATENATED MODULE: ./examples/components/comPage/twTable/twTable.vue
|
10342
10353
|
|
@@ -10349,11 +10360,11 @@ var twTablevue_type_style_index_0_id_3e6d71e3_scoped_true_lang_scss_ = __webpack
|
|
10349
10360
|
|
10350
10361
|
var twTable_component = Object(componentNormalizer["a" /* default */])(
|
10351
10362
|
twTable_twTablevue_type_script_lang_js_,
|
10352
|
-
|
10353
|
-
|
10363
|
+
twTablevue_type_template_id_40c06270_scoped_true_render,
|
10364
|
+
twTablevue_type_template_id_40c06270_scoped_true_staticRenderFns,
|
10354
10365
|
false,
|
10355
10366
|
null,
|
10356
|
-
"
|
10367
|
+
"40c06270",
|
10357
10368
|
null
|
10358
10369
|
|
10359
10370
|
)
|