three-trees-ui 1.0.34 → 1.0.35

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.
@@ -4093,13 +4093,6 @@ const dict = {
4093
4093
 
4094
4094
  /***/ }),
4095
4095
 
4096
- /***/ "6bbb":
4097
- /***/ (function(module, exports, __webpack_require__) {
4098
-
4099
- // extracted by mini-css-extract-plugin
4100
-
4101
- /***/ }),
4102
-
4103
4096
  /***/ "6f28":
4104
4097
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4105
4098
 
@@ -4109,17 +4102,6 @@ const dict = {
4109
4102
  /* unused harmony reexport * */
4110
4103
 
4111
4104
 
4112
- /***/ }),
4113
-
4114
- /***/ "7152":
4115
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4116
-
4117
- "use strict";
4118
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_547c4c80_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6bbb");
4119
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_547c4c80_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_547c4c80_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
4120
- /* unused harmony reexport * */
4121
-
4122
-
4123
4105
  /***/ }),
4124
4106
 
4125
4107
  /***/ "768a":
@@ -4170,6 +4152,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4170
4152
  /* unused harmony reexport * */
4171
4153
 
4172
4154
 
4155
+ /***/ }),
4156
+
4157
+ /***/ "79d0":
4158
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4159
+
4160
+ "use strict";
4161
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_34c688c8_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f7c3");
4162
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_34c688c8_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_34c688c8_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
4163
+ /* unused harmony reexport * */
4164
+
4165
+
4173
4166
  /***/ }),
4174
4167
 
4175
4168
  /***/ "79d3":
@@ -4264,6 +4257,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
4264
4257
  /* unused harmony reexport * */
4265
4258
 
4266
4259
 
4260
+ /***/ }),
4261
+
4262
+ /***/ "8263":
4263
+ /***/ (function(module, exports, __webpack_require__) {
4264
+
4265
+ // extracted by mini-css-extract-plugin
4266
+
4267
4267
  /***/ }),
4268
4268
 
4269
4269
  /***/ "8274":
@@ -4670,7 +4670,7 @@ if (typeof window !== 'undefined' && window.Vue) {
4670
4670
  /***/ "9224":
4671
4671
  /***/ (function(module) {
4672
4672
 
4673
- module.exports = JSON.parse("{\"a\":\"1.0.34\"}");
4673
+ module.exports = JSON.parse("{\"a\":\"1.0.35\"}");
4674
4674
 
4675
4675
  /***/ }),
4676
4676
 
@@ -6774,13 +6774,6 @@ module.exports = require("axios");
6774
6774
 
6775
6775
  /***/ }),
6776
6776
 
6777
- /***/ "d3ee":
6778
- /***/ (function(module, exports, __webpack_require__) {
6779
-
6780
- // extracted by mini-css-extract-plugin
6781
-
6782
- /***/ }),
6783
-
6784
6777
  /***/ "d452":
6785
6778
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6786
6779
 
@@ -7348,17 +7341,6 @@ module.exports = require("html2canvas");
7348
7341
 
7349
7342
  // extracted by mini-css-extract-plugin
7350
7343
 
7351
- /***/ }),
7352
-
7353
- /***/ "f2f4":
7354
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7355
-
7356
- "use strict";
7357
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_fdca2abe_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d3ee");
7358
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_fdca2abe_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_fdca2abe_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
7359
- /* unused harmony reexport * */
7360
-
7361
-
7362
7344
  /***/ }),
7363
7345
 
7364
7346
  /***/ "f43e":
@@ -7377,6 +7359,17 @@ module.exports = require("js-base64");
7377
7359
  /* unused harmony reexport * */
7378
7360
 
7379
7361
 
7362
+ /***/ }),
7363
+
7364
+ /***/ "f556":
7365
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7366
+
7367
+ "use strict";
7368
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_9aefb486_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8263");
7369
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_9aefb486_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Table_vue_vue_type_style_index_0_id_9aefb486_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
7370
+ /* unused harmony reexport * */
7371
+
7372
+
7380
7373
  /***/ }),
7381
7374
 
7382
7375
  /***/ "f58b":
@@ -7676,6 +7669,13 @@ module.exports = require("js-base64");
7676
7669
  /* unused harmony reexport * */
7677
7670
 
7678
7671
 
7672
+ /***/ }),
7673
+
7674
+ /***/ "f7c3":
7675
+ /***/ (function(module, exports, __webpack_require__) {
7676
+
7677
+ // extracted by mini-css-extract-plugin
7678
+
7679
7679
  /***/ }),
7680
7680
 
7681
7681
  /***/ "f8bd":
@@ -8861,17 +8861,17 @@ CommonScripts.install = Vue => {
8861
8861
  Vue.prototype.$CommonScripts = CommonScripts(Vue);
8862
8862
  };
8863
8863
  /* harmony default export */ var commonScripts = (CommonScripts);
