@bytenew/bn-applet-ui 1.1.31 → 1.1.32
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/common.scss +1408 -1408
- package/dist/bn-applet-ui.common.js +654 -569
- package/dist/bn-applet-ui.common.js.map +1 -1
- package/dist/bn-applet-ui.umd.js +654 -569
- package/dist/bn-applet-ui.umd.js.map +1 -1
- package/dist/bn-applet-ui.umd.min.js +2 -2
- package/dist/bn-applet-ui.umd.min.js.map +1 -1
- package/package.json +40 -40
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 7021
|
|
5
5
|
(module, __webpack_exports__, __webpack_require__) {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
@@ -220,7 +220,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `*[data-v-a5f24f64]{box-sizing:border-b
|
|
|
220
220
|
|
|
221
221
|
/***/ },
|
|
222
222
|
|
|
223
|
-
/***/
|
|
223
|
+
/***/ 404
|
|
224
224
|
(module, __webpack_exports__, __webpack_require__) {
|
|
225
225
|
|
|
226
226
|
"use strict";
|
|
@@ -240,7 +240,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
240
240
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
241
241
|
___CSS_LOADER_EXPORT___.i(_node_modules_css_loader_dist_cjs_js_clonedRuleSet_22_use_1_node_modules_vue_vue_loader_v15_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_22_use_2_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_22_use_3_font_iconfont_css__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A);
|
|
242
242
|
// Module
|
|
243
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.bnDrop-select[data-v-
|
|
243
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.bnDrop-select[data-v-830beb80]{display:inline-block;position:relative;max-width:100%;min-width:110px;height:32px;line-height:32px;padding-right:28px;padding-left:12px;font-size:14px;color:rgba(0,0,0,.85);border:1px solid rgba(0,0,0,.15);border-radius:2px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bnDrop-select-clear[data-v-830beb80]{background:#fff;display:none;position:absolute;font-size:14px;right:8px;color:#888;cursor:pointer}.bnDrop-select-down[data-v-830beb80]{position:absolute;font-size:12px;right:8px;color:#888}.bnDrop-select-down[data-v-830beb80] .el-loading-mask .el-loading-spinner{padding-top:6px}.bnDrop-select-down[data-v-830beb80] .el-loading-mask .circular{width:17px;height:17px}.bnDrop-select.disabled[data-v-830beb80]{color:rgba(0,0,0,.25);background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.15)!important;cursor:not-allowed}.bnDrop-select.disabled .bnDrop-select-clear[data-v-830beb80]{display:none!important}.bnDrop-select[data-v-830beb80]:hover{border-color:#1890ff}.bnDrop-select:hover .bnDrop-select-clear[data-v-830beb80]{z-index:1;display:inline-block}.bnDrop-select.simple[data-v-830beb80]{padding-left:0;color:#1890ff;border:1px solid transparent!important}.bnDrop-select.simple.disabled[data-v-830beb80]{color:rgba(24,144,255,.35);background:none}.bnDrop-select.is-multiple-tags[data-v-830beb80]{display:inline-flex;align-items:center;height:auto;min-height:32px;line-height:normal;padding-top:1px;padding-bottom:1px;white-space:normal;overflow:visible}.bnDrop-tags[data-v-830beb80]{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:2px 0;flex:1;min-width:0}.bnDrop-tag[data-v-830beb80]{display:inline-flex;align-items:center;max-width:100%;height:24px;padding:0 8px;font-size:12px;color:#909399;background:#f0f2f5;border-radius:4px;box-sizing:border-box}.bnDrop-tag--collapse[data-v-830beb80]{cursor:default}.bnDrop-tag-text[data-v-830beb80]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bnDrop-tag-close[data-v-830beb80]{margin-left:4px;font-size:12px;color:#909399;cursor:pointer;border-radius:50%;flex-shrink:0}.bnDrop-tag-close[data-v-830beb80]:hover{color:#409eff;background:#ecf5ff}.bnDrop-collapse-tooltip[data-v-830beb80]{max-width:280px;line-height:1.6}.bnDrop-placeholder[data-v-830beb80]{color:rgba(0,0,0,.25)}.bnDrop-body[data-v-830beb80]{position:relative}.bnDrop-body-input[data-v-830beb80]{padding:8px}.bnDrop-body-input[data-v-830beb80] .el-input__inner{border-radius:0}.bnDrop-body-list[data-v-830beb80]{position:relative;width:100%;background:#fff;min-height:68px;max-height:260px;overflow-y:auto}.bnDrop-body-list-item[data-v-830beb80]{position:relative;height:36px;font-size:14px;padding:0 10px;color:rgba(0,0,0,.85);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bnDrop-body-list-item.disabled[data-v-830beb80]{color:rgba(0,0,0,.25);background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.15)!important;cursor:not-allowed}.bnDrop-body-list-item[data-v-830beb80]:hover{color:#2783f2;background-color:rgba(0,0,0,.04)}.bnDrop-body-list-empty[data-v-830beb80]{height:48px;line-height:48px;text-align:center;font-size:12px;color:#999}.bnDrop-body-footer[data-v-830beb80]{width:100%;overflow:hidden}.bnDrop-body-footer[data-v-830beb80] .bnCheck{width:100%;max-width:100%}`, ""]);
|
|
244
244
|
// Exports
|
|
245
245
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
246
246
|
|
|
@@ -809,19 +809,19 @@ module.exports = function (i) {
|
|
|
809
809
|
|
|
810
810
|
/***/ },
|
|
811
811
|
|
|
812
|
-
/***/
|
|
812
|
+
/***/ 546
|
|
813
813
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
814
814
|
|
|
815
815
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
816
816
|
|
|
817
817
|
// load the styles
|
|
818
|
-
var content = __webpack_require__(
|
|
818
|
+
var content = __webpack_require__(7021);
|
|
819
819
|
if(content.__esModule) content = content.default;
|
|
820
820
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
821
821
|
if(content.locals) module.exports = content.locals;
|
|
822
822
|
// add the styles to the DOM
|
|
823
823
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
824
|
-
var update = add("
|
|
824
|
+
var update = add("1e8ba726", content, true, {"sourceMap":false,"shadowMode":false});
|
|
825
825
|
|
|
826
826
|
/***/ },
|
|
827
827
|
|
|
@@ -953,19 +953,19 @@ var update = add("3ff3fb27", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
953
953
|
|
|
954
954
|
/***/ },
|
|
955
955
|
|
|
956
|
-
/***/
|
|
956
|
+
/***/ 2022
|
|
957
957
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
958
958
|
|
|
959
959
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
960
960
|
|
|
961
961
|
// load the styles
|
|
962
|
-
var content = __webpack_require__(
|
|
962
|
+
var content = __webpack_require__(404);
|
|
963
963
|
if(content.__esModule) content = content.default;
|
|
964
964
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
965
965
|
if(content.locals) module.exports = content.locals;
|
|
966
966
|
// add the styles to the DOM
|
|
967
967
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
968
|
-
var update = add("
|
|
968
|
+
var update = add("362e958c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
969
969
|
|
|
970
970
|
/***/ },
|
|
971
971
|
|
|
@@ -10499,7 +10499,7 @@ if (typeof window !== 'undefined') {
|
|
|
10499
10499
|
// Indicate to webpack that this file can be concatenated
|
|
10500
10500
|
/* harmony default export */ const setPublicPath = (null);
|
|
10501
10501
|
|
|
10502
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddress/index.vue?vue&type=template&id=8705bc38&scoped=true
|
|
10502
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddress/index.vue?vue&type=template&id=8705bc38&scoped=true
|
|
10503
10503
|
var render = function render() {
|
|
10504
10504
|
var _vm = this,
|
|
10505
10505
|
_c = _vm._self._c;
|
|
@@ -10894,7 +10894,7 @@ var component = normalizeComponent(
|
|
|
10894
10894
|
)
|
|
10895
10895
|
|
|
10896
10896
|
/* harmony default export */ const BnAddress = (component.exports);
|
|
10897
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=template&id=3a0d7cb0
|
|
10897
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=template&id=3a0d7cb0
|
|
10898
10898
|
var BnAddressParsevue_type_template_id_3a0d7cb0_render = function render() {
|
|
10899
10899
|
var _vm = this,
|
|
10900
10900
|
_c = _vm._self._c;
|
|
@@ -10971,8 +10971,8 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
|
|
|
10971
10971
|
};
|
|
10972
10972
|
},
|
|
10973
10973
|
methods: {
|
|
10974
|
-
/**
|
|
10975
|
-
* 自动识别方法(使用防抖)
|
|
10974
|
+
/**
|
|
10975
|
+
* 自动识别方法(使用防抖)
|
|
10976
10976
|
*/
|
|
10977
10977
|
autoAds: (0,external_lodash_namespaceObject.debounce)(function () {
|
|
10978
10978
|
var _this = this;
|
|
@@ -11031,7 +11031,7 @@ var BnAddressParse_component = normalizeComponent(
|
|
|
11031
11031
|
)
|
|
11032
11032
|
|
|
11033
11033
|
/* harmony default export */ const BnAddressParse = (BnAddressParse_component.exports);
|
|
11034
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnCheck/BnCheck.vue?vue&type=template&id=3782b7e9&scoped=true
|
|
11034
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnCheck/BnCheck.vue?vue&type=template&id=3782b7e9&scoped=true
|
|
11035
11035
|
var BnCheckvue_type_template_id_3782b7e9_scoped_true_render = function render() {
|
|
11036
11036
|
var _vm = this,
|
|
11037
11037
|
_c = _vm._self._c;
|
|
@@ -11175,8 +11175,8 @@ var es_string_includes = __webpack_require__(1699);
|
|
|
11175
11175
|
}
|
|
11176
11176
|
},
|
|
11177
11177
|
methods: {
|
|
11178
|
-
/**
|
|
11179
|
-
* 组件默认判断
|
|
11178
|
+
/**
|
|
11179
|
+
* 组件默认判断
|
|
11180
11180
|
* */
|
|
11181
11181
|
check: function check() {
|
|
11182
11182
|
var _this = this;
|
|
@@ -11201,8 +11201,8 @@ var es_string_includes = __webpack_require__(1699);
|
|
|
11201
11201
|
}
|
|
11202
11202
|
}
|
|
11203
11203
|
},
|
|
11204
|
-
/**
|
|
11205
|
-
* 点击事件
|
|
11204
|
+
/**
|
|
11205
|
+
* 点击事件
|
|
11206
11206
|
* */
|
|
11207
11207
|
handleClick: function handleClick() {
|
|
11208
11208
|
var _this2 = this;
|
|
@@ -11247,8 +11247,8 @@ var es_string_includes = __webpack_require__(1699);
|
|
|
11247
11247
|
});
|
|
11248
11248
|
this.emitClick();
|
|
11249
11249
|
},
|
|
11250
|
-
/**
|
|
11251
|
-
* 点击事件透出
|
|
11250
|
+
/**
|
|
11251
|
+
* 点击事件透出
|
|
11252
11252
|
* */
|
|
11253
11253
|
emitClick: function emitClick() {
|
|
11254
11254
|
if (this.onClick) {
|
|
@@ -11288,7 +11288,7 @@ var BnCheck_component = normalizeComponent(
|
|
|
11288
11288
|
)
|
|
11289
11289
|
|
|
11290
11290
|
/* harmony default export */ const BnCheck = (BnCheck_component.exports);
|
|
11291
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDateRange/bnDateRange.vue?vue&type=template&id=5575777a
|
|
11291
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDateRange/bnDateRange.vue?vue&type=template&id=5575777a
|
|
11292
11292
|
var bnDateRangevue_type_template_id_5575777a_render = function render() {
|
|
11293
11293
|
var _vm = this,
|
|
11294
11294
|
_c = _vm._self._c;
|
|
@@ -11467,8 +11467,8 @@ var es_object_keys = __webpack_require__(9432);
|
|
|
11467
11467
|
};
|
|
11468
11468
|
},
|
|
11469
11469
|
methods: {
|
|
11470
|
-
/**
|
|
11471
|
-
* 更新时间选择器数据
|
|
11470
|
+
/**
|
|
11471
|
+
* 更新时间选择器数据
|
|
11472
11472
|
* */
|
|
11473
11473
|
updateValue: function updateValue(value) {
|
|
11474
11474
|
// 更新v-model
|
|
@@ -11478,22 +11478,22 @@ var es_object_keys = __webpack_require__(9432);
|
|
|
11478
11478
|
// 发送change事件
|
|
11479
11479
|
this.$emit('change', value);
|
|
11480
11480
|
},
|
|
11481
|
-
/**
|
|
11482
|
-
* 失去焦点
|
|
11481
|
+
/**
|
|
11482
|
+
* 失去焦点
|
|
11483
11483
|
* */
|
|
11484
11484
|
blur: function blur(val) {
|
|
11485
11485
|
this.$emit('blur', val);
|
|
11486
11486
|
},
|
|
11487
|
-
/**
|
|
11488
|
-
* 获得焦点
|
|
11487
|
+
/**
|
|
11488
|
+
* 获得焦点
|
|
11489
11489
|
* */
|
|
11490
11490
|
focus: function focus(val) {
|
|
11491
11491
|
this.$emit('focus', val);
|
|
11492
11492
|
}
|
|
11493
11493
|
},
|
|
11494
11494
|
computed: {
|
|
11495
|
-
/**
|
|
11496
|
-
* 日期组件value
|
|
11495
|
+
/**
|
|
11496
|
+
* 日期组件value
|
|
11497
11497
|
* */
|
|
11498
11498
|
date: {
|
|
11499
11499
|
get: function get() {
|
|
@@ -11549,7 +11549,7 @@ var bnDateRange_component = normalizeComponent(
|
|
|
11549
11549
|
)
|
|
11550
11550
|
|
|
11551
11551
|
/* harmony default export */ const bnDateRange = (bnDateRange_component.exports);
|
|
11552
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDialog/dialog.vue?vue&type=template&id=f9aaf6de
|
|
11552
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDialog/dialog.vue?vue&type=template&id=f9aaf6de
|
|
11553
11553
|
var dialogvue_type_template_id_f9aaf6de_render = function render() {
|
|
11554
11554
|
var _vm = this,
|
|
11555
11555
|
_c = _vm._self._c;
|
|
@@ -11805,8 +11805,8 @@ var dialog_component = normalizeComponent(
|
|
|
11805
11805
|
)
|
|
11806
11806
|
|
|
11807
11807
|
/* harmony default export */ const dialog = (dialog_component.exports);
|
|
11808
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=template&id=
|
|
11809
|
-
var
|
|
11808
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=template&id=830beb80&scoped=true
|
|
11809
|
+
var BnDropvue_type_template_id_830beb80_scoped_true_render = function render() {
|
|
11810
11810
|
var _vm = this,
|
|
11811
11811
|
_c = _vm._self._c;
|
|
11812
11812
|
return _c('el-popover', {
|
|
@@ -11824,41 +11824,78 @@ var BnDropvue_type_template_id_1157b26e_scoped_true_render = function render() {
|
|
|
11824
11824
|
scopedSlots: _vm._u([{
|
|
11825
11825
|
key: "reference",
|
|
11826
11826
|
fn: function fn() {
|
|
11827
|
-
return [_vm._t("default"
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
11840
|
-
|
|
11827
|
+
return [_vm.$slots["default"] ? _vm._t("default") : _c('div', {
|
|
11828
|
+
staticClass: "bnDrop-select",
|
|
11829
|
+
"class": {
|
|
11830
|
+
'simple': !_vm.border,
|
|
11831
|
+
'disabled': _vm.disabled,
|
|
11832
|
+
'is-multiple-tags': _vm.multiple && _vm.collapseTags && _vm.val.length > 0
|
|
11833
|
+
}
|
|
11834
|
+
}, [_vm.multiple && _vm.val.length == 0 || !_vm.multiple && (!_vm.labelInValue && _vm.val === '' || _vm.labelInValue && !_vm.val[_vm.optionProps.value]) ? _c('span', {
|
|
11835
|
+
staticClass: "bnDrop-placeholder"
|
|
11836
|
+
}, [_vm._v(" " + _vm._s(_vm.placeholder) + " ")]) : [!_vm.multiple ? _c('span', {
|
|
11837
|
+
attrs: {
|
|
11838
|
+
"title": _vm.singleTitle
|
|
11839
|
+
}
|
|
11840
|
+
}, [_vm._v(_vm._s(_vm.singleTitle))]) : _vm.collapseTags ? _c('div', {
|
|
11841
|
+
staticClass: "bnDrop-tags"
|
|
11842
|
+
}, [_vm._l(_vm.visibleTags, function (tag) {
|
|
11843
|
+
return _c('span', {
|
|
11844
|
+
key: tag.index,
|
|
11845
|
+
staticClass: "bnDrop-tag"
|
|
11846
|
+
}, [_c('span', {
|
|
11847
|
+
staticClass: "bnDrop-tag-text",
|
|
11841
11848
|
attrs: {
|
|
11842
|
-
"title":
|
|
11849
|
+
"title": tag.label
|
|
11843
11850
|
}
|
|
11844
|
-
}, [_vm._v(
|
|
11845
|
-
staticClass: "bnUIcon bnUIcon-
|
|
11851
|
+
}, [_vm._v(_vm._s(tag.label))]), !_vm.disabled ? _c('span', {
|
|
11852
|
+
staticClass: "bnDrop-tag-close bnUIcon bnUIcon-close",
|
|
11846
11853
|
on: {
|
|
11847
11854
|
"click": function click($event) {
|
|
11848
11855
|
$event.stopPropagation();
|
|
11849
|
-
return _vm.
|
|
11856
|
+
return _vm.removeTag(tag.index);
|
|
11850
11857
|
}
|
|
11851
11858
|
}
|
|
11852
|
-
}) : _vm._e()])
|
|
11853
|
-
|
|
11854
|
-
|
|
11855
|
-
|
|
11856
|
-
|
|
11857
|
-
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11859
|
+
}) : _vm._e()]);
|
|
11860
|
+
}), _vm.collapsedCount > 0 ? _c('el-tooltip', {
|
|
11861
|
+
attrs: {
|
|
11862
|
+
"disabled": !_vm.collapseTagsTooltip,
|
|
11863
|
+
"effect": "dark",
|
|
11864
|
+
"placement": "top"
|
|
11865
|
+
}
|
|
11866
|
+
}, [_c('div', {
|
|
11867
|
+
staticClass: "bnDrop-collapse-tooltip",
|
|
11868
|
+
attrs: {
|
|
11869
|
+
"slot": "content"
|
|
11870
|
+
},
|
|
11871
|
+
slot: "content"
|
|
11872
|
+
}, _vm._l(_vm.collapsedTags, function (tag) {
|
|
11873
|
+
return _c('div', {
|
|
11874
|
+
key: tag.index
|
|
11875
|
+
}, [_vm._v(_vm._s(tag.label))]);
|
|
11876
|
+
}), 0), _c('span', {
|
|
11877
|
+
staticClass: "bnDrop-tag bnDrop-tag--collapse"
|
|
11878
|
+
}, [_vm._v("+ " + _vm._s(_vm.collapsedCount))])]) : _vm._e()], 2) : _c('span', {
|
|
11879
|
+
attrs: {
|
|
11880
|
+
"title": _vm.multipleTitle
|
|
11881
|
+
}
|
|
11882
|
+
}, [_vm._v(_vm._s(_vm.multipleTitle))]), _vm.clearable ? _c('span', {
|
|
11883
|
+
staticClass: "bnUIcon bnUIcon-clear bnDrop-select-clear",
|
|
11884
|
+
on: {
|
|
11885
|
+
"click": function click($event) {
|
|
11886
|
+
$event.stopPropagation();
|
|
11887
|
+
return _vm.clear.apply(null, arguments);
|
|
11888
|
+
}
|
|
11889
|
+
}
|
|
11890
|
+
}) : _vm._e()], _c('span', {
|
|
11891
|
+
directives: [{
|
|
11892
|
+
name: "loading",
|
|
11893
|
+
rawName: "v-loading",
|
|
11894
|
+
value: _vm.loading,
|
|
11895
|
+
expression: "loading"
|
|
11896
|
+
}],
|
|
11897
|
+
staticClass: "bnUIcon bnUIcon-down bnDrop-select-down"
|
|
11898
|
+
})], 2)];
|
|
11862
11899
|
},
|
|
11863
11900
|
proxy: true
|
|
11864
11901
|
}], null, true),
|
|
@@ -11957,7 +11994,7 @@ var BnDropvue_type_template_id_1157b26e_scoped_true_render = function render() {
|
|
|
11957
11994
|
staticClass: "w-margin-left4"
|
|
11958
11995
|
}, [_vm._v(_vm._s(_vm.val.length == 0 ? '全选' : "\u5DF2\u9009".concat(_vm.val.length - _vm.fixedFrontOptions.length, "\u9879")))]), _c('span', {}, [_vm._v("已加载" + _vm._s(_vm.optionList.length) + "/" + _vm._s(_vm.total) + "项")])])])], 1) : _vm._e(), _vm._t("dropdown-bottom")], 2)]);
|
|
11959
11996
|
};
|
|
11960
|
-
var
|
|
11997
|
+
var BnDropvue_type_template_id_830beb80_scoped_true_staticRenderFns = [];
|
|
11961
11998
|
|
|
11962
11999
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.every.js
|
|
11963
12000
|
var es_array_every = __webpack_require__(8431);
|
|
@@ -12178,10 +12215,6 @@ function _toConsumableArray(r) {
|
|
|
12178
12215
|
};
|
|
12179
12216
|
}
|
|
12180
12217
|
},
|
|
12181
|
-
// 数据结构
|
|
12182
|
-
valueProps: {
|
|
12183
|
-
type: Array
|
|
12184
|
-
},
|
|
12185
12218
|
// 位置
|
|
12186
12219
|
placement: {
|
|
12187
12220
|
type: String,
|
|
@@ -12233,6 +12266,18 @@ function _toConsumableArray(r) {
|
|
|
12233
12266
|
},
|
|
12234
12267
|
// 是否多选
|
|
12235
12268
|
multiple: Boolean,
|
|
12269
|
+
// 多选 tag 是否折叠超出部分(对齐 Element UI collapse-tags)
|
|
12270
|
+
collapseTags: Boolean,
|
|
12271
|
+
// 折叠 tag 的 +N 是否启用 tooltip 展示全部
|
|
12272
|
+
collapseTagsTooltip: {
|
|
12273
|
+
type: Boolean,
|
|
12274
|
+
"default": true
|
|
12275
|
+
},
|
|
12276
|
+
// collapseTags 为 true 时,收起时默认展示几个 tag
|
|
12277
|
+
maxCollapseTags: {
|
|
12278
|
+
type: Number,
|
|
12279
|
+
"default": 1
|
|
12280
|
+
},
|
|
12236
12281
|
// 单选模式 是否允许取消选中
|
|
12237
12282
|
canUncheck: {
|
|
12238
12283
|
type: Boolean,
|
|
@@ -12258,6 +12303,10 @@ function _toConsumableArray(r) {
|
|
|
12258
12303
|
type: Boolean,
|
|
12259
12304
|
"default": true
|
|
12260
12305
|
},
|
|
12306
|
+
// 数据结构,当labelInValue=true时,返回的对象中都需要那些字段。不传就返回全部
|
|
12307
|
+
valueProps: {
|
|
12308
|
+
type: Array
|
|
12309
|
+
},
|
|
12261
12310
|
// 不绑定v-model,仅在点击的时候回传点击事件
|
|
12262
12311
|
noValue: {
|
|
12263
12312
|
type: Boolean,
|
|
@@ -12325,8 +12374,8 @@ function _toConsumableArray(r) {
|
|
|
12325
12374
|
}
|
|
12326
12375
|
},
|
|
12327
12376
|
methods: {
|
|
12328
|
-
/**
|
|
12329
|
-
* 初始化远程数据
|
|
12377
|
+
/**
|
|
12378
|
+
* 初始化远程数据
|
|
12330
12379
|
* */
|
|
12331
12380
|
initRemote: function initRemote() {
|
|
12332
12381
|
if (this.pathUrl) {
|
|
@@ -12335,8 +12384,8 @@ function _toConsumableArray(r) {
|
|
|
12335
12384
|
this.loadOptions();
|
|
12336
12385
|
}
|
|
12337
12386
|
},
|
|
12338
|
-
/**
|
|
12339
|
-
* 下拉框打开关闭
|
|
12387
|
+
/**
|
|
12388
|
+
* 下拉框打开关闭
|
|
12340
12389
|
* */
|
|
12341
12390
|
open: function open() {
|
|
12342
12391
|
// 打开弹框时
|
|
@@ -12348,8 +12397,8 @@ function _toConsumableArray(r) {
|
|
|
12348
12397
|
this.initRemote();
|
|
12349
12398
|
}
|
|
12350
12399
|
},
|
|
12351
|
-
/**
|
|
12352
|
-
* 清空value
|
|
12400
|
+
/**
|
|
12401
|
+
* 清空value
|
|
12353
12402
|
* */
|
|
12354
12403
|
clear: function clear() {
|
|
12355
12404
|
if (this.multiple) {
|
|
@@ -12358,8 +12407,8 @@ function _toConsumableArray(r) {
|
|
|
12358
12407
|
this.val = this.labelInValue ? {} : '';
|
|
12359
12408
|
}
|
|
12360
12409
|
},
|
|
12361
|
-
/**
|
|
12362
|
-
* 滚动加载
|
|
12410
|
+
/**
|
|
12411
|
+
* 滚动加载
|
|
12363
12412
|
* */
|
|
12364
12413
|
scrollMore: (0,external_lodash_namespaceObject.debounce)(function () {
|
|
12365
12414
|
if (this.optionList.length < this.total && !this.loading) {
|
|
@@ -12376,9 +12425,9 @@ function _toConsumableArray(r) {
|
|
|
12376
12425
|
}
|
|
12377
12426
|
}
|
|
12378
12427
|
}, 400),
|
|
12379
|
-
/**
|
|
12380
|
-
* 快速搜索选项
|
|
12381
|
-
* @param {String} val 搜索的值
|
|
12428
|
+
/**
|
|
12429
|
+
* 快速搜索选项
|
|
12430
|
+
* @param {String} val 搜索的值
|
|
12382
12431
|
*/
|
|
12383
12432
|
filterMethod: (0,external_lodash_namespaceObject.debounce)(function (val) {
|
|
12384
12433
|
this.queryValue = val;
|
|
@@ -12388,8 +12437,8 @@ function _toConsumableArray(r) {
|
|
|
12388
12437
|
this.loadOptions();
|
|
12389
12438
|
}
|
|
12390
12439
|
}, 400),
|
|
12391
|
-
/**
|
|
12392
|
-
* 多选时判断全部选中
|
|
12440
|
+
/**
|
|
12441
|
+
* 多选时判断全部选中
|
|
12393
12442
|
* */
|
|
12394
12443
|
isCheckedAll: function isCheckedAll() {
|
|
12395
12444
|
var _this = this;
|
|
@@ -12422,8 +12471,8 @@ function _toConsumableArray(r) {
|
|
|
12422
12471
|
return valSet.has(item);
|
|
12423
12472
|
});
|
|
12424
12473
|
},
|
|
12425
|
-
/**
|
|
12426
|
-
* 全选/取消全选
|
|
12474
|
+
/**
|
|
12475
|
+
* 全选/取消全选
|
|
12427
12476
|
* */
|
|
12428
12477
|
checkAll: function checkAll() {
|
|
12429
12478
|
var _this2 = this;
|
|
@@ -12451,9 +12500,9 @@ function _toConsumableArray(r) {
|
|
|
12451
12500
|
}
|
|
12452
12501
|
this.$emit('change', value, isAllChecked);
|
|
12453
12502
|
},
|
|
12454
|
-
/**
|
|
12455
|
-
* 多选判断是否选中 选中返回true,未选中返回false
|
|
12456
|
-
* @param {Object} item 选项的对象数据
|
|
12503
|
+
/**
|
|
12504
|
+
* 多选判断是否选中 选中返回true,未选中返回false
|
|
12505
|
+
* @param {Object} item 选项的对象数据
|
|
12457
12506
|
* */
|
|
12458
12507
|
isChecked: function isChecked(_ref) {
|
|
12459
12508
|
var _this3 = this;
|
|
@@ -12468,9 +12517,9 @@ function _toConsumableArray(r) {
|
|
|
12468
12517
|
}
|
|
12469
12518
|
return check;
|
|
12470
12519
|
},
|
|
12471
|
-
/**
|
|
12472
|
-
* 单选判断是否选中 选中返回true,未选中返回false
|
|
12473
|
-
* @param {Object} item 选项的对象数据
|
|
12520
|
+
/**
|
|
12521
|
+
* 单选判断是否选中 选中返回true,未选中返回false
|
|
12522
|
+
* @param {Object} item 选项的对象数据
|
|
12474
12523
|
* */
|
|
12475
12524
|
isChoose: function isChoose(item) {
|
|
12476
12525
|
var check = false;
|
|
@@ -12482,9 +12531,9 @@ function _toConsumableArray(r) {
|
|
|
12482
12531
|
}
|
|
12483
12532
|
return check;
|
|
12484
12533
|
},
|
|
12485
|
-
/**
|
|
12486
|
-
* 点击下拉菜单中的某一项,选中或取消选中
|
|
12487
|
-
* @param {Object} item 选项的对象数据
|
|
12534
|
+
/**
|
|
12535
|
+
* 点击下拉菜单中的某一项,选中或取消选中
|
|
12536
|
+
* @param {Object} item 选项的对象数据
|
|
12488
12537
|
* */
|
|
12489
12538
|
chooseItem: function chooseItem(item) {
|
|
12490
12539
|
var value = this.val;
|
|
@@ -12547,8 +12596,8 @@ function _toConsumableArray(r) {
|
|
|
12547
12596
|
}
|
|
12548
12597
|
this.$emit('change', value);
|
|
12549
12598
|
},
|
|
12550
|
-
/**
|
|
12551
|
-
* 远程加载options
|
|
12599
|
+
/**
|
|
12600
|
+
* 远程加载options
|
|
12552
12601
|
* */
|
|
12553
12602
|
loadOptions: function loadOptions(post) {
|
|
12554
12603
|
var _this4 = this;
|
|
@@ -12591,15 +12640,15 @@ function _toConsumableArray(r) {
|
|
|
12591
12640
|
}
|
|
12592
12641
|
});
|
|
12593
12642
|
},
|
|
12594
|
-
/**
|
|
12595
|
-
* 前端手动分页
|
|
12643
|
+
/**
|
|
12644
|
+
* 前端手动分页
|
|
12596
12645
|
* */
|
|
12597
12646
|
catchPage: function catchPage(page) {
|
|
12598
12647
|
this.pageData.pageNum = page || this.pageData.pageNum;
|
|
12599
12648
|
return this.options.slice((this.pageData.pageNum - 1) * this.pageData.pageSize, this.pageData.pageNum * this.pageData.pageSize);
|
|
12600
12649
|
},
|
|
12601
|
-
/**
|
|
12602
|
-
* 如果value是对象,然会value的时候把对象组装好再返回。
|
|
12650
|
+
/**
|
|
12651
|
+
* 如果value是对象,然会value的时候把对象组装好再返回。
|
|
12603
12652
|
* */
|
|
12604
12653
|
getValObj: function getValObj(val) {
|
|
12605
12654
|
if (this.valueProps) {
|
|
@@ -12612,10 +12661,10 @@ function _toConsumableArray(r) {
|
|
|
12612
12661
|
return val;
|
|
12613
12662
|
}
|
|
12614
12663
|
},
|
|
12615
|
-
/**
|
|
12616
|
-
* 从一个数组中通过id找到名字,并返回给调用者
|
|
12617
|
-
* @param {Array} list 数组
|
|
12618
|
-
* @param {String} id 需要匹配的id
|
|
12664
|
+
/**
|
|
12665
|
+
* 从一个数组中通过id找到名字,并返回给调用者
|
|
12666
|
+
* @param {Array} list 数组
|
|
12667
|
+
* @param {String} id 需要匹配的id
|
|
12619
12668
|
* */
|
|
12620
12669
|
foundTitle: function foundTitle(list, id) {
|
|
12621
12670
|
var title = '';
|
|
@@ -12627,11 +12676,11 @@ function _toConsumableArray(r) {
|
|
|
12627
12676
|
}
|
|
12628
12677
|
return title;
|
|
12629
12678
|
},
|
|
12630
|
-
/**
|
|
12631
|
-
* 从一个数组中通过id和ids数组的匹配找到标题,并返回给调用者
|
|
12632
|
-
* @param {Array} list 数组
|
|
12633
|
-
* @param {String} ids 需要匹配的id数组[1,2,3]
|
|
12634
|
-
* @return {Array} values 返回所有匹配项组成的数组
|
|
12679
|
+
/**
|
|
12680
|
+
* 从一个数组中通过id和ids数组的匹配找到标题,并返回给调用者
|
|
12681
|
+
* @param {Array} list 数组
|
|
12682
|
+
* @param {String} ids 需要匹配的id数组[1,2,3]
|
|
12683
|
+
* @return {Array} values 返回所有匹配项组成的数组
|
|
12635
12684
|
* */
|
|
12636
12685
|
foundValue: function foundValue(list, ids) {
|
|
12637
12686
|
var value = [];
|
|
@@ -12642,11 +12691,19 @@ function _toConsumableArray(r) {
|
|
|
12642
12691
|
}
|
|
12643
12692
|
return value;
|
|
12644
12693
|
},
|
|
12645
|
-
/**
|
|
12646
|
-
* 手动关闭
|
|
12694
|
+
/**
|
|
12695
|
+
* 手动关闭
|
|
12647
12696
|
* */
|
|
12648
12697
|
close: function close() {
|
|
12649
12698
|
this.popoverVisible = false;
|
|
12699
|
+
},
|
|
12700
|
+
/** 删除多选 tag */removeTag: function removeTag(index) {
|
|
12701
|
+
if (this.disabled || !this.multiple || !Array.isArray(this.val)) {
|
|
12702
|
+
return;
|
|
12703
|
+
}
|
|
12704
|
+
var next = _toConsumableArray(this.val);
|
|
12705
|
+
next.splice(index, 1);
|
|
12706
|
+
this.val = next;
|
|
12650
12707
|
}
|
|
12651
12708
|
},
|
|
12652
12709
|
computed: {
|
|
@@ -12726,34 +12783,62 @@ function _toConsumableArray(r) {
|
|
|
12726
12783
|
}
|
|
12727
12784
|
return title;
|
|
12728
12785
|
},
|
|
12729
|
-
// 多选时的
|
|
12730
|
-
|
|
12786
|
+
// 多选时的 tag 列表
|
|
12787
|
+
multipleTags: function multipleTags() {
|
|
12731
12788
|
var _this7 = this;
|
|
12732
|
-
var values = [];
|
|
12733
12789
|
var value = this.val;
|
|
12790
|
+
if (!Array.isArray(value) || !value.length) {
|
|
12791
|
+
return [];
|
|
12792
|
+
}
|
|
12734
12793
|
if (this.labelInValue) {
|
|
12735
|
-
|
|
12736
|
-
return
|
|
12794
|
+
return value.map(function (v, index) {
|
|
12795
|
+
return {
|
|
12796
|
+
index: index,
|
|
12797
|
+
label: v[_this7.optionProps.label] || ''
|
|
12798
|
+
};
|
|
12737
12799
|
});
|
|
12738
|
-
} else {
|
|
12739
|
-
var data = this.foundValue(this.options, value);
|
|
12740
|
-
if (data.length) {
|
|
12741
|
-
values = [].concat(_toConsumableArray(values), _toConsumableArray(data));
|
|
12742
|
-
}
|
|
12743
12800
|
}
|
|
12744
|
-
return
|
|
12801
|
+
return value.map(function (id, index) {
|
|
12802
|
+
return {
|
|
12803
|
+
index: index,
|
|
12804
|
+
label: _this7.foundTitle(_this7.options, id) || id
|
|
12805
|
+
};
|
|
12806
|
+
});
|
|
12807
|
+
},
|
|
12808
|
+
// 多选时的 value 展示文本
|
|
12809
|
+
multipleTitle: function multipleTitle() {
|
|
12810
|
+
return this.multipleTags.map(function (tag) {
|
|
12811
|
+
return tag.label;
|
|
12812
|
+
}).join(',');
|
|
12813
|
+
},
|
|
12814
|
+
// 多选 collapseTags 模式下可见 tag
|
|
12815
|
+
visibleTags: function visibleTags() {
|
|
12816
|
+
if (!this.collapseTags || this.multipleTags.length <= this.maxCollapseTags) {
|
|
12817
|
+
return this.multipleTags;
|
|
12818
|
+
}
|
|
12819
|
+
return this.multipleTags.slice(0, this.maxCollapseTags);
|
|
12820
|
+
},
|
|
12821
|
+
// 多选 collapseTags 模式下被折叠的 tag
|
|
12822
|
+
collapsedTags: function collapsedTags() {
|
|
12823
|
+
if (!this.collapseTags || this.multipleTags.length <= this.maxCollapseTags) {
|
|
12824
|
+
return [];
|
|
12825
|
+
}
|
|
12826
|
+
return this.multipleTags.slice(this.maxCollapseTags);
|
|
12827
|
+
},
|
|
12828
|
+
collapsedCount: function collapsedCount() {
|
|
12829
|
+
return this.collapsedTags.length;
|
|
12745
12830
|
}
|
|
12746
12831
|
}
|
|
12747
12832
|
});
|
|
12748
12833
|
;// ./packages/BnDrop/BnDrop.vue?vue&type=script&lang=js
|
|
12749
12834
|
/* harmony default export */ const BnDrop_BnDropvue_type_script_lang_js = (BnDropvue_type_script_lang_js);
|
|
12750
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=
|
|
12751
|
-
var
|
|
12752
|
-
;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=
|
|
12835
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=830beb80&prod&lang=css
|
|
12836
|
+
var BnDropvue_type_style_index_0_id_830beb80_prod_lang_css = __webpack_require__(546);
|
|
12837
|
+
;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=830beb80&prod&lang=css
|
|
12753
12838
|
|
|
12754
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=
|
|
12755
|
-
var
|
|
12756
|
-
;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=
|
|
12839
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=830beb80&prod&scoped=true&lang=scss
|
|
12840
|
+
var BnDropvue_type_style_index_1_id_830beb80_prod_scoped_true_lang_scss = __webpack_require__(2022);
|
|
12841
|
+
;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=830beb80&prod&scoped=true&lang=scss
|
|
12757
12842
|
|
|
12758
12843
|
;// ./packages/BnDrop/BnDrop.vue
|
|
12759
12844
|
|
|
@@ -12767,11 +12852,11 @@ var BnDropvue_type_style_index_1_id_1157b26e_prod_scoped_true_lang_scss = __webp
|
|
|
12767
12852
|
|
|
12768
12853
|
var BnDrop_component = normalizeComponent(
|
|
12769
12854
|
BnDrop_BnDropvue_type_script_lang_js,
|
|
12770
|
-
|
|
12771
|
-
|
|
12855
|
+
BnDropvue_type_template_id_830beb80_scoped_true_render,
|
|
12856
|
+
BnDropvue_type_template_id_830beb80_scoped_true_staticRenderFns,
|
|
12772
12857
|
false,
|
|
12773
12858
|
null,
|
|
12774
|
-
"
|
|
12859
|
+
"830beb80",
|
|
12775
12860
|
null
|
|
12776
12861
|
|
|
12777
12862
|
)
|
|
@@ -12781,7 +12866,7 @@ var BnDrop_component = normalizeComponent(
|
|
|
12781
12866
|
var es_regexp_exec = __webpack_require__(7495);
|
|
12782
12867
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
|
12783
12868
|
var es_string_search = __webpack_require__(5746);
|
|
12784
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDown/bnDropdown.vue?vue&type=template&id=a5f24f64&scoped=true
|
|
12869
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDown/bnDropdown.vue?vue&type=template&id=a5f24f64&scoped=true
|
|
12785
12870
|
|
|
12786
12871
|
|
|
12787
12872
|
|
|
@@ -13432,10 +13517,10 @@ function toPinYin(chart) {
|
|
|
13432
13517
|
return getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
|
|
13433
13518
|
}
|
|
13434
13519
|
|
|
13435
|
-
/**
|
|
13436
|
-
* 匹配大小写字母拼音 返回Boolean值
|
|
13437
|
-
* @param {*} chart 需要匹配的字符
|
|
13438
|
-
* @param {*} data 需要进行匹配的字符
|
|
13520
|
+
/**
|
|
13521
|
+
* 匹配大小写字母拼音 返回Boolean值
|
|
13522
|
+
* @param {*} chart 需要匹配的字符
|
|
13523
|
+
* @param {*} data 需要进行匹配的字符
|
|
13439
13524
|
*/
|
|
13440
13525
|
function searchToBoolean(chart, data) {
|
|
13441
13526
|
return toPinYin(data).indexOf(toPinYin(chart)) !== -1;
|
|
@@ -13519,11 +13604,11 @@ function searchItemFlat(chart, data, name) {
|
|
|
13519
13604
|
name: "bnDropdown",
|
|
13520
13605
|
props: {
|
|
13521
13606
|
value: [String, Array, Number, Object],
|
|
13522
|
-
/**
|
|
13523
|
-
* 下拉弹窗模式
|
|
13524
|
-
* 单选(singleCheck) 默认
|
|
13525
|
-
* 多选(multiCheck)
|
|
13526
|
-
* 多选框(multiCheckBox)
|
|
13607
|
+
/**
|
|
13608
|
+
* 下拉弹窗模式
|
|
13609
|
+
* 单选(singleCheck) 默认
|
|
13610
|
+
* 多选(multiCheck)
|
|
13611
|
+
* 多选框(multiCheckBox)
|
|
13527
13612
|
*/
|
|
13528
13613
|
checkMode: {
|
|
13529
13614
|
type: String,
|
|
@@ -13696,8 +13781,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
13696
13781
|
this.optionCheckMap = checkedMap;
|
|
13697
13782
|
}
|
|
13698
13783
|
},
|
|
13699
|
-
/**
|
|
13700
|
-
* 打开选择器时触发,初始化
|
|
13784
|
+
/**
|
|
13785
|
+
* 打开选择器时触发,初始化
|
|
13701
13786
|
* */
|
|
13702
13787
|
open: function open() {
|
|
13703
13788
|
var _this2 = this;
|
|
@@ -13729,8 +13814,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
13729
13814
|
this.backshowMultiCheckBox();
|
|
13730
13815
|
}
|
|
13731
13816
|
},
|
|
13732
|
-
/**
|
|
13733
|
-
* 关闭时清除没有确定的选项
|
|
13817
|
+
/**
|
|
13818
|
+
* 关闭时清除没有确定的选项
|
|
13734
13819
|
*/
|
|
13735
13820
|
close: function close() {
|
|
13736
13821
|
// 多选框模式
|
|
@@ -13761,10 +13846,10 @@ function searchItemFlat(chart, data, name) {
|
|
|
13761
13846
|
});
|
|
13762
13847
|
}
|
|
13763
13848
|
},
|
|
13764
|
-
/**
|
|
13765
|
-
* 动态计算title
|
|
13766
|
-
* @param {Array} list 数组
|
|
13767
|
-
* @param {String} id 需要匹配的id
|
|
13849
|
+
/**
|
|
13850
|
+
* 动态计算title
|
|
13851
|
+
* @param {Array} list 数组
|
|
13852
|
+
* @param {String} id 需要匹配的id
|
|
13768
13853
|
* */
|
|
13769
13854
|
foundTitle: function foundTitle() {
|
|
13770
13855
|
var _this4 = this;
|
|
@@ -13786,8 +13871,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
13786
13871
|
}
|
|
13787
13872
|
return title;
|
|
13788
13873
|
},
|
|
13789
|
-
/**
|
|
13790
|
-
* 远程加载数据
|
|
13874
|
+
/**
|
|
13875
|
+
* 远程加载数据
|
|
13791
13876
|
* */
|
|
13792
13877
|
loadMore: function loadMore() {
|
|
13793
13878
|
var _this5 = this;
|
|
@@ -13803,9 +13888,9 @@ function searchItemFlat(chart, data, name) {
|
|
|
13803
13888
|
}
|
|
13804
13889
|
});
|
|
13805
13890
|
},
|
|
13806
|
-
/**
|
|
13807
|
-
* 判断是否选中 选中返回true,未选中返回false
|
|
13808
|
-
* @param {Object} item 选项的对象数据
|
|
13891
|
+
/**
|
|
13892
|
+
* 判断是否选中 选中返回true,未选中返回false
|
|
13893
|
+
* @param {Object} item 选项的对象数据
|
|
13809
13894
|
* */
|
|
13810
13895
|
checked: function checked(item) {
|
|
13811
13896
|
var check = false;
|
|
@@ -13837,9 +13922,9 @@ function searchItemFlat(chart, data, name) {
|
|
|
13837
13922
|
}
|
|
13838
13923
|
return check;
|
|
13839
13924
|
},
|
|
13840
|
-
/**
|
|
13841
|
-
* 点击下拉菜单中的某一项,选中或取消选中
|
|
13842
|
-
* @param {Object} item 选项的对象数据
|
|
13925
|
+
/**
|
|
13926
|
+
* 点击下拉菜单中的某一项,选中或取消选中
|
|
13927
|
+
* @param {Object} item 选项的对象数据
|
|
13843
13928
|
* */
|
|
13844
13929
|
chooseItem: function chooseItem(item) {
|
|
13845
13930
|
var value = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
|
|
@@ -13909,8 +13994,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
13909
13994
|
// change事件
|
|
13910
13995
|
this.$emit("change", value);
|
|
13911
13996
|
},
|
|
13912
|
-
/**
|
|
13913
|
-
* 快捷查询
|
|
13997
|
+
/**
|
|
13998
|
+
* 快捷查询
|
|
13914
13999
|
* */
|
|
13915
14000
|
search: debounce(function (val) {
|
|
13916
14001
|
// 保存当前选中状态
|
|
@@ -14024,7 +14109,7 @@ var bnDropdown_component = normalizeComponent(
|
|
|
14024
14109
|
)
|
|
14025
14110
|
|
|
14026
14111
|
/* harmony default export */ const bnDropdown = (bnDropdown_component.exports);
|
|
14027
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=27b6fb78&scoped=true
|
|
14112
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=27b6fb78&scoped=true
|
|
14028
14113
|
var BnFileViewvue_type_template_id_27b6fb78_scoped_true_render = function render() {
|
|
14029
14114
|
var _vm = this,
|
|
14030
14115
|
_c = _vm._self._c;
|
|
@@ -14131,7 +14216,7 @@ var es_error_to_string = __webpack_require__(6918);
|
|
|
14131
14216
|
var es_date_to_string = __webpack_require__(3288);
|
|
14132
14217
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.parse-int.js
|
|
14133
14218
|
var es_parse_int = __webpack_require__(8940);
|
|
14134
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/videoPreview.vue?vue&type=template&id=9a7f7bec&scoped=true
|
|
14219
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/videoPreview.vue?vue&type=template&id=9a7f7bec&scoped=true
|
|
14135
14220
|
var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_render = function render() {
|
|
14136
14221
|
var _vm = this,
|
|
14137
14222
|
_c = _vm._self._c;
|
|
@@ -14177,8 +14262,8 @@ var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_staticRenderFns = [];
|
|
|
14177
14262
|
}
|
|
14178
14263
|
},
|
|
14179
14264
|
methods: {
|
|
14180
|
-
/**
|
|
14181
|
-
* 打开播发视频
|
|
14265
|
+
/**
|
|
14266
|
+
* 打开播发视频
|
|
14182
14267
|
* */
|
|
14183
14268
|
open: function open(url) {
|
|
14184
14269
|
this.url = url;
|
|
@@ -14213,7 +14298,7 @@ var videoPreview_component = normalizeComponent(
|
|
|
14213
14298
|
)
|
|
14214
14299
|
|
|
14215
14300
|
/* harmony default export */ const videoPreview = (videoPreview_component.exports);
|
|
14216
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
|
|
14301
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
|
|
14217
14302
|
var FileDetailvue_type_template_id_7fcc19c2_scoped_true_render = function render() {
|
|
14218
14303
|
var _vm = this,
|
|
14219
14304
|
_c = _vm._self._c;
|
|
@@ -14317,8 +14402,8 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
14317
14402
|
}
|
|
14318
14403
|
},
|
|
14319
14404
|
methods: {
|
|
14320
|
-
/**
|
|
14321
|
-
* 获取下载链接
|
|
14405
|
+
/**
|
|
14406
|
+
* 获取下载链接
|
|
14322
14407
|
* */
|
|
14323
14408
|
getDownloadUrl: function getDownloadUrl(file) {
|
|
14324
14409
|
if (this.downType === 'url') {
|
|
@@ -14326,8 +14411,8 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
14326
14411
|
}
|
|
14327
14412
|
return !file.id ? file.url : '/v2/attachment/' + file.id;
|
|
14328
14413
|
},
|
|
14329
|
-
/**
|
|
14330
|
-
* 计算附件大小
|
|
14414
|
+
/**
|
|
14415
|
+
* 计算附件大小
|
|
14331
14416
|
* */
|
|
14332
14417
|
returnSizeText: function returnSizeText(size) {
|
|
14333
14418
|
if (size && parseFloat(size) / 1024 / 1024 < 1) {
|
|
@@ -14496,15 +14581,15 @@ var FileDetail_component = normalizeComponent(
|
|
|
14496
14581
|
};
|
|
14497
14582
|
},
|
|
14498
14583
|
methods: {
|
|
14499
|
-
/**
|
|
14500
|
-
* 忽略大小写判断文件类型
|
|
14584
|
+
/**
|
|
14585
|
+
* 忽略大小写判断文件类型
|
|
14501
14586
|
* */
|
|
14502
14587
|
includesType: function includesType(typeList, fileType) {
|
|
14503
14588
|
if (!fileType) return false;
|
|
14504
14589
|
return (0,external_lodash_namespaceObject.includes)((0,external_lodash_namespaceObject.map)(typeList, external_lodash_namespaceObject.toLower), (0,external_lodash_namespaceObject.toLower)(fileType));
|
|
14505
14590
|
},
|
|
14506
|
-
/**
|
|
14507
|
-
* 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
|
|
14591
|
+
/**
|
|
14592
|
+
* 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
|
|
14508
14593
|
* */
|
|
14509
14594
|
initViewer: function initViewer(view) {
|
|
14510
14595
|
this.viewer = view;
|
|
@@ -14541,8 +14626,8 @@ var FileDetail_component = normalizeComponent(
|
|
|
14541
14626
|
}
|
|
14542
14627
|
}
|
|
14543
14628
|
},
|
|
14544
|
-
/**
|
|
14545
|
-
* 根据文件类型,判端文件预览展示那种图片或icon
|
|
14629
|
+
/**
|
|
14630
|
+
* 根据文件类型,判端文件预览展示那种图片或icon
|
|
14546
14631
|
* */
|
|
14547
14632
|
getFileImg: function getFileImg(file) {
|
|
14548
14633
|
// 默认文件图片
|
|
@@ -14585,8 +14670,8 @@ var FileDetail_component = normalizeComponent(
|
|
|
14585
14670
|
}
|
|
14586
14671
|
return url;
|
|
14587
14672
|
},
|
|
14588
|
-
/**
|
|
14589
|
-
* 删除附件
|
|
14673
|
+
/**
|
|
14674
|
+
* 删除附件
|
|
14590
14675
|
* */
|
|
14591
14676
|
delFile: function delFile(index) {
|
|
14592
14677
|
this.fileList.splice(index, 1);
|
|
@@ -14626,7 +14711,7 @@ var BnFileView_component = normalizeComponent(
|
|
|
14626
14711
|
)
|
|
14627
14712
|
|
|
14628
14713
|
/* harmony default export */ const BnFileView = (BnFileView_component.exports);
|
|
14629
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFunText/bnFunText.vue?vue&type=template&id=c3b70e18&scoped=true
|
|
14714
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFunText/bnFunText.vue?vue&type=template&id=c3b70e18&scoped=true
|
|
14630
14715
|
|
|
14631
14716
|
|
|
14632
14717
|
|
|
@@ -15183,10 +15268,10 @@ var functions = [{
|
|
|
15183
15268
|
}
|
|
15184
15269
|
}
|
|
15185
15270
|
},
|
|
15186
|
-
/**
|
|
15187
|
-
* 整理组件列表为schema
|
|
15188
|
-
*@param array 组件插入到数组
|
|
15189
|
-
*@param column 组件
|
|
15271
|
+
/**
|
|
15272
|
+
* 整理组件列表为schema
|
|
15273
|
+
*@param array 组件插入到数组
|
|
15274
|
+
*@param column 组件
|
|
15190
15275
|
* */
|
|
15191
15276
|
loadColumn: function loadColumn(array, column) {
|
|
15192
15277
|
var data = {
|
|
@@ -15221,8 +15306,8 @@ var functions = [{
|
|
|
15221
15306
|
array.push(data);
|
|
15222
15307
|
}
|
|
15223
15308
|
},
|
|
15224
|
-
/**
|
|
15225
|
-
* 切换函数分类的打开挂壁
|
|
15309
|
+
/**
|
|
15310
|
+
* 切换函数分类的打开挂壁
|
|
15226
15311
|
* */
|
|
15227
15312
|
changeOpenClass: function changeOpenClass(item) {
|
|
15228
15313
|
var index = this.openFunClass.indexOf(item.name);
|
|
@@ -15232,8 +15317,8 @@ var functions = [{
|
|
|
15232
15317
|
this.openFunClass.splice(index, 1);
|
|
15233
15318
|
}
|
|
15234
15319
|
},
|
|
15235
|
-
/**
|
|
15236
|
-
* 切换字段分类的打开挂壁
|
|
15320
|
+
/**
|
|
15321
|
+
* 切换字段分类的打开挂壁
|
|
15237
15322
|
* */
|
|
15238
15323
|
changeOpenColumn: function changeOpenColumn(item) {
|
|
15239
15324
|
var index = this.openColumnClass.indexOf(item.name);
|
|
@@ -15243,8 +15328,8 @@ var functions = [{
|
|
|
15243
15328
|
this.openColumnClass.splice(index, 1);
|
|
15244
15329
|
}
|
|
15245
15330
|
},
|
|
15246
|
-
/**
|
|
15247
|
-
* 获取焦点
|
|
15331
|
+
/**
|
|
15332
|
+
* 获取焦点
|
|
15248
15333
|
* */
|
|
15249
15334
|
onCodemirrorFocus: function onCodemirrorFocus() {
|
|
15250
15335
|
var _this4 = this;
|
|
@@ -15257,8 +15342,8 @@ var functions = [{
|
|
|
15257
15342
|
// }
|
|
15258
15343
|
});
|
|
15259
15344
|
},
|
|
15260
|
-
/**
|
|
15261
|
-
* 高亮代码
|
|
15345
|
+
/**
|
|
15346
|
+
* 高亮代码
|
|
15262
15347
|
*/
|
|
15263
15348
|
specialString: function specialString(str) {
|
|
15264
15349
|
var specialRegExp = /\*|\+|\?|\||\{|\}|\[|\]|\(|\)|\^|\$|\./g;
|
|
@@ -15322,8 +15407,8 @@ var functions = [{
|
|
|
15322
15407
|
// setTimeout(()=>{
|
|
15323
15408
|
// },3000)
|
|
15324
15409
|
},
|
|
15325
|
-
/**
|
|
15326
|
-
* 选择函数
|
|
15410
|
+
/**
|
|
15411
|
+
* 选择函数
|
|
15327
15412
|
*/
|
|
15328
15413
|
onSelectFun: function onSelectFun(item) {
|
|
15329
15414
|
var _this6 = this;
|
|
@@ -15335,8 +15420,8 @@ var functions = [{
|
|
|
15335
15420
|
_this6.$refs.cm && _this6.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
|
|
15336
15421
|
});
|
|
15337
15422
|
},
|
|
15338
|
-
/**
|
|
15339
|
-
* 选择字段
|
|
15423
|
+
/**
|
|
15424
|
+
* 选择字段
|
|
15340
15425
|
*/
|
|
15341
15426
|
onSelectCol: function onSelectCol(item) {
|
|
15342
15427
|
var _this7 = this;
|
|
@@ -15365,8 +15450,8 @@ var functions = [{
|
|
|
15365
15450
|
_this7.$refs.cm && _this7.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
|
|
15366
15451
|
});
|
|
15367
15452
|
},
|
|
15368
|
-
/**
|
|
15369
|
-
* 保存
|
|
15453
|
+
/**
|
|
15454
|
+
* 保存
|
|
15370
15455
|
* */
|
|
15371
15456
|
saveRule: function saveRule() {
|
|
15372
15457
|
var _this8 = this;
|
|
@@ -15399,8 +15484,8 @@ var functions = [{
|
|
|
15399
15484
|
_this8.$emit('save', res);
|
|
15400
15485
|
});
|
|
15401
15486
|
},
|
|
15402
|
-
/**
|
|
15403
|
-
* 打开弹框
|
|
15487
|
+
/**
|
|
15488
|
+
* 打开弹框
|
|
15404
15489
|
* */
|
|
15405
15490
|
openDialog: function openDialog() {
|
|
15406
15491
|
this.postData.exprExec = this.showContent;
|
|
@@ -15446,7 +15531,7 @@ var bnFunText_component = normalizeComponent(
|
|
|
15446
15531
|
)
|
|
15447
15532
|
|
|
15448
15533
|
/* harmony default export */ const bnFunText = (bnFunText_component.exports);
|
|
15449
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=template&id=a086af00&scoped=true
|
|
15534
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=template&id=a086af00&scoped=true
|
|
15450
15535
|
var BnInpNumvue_type_template_id_a086af00_scoped_true_render = function render() {
|
|
15451
15536
|
var _vm = this,
|
|
15452
15537
|
_c = _vm._self._c;
|
|
@@ -15553,8 +15638,8 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
15553
15638
|
}
|
|
15554
15639
|
},
|
|
15555
15640
|
methods: {
|
|
15556
|
-
/**
|
|
15557
|
-
* input事件 实时变化
|
|
15641
|
+
/**
|
|
15642
|
+
* input事件 实时变化
|
|
15558
15643
|
* */
|
|
15559
15644
|
valInput: (0,external_lodash_namespaceObject.debounce)(function (val) {
|
|
15560
15645
|
// 快速处理空值
|
|
@@ -15617,8 +15702,8 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
15617
15702
|
}
|
|
15618
15703
|
this.val = value;
|
|
15619
15704
|
}, 200),
|
|
15620
|
-
/**
|
|
15621
|
-
* change事件上报
|
|
15705
|
+
/**
|
|
15706
|
+
* change事件上报
|
|
15622
15707
|
* */
|
|
15623
15708
|
valChange: function valChange() {
|
|
15624
15709
|
// 处理只输入负号或末尾小数点的中间态
|
|
@@ -15643,8 +15728,8 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
15643
15728
|
}
|
|
15644
15729
|
this.$emit("change", this.val);
|
|
15645
15730
|
},
|
|
15646
|
-
/**
|
|
15647
|
-
* blur事件上报
|
|
15731
|
+
/**
|
|
15732
|
+
* blur事件上报
|
|
15648
15733
|
* */
|
|
15649
15734
|
inputBlur: function inputBlur() {
|
|
15650
15735
|
this.$emit("blur", this.val);
|
|
@@ -15678,7 +15763,7 @@ var BnInpNum_component = normalizeComponent(
|
|
|
15678
15763
|
)
|
|
15679
15764
|
|
|
15680
15765
|
/* harmony default export */ const BnInpNum = (BnInpNum_component.exports);
|
|
15681
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInputNum/BnInputNum.vue?vue&type=template&id=2baef958
|
|
15766
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInputNum/BnInputNum.vue?vue&type=template&id=2baef958
|
|
15682
15767
|
var BnInputNumvue_type_template_id_2baef958_render = function render() {
|
|
15683
15768
|
var _vm = this,
|
|
15684
15769
|
_c = _vm._self._c;
|
|
@@ -15849,7 +15934,7 @@ var BnInputNum_component = normalizeComponent(
|
|
|
15849
15934
|
)
|
|
15850
15935
|
|
|
15851
15936
|
/* harmony default export */ const BnInputNum = (BnInputNum_component.exports);
|
|
15852
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
|
|
15937
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
|
|
15853
15938
|
|
|
15854
15939
|
|
|
15855
15940
|
|
|
@@ -16682,53 +16767,53 @@ var searchList = {
|
|
|
16682
16767
|
title: '不为空',
|
|
16683
16768
|
id: '10'
|
|
16684
16769
|
}],
|
|
16685
|
-
/*
|
|
16686
|
-
9: [
|
|
16687
|
-
{title: '范围', id: '8'},
|
|
16688
|
-
{title: '为空', id: '9'},
|
|
16689
|
-
{title: '不为空', id: '10'},
|
|
16690
|
-
],
|
|
16691
|
-
11: [
|
|
16692
|
-
{title: '等于', id: '1'},
|
|
16693
|
-
{title: '不等于', id: '2'},
|
|
16694
|
-
{title: '包含', id: '3'},
|
|
16695
|
-
{title: '不包含', id: '4'},
|
|
16696
|
-
{title: '包含任一项', id: '5'},
|
|
16697
|
-
{title: '不包含任一项', id: '6'},
|
|
16698
|
-
{title: '包含所有项', id: '7'},
|
|
16699
|
-
{title: '范围', id: '8'},
|
|
16700
|
-
{title: '为空', id: '9'},
|
|
16701
|
-
{title: '不为空', id: '10'},
|
|
16702
|
-
{title: '属于', id: '11'},
|
|
16703
|
-
{title: '有交集', id: '12'},
|
|
16704
|
-
{title: '无交集', id: '13'},],
|
|
16705
|
-
12: [
|
|
16706
|
-
{title: '等于', id: '1'},
|
|
16707
|
-
{title: '不等于', id: '2'},
|
|
16708
|
-
{title: '包含', id: '3'},
|
|
16709
|
-
{title: '不包含', id: '4'},
|
|
16710
|
-
{title: '包含任一项', id: '5'},
|
|
16711
|
-
{title: '不包含任一项', id: '6'},
|
|
16712
|
-
{title: '包含所有项', id: '7'},
|
|
16713
|
-
{title: '范围', id: '8'},
|
|
16714
|
-
{title: '为空', id: '9'},
|
|
16715
|
-
{title: '不为空', id: '10'},
|
|
16716
|
-
{title: '属于', id: '11'},
|
|
16717
|
-
{title: '有交集', id: '12'},
|
|
16718
|
-
{title: '无交集', id: '13'},],
|
|
16719
|
-
13: [
|
|
16720
|
-
{title: '等于', id: '1'},
|
|
16721
|
-
{title: '不等于', id: '2'},
|
|
16722
|
-
{title: '包含', id: '3'},
|
|
16723
|
-
{title: '不包含', id: '4'},
|
|
16724
|
-
{title: '包含任一项', id: '5'},
|
|
16725
|
-
{title: '不包含任一项', id: '6'},
|
|
16726
|
-
{title: '包含所有项', id: '7'},
|
|
16727
|
-
{title: '范围', id: '8'},
|
|
16728
|
-
{title: '为空', id: '9'},
|
|
16729
|
-
{title: '不为空', id: '10'},
|
|
16730
|
-
{title: '属于', id: '11'},
|
|
16731
|
-
{title: '有交集', id: '12'},
|
|
16770
|
+
/*
|
|
16771
|
+
9: [
|
|
16772
|
+
{title: '范围', id: '8'},
|
|
16773
|
+
{title: '为空', id: '9'},
|
|
16774
|
+
{title: '不为空', id: '10'},
|
|
16775
|
+
],
|
|
16776
|
+
11: [
|
|
16777
|
+
{title: '等于', id: '1'},
|
|
16778
|
+
{title: '不等于', id: '2'},
|
|
16779
|
+
{title: '包含', id: '3'},
|
|
16780
|
+
{title: '不包含', id: '4'},
|
|
16781
|
+
{title: '包含任一项', id: '5'},
|
|
16782
|
+
{title: '不包含任一项', id: '6'},
|
|
16783
|
+
{title: '包含所有项', id: '7'},
|
|
16784
|
+
{title: '范围', id: '8'},
|
|
16785
|
+
{title: '为空', id: '9'},
|
|
16786
|
+
{title: '不为空', id: '10'},
|
|
16787
|
+
{title: '属于', id: '11'},
|
|
16788
|
+
{title: '有交集', id: '12'},
|
|
16789
|
+
{title: '无交集', id: '13'},],
|
|
16790
|
+
12: [
|
|
16791
|
+
{title: '等于', id: '1'},
|
|
16792
|
+
{title: '不等于', id: '2'},
|
|
16793
|
+
{title: '包含', id: '3'},
|
|
16794
|
+
{title: '不包含', id: '4'},
|
|
16795
|
+
{title: '包含任一项', id: '5'},
|
|
16796
|
+
{title: '不包含任一项', id: '6'},
|
|
16797
|
+
{title: '包含所有项', id: '7'},
|
|
16798
|
+
{title: '范围', id: '8'},
|
|
16799
|
+
{title: '为空', id: '9'},
|
|
16800
|
+
{title: '不为空', id: '10'},
|
|
16801
|
+
{title: '属于', id: '11'},
|
|
16802
|
+
{title: '有交集', id: '12'},
|
|
16803
|
+
{title: '无交集', id: '13'},],
|
|
16804
|
+
13: [
|
|
16805
|
+
{title: '等于', id: '1'},
|
|
16806
|
+
{title: '不等于', id: '2'},
|
|
16807
|
+
{title: '包含', id: '3'},
|
|
16808
|
+
{title: '不包含', id: '4'},
|
|
16809
|
+
{title: '包含任一项', id: '5'},
|
|
16810
|
+
{title: '不包含任一项', id: '6'},
|
|
16811
|
+
{title: '包含所有项', id: '7'},
|
|
16812
|
+
{title: '范围', id: '8'},
|
|
16813
|
+
{title: '为空', id: '9'},
|
|
16814
|
+
{title: '不为空', id: '10'},
|
|
16815
|
+
{title: '属于', id: '11'},
|
|
16816
|
+
{title: '有交集', id: '12'},
|
|
16732
16817
|
{title: '无交集', id: '13'},],*/
|
|
16733
16818
|
15: [{
|
|
16734
16819
|
title: '为空',
|
|
@@ -16740,7 +16825,7 @@ var searchList = {
|
|
|
16740
16825
|
};
|
|
16741
16826
|
|
|
16742
16827
|
//每个组件类型对应的筛选类型列表
|
|
16743
|
-
var submitCheckTypeList =
|
|
16828
|
+
var submitCheckTypeList = {
|
|
16744
16829
|
1: '等于',
|
|
16745
16830
|
2: '不等于',
|
|
16746
16831
|
3: '包含',
|
|
@@ -16775,7 +16860,7 @@ var submitCheckTypeList = (/* unused pure expression or super */ null && ({
|
|
|
16775
16860
|
101: '变更为',
|
|
16776
16861
|
102: '变更为空',
|
|
16777
16862
|
103: '变更为有值'
|
|
16778
|
-
}
|
|
16863
|
+
};
|
|
16779
16864
|
var valueTypeList = {
|
|
16780
16865
|
//{id: '0', title: '自定义填写'},{id: '1', title: '其他组件'},{id: '2', title: '当前组件选项'}, {id: '3', title: '空值'},{id: '4', title: '其他步骤'},{ id: '5', title: '工作表属性' }
|
|
16781
16866
|
'-1': [{
|
|
@@ -16879,7 +16964,7 @@ var subTypeList = {
|
|
|
16879
16964
|
//部分支持 {id: '6', title: '过去x时'}, {id: '7', title: '未来x时'}, {id: '8', title: '过去x月'}, {id: '9', title: '未来x月'},
|
|
16880
16965
|
]
|
|
16881
16966
|
};
|
|
16882
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/cascadeCondition.vue?vue&type=template&id=0b10733b
|
|
16967
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/cascadeCondition.vue?vue&type=template&id=0b10733b
|
|
16883
16968
|
var cascadeConditionvue_type_template_id_0b10733b_render = function render() {
|
|
16884
16969
|
var _vm = this,
|
|
16885
16970
|
_c = _vm._self._c;
|
|
@@ -16969,7 +17054,7 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
16969
17054
|
};
|
|
16970
17055
|
}
|
|
16971
17056
|
|
|
16972
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/BnSwitch.vue?vue&type=template&id=809f2340
|
|
17057
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/BnSwitch.vue?vue&type=template&id=809f2340
|
|
16973
17058
|
var BnSwitchvue_type_template_id_809f2340_render = function render() {
|
|
16974
17059
|
var _vm = this,
|
|
16975
17060
|
_c = _vm._self._c;
|
|
@@ -17216,10 +17301,10 @@ var BnSwitch_component = normalizeComponent(
|
|
|
17216
17301
|
}
|
|
17217
17302
|
this.$emit('update:sourceTitle', this.valueTitle);
|
|
17218
17303
|
},
|
|
17219
|
-
/**
|
|
17220
|
-
* @param data 列表
|
|
17221
|
-
* @param value 编辑回显时已保存的值 []
|
|
17222
|
-
* @returns {*|Array|Array|*}
|
|
17304
|
+
/**
|
|
17305
|
+
* @param data 列表
|
|
17306
|
+
* @param value 编辑回显时已保存的值 []
|
|
17307
|
+
* @returns {*|Array|Array|*}
|
|
17223
17308
|
* */
|
|
17224
17309
|
dataFormat: function dataFormat(data, value) {
|
|
17225
17310
|
return data.map(function (item) {
|
|
@@ -17229,12 +17314,12 @@ var BnSwitch_component = normalizeComponent(
|
|
|
17229
17314
|
});
|
|
17230
17315
|
});
|
|
17231
17316
|
},
|
|
17232
|
-
/**
|
|
17233
|
-
*
|
|
17234
|
-
* @param data 列表
|
|
17235
|
-
* @param key 键
|
|
17236
|
-
* @param value 值
|
|
17237
|
-
* @returns {*|Array|String|Array|*}
|
|
17317
|
+
/**
|
|
17318
|
+
*
|
|
17319
|
+
* @param data 列表
|
|
17320
|
+
* @param key 键
|
|
17321
|
+
* @param value 值
|
|
17322
|
+
* @returns {*|Array|String|Array|*}
|
|
17238
17323
|
*/
|
|
17239
17324
|
getChild: function getChild(data, key, value) {
|
|
17240
17325
|
var _iterator = _createForOfIteratorHelper(data),
|
|
@@ -17317,7 +17402,7 @@ var cascadeCondition_component = normalizeComponent(
|
|
|
17317
17402
|
)
|
|
17318
17403
|
|
|
17319
17404
|
/* harmony default export */ const cascadeCondition = (cascadeCondition_component.exports);
|
|
17320
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/address.vue?vue&type=template&id=1199c288&scoped=true
|
|
17405
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/address.vue?vue&type=template&id=1199c288&scoped=true
|
|
17321
17406
|
var addressvue_type_template_id_1199c288_scoped_true_render = function render() {
|
|
17322
17407
|
var _vm = this,
|
|
17323
17408
|
_c = _vm._self._c;
|
|
@@ -17377,7 +17462,7 @@ var addressvue_type_template_id_1199c288_scoped_true_render = function render()
|
|
|
17377
17462
|
};
|
|
17378
17463
|
var addressvue_type_template_id_1199c288_scoped_true_staticRenderFns = [];
|
|
17379
17464
|
|
|
17380
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/addressSet.vue?vue&type=template&id=50cd72d0&scoped=true
|
|
17465
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/addressSet.vue?vue&type=template&id=50cd72d0&scoped=true
|
|
17381
17466
|
var addressSetvue_type_template_id_50cd72d0_scoped_true_render = function render() {
|
|
17382
17467
|
var _vm = this,
|
|
17383
17468
|
_c = _vm._self._c;
|
|
@@ -17680,7 +17765,7 @@ var address_component = normalizeComponent(
|
|
|
17680
17765
|
)
|
|
17681
17766
|
|
|
17682
17767
|
/* harmony default export */ const address = (address_component.exports);
|
|
17683
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/compositeSearch.vue?vue&type=template&id=09cb19ef&scoped=true
|
|
17768
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/compositeSearch.vue?vue&type=template&id=09cb19ef&scoped=true
|
|
17684
17769
|
|
|
17685
17770
|
var compositeSearchvue_type_template_id_09cb19ef_scoped_true_render = function render() {
|
|
17686
17771
|
var _vm = this,
|
|
@@ -17806,7 +17891,7 @@ var compositeSearch_component = normalizeComponent(
|
|
|
17806
17891
|
)
|
|
17807
17892
|
|
|
17808
17893
|
/* harmony default export */ const compositeSearch = (compositeSearch_component.exports);
|
|
17809
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/numberReg.vue?vue&type=template&id=04541236&scoped=true
|
|
17894
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/numberReg.vue?vue&type=template&id=04541236&scoped=true
|
|
17810
17895
|
var numberRegvue_type_template_id_04541236_scoped_true_render = function render() {
|
|
17811
17896
|
var _vm = this,
|
|
17812
17897
|
_c = _vm._self._c;
|
|
@@ -18184,8 +18269,8 @@ var numberReg_component = normalizeComponent(
|
|
|
18184
18269
|
this.$emit("input", val);
|
|
18185
18270
|
}
|
|
18186
18271
|
},
|
|
18187
|
-
/**
|
|
18188
|
-
* 当进入规则组件,已经选好组件id时,需要将组件信息回显
|
|
18272
|
+
/**
|
|
18273
|
+
* 当进入规则组件,已经选好组件id时,需要将组件信息回显
|
|
18189
18274
|
* */
|
|
18190
18275
|
columnInfo: {
|
|
18191
18276
|
get: function get() {
|
|
@@ -18233,8 +18318,8 @@ var numberReg_component = normalizeComponent(
|
|
|
18233
18318
|
}
|
|
18234
18319
|
},
|
|
18235
18320
|
methods: {
|
|
18236
|
-
/**
|
|
18237
|
-
* 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
|
|
18321
|
+
/**
|
|
18322
|
+
* 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
|
|
18238
18323
|
* */
|
|
18239
18324
|
changeCustomType: function changeCustomType(type) {
|
|
18240
18325
|
this.arrowCustomType = type ? type : 'column';
|
|
@@ -18276,9 +18361,9 @@ var numberReg_component = normalizeComponent(
|
|
|
18276
18361
|
value: value
|
|
18277
18362
|
});
|
|
18278
18363
|
},
|
|
18279
|
-
/**
|
|
18280
|
-
* 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
|
|
18281
|
-
* @param {Any} e select发生变化返回的值
|
|
18364
|
+
/**
|
|
18365
|
+
* 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
|
|
18366
|
+
* @param {Any} e select发生变化返回的值
|
|
18282
18367
|
* */
|
|
18283
18368
|
columnChange: function columnChange(e) {
|
|
18284
18369
|
var column = this.columnList.filter(function (i) {
|
|
@@ -18329,8 +18414,8 @@ var numberReg_component = normalizeComponent(
|
|
|
18329
18414
|
value: value
|
|
18330
18415
|
});
|
|
18331
18416
|
},
|
|
18332
|
-
/**
|
|
18333
|
-
* 计算条件发生change
|
|
18417
|
+
/**
|
|
18418
|
+
* 计算条件发生change
|
|
18334
18419
|
* */
|
|
18335
18420
|
searchChange: function searchChange() {
|
|
18336
18421
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -18341,8 +18426,8 @@ var numberReg_component = normalizeComponent(
|
|
|
18341
18426
|
value: this.ruleVal
|
|
18342
18427
|
});
|
|
18343
18428
|
},
|
|
18344
|
-
/**
|
|
18345
|
-
* 规则值类型发生变化
|
|
18429
|
+
/**
|
|
18430
|
+
* 规则值类型发生变化
|
|
18346
18431
|
* */
|
|
18347
18432
|
valueTypeChange: function valueTypeChange() {
|
|
18348
18433
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -18353,8 +18438,8 @@ var numberReg_component = normalizeComponent(
|
|
|
18353
18438
|
value: this.ruleVal
|
|
18354
18439
|
});
|
|
18355
18440
|
},
|
|
18356
|
-
/**
|
|
18357
|
-
* 规则值子类型发生变化
|
|
18441
|
+
/**
|
|
18442
|
+
* 规则值子类型发生变化
|
|
18358
18443
|
* */
|
|
18359
18444
|
subTypeChange: function subTypeChange() {
|
|
18360
18445
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -18365,8 +18450,8 @@ var numberReg_component = normalizeComponent(
|
|
|
18365
18450
|
value: this.ruleVal
|
|
18366
18451
|
});
|
|
18367
18452
|
},
|
|
18368
|
-
/**
|
|
18369
|
-
* 规则的value发生变化
|
|
18453
|
+
/**
|
|
18454
|
+
* 规则的value发生变化
|
|
18370
18455
|
* */
|
|
18371
18456
|
valueChange: function valueChange(target) {
|
|
18372
18457
|
if (target == 'date' && this.ruleVal[this.optionProps.value] == null) {
|
|
@@ -18381,9 +18466,9 @@ var numberReg_component = normalizeComponent(
|
|
|
18381
18466
|
value: this.ruleVal
|
|
18382
18467
|
});
|
|
18383
18468
|
},
|
|
18384
|
-
/**
|
|
18385
|
-
* 获取该类型组件支持那些计算条件
|
|
18386
|
-
* @param {Number} behaviorType 组件行为类型
|
|
18469
|
+
/**
|
|
18470
|
+
* 获取该类型组件支持那些计算条件
|
|
18471
|
+
* @param {Number} behaviorType 组件行为类型
|
|
18387
18472
|
* */
|
|
18388
18473
|
getSearchOptions: function getSearchOptions(behaviorType) {
|
|
18389
18474
|
var optionList = [];
|
|
@@ -18402,9 +18487,9 @@ var numberReg_component = normalizeComponent(
|
|
|
18402
18487
|
}
|
|
18403
18488
|
return optionList;
|
|
18404
18489
|
},
|
|
18405
|
-
/**
|
|
18406
|
-
* 获取该类型组件支持那些值类型
|
|
18407
|
-
* @param {Number} behaviorType 组件行为类型
|
|
18490
|
+
/**
|
|
18491
|
+
* 获取该类型组件支持那些值类型
|
|
18492
|
+
* @param {Number} behaviorType 组件行为类型
|
|
18408
18493
|
* */
|
|
18409
18494
|
getValueOptions: function getValueOptions(column) {
|
|
18410
18495
|
var optionList = [];
|
|
@@ -18422,9 +18507,9 @@ var numberReg_component = normalizeComponent(
|
|
|
18422
18507
|
}
|
|
18423
18508
|
return optionList;
|
|
18424
18509
|
},
|
|
18425
|
-
/**
|
|
18426
|
-
* 获取该类型组件支持那些子类型列表:目前仅只是时间日期
|
|
18427
|
-
* @param {Number} behaviorType 组件行为类型
|
|
18510
|
+
/**
|
|
18511
|
+
* 获取该类型组件支持那些子类型列表:目前仅只是时间日期
|
|
18512
|
+
* @param {Number} behaviorType 组件行为类型
|
|
18428
18513
|
* */
|
|
18429
18514
|
getSubTypeOptions: function getSubTypeOptions(behaviorType) {
|
|
18430
18515
|
var optionList = [];
|
|
@@ -18442,9 +18527,9 @@ var numberReg_component = normalizeComponent(
|
|
|
18442
18527
|
}
|
|
18443
18528
|
return optionList;
|
|
18444
18529
|
},
|
|
18445
|
-
/**
|
|
18446
|
-
* 获取该类型组件支持那些值类型
|
|
18447
|
-
* @param {Number} behaviorType 组件行为类型
|
|
18530
|
+
/**
|
|
18531
|
+
* 获取该类型组件支持那些值类型
|
|
18532
|
+
* @param {Number} behaviorType 组件行为类型
|
|
18448
18533
|
* */
|
|
18449
18534
|
getOtherColumns: function getOtherColumns(behaviorType) {
|
|
18450
18535
|
var _this = this;
|
|
@@ -18474,9 +18559,9 @@ var numberReg_component = normalizeComponent(
|
|
|
18474
18559
|
}
|
|
18475
18560
|
return optionList;
|
|
18476
18561
|
},
|
|
18477
|
-
/**
|
|
18478
|
-
* 动态禁用
|
|
18479
|
-
* @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
|
|
18562
|
+
/**
|
|
18563
|
+
* 动态禁用
|
|
18564
|
+
* @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
|
|
18480
18565
|
* */
|
|
18481
18566
|
isDisabled: function isDisabled(type) {
|
|
18482
18567
|
if (this.$options.propsData.hasOwnProperty('disabledFun')) {
|
|
@@ -18486,11 +18571,11 @@ var numberReg_component = normalizeComponent(
|
|
|
18486
18571
|
return false;
|
|
18487
18572
|
}
|
|
18488
18573
|
},
|
|
18489
|
-
/**
|
|
18490
|
-
* 给组件value赋予默认类型
|
|
18491
|
-
* @param {Number} behaviorType 组件行为类型
|
|
18492
|
-
* @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
|
|
18493
|
-
* @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
|
|
18574
|
+
/**
|
|
18575
|
+
* 给组件value赋予默认类型
|
|
18576
|
+
* @param {Number} behaviorType 组件行为类型
|
|
18577
|
+
* @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
|
|
18578
|
+
* @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
|
|
18494
18579
|
* */
|
|
18495
18580
|
setValType: function setValType(behaviorType, searchType, valueType) {
|
|
18496
18581
|
var data = '';
|
|
@@ -18570,14 +18655,14 @@ var numberReg_component = normalizeComponent(
|
|
|
18570
18655
|
}
|
|
18571
18656
|
return data;
|
|
18572
18657
|
},
|
|
18573
|
-
/**
|
|
18574
|
-
* 校验value的数据类型,因为有时候数据类型不对组件会报错
|
|
18658
|
+
/**
|
|
18659
|
+
* 校验value的数据类型,因为有时候数据类型不对组件会报错
|
|
18575
18660
|
* */
|
|
18576
18661
|
checkValType: function checkValType(type) {
|
|
18577
18662
|
return _typeof(this.ruleVal[this.optionProps.value]) == type;
|
|
18578
18663
|
},
|
|
18579
|
-
/**
|
|
18580
|
-
* 删除规则
|
|
18664
|
+
/**
|
|
18665
|
+
* 删除规则
|
|
18581
18666
|
* */
|
|
18582
18667
|
del: function del() {
|
|
18583
18668
|
this.$emit('del', {
|
|
@@ -18585,8 +18670,8 @@ var numberReg_component = normalizeComponent(
|
|
|
18585
18670
|
value: this.ruleVal
|
|
18586
18671
|
});
|
|
18587
18672
|
},
|
|
18588
|
-
/**
|
|
18589
|
-
* 清空规则内容
|
|
18673
|
+
/**
|
|
18674
|
+
* 清空规则内容
|
|
18590
18675
|
* */
|
|
18591
18676
|
empty: function empty() {
|
|
18592
18677
|
// 清空计算类型的值
|
|
@@ -18594,15 +18679,15 @@ var numberReg_component = normalizeComponent(
|
|
|
18594
18679
|
// 清空value
|
|
18595
18680
|
this.ruleVal[this.optionProps.value] = this.setValType(this.ruleVal.behaviorType);
|
|
18596
18681
|
},
|
|
18597
|
-
/**
|
|
18598
|
-
* 设置触发值
|
|
18682
|
+
/**
|
|
18683
|
+
* 设置触发值
|
|
18599
18684
|
* */
|
|
18600
18685
|
setDefaultSearch: function setDefaultSearch() {
|
|
18601
18686
|
// 清空计算类型的值
|
|
18602
18687
|
this.ruleVal[this.optionProps.searchType] = this.getSearchOptions(this.ruleVal.behaviorType)[0].id;
|
|
18603
18688
|
},
|
|
18604
|
-
/**
|
|
18605
|
-
* 日期,日期区间,判断时间类型
|
|
18689
|
+
/**
|
|
18690
|
+
* 日期,日期区间,判断时间类型
|
|
18606
18691
|
* */
|
|
18607
18692
|
getDateType: function getDateType(type) {
|
|
18608
18693
|
var dateType = type == "date" ? "datetime" : "datetimerange";
|
|
@@ -18625,8 +18710,8 @@ var numberReg_component = normalizeComponent(
|
|
|
18625
18710
|
}
|
|
18626
18711
|
return dateType;
|
|
18627
18712
|
},
|
|
18628
|
-
/**
|
|
18629
|
-
* 日期,日期区间,判断时间格式化
|
|
18713
|
+
/**
|
|
18714
|
+
* 日期,日期区间,判断时间格式化
|
|
18630
18715
|
* */
|
|
18631
18716
|
getDateFormat: function getDateFormat() {
|
|
18632
18717
|
var format = "yyyy-MM-dd HH:mm:ss";
|
|
@@ -18683,7 +18768,7 @@ var bnRuleCondition_component = normalizeComponent(
|
|
|
18683
18768
|
)
|
|
18684
18769
|
|
|
18685
18770
|
/* harmony default export */ const bnRuleCondition = (bnRuleCondition_component.exports);
|
|
18686
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnSelect/select.vue?vue&type=template&id=12683c88&scoped=true
|
|
18771
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnSelect/select.vue?vue&type=template&id=12683c88&scoped=true
|
|
18687
18772
|
|
|
18688
18773
|
|
|
18689
18774
|
|
|
@@ -19344,10 +19429,10 @@ function util_toPinYin(chart) {
|
|
|
19344
19429
|
return util_getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
|
|
19345
19430
|
}
|
|
19346
19431
|
|
|
19347
|
-
/**
|
|
19348
|
-
* 匹配大小写字母拼音 返回Boolean值
|
|
19349
|
-
* @param {*} chart 需要匹配的字符
|
|
19350
|
-
* @param {*} data 需要进行匹配的字符
|
|
19432
|
+
/**
|
|
19433
|
+
* 匹配大小写字母拼音 返回Boolean值
|
|
19434
|
+
* @param {*} chart 需要匹配的字符
|
|
19435
|
+
* @param {*} data 需要进行匹配的字符
|
|
19351
19436
|
*/
|
|
19352
19437
|
function util_searchToBoolean(chart, data) {
|
|
19353
19438
|
return util_toPinYin(data || '').indexOf(util_toPinYin(chart || '')) !== -1;
|
|
@@ -19661,18 +19746,18 @@ function util_searchToBoolean(chart, data) {
|
|
|
19661
19746
|
this.initSelectDataDebounced.cancel();
|
|
19662
19747
|
},
|
|
19663
19748
|
methods: {
|
|
19664
|
-
/**
|
|
19665
|
-
* 下拉选项显示 返回Boolean true:显示
|
|
19666
|
-
* @param {Object} item 某一选择的值、option的值
|
|
19749
|
+
/**
|
|
19750
|
+
* 下拉选项显示 返回Boolean true:显示
|
|
19751
|
+
* @param {Object} item 某一选择的值、option的值
|
|
19667
19752
|
*/
|
|
19668
19753
|
optionHideFunction: function optionHideFunction(item) {
|
|
19669
19754
|
if (this.optionHideFun) return !this.optionHideFun(item) && !item.isHide;else return !item.isHide;
|
|
19670
19755
|
},
|
|
19671
|
-
/**
|
|
19672
|
-
* Option中checkbox当绑定值变化时触发的事件 更新后的值
|
|
19673
|
-
* @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
|
|
19674
|
-
* @param {Boolean} val checkbox更新后的值
|
|
19675
|
-
* @param {Object} item option的值
|
|
19756
|
+
/**
|
|
19757
|
+
* Option中checkbox当绑定值变化时触发的事件 更新后的值
|
|
19758
|
+
* @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
|
|
19759
|
+
* @param {Boolean} val checkbox更新后的值
|
|
19760
|
+
* @param {Object} item option的值
|
|
19676
19761
|
*/
|
|
19677
19762
|
onCheckChange: function onCheckChange(val, item) {
|
|
19678
19763
|
var _this = this;
|
|
@@ -19701,9 +19786,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
19701
19786
|
_this.changeValue();
|
|
19702
19787
|
});
|
|
19703
19788
|
},
|
|
19704
|
-
/**
|
|
19705
|
-
* 返回option中checkbox的value状态
|
|
19706
|
-
* @param {Object} item option的选项
|
|
19789
|
+
/**
|
|
19790
|
+
* 返回option中checkbox的value状态
|
|
19791
|
+
* @param {Object} item option的选项
|
|
19707
19792
|
*/
|
|
19708
19793
|
checkBoxValue: function checkBoxValue(item) {
|
|
19709
19794
|
var _this2 = this;
|
|
@@ -19720,22 +19805,22 @@ function util_searchToBoolean(chart, data) {
|
|
|
19720
19805
|
return false;
|
|
19721
19806
|
}
|
|
19722
19807
|
},
|
|
19723
|
-
/**
|
|
19724
|
-
* 下拉选项禁用 返回Boolean true:禁用
|
|
19725
|
-
* @param {Object} item 某一选择的值、option的值
|
|
19808
|
+
/**
|
|
19809
|
+
* 下拉选项禁用 返回Boolean true:禁用
|
|
19810
|
+
* @param {Object} item 某一选择的值、option的值
|
|
19726
19811
|
*/
|
|
19727
19812
|
optionDisabledFunction: function optionDisabledFunction(item) {
|
|
19728
19813
|
if (this.optionDisabledFun) return this.optionDisabledFun(item) || item.disabled;else return item.disabled;
|
|
19729
19814
|
},
|
|
19730
|
-
/**
|
|
19731
|
-
* 多选模式下移除tag时触发
|
|
19732
|
-
* @param {Object} tag 移除的tag值
|
|
19815
|
+
/**
|
|
19816
|
+
* 多选模式下移除tag时触发
|
|
19817
|
+
* @param {Object} tag 移除的tag值
|
|
19733
19818
|
*/
|
|
19734
19819
|
removeTag: function removeTag(tag) {
|
|
19735
19820
|
this.$emit('removeTag', tag);
|
|
19736
19821
|
},
|
|
19737
|
-
/**
|
|
19738
|
-
* select的change事件
|
|
19822
|
+
/**
|
|
19823
|
+
* select的change事件
|
|
19739
19824
|
*/
|
|
19740
19825
|
changeValue: function changeValue() {
|
|
19741
19826
|
var _this3 = this;
|
|
@@ -19765,9 +19850,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
19765
19850
|
}
|
|
19766
19851
|
});
|
|
19767
19852
|
},
|
|
19768
|
-
/**
|
|
19769
|
-
* 下拉框出现/隐藏时触发
|
|
19770
|
-
* @param {Boolean} bol 出现则为 true,隐藏则为 false
|
|
19853
|
+
/**
|
|
19854
|
+
* 下拉框出现/隐藏时触发
|
|
19855
|
+
* @param {Boolean} bol 出现则为 true,隐藏则为 false
|
|
19771
19856
|
*/
|
|
19772
19857
|
visibleChange: function visibleChange(bol) {
|
|
19773
19858
|
var _this4 = this;
|
|
@@ -19834,15 +19919,15 @@ function util_searchToBoolean(chart, data) {
|
|
|
19834
19919
|
});
|
|
19835
19920
|
}
|
|
19836
19921
|
},
|
|
19837
|
-
/**
|
|
19838
|
-
* 可清空的单选模式下用户点击清空按钮时触发
|
|
19922
|
+
/**
|
|
19923
|
+
* 可清空的单选模式下用户点击清空按钮时触发
|
|
19839
19924
|
*/
|
|
19840
19925
|
clear: function clear() {
|
|
19841
19926
|
this.$emit('clear');
|
|
19842
19927
|
},
|
|
19843
|
-
/**
|
|
19844
|
-
* 返回option的label data: option数据
|
|
19845
|
-
* @param {Object} data option数据
|
|
19928
|
+
/**
|
|
19929
|
+
* 返回option的label data: option数据
|
|
19930
|
+
* @param {Object} data option数据
|
|
19846
19931
|
*/
|
|
19847
19932
|
showLabel: function showLabel(data) {
|
|
19848
19933
|
if (this.optionProps['label'] instanceof Function) {
|
|
@@ -19851,9 +19936,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
19851
19936
|
return data[this.optionProps['label']];
|
|
19852
19937
|
}
|
|
19853
19938
|
},
|
|
19854
|
-
/**
|
|
19855
|
-
* 快速搜索选项
|
|
19856
|
-
* @param {String} val 搜索的值
|
|
19939
|
+
/**
|
|
19940
|
+
* 快速搜索选项
|
|
19941
|
+
* @param {String} val 搜索的值
|
|
19857
19942
|
*/
|
|
19858
19943
|
filterMethod: function filterMethod(val) {
|
|
19859
19944
|
var _this5 = this;
|
|
@@ -19875,8 +19960,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19875
19960
|
this.loadingOptionList();
|
|
19876
19961
|
}
|
|
19877
19962
|
},
|
|
19878
|
-
/**
|
|
19879
|
-
* 判断是否是全选状态
|
|
19963
|
+
/**
|
|
19964
|
+
* 判断是否是全选状态
|
|
19880
19965
|
*/
|
|
19881
19966
|
isSelectAll: function isSelectAll() {
|
|
19882
19967
|
var _this6 = this;
|
|
@@ -19900,8 +19985,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19900
19985
|
}
|
|
19901
19986
|
}
|
|
19902
19987
|
},
|
|
19903
|
-
/**
|
|
19904
|
-
* 全选事件
|
|
19988
|
+
/**
|
|
19989
|
+
* 全选事件
|
|
19905
19990
|
*/
|
|
19906
19991
|
onSelectAll: function onSelectAll() {
|
|
19907
19992
|
var _this7 = this;
|
|
@@ -19939,14 +20024,14 @@ function util_searchToBoolean(chart, data) {
|
|
|
19939
20024
|
this.isIndeterminate = false;
|
|
19940
20025
|
this.changeValue();
|
|
19941
20026
|
},
|
|
19942
|
-
/**
|
|
19943
|
-
* 隐藏下拉选择框事件
|
|
20027
|
+
/**
|
|
20028
|
+
* 隐藏下拉选择框事件
|
|
19944
20029
|
*/
|
|
19945
20030
|
onConfirm: function onConfirm() {
|
|
19946
20031
|
this.$refs.selectBox.blur();
|
|
19947
20032
|
},
|
|
19948
|
-
/**
|
|
19949
|
-
* 滚动加载
|
|
20033
|
+
/**
|
|
20034
|
+
* 滚动加载
|
|
19950
20035
|
*/
|
|
19951
20036
|
loadMore: function loadMore() {
|
|
19952
20037
|
// 判断是否执行远程搜索
|
|
@@ -19972,8 +20057,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19972
20057
|
this.isSelectAll();
|
|
19973
20058
|
}
|
|
19974
20059
|
},
|
|
19975
|
-
/**
|
|
19976
|
-
* 请求内部数据源
|
|
20060
|
+
/**
|
|
20061
|
+
* 请求内部数据源
|
|
19977
20062
|
*/
|
|
19978
20063
|
loadOption: function loadOption(type) {
|
|
19979
20064
|
var _this8 = this;
|
|
@@ -20030,8 +20115,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
20030
20115
|
_this8.showMore = false;
|
|
20031
20116
|
});
|
|
20032
20117
|
},
|
|
20033
|
-
/**
|
|
20034
|
-
* 初始化远程搜索数据
|
|
20118
|
+
/**
|
|
20119
|
+
* 初始化远程搜索数据
|
|
20035
20120
|
*/
|
|
20036
20121
|
initRemoteMethod: function initRemoteMethod() {
|
|
20037
20122
|
this.moduleDefinition = [];
|
|
@@ -20052,8 +20137,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
20052
20137
|
this.loadMore();
|
|
20053
20138
|
}
|
|
20054
20139
|
},
|
|
20055
|
-
/**
|
|
20056
|
-
* 初始化组件的数据
|
|
20140
|
+
/**
|
|
20141
|
+
* 初始化组件的数据
|
|
20057
20142
|
*/
|
|
20058
20143
|
initSelectData: function initSelectData() {
|
|
20059
20144
|
var _this9 = this;
|
|
@@ -20159,8 +20244,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
20159
20244
|
}
|
|
20160
20245
|
},
|
|
20161
20246
|
computed: {
|
|
20162
|
-
/**
|
|
20163
|
-
* option 展示的列表
|
|
20247
|
+
/**
|
|
20248
|
+
* option 展示的列表
|
|
20164
20249
|
*/
|
|
20165
20250
|
optionShowList: function optionShowList() {
|
|
20166
20251
|
var _this0 = this;
|
|
@@ -20197,8 +20282,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
20197
20282
|
return this.total + (((_this$optionList = this.optionList) === null || _this$optionList === void 0 ? void 0 : _this$optionList.length) || 0);
|
|
20198
20283
|
}
|
|
20199
20284
|
},
|
|
20200
|
-
/**
|
|
20201
|
-
* option 所有数据的id数组
|
|
20285
|
+
/**
|
|
20286
|
+
* option 所有数据的id数组
|
|
20202
20287
|
*/
|
|
20203
20288
|
pageOptionListIds: function pageOptionListIds() {
|
|
20204
20289
|
return this.optionList.slice(0, 10);
|
|
@@ -20231,8 +20316,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
20231
20316
|
valueKeys: function valueKeys() {
|
|
20232
20317
|
return Array.from(new Set([].concat(_toConsumableArray(Object.values(this.optionProps)), _toConsumableArray(this.valueProps))));
|
|
20233
20318
|
},
|
|
20234
|
-
/**
|
|
20235
|
-
* select的value数据
|
|
20319
|
+
/**
|
|
20320
|
+
* select的value数据
|
|
20236
20321
|
*/
|
|
20237
20322
|
select: {
|
|
20238
20323
|
get: function get() {
|
|
@@ -20269,8 +20354,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
20269
20354
|
}
|
|
20270
20355
|
}
|
|
20271
20356
|
},
|
|
20272
|
-
/**
|
|
20273
|
-
* select 的 popperClass
|
|
20357
|
+
/**
|
|
20358
|
+
* select 的 popperClass
|
|
20274
20359
|
*/
|
|
20275
20360
|
popperClassName: function popperClassName() {
|
|
20276
20361
|
var className = "bytenew-select-popper ".concat(this.popperClass || '');
|
|
@@ -20395,7 +20480,7 @@ var select_component = normalizeComponent(
|
|
|
20395
20480
|
)
|
|
20396
20481
|
|
|
20397
20482
|
/* harmony default export */ const BnSelect_select = (select_component.exports);
|
|
20398
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
|
|
20483
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
|
|
20399
20484
|
|
|
20400
20485
|
|
|
20401
20486
|
var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render = function render() {
|
|
@@ -20800,10 +20885,10 @@ function _asyncToGenerator(n) {
|
|
|
20800
20885
|
handleBlurs: function handleBlurs() {
|
|
20801
20886
|
this.visible = false;
|
|
20802
20887
|
},
|
|
20803
|
-
/**
|
|
20804
|
-
* @name 选择change
|
|
20805
|
-
* @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
|
|
20806
|
-
* @param {*} record
|
|
20888
|
+
/**
|
|
20889
|
+
* @name 选择change
|
|
20890
|
+
* @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
|
|
20891
|
+
* @param {*} record
|
|
20807
20892
|
*/
|
|
20808
20893
|
selectItem: function selectItem(record) {
|
|
20809
20894
|
if (this.isSpecialTax) {
|
|
@@ -20987,22 +21072,22 @@ var es_string_pad_start = __webpack_require__(8156);
|
|
|
20987
21072
|
|
|
20988
21073
|
|
|
20989
21074
|
|
|
20990
|
-
/**
|
|
20991
|
-
* 组件库全局配置
|
|
20992
|
-
* 用于解决组件库打包后无法获取使用方项目环境变量的问题
|
|
21075
|
+
/**
|
|
21076
|
+
* 组件库全局配置
|
|
21077
|
+
* 用于解决组件库打包后无法获取使用方项目环境变量的问题
|
|
20993
21078
|
*/
|
|
20994
21079
|
|
|
20995
21080
|
// 全局配置对象
|
|
20996
|
-
var globalConfig =
|
|
21081
|
+
var globalConfig = {
|
|
20997
21082
|
// API基础URL
|
|
20998
21083
|
apiBaseUrl: ''
|
|
20999
21084
|
// 其他配置项可以在这里添加
|
|
21000
|
-
}
|
|
21085
|
+
};
|
|
21001
21086
|
|
|
21002
|
-
/**
|
|
21003
|
-
* 设置全局配置
|
|
21004
|
-
* @param {Object} config 配置对象
|
|
21005
|
-
* @param {String} config.apiBaseUrl API基础URL
|
|
21087
|
+
/**
|
|
21088
|
+
* 设置全局配置
|
|
21089
|
+
* @param {Object} config 配置对象
|
|
21090
|
+
* @param {String} config.apiBaseUrl API基础URL
|
|
21006
21091
|
*/
|
|
21007
21092
|
function setGlobalConfig(config) {
|
|
21008
21093
|
if (config.apiBaseUrl !== undefined) {
|
|
@@ -21016,17 +21101,17 @@ function setGlobalConfig(config) {
|
|
|
21016
21101
|
});
|
|
21017
21102
|
}
|
|
21018
21103
|
|
|
21019
|
-
/**
|
|
21020
|
-
* 获取全局配置
|
|
21021
|
-
* @returns {Object} 配置对象
|
|
21104
|
+
/**
|
|
21105
|
+
* 获取全局配置
|
|
21106
|
+
* @returns {Object} 配置对象
|
|
21022
21107
|
*/
|
|
21023
21108
|
function getGlobalConfig() {
|
|
21024
21109
|
return globalConfig;
|
|
21025
21110
|
}
|
|
21026
21111
|
|
|
21027
|
-
/**
|
|
21028
|
-
* 获取API基础URL
|
|
21029
|
-
* @returns {String} API基础URL
|
|
21112
|
+
/**
|
|
21113
|
+
* 获取API基础URL
|
|
21114
|
+
* @returns {String} API基础URL
|
|
21030
21115
|
*/
|
|
21031
21116
|
function getApiBaseUrl() {
|
|
21032
21117
|
var _window$__BN_CONFIG__, _import$meta$env;
|
|
@@ -21049,11 +21134,11 @@ function getApiBaseUrl() {
|
|
|
21049
21134
|
console.warn('API基础URL未配置,请在使用组件库前调用 setGlobalConfig 设置 apiBaseUrl');
|
|
21050
21135
|
return '';
|
|
21051
21136
|
}
|
|
21052
|
-
/* harmony default export */ const config = (
|
|
21137
|
+
/* harmony default export */ const config = ({
|
|
21053
21138
|
setGlobalConfig: setGlobalConfig,
|
|
21054
21139
|
getGlobalConfig: getGlobalConfig,
|
|
21055
21140
|
getApiBaseUrl: getApiBaseUrl
|
|
21056
|
-
})
|
|
21141
|
+
});
|
|
21057
21142
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
21058
21143
|
var es_array_sort = __webpack_require__(6910);
|
|
21059
21144
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
|
|
@@ -21124,11 +21209,11 @@ var mArea = {}; //以区为级别的数据 里面包括 p:省 c:市
|
|
|
21124
21209
|
|
|
21125
21210
|
var mStreet = {}; //以街道为级别的数据 里面包括 c:市 a:区
|
|
21126
21211
|
|
|
21127
|
-
/**
|
|
21128
|
-
* 处理原始地址数据转换成专用数据
|
|
21129
|
-
* @param list 原始数据
|
|
21130
|
-
* @param init 是否初始化 如传空 已转换过不会再次转换
|
|
21131
|
-
* @returns {boolean}
|
|
21212
|
+
/**
|
|
21213
|
+
* 处理原始地址数据转换成专用数据
|
|
21214
|
+
* @param list 原始数据
|
|
21215
|
+
* @param init 是否初始化 如传空 已转换过不会再次转换
|
|
21216
|
+
* @returns {boolean}
|
|
21132
21217
|
*/
|
|
21133
21218
|
function parseArea(list, init) {
|
|
21134
21219
|
if (!init && defaultData.length) {
|
|
@@ -21180,11 +21265,11 @@ function parseArea(list, init) {
|
|
|
21180
21265
|
});
|
|
21181
21266
|
}
|
|
21182
21267
|
|
|
21183
|
-
/**
|
|
21184
|
-
* 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
|
|
21185
|
-
* @param address 任意地址字符串
|
|
21186
|
-
* @param sourceData 组件配置,如 extraInfo.isFourAddress
|
|
21187
|
-
* @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
|
|
21268
|
+
/**
|
|
21269
|
+
* 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
|
|
21270
|
+
* @param address 任意地址字符串
|
|
21271
|
+
* @param sourceData 组件配置,如 extraInfo.isFourAddress
|
|
21272
|
+
* @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
|
|
21188
21273
|
*/
|
|
21189
21274
|
function parseAddressDetail(address, sourceData) {
|
|
21190
21275
|
var parse = {
|
|
@@ -21319,13 +21404,13 @@ function parseAddressDetail(address, sourceData) {
|
|
|
21319
21404
|
return parse;
|
|
21320
21405
|
}
|
|
21321
21406
|
|
|
21322
|
-
/**
|
|
21323
|
-
* 正向解析模式
|
|
21324
|
-
* 从前到后按 province city addr 逐级筛选
|
|
21325
|
-
* 有city的值即可说明解析成功
|
|
21326
|
-
* 此模式对地址顺序有要求
|
|
21327
|
-
* @param address
|
|
21328
|
-
* @returns {{province: string, city: string, area: string, addr: string}}
|
|
21407
|
+
/**
|
|
21408
|
+
* 正向解析模式
|
|
21409
|
+
* 从前到后按 province city addr 逐级筛选
|
|
21410
|
+
* 有city的值即可说明解析成功
|
|
21411
|
+
* 此模式对地址顺序有要求
|
|
21412
|
+
* @param address
|
|
21413
|
+
* @returns {{province: string, city: string, area: string, addr: string}}
|
|
21329
21414
|
*/
|
|
21330
21415
|
function detail_parse_forward(address, sourceData) {
|
|
21331
21416
|
var parse = {
|
|
@@ -21419,12 +21504,12 @@ function detail_parse_forward(address, sourceData) {
|
|
|
21419
21504
|
return parse;
|
|
21420
21505
|
}
|
|
21421
21506
|
|
|
21422
|
-
/**
|
|
21423
|
-
* 逆向解析 从后【县,区,旗】往前解析
|
|
21424
|
-
* 有地区就能大概返回地址了
|
|
21425
|
-
* @param address
|
|
21426
|
-
* @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
|
|
21427
|
-
* @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
|
|
21507
|
+
/**
|
|
21508
|
+
* 逆向解析 从后【县,区,旗】往前解析
|
|
21509
|
+
* 有地区就能大概返回地址了
|
|
21510
|
+
* @param address
|
|
21511
|
+
* @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
|
|
21512
|
+
* @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
|
|
21428
21513
|
*/
|
|
21429
21514
|
function detail_parse(address) {
|
|
21430
21515
|
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
@@ -21596,22 +21681,22 @@ function detail_parse(address) {
|
|
|
21596
21681
|
}
|
|
21597
21682
|
var MUNICIPALITIES = ['上海', '北京', '天津', '重庆'];
|
|
21598
21683
|
|
|
21599
|
-
/**
|
|
21600
|
-
* 统一换行符格式
|
|
21684
|
+
/**
|
|
21685
|
+
* 统一换行符格式
|
|
21601
21686
|
*/
|
|
21602
21687
|
function normalizeLineBreaks(address) {
|
|
21603
21688
|
return String(address || '').replace(/\r\n/g, '\n').replace(/\r/g, '\n').replace(/\t/g, ' ');
|
|
21604
21689
|
}
|
|
21605
21690
|
|
|
21606
|
-
/**
|
|
21607
|
-
* 常见地址字段标签(姓名:、详细地址: 等),较长标签优先匹配
|
|
21691
|
+
/**
|
|
21692
|
+
* 常见地址字段标签(姓名:、详细地址: 等),较长标签优先匹配
|
|
21608
21693
|
*/
|
|
21609
21694
|
var ADDRESS_LABEL_PATTERN = '(?:详细地址|收货地址|联系地址|收件地址|邮政编码|手机号码|联系电话|联系方式|收货人|收件人|联系人|姓名|名字|手机号|邮编|收货|地址|详细|固话|电话)[::]';
|
|
21610
21695
|
var ADDRESS_LABEL_REG = new RegExp(ADDRESS_LABEL_PATTERN, 'g');
|
|
21611
21696
|
var ADDRESS_LABEL_TEST_REG = new RegExp(ADDRESS_LABEL_PATTERN);
|
|
21612
21697
|
|
|
21613
|
-
/**
|
|
21614
|
-
* 去除「姓名:」「详细地址:」等字段标签前缀
|
|
21698
|
+
/**
|
|
21699
|
+
* 去除「姓名:」「详细地址:」等字段标签前缀
|
|
21615
21700
|
*/
|
|
21616
21701
|
function stripAddressLabels(text) {
|
|
21617
21702
|
return String(text || '').replace(ADDRESS_LABEL_REG, ' ');
|
|
@@ -21619,8 +21704,8 @@ function stripAddressLabels(text) {
|
|
|
21619
21704
|
var NAME_LABELS = ['姓名', '名字', '联系人', '收货人', '收件人'];
|
|
21620
21705
|
var PHONE_LABELS = ['电话', '手机号', '手机号码', '联系电话', '联系方式', '固话'];
|
|
21621
21706
|
|
|
21622
|
-
/**
|
|
21623
|
-
* 解析「标签:值」格式的单行
|
|
21707
|
+
/**
|
|
21708
|
+
* 解析「标签:值」格式的单行
|
|
21624
21709
|
*/
|
|
21625
21710
|
function matchLabeledLine(line) {
|
|
21626
21711
|
var match = line.match(/^([\u4e00-\u9fa5A-Za-z0-9]+)[::]\s*(.+)$/);
|
|
@@ -21633,9 +21718,9 @@ function matchLabeledLine(line) {
|
|
|
21633
21718
|
};
|
|
21634
21719
|
}
|
|
21635
21720
|
|
|
21636
|
-
/**
|
|
21637
|
-
* 按换行符拆分段落,去除行内空白后用空格拼接为单行
|
|
21638
|
-
* 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
|
|
21721
|
+
/**
|
|
21722
|
+
* 按换行符拆分段落,去除行内空白后用空格拼接为单行
|
|
21723
|
+
* 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
|
|
21639
21724
|
*/
|
|
21640
21725
|
function joinAddressLines(address) {
|
|
21641
21726
|
var normalized = normalizeLineBreaks(address);
|
|
@@ -21682,11 +21767,11 @@ function joinAddressLines(address) {
|
|
|
21682
21767
|
};
|
|
21683
21768
|
}
|
|
21684
21769
|
|
|
21685
|
-
/**
|
|
21686
|
-
* 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
|
|
21687
|
-
* @param {object} options
|
|
21688
|
-
* @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
|
|
21689
|
-
* @returns {array|null}
|
|
21770
|
+
/**
|
|
21771
|
+
* 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
|
|
21772
|
+
* @param {object} options
|
|
21773
|
+
* @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
|
|
21774
|
+
* @returns {array|null}
|
|
21690
21775
|
*/
|
|
21691
21776
|
function getGlobalAreaList() {
|
|
21692
21777
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -21709,8 +21794,8 @@ function getGlobalAreaList() {
|
|
|
21709
21794
|
return null;
|
|
21710
21795
|
}
|
|
21711
21796
|
|
|
21712
|
-
/**
|
|
21713
|
-
* 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
|
|
21797
|
+
/**
|
|
21798
|
+
* 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
|
|
21714
21799
|
*/
|
|
21715
21800
|
function checkMunicipalityChars(str, name) {
|
|
21716
21801
|
var prefix = str.substring(0, 8);
|
|
@@ -21719,8 +21804,8 @@ function checkMunicipalityChars(str, name) {
|
|
|
21719
21804
|
return firstIndex !== -1 && firstIndex === lastIndex;
|
|
21720
21805
|
}
|
|
21721
21806
|
|
|
21722
|
-
/**
|
|
21723
|
-
* 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
|
|
21807
|
+
/**
|
|
21808
|
+
* 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
|
|
21724
21809
|
*/
|
|
21725
21810
|
function preprocessAddress(address) {
|
|
21726
21811
|
var cleanAddress = normalizeLineBreaks(address).replace(/[ \t\f\v]+/g, '');
|
|
@@ -21741,13 +21826,13 @@ function preprocessAddress(address) {
|
|
|
21741
21826
|
return cleanAddress;
|
|
21742
21827
|
}
|
|
21743
21828
|
|
|
21744
|
-
/**
|
|
21745
|
-
* 自动识别地址信息,格式化为省市区街道和收件人等信息
|
|
21746
|
-
* @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
|
|
21747
|
-
* @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
|
|
21748
|
-
* @param {object} [options] 可选配置
|
|
21749
|
-
* @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
|
|
21750
|
-
* @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
|
|
21829
|
+
/**
|
|
21830
|
+
* 自动识别地址信息,格式化为省市区街道和收件人等信息
|
|
21831
|
+
* @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
|
|
21832
|
+
* @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
|
|
21833
|
+
* @param {object} [options] 可选配置
|
|
21834
|
+
* @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
|
|
21835
|
+
* @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
|
|
21751
21836
|
*/
|
|
21752
21837
|
function addressParse(address, sourceData) {
|
|
21753
21838
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
@@ -21831,10 +21916,10 @@ function addressParse(address, sourceData) {
|
|
|
21831
21916
|
|
|
21832
21917
|
|
|
21833
21918
|
|
|
21834
|
-
/**
|
|
21835
|
-
* 规则配置默认支持的条件
|
|
21919
|
+
/**
|
|
21920
|
+
* 规则配置默认支持的条件
|
|
21836
21921
|
* */
|
|
21837
|
-
var ruleTypeMap =
|
|
21922
|
+
var ruleTypeMap = {
|
|
21838
21923
|
1: [{
|
|
21839
21924
|
title: '等于',
|
|
21840
21925
|
id: '1'
|
|
@@ -22235,71 +22320,71 @@ var ruleTypeMap = (/* unused pure expression or super */ null && ({
|
|
|
22235
22320
|
title: '不为空',
|
|
22236
22321
|
id: '10'
|
|
22237
22322
|
}]
|
|
22238
|
-
/*8: [
|
|
22239
|
-
{title: '范围', id: '8'},
|
|
22240
|
-
{title: '为空', id: '9'},
|
|
22241
|
-
{title: '不为空', id: '10'},
|
|
22242
|
-
// {title: '属于', id: '11'},
|
|
22243
|
-
// {title: '有交集', id: '12'},
|
|
22244
|
-
// {title: '无交集', id: '13'},
|
|
22245
|
-
],
|
|
22246
|
-
9: [
|
|
22247
|
-
{title: '范围', id: '8'},
|
|
22248
|
-
{title: '为空', id: '9'},
|
|
22249
|
-
{title: '不为空', id: '10'},
|
|
22250
|
-
],
|
|
22251
|
-
11: [
|
|
22252
|
-
{title: '等于', id: '1'},
|
|
22253
|
-
{title: '不等于', id: '2'},
|
|
22254
|
-
{title: '包含', id: '3'},
|
|
22255
|
-
{title: '不包含', id: '4'},
|
|
22256
|
-
{title: '包含任一项', id: '5'},
|
|
22257
|
-
{title: '不包含任一项', id: '6'},
|
|
22258
|
-
{title: '包含所有项', id: '7'},
|
|
22259
|
-
{title: '范围', id: '8'},
|
|
22260
|
-
{title: '为空', id: '9'},
|
|
22261
|
-
{title: '不为空', id: '10'},
|
|
22262
|
-
{title: '属于', id: '11'},
|
|
22263
|
-
{title: '有交集', id: '12'},
|
|
22264
|
-
{title: '无交集', id: '13'},],
|
|
22265
|
-
12: [
|
|
22266
|
-
{title: '等于', id: '1'},
|
|
22267
|
-
{title: '不等于', id: '2'},
|
|
22268
|
-
{title: '包含', id: '3'},
|
|
22269
|
-
{title: '不包含', id: '4'},
|
|
22270
|
-
{title: '包含任一项', id: '5'},
|
|
22271
|
-
{title: '不包含任一项', id: '6'},
|
|
22272
|
-
{title: '包含所有项', id: '7'},
|
|
22273
|
-
{title: '范围', id: '8'},
|
|
22274
|
-
{title: '为空', id: '9'},
|
|
22275
|
-
{title: '不为空', id: '10'},
|
|
22276
|
-
{title: '属于', id: '11'},
|
|
22277
|
-
{title: '有交集', id: '12'},
|
|
22278
|
-
{title: '无交集', id: '13'},],
|
|
22279
|
-
13: [
|
|
22280
|
-
{title: '等于', id: '1'},
|
|
22281
|
-
{title: '不等于', id: '2'},
|
|
22282
|
-
{title: '包含', id: '3'},
|
|
22283
|
-
{title: '不包含', id: '4'},
|
|
22284
|
-
{title: '包含任一项', id: '5'},
|
|
22285
|
-
{title: '不包含任一项', id: '6'},
|
|
22286
|
-
{title: '包含所有项', id: '7'},
|
|
22287
|
-
{title: '范围', id: '8'},
|
|
22288
|
-
{title: '为空', id: '9'},
|
|
22289
|
-
{title: '不为空', id: '10'},
|
|
22290
|
-
{title: '属于', id: '11'},
|
|
22291
|
-
{title: '有交集', id: '12'},
|
|
22292
|
-
{title: '无交集', id: '13'},],
|
|
22293
|
-
15: [
|
|
22294
|
-
{title: '等于', id: '1'},
|
|
22295
|
-
{title: '为空', id: '9'},
|
|
22296
|
-
{title: '不为空', id: '10'}
|
|
22323
|
+
/*8: [
|
|
22324
|
+
{title: '范围', id: '8'},
|
|
22325
|
+
{title: '为空', id: '9'},
|
|
22326
|
+
{title: '不为空', id: '10'},
|
|
22327
|
+
// {title: '属于', id: '11'},
|
|
22328
|
+
// {title: '有交集', id: '12'},
|
|
22329
|
+
// {title: '无交集', id: '13'},
|
|
22330
|
+
],
|
|
22331
|
+
9: [
|
|
22332
|
+
{title: '范围', id: '8'},
|
|
22333
|
+
{title: '为空', id: '9'},
|
|
22334
|
+
{title: '不为空', id: '10'},
|
|
22335
|
+
],
|
|
22336
|
+
11: [
|
|
22337
|
+
{title: '等于', id: '1'},
|
|
22338
|
+
{title: '不等于', id: '2'},
|
|
22339
|
+
{title: '包含', id: '3'},
|
|
22340
|
+
{title: '不包含', id: '4'},
|
|
22341
|
+
{title: '包含任一项', id: '5'},
|
|
22342
|
+
{title: '不包含任一项', id: '6'},
|
|
22343
|
+
{title: '包含所有项', id: '7'},
|
|
22344
|
+
{title: '范围', id: '8'},
|
|
22345
|
+
{title: '为空', id: '9'},
|
|
22346
|
+
{title: '不为空', id: '10'},
|
|
22347
|
+
{title: '属于', id: '11'},
|
|
22348
|
+
{title: '有交集', id: '12'},
|
|
22349
|
+
{title: '无交集', id: '13'},],
|
|
22350
|
+
12: [
|
|
22351
|
+
{title: '等于', id: '1'},
|
|
22352
|
+
{title: '不等于', id: '2'},
|
|
22353
|
+
{title: '包含', id: '3'},
|
|
22354
|
+
{title: '不包含', id: '4'},
|
|
22355
|
+
{title: '包含任一项', id: '5'},
|
|
22356
|
+
{title: '不包含任一项', id: '6'},
|
|
22357
|
+
{title: '包含所有项', id: '7'},
|
|
22358
|
+
{title: '范围', id: '8'},
|
|
22359
|
+
{title: '为空', id: '9'},
|
|
22360
|
+
{title: '不为空', id: '10'},
|
|
22361
|
+
{title: '属于', id: '11'},
|
|
22362
|
+
{title: '有交集', id: '12'},
|
|
22363
|
+
{title: '无交集', id: '13'},],
|
|
22364
|
+
13: [
|
|
22365
|
+
{title: '等于', id: '1'},
|
|
22366
|
+
{title: '不等于', id: '2'},
|
|
22367
|
+
{title: '包含', id: '3'},
|
|
22368
|
+
{title: '不包含', id: '4'},
|
|
22369
|
+
{title: '包含任一项', id: '5'},
|
|
22370
|
+
{title: '不包含任一项', id: '6'},
|
|
22371
|
+
{title: '包含所有项', id: '7'},
|
|
22372
|
+
{title: '范围', id: '8'},
|
|
22373
|
+
{title: '为空', id: '9'},
|
|
22374
|
+
{title: '不为空', id: '10'},
|
|
22375
|
+
{title: '属于', id: '11'},
|
|
22376
|
+
{title: '有交集', id: '12'},
|
|
22377
|
+
{title: '无交集', id: '13'},],
|
|
22378
|
+
15: [
|
|
22379
|
+
{title: '等于', id: '1'},
|
|
22380
|
+
{title: '为空', id: '9'},
|
|
22381
|
+
{title: '不为空', id: '10'}
|
|
22297
22382
|
],*/
|
|
22298
|
-
}
|
|
22299
|
-
/**
|
|
22300
|
-
* 规则配置各组件默认支持的数值条件 当前值、选择其他组件 这种
|
|
22383
|
+
};
|
|
22384
|
+
/**
|
|
22385
|
+
* 规则配置各组件默认支持的数值条件 当前值、选择其他组件 这种
|
|
22301
22386
|
* */
|
|
22302
|
-
var valueTypeMap =
|
|
22387
|
+
var valueTypeMap = {
|
|
22303
22388
|
1: '0',
|
|
22304
22389
|
2: '0',
|
|
22305
22390
|
3: '2',
|
|
@@ -22315,11 +22400,11 @@ var valueTypeMap = (/* unused pure expression or super */ null && ({
|
|
|
22315
22400
|
13: '2',
|
|
22316
22401
|
14: '2',
|
|
22317
22402
|
15: '2'
|
|
22318
|
-
}
|
|
22319
|
-
/**
|
|
22320
|
-
* 字段,组件数据格式化
|
|
22403
|
+
};
|
|
22404
|
+
/**
|
|
22405
|
+
* 字段,组件数据格式化
|
|
22321
22406
|
* */
|
|
22322
|
-
var searchTypeMap =
|
|
22407
|
+
var searchTypeMap = {
|
|
22323
22408
|
1: [{
|
|
22324
22409
|
title: '等于',
|
|
22325
22410
|
id: '1'
|
|
@@ -22677,11 +22762,11 @@ var searchTypeMap = (/* unused pure expression or super */ null && ({
|
|
|
22677
22762
|
title: '不为空',
|
|
22678
22763
|
id: '10'
|
|
22679
22764
|
}]
|
|
22680
|
-
}
|
|
22681
|
-
/**
|
|
22682
|
-
* 全局默认成员列表
|
|
22765
|
+
};
|
|
22766
|
+
/**
|
|
22767
|
+
* 全局默认成员列表
|
|
22683
22768
|
* */
|
|
22684
|
-
var userConst =
|
|
22769
|
+
var userConst = [{
|
|
22685
22770
|
title: "班牛助手(工单)",
|
|
22686
22771
|
code: "10001487",
|
|
22687
22772
|
id: "10001487"
|
|
@@ -22693,18 +22778,18 @@ var userConst = (/* unused pure expression or super */ null && ([{
|
|
|
22693
22778
|
title: "班牛助手(API)",
|
|
22694
22779
|
code: "110430206",
|
|
22695
22780
|
id: "110430206"
|
|
22696
|
-
}]
|
|
22781
|
+
}];
|
|
22697
22782
|
|
|
22698
|
-
/**
|
|
22699
|
-
* 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
|
|
22700
|
-
* id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
|
|
22701
|
-
* 结果返回 'name,name2'
|
|
22702
|
-
* @param {Array} ids ID列表
|
|
22703
|
-
* @param {Array|Object} options 选项数组或对象映射
|
|
22704
|
-
* @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
|
|
22705
|
-
* @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
|
|
22706
|
-
* @param {String} separator 自定义分隔符,默认为中文逗号','
|
|
22707
|
-
* @return {String} 拼接后的字符串
|
|
22783
|
+
/**
|
|
22784
|
+
* 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
|
|
22785
|
+
* id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
|
|
22786
|
+
* 结果返回 'name,name2'
|
|
22787
|
+
* @param {Array} ids ID列表
|
|
22788
|
+
* @param {Array|Object} options 选项数组或对象映射
|
|
22789
|
+
* @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
|
|
22790
|
+
* @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
|
|
22791
|
+
* @param {String} separator 自定义分隔符,默认为中文逗号','
|
|
22792
|
+
* @return {String} 拼接后的字符串
|
|
22708
22793
|
* */
|
|
22709
22794
|
function idsToTexts(ids, options) {
|
|
22710
22795
|
var idKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'id';
|
|
@@ -22742,8 +22827,8 @@ function idsToTexts(ids, options) {
|
|
|
22742
22827
|
return result;
|
|
22743
22828
|
}
|
|
22744
22829
|
|
|
22745
|
-
/**
|
|
22746
|
-
* 向输入框的光标位置插入字符
|
|
22830
|
+
/**
|
|
22831
|
+
* 向输入框的光标位置插入字符
|
|
22747
22832
|
* */
|
|
22748
22833
|
function insertText(dom, value) {
|
|
22749
22834
|
var selectRange;
|
|
@@ -22770,9 +22855,9 @@ function insertText(dom, value) {
|
|
|
22770
22855
|
return dom.value;
|
|
22771
22856
|
}
|
|
22772
22857
|
|
|
22773
|
-
/**
|
|
22774
|
-
* 格式化查看、高级筛选的组件信息
|
|
22775
|
-
* @param Object component 组件信息
|
|
22858
|
+
/**
|
|
22859
|
+
* 格式化查看、高级筛选的组件信息
|
|
22860
|
+
* @param Object component 组件信息
|
|
22776
22861
|
* */
|
|
22777
22862
|
function tidyRuleComponent(component) {
|
|
22778
22863
|
var _ruleTypeMap$componen;
|
|
@@ -22887,8 +22972,8 @@ function tidyRuleComponent(component) {
|
|
|
22887
22972
|
return data;
|
|
22888
22973
|
}
|
|
22889
22974
|
|
|
22890
|
-
/**
|
|
22891
|
-
* 格式化规则配置组件列表
|
|
22975
|
+
/**
|
|
22976
|
+
* 格式化规则配置组件列表
|
|
22892
22977
|
* */
|
|
22893
22978
|
function tidyRuleComponents(components, appId, tableId) {
|
|
22894
22979
|
var componentList = [];
|
|
@@ -22918,8 +23003,8 @@ function tidyRuleComponents(components, appId, tableId) {
|
|
|
22918
23003
|
return componentList;
|
|
22919
23004
|
}
|
|
22920
23005
|
|
|
22921
|
-
/**
|
|
22922
|
-
* 将高级筛选的value格式化成json
|
|
23006
|
+
/**
|
|
23007
|
+
* 将高级筛选的value格式化成json
|
|
22923
23008
|
* */
|
|
22924
23009
|
function searchValueToJson(components) {
|
|
22925
23010
|
var list = cloneDeep(components);
|
|
@@ -22941,10 +23026,10 @@ function searchValueToJson(components) {
|
|
|
22941
23026
|
return list;
|
|
22942
23027
|
}
|
|
22943
23028
|
|
|
22944
|
-
/**
|
|
22945
|
-
* 格式化查看、高级筛选的组件信息
|
|
22946
|
-
* @param Object component 组件信息
|
|
22947
|
-
* @param String power 权限字段,跟简易工单admin配置对应,不穿则不校验权限
|
|
23029
|
+
/**
|
|
23030
|
+
* 格式化查看、高级筛选的组件信息
|
|
23031
|
+
* @param Object component 组件信息
|
|
23032
|
+
* @param String power 权限字段,跟简易工单admin配置对应,不穿则不校验权限
|
|
22948
23033
|
* */
|
|
22949
23034
|
function formatComponent(component, power) {
|
|
22950
23035
|
// 先校验权限 展示的地方特殊判断下id
|
|
@@ -23081,8 +23166,8 @@ function formatComponent(component, power) {
|
|
|
23081
23166
|
return data;
|
|
23082
23167
|
}
|
|
23083
23168
|
|
|
23084
|
-
/**
|
|
23085
|
-
* 格式化高级筛选组件列表
|
|
23169
|
+
/**
|
|
23170
|
+
* 格式化高级筛选组件列表
|
|
23086
23171
|
* */
|
|
23087
23172
|
function getSearchComponents(components, appId, tableId) {
|
|
23088
23173
|
var componentList = [];
|
|
@@ -23112,8 +23197,8 @@ function getSearchComponents(components, appId, tableId) {
|
|
|
23112
23197
|
return componentList;
|
|
23113
23198
|
}
|
|
23114
23199
|
|
|
23115
|
-
/**
|
|
23116
|
-
* 格式化查看、详情组件列表
|
|
23200
|
+
/**
|
|
23201
|
+
* 格式化查看、详情组件列表
|
|
23117
23202
|
* */
|
|
23118
23203
|
function getWatchComponents(components, appId, tableId) {
|
|
23119
23204
|
var power = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'listShow';
|
|
@@ -23130,11 +23215,11 @@ function getWatchComponents(components, appId, tableId) {
|
|
|
23130
23215
|
return componentList;
|
|
23131
23216
|
}
|
|
23132
23217
|
|
|
23133
|
-
/**
|
|
23134
|
-
* 格式化新建、编辑 组件的value
|
|
23135
|
-
* @param Object component 组件信息
|
|
23136
|
-
* @param Object values 编辑表单时,传入的工单数据
|
|
23137
|
-
* @param String power 权限,当不是编辑的时候,将只给有新建权限的组件进行赋值 component.extraInfo[power]
|
|
23218
|
+
/**
|
|
23219
|
+
* 格式化新建、编辑 组件的value
|
|
23220
|
+
* @param Object component 组件信息
|
|
23221
|
+
* @param Object values 编辑表单时,传入的工单数据
|
|
23222
|
+
* @param String power 权限,当不是编辑的时候,将只给有新建权限的组件进行赋值 component.extraInfo[power]
|
|
23138
23223
|
* */
|
|
23139
23224
|
function formatColumnVal(component, values, power) {
|
|
23140
23225
|
var data = {
|
|
@@ -23294,8 +23379,8 @@ function formatColumnVal(component, values, power) {
|
|
|
23294
23379
|
return data;
|
|
23295
23380
|
}
|
|
23296
23381
|
|
|
23297
|
-
/**
|
|
23298
|
-
* 格式化查看、编辑、组件列表
|
|
23382
|
+
/**
|
|
23383
|
+
* 格式化查看、编辑、组件列表
|
|
23299
23384
|
* */
|
|
23300
23385
|
function tidyComponents(components, appId, tableId, values) {
|
|
23301
23386
|
var componentList = [];
|
|
@@ -23312,10 +23397,10 @@ function tidyComponents(components, appId, tableId, values) {
|
|
|
23312
23397
|
return componentList;
|
|
23313
23398
|
}
|
|
23314
23399
|
|
|
23315
|
-
/**
|
|
23316
|
-
* 展示子表单详情,将附件的完整value进行组装,只能在展示的时候用哦,编辑可别用
|
|
23317
|
-
* component 子表单
|
|
23318
|
-
* data 整条工单数据包含子表单包含inside
|
|
23400
|
+
/**
|
|
23401
|
+
* 展示子表单详情,将附件的完整value进行组装,只能在展示的时候用哦,编辑可别用
|
|
23402
|
+
* component 子表单
|
|
23403
|
+
* data 整条工单数据包含子表单包含inside
|
|
23319
23404
|
* */
|
|
23320
23405
|
function tidyShowSubDataFile(component, data) {
|
|
23321
23406
|
var fullSubData = cloneDeep(data.inside[component.columnCode]);
|
|
@@ -23336,8 +23421,8 @@ function tidyShowSubDataFile(component, data) {
|
|
|
23336
23421
|
return subData;
|
|
23337
23422
|
}
|
|
23338
23423
|
|
|
23339
|
-
/**
|
|
23340
|
-
* 整理跳转工作表的筛选条件
|
|
23424
|
+
/**
|
|
23425
|
+
* 整理跳转工作表的筛选条件
|
|
23341
23426
|
* */
|
|
23342
23427
|
function tidyJumpSearchData(searchData, components) {
|
|
23343
23428
|
var searchList = [];
|
|
@@ -23362,9 +23447,9 @@ function tidyJumpSearchData(searchData, components) {
|
|
|
23362
23447
|
return searchList;
|
|
23363
23448
|
}
|
|
23364
23449
|
|
|
23365
|
-
/**
|
|
23366
|
-
* 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
|
|
23367
|
-
* @param {Object} res 接口返回体
|
|
23450
|
+
/**
|
|
23451
|
+
* 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
|
|
23452
|
+
* @param {Object} res 接口返回体
|
|
23368
23453
|
*/
|
|
23369
23454
|
function formatLogDate() {
|
|
23370
23455
|
var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date();
|
|
@@ -23380,9 +23465,9 @@ function formatLogDate() {
|
|
|
23380
23465
|
var second = pad(d.getSeconds());
|
|
23381
23466
|
return "".concat(year, "-").concat(month, "-").concat(day, " ").concat(hour, ":").concat(minute, ":").concat(second);
|
|
23382
23467
|
}
|
|
23383
|
-
/**
|
|
23384
|
-
* 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
|
|
23385
|
-
* @param {Object} res 接口返回体
|
|
23468
|
+
/**
|
|
23469
|
+
* 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
|
|
23470
|
+
* @param {Object} res 接口返回体
|
|
23386
23471
|
*/
|
|
23387
23472
|
var recordApiLog = function recordApiLog(res) {
|
|
23388
23473
|
try {
|
|
@@ -23477,10 +23562,10 @@ var recordApiLog = function recordApiLog(res) {
|
|
|
23477
23562
|
console.log("\u4E00\u6761\u65E5\u5FD7\u672A\u80FD\u6210\u529F\u6355\u6349\uFF1A".concat(JSON.stringify(res)));
|
|
23478
23563
|
}
|
|
23479
23564
|
};
|
|
23480
|
-
/**
|
|
23481
|
-
* 跳转主应用路由
|
|
23482
|
-
* 无界子应用内通过 bus 通知主应用改地址栏;独立运行时跳转到主应用入口
|
|
23483
|
-
* @param {string|{ name?: string, path?: string, params?: object, query?: object }} route
|
|
23565
|
+
/**
|
|
23566
|
+
* 跳转主应用路由
|
|
23567
|
+
* 无界子应用内通过 bus 通知主应用改地址栏;独立运行时跳转到主应用入口
|
|
23568
|
+
* @param {string|{ name?: string, path?: string, params?: object, query?: object }} route
|
|
23484
23569
|
*/
|
|
23485
23570
|
|
|
23486
23571
|
function mainAppRouterPush(route) {
|
|
@@ -23489,8 +23574,8 @@ function mainAppRouterPush(route) {
|
|
|
23489
23574
|
(_window$$wujie = window.$wujie) === null || _window$$wujie === void 0 || _window$$wujie.bus.$emit('router-jump', route);
|
|
23490
23575
|
} else {}
|
|
23491
23576
|
}
|
|
23492
|
-
/**
|
|
23493
|
-
* 地址自动识别
|
|
23577
|
+
/**
|
|
23578
|
+
* 地址自动识别
|
|
23494
23579
|
* */
|
|
23495
23580
|
|
|
23496
23581
|
;// ./install.js
|