8864
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ad7f362a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Input/src/main.vue?vue&type=template&id=fdca2abe&scoped=true&
8865
- var mainvue_type_template_id_fdca2abe_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{directives:[{name:"express",rawName:"v-express"}],staticClass:"ht-input",class:[
8864
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ad7f362a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Input/src/main.vue?vue&type=template&id=34c688c8&scoped=true&
8865
+ var mainvue_type_template_id_34c688c8_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.permission !== 'n')?_c('div',{directives:[{name:"express",rawName:"v-express"}],staticClass:"ht-input",class:[
8866
8866
  'inputs',
8867
8867
  _vm.formInputsDisplay == 'block'
8868
8868
  ? 'ht-form-inputs__block'
8869
8869
  : 'ht-form-inputs__inline',
8870
- _vm.company ? 'has-company-box' : '' ]},[(_vm.isShowInput)?_c('el-input',{directives:[{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],ref:"inputEle",style:(_vm.inputWidth),attrs:{"type":_vm.type,"size":_vm.inputSize,"name":_vm.inputName,"placeholder":_vm.placeholder,"clearable":_vm.clearable,"show-password":_vm.showPassword,"disabled":_vm.isDisabled,"readonly":_vm.readonly,"rows":_vm.rowsVal,"cols":_vm.colsVal,"min":_vm.min,"max":_vm.max,"autosize":_vm.autosize,"resize":_vm.resize,"tabindex":_vm.tabindex,"prefix-icon":_vm.prefixIcon,"suffix-icon":_vm.suffixIcon,"minlength":_vm.minlength,"maxlength":_vm.maxlength,"show-word-limit":_vm.showWordLimit},on:{"blur":_vm.handleBlur,"focus":_vm.handleFocus,"change":_vm.handleChange,"input":_vm.handleInput,"clear":_vm.handleClear},model:{value:(_vm.inputVal),callback:function ($$v) {_vm.inputVal=$$v},expression:"inputVal"}},[_vm._t("prefix",null,{"slot":"prefix"}),_vm._t("suffix",null,{"slot":"suffix"}),_vm._t("prepend",null,{"slot":"prepend"}),_vm._t("append",null,{"slot":"append"})],2):_vm._e(),(_vm.inputWriteable && _vm.type == 'number')?[_c('el-input-number',{directives:[{name:"show",rawName:"v-show",value:(_vm.isNumber),expression:"isNumber"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],ref:"inputEle",style:(_vm.inputWidth),attrs:{"type":_vm.type,"controls-position":_vm.controlsPosition,"size":_vm.inputSize,"name":_vm.inputName,"placeholder":_vm.placeholder,"clearable":_vm.clearable,"disabled":_vm.disabled,"readonly":_vm.readonly,"min":_vm.min,"max":_vm.max,"step":_vm.step,"step-strictly":_vm.stepStrictly,"precision":_vm.precision},on:{"blur":_vm.handleNumberBlur,"focus":_vm.handleFocus,"change":_vm.handleChange},model:{value:(_vm.inputVal),callback:function ($$v) {_vm.inputVal=$$v},expression:"inputVal"}}),_c('el-input',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isNumber),expression:"!isNumber"}],ref:"exhibit",staticClass:"exhibit",style:(_vm.inputWidth),attrs:{"type":"text","controls-position":_vm.controlsPosition,"size":_vm.inputSize,"name":_vm.inputName,"placeholder":_vm.placeholder,"disabled":_vm.disabled,"readonly":_vm.readonly,"min":_vm.min,"max":_vm.max,"step":_vm.step,"step-strictly":_vm.stepStrictly,"precision":_vm.precision},on:{"focus":_vm.exhibitFocus},model:{value:(_vm.exhibitText),callback:function ($$v) {_vm.exhibitText=$$v},expression:"exhibitText"}}),(_vm.company)?_c('span',[_vm._v(_vm._s(_vm.company))]):_vm._e()]:_vm._e(),(_vm.isShowText)?_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"readonly":!_vm.inputWriteable,"input-value":_vm.readOnlyInputVal,"company":_vm.company,"precision":_vm.precision,"type":_vm.type,"filter-currency":_vm.filtercurrency,"filterthousand-bit":_vm.filterthousandBit}},[_vm._t("prefix",null,{"slot":"prefix"}),_vm._t("suffix",null,{"slot":"suffix"}),_vm._t("prepend",null,{"slot":"prepend"}),_vm._t("append",null,{"slot":"append"})],2):_vm._e()],2):_vm._e()}
8871
- var mainvue_type_template_id_fdca2abe_scoped_true_staticRenderFns = []
8870
+ _vm.company ? 'has-company-box' : '' ]},[(_vm.isShowInput)?_c('el-input',{directives:[{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],ref:"inputEle",class:{ readonly_input: _vm.readonly },style:(_vm.inputWidth),attrs:{"type":_vm.type,"size":_vm.inputSize,"name":_vm.inputName,"placeholder":_vm.readonly ? '' : _vm.placeholder,"clearable":_vm.clearable,"show-password":_vm.showPassword,"disabled":_vm.isDisabled,"readonly":_vm.readonly,"rows":_vm.rowsVal,"cols":_vm.colsVal,"min":_vm.min,"max":_vm.max,"autosize":_vm.autosize,"resize":_vm.resize,"tabindex":_vm.tabindex,"prefix-icon":_vm.prefixIcon,"suffix-icon":_vm.suffixIcon,"minlength":_vm.minlength,"maxlength":_vm.maxlength,"show-word-limit":_vm.showWordLimit},on:{"blur":_vm.handleBlur,"focus":_vm.handleFocus,"change":_vm.handleChange,"input":_vm.handleInput,"clear":_vm.handleClear},model:{value:(_vm.inputVal),callback:function ($$v) {_vm.inputVal=$$v},expression:"inputVal"}},[_vm._t("prefix",null,{"slot":"prefix"}),_vm._t("suffix",null,{"slot":"suffix"}),_vm._t("prepend",null,{"slot":"prepend"}),_vm._t("append",null,{"slot":"append"})],2):_vm._e(),(_vm.inputWriteable && _vm.type == 'number')?[_c('el-input-number',{directives:[{name:"show",rawName:"v-show",value:(_vm.isNumber),expression:"isNumber"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],ref:"inputEle",style:(_vm.inputWidth),attrs:{"type":_vm.type,"controls-position":_vm.controlsPosition,"size":_vm.inputSize,"name":_vm.inputName,"placeholder":_vm.placeholder,"clearable":_vm.clearable,"disabled":_vm.disabled,"readonly":_vm.readonly,"min":_vm.min,"max":_vm.max,"step":_vm.step,"step-strictly":_vm.stepStrictly,"precision":_vm.precision},on:{"blur":_vm.handleNumberBlur,"focus":_vm.handleFocus,"change":_vm.handleChange},model:{value:(_vm.inputVal),callback:function ($$v) {_vm.inputVal=$$v},expression:"inputVal"}}),_c('el-input',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isNumber),expression:"!isNumber"}],ref:"exhibit",staticClass:"exhibit",style:(_vm.inputWidth),attrs:{"type":"text","controls-position":_vm.controlsPosition,"size":_vm.inputSize,"name":_vm.inputName,"placeholder":_vm.placeholder,"disabled":_vm.disabled,"readonly":_vm.readonly,"min":_vm.min,"max":_vm.max,"step":_vm.step,"step-strictly":_vm.stepStrictly,"precision":_vm.precision},on:{"focus":_vm.exhibitFocus},model:{value:(_vm.exhibitText),callback:function ($$v) {_vm.exhibitText=$$v},expression:"exhibitText"}}),(_vm.company)?_c('span',[_vm._v(_vm._s(_vm.company))]):_vm._e()]:_vm._e(),(_vm.isShowText)?_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"readonly":!_vm.inputWriteable,"input-value":_vm.readOnlyInputVal,"company":_vm.company,"precision":_vm.precision,"type":_vm.type,"filter-currency":_vm.filtercurrency,"filterthousand-bit":_vm.filterthousandBit}},[_vm._t("prefix",null,{"slot":"prefix"}),_vm._t("suffix",null,{"slot":"suffix"}),_vm._t("prepend",null,{"slot":"prepend"}),_vm._t("append",null,{"slot":"append"})],2):_vm._e()],2):_vm._e()}
8871
+ var mainvue_type_template_id_34c688c8_scoped_true_staticRenderFns = []
8872
8872
 
8873
8873
 
8874
- // CONCATENATED MODULE: ./packages/Input/src/main.vue?vue&type=template&id=fdca2abe&scoped=true&
8874
+ // CONCATENATED MODULE: ./packages/Input/src/main.vue?vue&type=template&id=34c688c8&scoped=true&
8875
8875
 
8876
8876
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ad7f362a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/FieldTail/src/main.vue?vue&type=template&id=4b08423d&scoped=true&
8877
8877
  var mainvue_type_template_id_4b08423d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"field-tail__wrap"},[(_vm.hasErrors)?_c('small',{staticClass:"el-form-item__error"},[_vm._v("\n "+_vm._s(_vm.errorMessage)+"\n ")]):_vm._e(),(_vm.readonly && _vm.tagFormatValue.length == 0)?_c('div',{staticClass:"field-tail"},[(_vm.isReadonlyTextarea)?_c('div',_vm._l((_vm.formatInputValue),function(item,index){return _c('div',{key:index},[(item)?_c('p',{staticClass:"readonly_p"},[_vm._t("prefix"),_vm._t("suffix"),_vm._t("prepend"),_vm._v("\n "+_vm._s(item)+"\n "),_vm._t("append")],2):_c('br')])}),0):(_vm.$readonlyInput)?_c('el-input',{attrs:{"disabled":""},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:"inputValue"}}):_c('span',[_vm._t("prefix"),_vm._t("suffix"),_vm._t("prepend"),_vm._v("\n "+_vm._s(_vm.currentShowValue)+"\n "),(_vm.company && !_vm.filterCurrency)?[_vm._v(_vm._s(_vm.company))]:_vm._e(),_vm._t("append")],2)],1):_vm._e(),(
@@ -9201,6 +9201,7 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
9201
9201
  //
9202
9202
  //
9203
9203
  //
9204
+ //
9204
9205
 
9205
9206
 
9206
9207
 
@@ -9675,8 +9676,8 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
9675
9676
  });
9676
9677
  // CONCATENATED MODULE: ./packages/Input/src/main.vue?vue&type=script&lang=js&
9677
9678
  /* harmony default export */ var packages_Input_src_mainvue_type_script_lang_js_ = (Input_src_mainvue_type_script_lang_js_);
9678
- // EXTERNAL MODULE: ./packages/Input/src/main.vue?vue&type=style&index=0&id=fdca2abe&prod&lang=scss&scoped=true&
9679
- var mainvue_type_style_index_0_id_fdca2abe_prod_lang_scss_scoped_true_ = __webpack_require__("f2f4");
9679
+ // EXTERNAL MODULE: ./packages/Input/src/main.vue?vue&type=style&index=0&id=34c688c8&prod&lang=scss&scoped=true&
9680
+ var mainvue_type_style_index_0_id_34c688c8_prod_lang_scss_scoped_true_ = __webpack_require__("79d0");
9680
9681
 
9681
9682
  // CONCATENATED MODULE: ./packages/Input/src/main.vue
9682
9683
 
@@ -9689,11 +9690,11 @@ var mainvue_type_style_index_0_id_fdca2abe_prod_lang_scss_scoped_true_ = __webpa
9689
9690
 
9690
9691
  var src_main_component = normalizeComponent(
9691
9692
  packages_Input_src_mainvue_type_script_lang_js_,
9692
- mainvue_type_template_id_fdca2abe_scoped_true_render,
9693
- mainvue_type_template_id_fdca2abe_scoped_true_staticRenderFns,
9693
+ mainvue_type_template_id_34c688c8_scoped_true_render,
9694
+ mainvue_type_template_id_34c688c8_scoped_true_staticRenderFns,
9694
9695
  false,
9695
9696
  null,
9696
- "fdca2abe",
9697
+ "34c688c8",
9697
9698
  null
9698
9699
 
9699
9700
  )
@@ -10402,12 +10403,12 @@ Checkbox_src_main.install = function (Vue) {
10402
10403
  Vue.component(Checkbox_src_main.name, Checkbox_src_main);
10403
10404
  };
10404
10405
  /* harmony default export */ var Checkbox = (Checkbox_src_main);
10405
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ad7f362a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Table/src/Table.vue?vue&type=template&id=547c4c80&scoped=true&
10406
- var Tablevue_type_template_id_547c4c80_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-main',{ref:"tablePanel",staticClass:"ht-table-panel"},[(!_vm.noHeader && !_vm.justShowSearch)?_c('div',{ref:"toolbarPanel",staticClass:"toolbar-panel"},[(!_vm.justShowSearch)?_c('div',{staticClass:"toolbar-panel__search",class:{ 'ht-quick__search': !_vm.hideTableSearch }},[(_vm.quickSearchConfig && _vm.quickSearchConfig.length > 0)?_c('ht-input',{ref:"quickSearch",staticClass:"quick-search",staticStyle:{"margin-right":"20px"},style:(_vm.quickSearchWidthStyle),attrs:{"placeholder":_vm.quickSearchPlaceholder,"autofocus":true,"disabled":_vm.loading || _vm.showAdvancedSearch,"debounce":2000,"suffix-icon":"el-icon-search"},nativeOn:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.doQuickSearch($event)},"click":function($event){return _vm.clickQuickSearch($event)}},model:{value:(_vm.quickSearchWord),callback:function ($$v) {_vm.quickSearchWord=$$v},expression:"quickSearchWord"}}):_vm._e(),_c('div',{staticClass:"common-tools"},[(_vm.hasSearchPanel && !_vm.justShowSearch)?_c('el-button',{staticClass:"advance-search__button",on:{"click":function($event){_vm.showAdvancedSearch = !_vm.showAdvancedSearch}}},[_vm._v("\n "+_vm._s(_vm.showAdvancedSearch ? '基础搜索' : '高级搜索')+"\n "),_c('i',{class:_vm.showAdvancedSearch ? 'el-icon-arrow-up' : 'el-icon-arrow-down'})]):_vm._e(),(_vm.showExport)?_c('el-tooltip',{attrs:{"content":"导出数据","placement":"top"}},[_c('el-button',{on:{"click":function($event){return _vm.$emit('export')}}},[_c('ht-icon',{attrs:{"name":"arrow"}})],1)],1):_vm._e(),_c('el-tooltip',{attrs:{"content":"刷新数据","placement":"top"}},[_c('el-button',{staticClass:"refresh-btn-icon",attrs:{"icon":"el-icon-refresh"},on:{"click":function($event){return _vm.load(true)}}})],1),(_vm.showCustomColumn && !_vm.isCardView)?_c('el-tooltip',{attrs:{"content":"自定义列","placement":"top"}},[_c('el-button',{on:{"click":function($event){_vm.customColumnDialogVisible = true}}},[_c('ht-icon',{attrs:{"name":"setting"}})],1)],1):_vm._e(),(_vm.multiViewSwitch)?_c('el-button-group',{staticClass:"multiview-switcher"},[_c('el-tooltip',{attrs:{"content":"卡片视图","placement":"top"}},[_c('el-button',{attrs:{"type":_vm.isCardView ? 'primary' : 'default'},on:{"click":function($event){_vm.isCardView = true}}},[_c('ht-icon',{attrs:{"name":"block"}})],1)],1),_c('el-tooltip',{attrs:{"content":"表格视图","placement":"top"}},[_c('el-button',{attrs:{"type":_vm.isCardView ? 'default' : 'primary'},on:{"click":function($event){_vm.isCardView = false}}},[_c('ht-icon',{attrs:{"name":"line"}})],1)],1)],1):_vm._e()],1)],1):_vm._e()]):_vm._e(),_c('el-collapse-transition',[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showAdvancedSearch || _vm.justShowSearch),expression:"showAdvancedSearch || justShowSearch"}],ref:"searchPanel",staticClass:"search-panel"},[_vm._t("search")],2)]),(_vm.hasToolBar)?_c('div',{ref:"toolbarContainer",staticClass:"toolbar-container"},[_vm._t("toolbar")],2):_vm._e(),(!_vm.isCardView)?_c('el-table',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading && !_vm.noLoading),expression:"loading && !noLoading"}],ref:"htTable",staticClass:"ht-table",class:{ 'no-data-table': _vm.data.length < 1 },style:({ height: "" + (_vm.tableMaxHeight ? _vm.tableMaxHeight : 400) + 'px' }),attrs:{"stripe":_vm.stripe,"border":"","data":_vm.data,"size":_vm.size,"empty-text":_vm.emptyText,"show-header":_vm.showHeader,"max-height":_vm.tableMaxHeight ? _vm.tableMaxHeight : 400,"tooltip-effect":_vm.tooltipEffect,"default-querys":_vm.defaultQuerys,"header-row-class-name":_vm.headerRowClassName,"header-cell-class-name":_vm.headerCellClassName,"highlight-current-row":_vm.highlightCurrentRow,"row-class-name":_vm.rowClassName,"cell-class-name":_vm.cellClassName,"row-key":_vm.rowKey},on:{"row-click":_vm.handleRowClick,"select":_vm.handleTableSelect,"select-all":_vm.handleTableSelect,"sort-change":_vm.handleSortChange,"filter-change":_vm.handleFilterChange,"selection-change":function (selection) { return _vm.$emit('selection-change', selection); }}},[(_vm.selectable)?_c('el-table-column',{attrs:{"type":"selection","align":"center","reserve-selection":_vm.reserveSelection,"width":"45"}}):_vm._e(),_vm._t("default"),_c('template',{slot:"empty"},[_c('el-image',{attrs:{"src":_vm.tableNoDataImg}}),_c('p',{staticClass:"no-data-text"},[_vm._v(_vm._s(_vm.emptyText || _vm.t('el.table.emptyText')))])],1)],2):_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading && !_vm.noLoading),expression:"loading && !noLoading"}],staticClass:"ht-card",style:({ height: "" + _vm.tableMaxHeight + 'px' })},[(_vm.loading || (_vm.data && _vm.data.length > 0))?[(_vm.cardItemMode)?_c('div',{staticClass:"ht-card__container"},_vm._l((_vm.data),function(item,index){return _c('el-card',{key:index,attrs:{"shadow":"hover"},nativeOn:{"click":function($event){return _vm.$emit('card-click', item)}}},[_vm._t("card",null,{"item":item})],2)}),1):_c('div',[_vm._t("card",null,{"data":_vm.data})],2)]:_c('div',{staticClass:"el-table__empty-block"},[(_vm.data.length < 1 && !_vm.emptyText)?[_vm._t("empty-card")]:(_vm.emptyText)?_c('span',{staticClass:"el-table__empty-text"},[_vm._v("\n "+_vm._s(_vm.emptyText || _vm.t('el.table.emptyText'))+"\n ")]):_vm._e()],2)],2),(!_vm.nopagination)?_c('div',{ref:"paginationPanel",staticClass:"pagination-panel"},[_c('el-row',{attrs:{"type":"flex","justify":_vm.tablePaginationJustify}},[_c('el-pagination',{class:{ 'page-sizes__hidden': _vm.hidePageSizes },attrs:{"small":_vm.small,"disabled":_vm.loading,"current-page":_vm.pagination.page,"page-sizes":_vm.pageSizes,"page-size":_vm.pagination.pageSize,"pager-count":_vm.pagerCount,"background":_vm.$paginationBackground,"layout":_vm.layout,"total":_vm.pagination.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1)],1):_vm._e(),_c('custom-column',{attrs:{"custom-columns":_vm.customColumns,"visible":_vm.customColumnDialogVisible},on:{"update:visible":function($event){_vm.customColumnDialogVisible=$event},"apply-custom-column":_vm.handleApplyCustomColumn}})],1)}
10407
- var Tablevue_type_template_id_547c4c80_scoped_true_staticRenderFns = []
10406
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ad7f362a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/Table/src/Table.vue?vue&type=template&id=9aefb486&scoped=true&
10407
+ var Tablevue_type_template_id_9aefb486_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-main',{ref:"tablePanel",staticClass:"ht-table-panel"},[(!_vm.noHeader && !_vm.justShowSearch)?_c('div',{ref:"toolbarPanel",staticClass:"toolbar-panel"},[(!_vm.justShowSearch)?_c('div',{staticClass:"toolbar-panel__search",class:{ 'ht-quick__search': !_vm.hideTableSearch }},[(_vm.quickSearchConfig && _vm.quickSearchConfig.length > 0)?_c('ht-input',{ref:"quickSearch",staticClass:"quick-search",staticStyle:{"margin-right":"20px"},style:(_vm.quickSearchWidthStyle),attrs:{"placeholder":_vm.quickSearchPlaceholder,"autofocus":true,"disabled":_vm.loading || _vm.showAdvancedSearch,"debounce":2000,"suffix-icon":"el-icon-search"},nativeOn:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.doQuickSearch($event)},"click":function($event){return _vm.clickQuickSearch($event)}},model:{value:(_vm.quickSearchWord),callback:function ($$v) {_vm.quickSearchWord=$$v},expression:"quickSearchWord"}}):_vm._e(),_c('div',{staticClass:"common-tools"},[(_vm.hasSearchPanel && !_vm.justShowSearch)?_c('el-button',{staticClass:"advance-search__button",on:{"click":function($event){_vm.showAdvancedSearch = !_vm.showAdvancedSearch}}},[_vm._v("\n "+_vm._s(_vm.showAdvancedSearch ? '基础搜索' : '高级搜索')+"\n "),_c('i',{class:_vm.showAdvancedSearch ? 'el-icon-arrow-up' : 'el-icon-arrow-down'})]):_vm._e(),(_vm.showExport)?_c('el-tooltip',{attrs:{"content":"导出数据","placement":"top"}},[_c('el-button',{on:{"click":function($event){return _vm.$emit('export')}}},[_c('ht-icon',{attrs:{"name":"arrow"}})],1)],1):_vm._e(),_c('el-tooltip',{attrs:{"content":"刷新数据","placement":"top"}},[_c('el-button',{staticClass:"refresh-btn-icon",attrs:{"icon":"el-icon-refresh"},on:{"click":function($event){return _vm.load(true)}}})],1),(_vm.showCustomColumn && !_vm.isCardView)?_c('el-tooltip',{attrs:{"content":"自定义列","placement":"top"}},[_c('el-button',{on:{"click":function($event){_vm.customColumnDialogVisible = true}}},[_c('ht-icon',{attrs:{"name":"setting"}})],1)],1):_vm._e(),(_vm.multiViewSwitch)?_c('el-button-group',{staticClass:"multiview-switcher"},[_c('el-tooltip',{attrs:{"content":"卡片视图","placement":"top"}},[_c('el-button',{attrs:{"type":_vm.isCardView ? 'primary' : 'default'},on:{"click":function($event){_vm.isCardView = true}}},[_c('ht-icon',{attrs:{"name":"block"}})],1)],1),_c('el-tooltip',{attrs:{"content":"表格视图","placement":"top"}},[_c('el-button',{attrs:{"type":_vm.isCardView ? 'default' : 'primary'},on:{"click":function($event){_vm.isCardView = false}}},[_c('ht-icon',{attrs:{"name":"line"}})],1)],1)],1):_vm._e()],1)],1):_vm._e()]):_vm._e(),_c('el-collapse-transition',[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showAdvancedSearch || _vm.justShowSearch),expression:"showAdvancedSearch || justShowSearch"}],ref:"searchPanel",staticClass:"search-panel"},[_vm._t("search")],2)]),(_vm.hasToolBar)?_c('div',{ref:"toolbarContainer",staticClass:"toolbar-container"},[_vm._t("toolbar")],2):_vm._e(),(!_vm.isCardView)?_c('el-table',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading && !_vm.noLoading),expression:"loading && !noLoading"}],ref:"htTable",staticClass:"ht-table",class:{ 'no-data-table': _vm.data.length < 1 },style:({ height: "" + (_vm.tableMaxHeight ? _vm.tableMaxHeight : 400) + 'px' }),attrs:{"stripe":_vm.stripe,"border":"","data":_vm.data,"size":_vm.size,"empty-text":_vm.emptyText,"show-header":_vm.showHeader,"max-height":_vm.tableMaxHeight ? _vm.tableMaxHeight : 400,"tooltip-effect":_vm.tooltipEffect,"default-querys":_vm.defaultQuerys,"header-row-class-name":_vm.headerRowClassName,"header-cell-class-name":_vm.headerCellClassName,"highlight-current-row":_vm.highlightCurrentRow,"row-class-name":_vm.rowClassName,"cell-class-name":_vm.cellClassName,"row-key":_vm.rowKey},on:{"row-click":_vm.handleRowClick,"select":_vm.handleTableSelect,"select-all":_vm.handleTableSelect,"sort-change":_vm.handleSortChange,"filter-change":_vm.handleFilterChange,"selection-change":function (selection) { return _vm.$emit('selection-change', selection); }}},[(_vm.selectable)?_c('el-table-column',{attrs:{"type":"selection","align":"center","reserve-selection":_vm.reserveSelection,"width":"45"}}):_vm._e(),_vm._t("default"),_c('template',{slot:"empty"},[_c('el-image',{attrs:{"src":_vm.tableNoDataImg}}),_c('p',{staticClass:"no-data-text"},[_vm._v(_vm._s(_vm.emptyText || _vm.t('el.table.emptyText')))])],1)],2):_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading && !_vm.noLoading),expression:"loading && !noLoading"}],staticClass:"ht-card",style:({ height: "" + _vm.tableMaxHeight + 'px' })},[(_vm.loading || (_vm.data && _vm.data.length > 0))?[(_vm.cardItemMode)?_c('div',{staticClass:"ht-card__container"},_vm._l((_vm.data),function(item,index){return _c('el-card',{key:index,attrs:{"shadow":"hover"},nativeOn:{"click":function($event){return _vm.$emit('card-click', item)}}},[_vm._t("card",null,{"item":item})],2)}),1):_c('div',[_vm._t("card",null,{"data":_vm.data})],2)]:_c('div',{staticClass:"el-table__empty-block"},[(_vm.data.length < 1 && !_vm.emptyText)?[_vm._t("empty-card")]:(_vm.emptyText)?_c('span',{staticClass:"el-table__empty-text"},[_vm._v("\n "+_vm._s(_vm.emptyText || _vm.t('el.table.emptyText'))+"\n ")]):_vm._e()],2)],2),(!_vm.nopagination)?_c('div',{ref:"paginationPanel",staticClass:"pagination-panel"},[_c('el-row',{attrs:{"type":"flex","justify":_vm.tablePaginationJustify}},[_c('el-pagination',{class:{ 'page-sizes__hidden': _vm.hidePageSizes },attrs:{"small":_vm.small,"disabled":_vm.loading,"current-page":_vm.pagination.page,"page-sizes":_vm.pageSizes,"page-size":_vm.pagination.pageSize,"pager-count":_vm.pagerCount,"background":_vm.$paginationBackground,"layout":_vm.layout,"total":_vm.pagination.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1)],1):_vm._e(),_c('custom-column',{attrs:{"custom-columns":_vm.customColumns,"visible":_vm.customColumnDialogVisible},on:{"update:visible":function($event){_vm.customColumnDialogVisible=$event},"apply-custom-column":_vm.handleApplyCustomColumn}})],1)}
10408
+ var Tablevue_type_template_id_9aefb486_scoped_true_staticRenderFns = []
10408
10409
 
10409
10410
 
10410
- // CONCATENATED MODULE: ./packages/Table/src/Table.vue?vue&type=template&id=547c4c80&scoped=true&
10411
+ // CONCATENATED MODULE: ./packages/Table/src/Table.vue?vue&type=template&id=9aefb486&scoped=true&
10411
10412
 
10412
10413
  // EXTERNAL MODULE: ./src/locale/index.js + 2 modules
10413
10414
  var locale = __webpack_require__("fe07");
@@ -11524,6 +11525,14 @@ var external_element_resize_detector_default = /*#__PURE__*/__webpack_require__.
11524
11525
  this.$emit('sort-change', column);
11525
11526
  },
11526
11527
  handleFilterChange(m) {
11528
+ // 如果是点击的是重置 筛选条件 需把默认的筛选条件里数据也删除掉
11529
+ if (m) {
11530
+ Object.keys(m).forEach(key => {
11531
+ if (m[key] && m[key].length == 0 && this.resetDefaultFilter.indexOf(key) === -1) {
11532
+ this.resetDefaultFilter.push(key);
11533
+ }
11534
+ });
11535
+ }
11527
11536
  this.filters = {
11528
11537
  ...this.filters,
11529
11538
  ...m
@@ -11533,8 +11542,8 @@ var external_element_resize_detector_default = /*#__PURE__*/__webpack_require__.
11533
11542
  delete this.filters[k];
11534
11543
  }
11535
11544
  });
11536
- this.load();
11537
11545
  this.$emit('filter-change', m);
11546
+ this.load();
11538
11547
  },
11539
11548
  doLayout() {
11540
11549
  this.$nextTick(() => {
@@ -11583,8 +11592,8 @@ var external_element_resize_detector_default = /*#__PURE__*/__webpack_require__.
11583
11592
  });
11584
11593
  // CONCATENATED MODULE: ./packages/Table/src/Table.vue?vue&type=script&lang=js&
11585
11594
  /* harmony default export */ var src_Tablevue_type_script_lang_js_ = (Tablevue_type_script_lang_js_);
11586
- // EXTERNAL MODULE: ./packages/Table/src/Table.vue?vue&type=style&index=0&id=547c4c80&prod&lang=scss&scoped=true&
11587
- var Tablevue_type_style_index_0_id_547c4c80_prod_lang_scss_scoped_true_ = __webpack_require__("7152");
11595
+ // EXTERNAL MODULE: ./packages/Table/src/Table.vue?vue&type=style&index=0&id=9aefb486&prod&lang=scss&scoped=true&
11596
+ var Tablevue_type_style_index_0_id_9aefb486_prod_lang_scss_scoped_true_ = __webpack_require__("f556");
11588
11597
 
11589
11598
  // CONCATENATED MODULE: ./packages/Table/src/Table.vue
11590
11599
 
@@ -11597,11 +11606,11 @@ var Tablevue_type_style_index_0_id_547c4c80_prod_lang_scss_scoped_true_ = __webp
11597
11606
 
11598
11607
  var Table_component = normalizeComponent(
11599
11608
  src_Tablevue_type_script_lang_js_,
11600
- Tablevue_type_template_id_547c4c80_scoped_true_render,
11601
- Tablevue_type_template_id_547c4c80_scoped_true_staticRenderFns,
11609
+ Tablevue_type_template_id_9aefb486_scoped_true_render,
11610
+ Tablevue_type_template_id_9aefb486_scoped_true_staticRenderFns,
11602
11611
  false,
11603
11612
  null,
11604
- "547c4c80",
11613
+ "9aefb486",
11605
11614
  null
11606
11615
 
11607
11616
  )
@@ -45587,7 +45596,7 @@ const req = function (url) {
45587
45596
  //获取汇总全部数据
45588
45597
  getAllSummary(data) {
45589
45598
  const allSummaryConfig = data.reduce((pre, cur) => {
45590
- pre[cur.field] = cur.val;
45599
+ pre[cur.field] = utils["a" /* default */].thousandBit(cur.val);
45591
45600
  return pre;
45592
45601
  }, {});
45593
45602
  if (Object.keys(allSummaryConfig).length) {
@@ -45778,9 +45787,14 @@ const req = function (url) {
45778
45787
  let manageField = JSON.parse(this.templateInfo.manageField);
45779
45788
  let this_ = this;
45780
45789
  manageField.forEach(item => {
45790
+ if (item.buttonId) {
45791
+ obj[item.buttonId] = true;
45792
+ }
45781
45793
  if (item.beforeScriptValue) {
45782
45794
  let promise = this_.beforeScript(item.beforeScriptValue, item);
45783
45795
  promise.then(res => {
45796
+ obj[item.buttonId] = res;
45797
+ //为兼容旧数据(没有buttonId的数据)
45784
45798
  obj[item.name] = res;
45785
45799
  });
45786
45800
  }
@@ -46285,6 +46299,10 @@ const req = function (url) {
46285
46299
  },
46286
46300
  //列表数据查询入口
46287
46301
  search(param, cb, isSearchBtn) {
46302
+ // 如果是高级查询,页码重置为首页
46303
+ if (isSearchBtn) {
46304
+ this.pagination.page = 1;
46305
+ }
46288
46306
  let params = {};
46289
46307
  //判断为合并查询还是高级查询
46290
46308
  let showAdvancedSearch = this.$refs.multipleTemplateTable ? this.$refs.multipleTemplateTable.showAdvancedSearch : false;
@@ -46353,7 +46371,7 @@ const req = function (url) {
46353
46371
  let tempQueryS = [];
46354
46372
  let betweenConditions = {};
46355
46373
  params.pagination.querys.forEach(q => {
46356
- if (q.value && (q.operation != 'BETWEEN' || q.value.constructor == Array)) {
46374
+ if (q.value != undefined && (q.operation != 'BETWEEN' || q.value.constructor == Array)) {
46357
46375
  tempQueryS.push(q);
46358
46376
  } else if (q.value) {
46359
46377
  let conditions = q;
@@ -46752,10 +46770,11 @@ const req = function (url) {
46752
46770
  const filterField = utils["a" /* default */].parseToJson(this.templateInfo.filteringField);
46753
46771
  temquerys.forEach(q => {
46754
46772
  let prefix = this.getColPreFix(conditionField, q.property);
46773
+ const queryPre = this.getQueryPre(conditionField, q.property);
46755
46774
  if (!prefix) {
46756
46775
  prefix = this.getColPreFix(filterField, q.property);
46757
46776
  }
46758
- q.property = prefix + q.property;
46777
+ q.property = queryPre + prefix + q.property;
46759
46778
  querys.push(q);
46760
46779
  });
46761
46780
  }
@@ -47167,6 +47186,24 @@ const req = function (url) {
47167
47186
  });
47168
47187
  this.curSelectParams.fieldExport = fieldExport;
47169
47188
  }
47189
+ if (type === 'selected') {
47190
+ const selectedId = this.tableData.selectRows.map(item => item.id_);
47191
+ const selectedQuery = {
47192
+ property: 't.id_',
47193
+ value: selectedId ? selectedId.join(',') : '',
47194
+ group: 'main',
47195
+ operation: 'IN',
47196
+ relation: 'AND'
47197
+ };
47198
+ this.curSelectParams.queryFilter.querys = [...this.curSelectParams.queryFilter.querys, selectedQuery];
47199
+ }
47200
+ //导出全部数据按钮
47201
+ if (type == 'all') {
47202
+ this.curSelectParams.queryFilter.querys = [];
47203
+ }
47204
+ let loadingInstance = external_element_ui_["Loading"].service({
47205
+ fullscreen: true
47206
+ }); //开始
47170
47207
  this.$requestConfig.exportByBtnSetting({
47171
47208
  id: this.templateInfo.id,
47172
47209
  params: this.curSelectParams
@@ -47178,6 +47215,12 @@ const req = function (url) {
47178
47215
  const fileName = decodeURIComponent(headers['content-disposition'].split(';')[1].split('filename=')[1]);
47179
47216
  const blob = new Blob([data]);
47180
47217
  templatePreview_saveAs(blob, fileName);
47218
+ loadingInstance.close(); // 结束
47219
+ }, e => {
47220
+ loadingInstance.close(); // 结束
47221
+ let enc = new TextDecoder('utf-8');
47222
+ let uint8_msg = JSON.parse(enc.decode(new Uint8Array(e.response.data)));
47223
+ this.$message.error(uint8_msg.message);
47181
47224
  });
47182
47225
  },
47183
47226
  importCommand(params) {
@@ -47443,6 +47486,12 @@ const req = function (url) {
47443
47486
  group: 'main',
47444
47487
  operation: 'EQUAL',
47445
47488
  relation: 'AND'
47489
+ }, {
47490
+ property: 'bo_alias_',
47491
+ value: this.templateInfo.boDefAlias,
47492
+ group: 'main',
47493
+ operation: 'EQUAL',
47494
+ relation: 'AND'
47446
47495
  }]
47447
47496
  };
47448
47497
  this.recordTableLoading = true;
@@ -47798,6 +47847,10 @@ const req = function (url) {
47798
47847
  this.getBpmTemplateByPagination(params);
47799
47848
  },
47800
47849
  filterChange(filters) {
47850
+ // 筛选时需重置页面页码
47851
+ if (filters) {
47852
+ this.pagination.page = 1;
47853
+ }
47801
47854
  if (filters && Object.keys(filters).length > 0) {
47802
47855
  const key = Object.keys(filters)[0];
47803
47856
  const filter = filters[key];
@@ -48118,7 +48171,10 @@ const req = function (url) {
48118
48171
  let fields = field.toLowerCase();
48119
48172
  const currentRows = currentData ? currentData : this.rows;
48120
48173
  let list = currentRows && currentRows.filter(item => item[fields] !== undefined && item[fields] !== '').map(item => Number(item[fields]));
48121
- if (!list || list.length == 0) return;
48174
+ if (!list || list.length == 0) {
48175
+ let num = 0;
48176
+ return num.toFixed(decimal);
48177
+ }
48122
48178
  const METHOD_MAP = {
48123
48179
  count: 'getCount',
48124
48180
  sum: 'getSum',
@@ -48279,7 +48335,7 @@ const req = function (url) {
48279
48335
  type: dialogConfig.custDialog
48280
48336
  };
48281
48337
  obj.custdialog = {
48282
- name: '请选择',
48338
+ name: dialogConfig.name || '请选择',
48283
48339
  custDialog: custdialog,
48284
48340
  resultField: dialogConfig.resultField
48285
48341
  };
@@ -48347,6 +48403,10 @@ const req = function (url) {
48347
48403
  cancelButtonText: '取消',
48348
48404
  type: 'warning'
48349
48405
  }).then(() => {
48406
+ let loadingInstance = external_element_ui_["Loading"].service({
48407
+ fullscreen: true,
48408
+ text: '数据更新中...'
48409
+ });
48350
48410
  let selectRows = row ? [row] : this.tableData.selectRows ? this.tableData.selectRows : row;
48351
48411
  for (let i = 0; i < selectRows.length; i++) {
48352
48412
  selectRows[i].formKey = this.templateInfo.formKey;
@@ -48364,14 +48424,28 @@ const req = function (url) {
48364
48424
  type: 'success',
48365
48425
  message: data.message
48366
48426
  });
48427
+ this.$nextTick(() => {
48428
+ // 以服务的方式调用的 Loading 需要异步关闭
48429
+ loadingInstance.close();
48430
+ });
48367
48431
  this.search({
48368
48432
  querys: this.buildDefaultQuerys() || []
48369
48433
  });
48370
48434
  // 更新成功后需执行后置js
48371
- let script = templatePreview_Base64.decode(afterScriptValue);
48372
- this.tempScript(script, row);
48435
+ if (afterScriptValue) {
48436
+ let script = templatePreview_Base64.decode(afterScriptValue);
48437
+ this.tempScript(script, row);
48438
+ }
48439
+ } else {
48440
+ this.$nextTick(() => {
48441
+ // 以服务的方式调用的 Loading 需要异步关闭
48442
+ loadingInstance.close();
48443
+ });
48373
48444
  }
48445
+ }).finally(() => {
48446
+ loadingInstance.close();
48374
48447
  });
48448
+ this.$parent.init();
48375
48449
  }).catch(() => {
48376
48450
  this.$message({
48377
48451
  type: 'info',
@@ -48548,7 +48622,8 @@ const req = function (url) {
48548
48622
  }
48549
48623
  } else if (btnOk.indexOf(btnAlias) != -1) {
48550
48624
  if (btnAlias == 'switch') {
48551
- this.switchChange(parameter.pkField, parameter.switchOn, parameter.switchOff, parameter.bind, parameter.row, parameter.switchDefaultTrue, afterScriptValue);
48625
+ const pkFieldValue = parameter.pkField || this.getBindValue(row, this.templateInfo.pkField);
48626
+ this.switchChange(pkFieldValue, parameter.switchOn, parameter.switchOff, parameter.bind, parameter.row, parameter.switchDefaultTrue, afterScriptValue);
48552
48627
  } else if (btnAlias == 'batchUpdate') {
48553
48628
  //如果是行间按钮,就不用判断是否选择了数据
48554
48629
  if (parameter.position) {