@v2coding/ui 0.1.4 → 0.1.8

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.
Files changed (49) hide show
  1. package/README.md +1 -1
  2. package/dist/v2coding-ui.esm.js +1452 -679
  3. package/dist/v2coding-ui.min.js +1 -1
  4. package/dist/v2coding-ui.ssr.js +1469 -679
  5. package/package.json +2 -3
  6. package/src/components/dialog/dialog.vue +0 -179
  7. package/src/components/drawer/drawer.vue +0 -523
  8. package/src/components/exports/index.vue +0 -53
  9. package/src/components/exports/remote-exports-dialog.vue +0 -202
  10. package/src/components/field/field.autocomplete.vue +0 -21
  11. package/src/components/field/field.calendar.vue +0 -117
  12. package/src/components/field/field.cascade.vue +0 -233
  13. package/src/components/field/field.checkbox.vue +0 -134
  14. package/src/components/field/field.color.vue +0 -24
  15. package/src/components/field/field.date.vue +0 -145
  16. package/src/components/field/field.icons.vue +0 -123
  17. package/src/components/field/field.number.vue +0 -43
  18. package/src/components/field/field.radio.vue +0 -100
  19. package/src/components/field/field.rate.vue +0 -37
  20. package/src/components/field/field.rich.vue +0 -155
  21. package/src/components/field/field.select.vue +0 -210
  22. package/src/components/field/field.slider.vue +0 -66
  23. package/src/components/field/field.switch.vue +0 -14
  24. package/src/components/field/field.text.vue +0 -66
  25. package/src/components/field/field.timepicker.vue +0 -70
  26. package/src/components/field/field.timeselect.vue +0 -24
  27. package/src/components/field/field.trigger.dialog.vue +0 -50
  28. package/src/components/field/field.trigger.popover.vue +0 -63
  29. package/src/components/field/field.upload.file.vue +0 -241
  30. package/src/components/field/field.upload.image.vue +0 -125
  31. package/src/components/fill-view/fill-view.vue +0 -43
  32. package/src/components/form/form.dialog.vue +0 -174
  33. package/src/components/form/form.drawer.vue +0 -246
  34. package/src/components/form/form.fieldset.vue +0 -110
  35. package/src/components/form/form.item.vue +0 -210
  36. package/src/components/form/form.vue +0 -302
  37. package/src/components/head-menu/head-menu.vue +0 -188
  38. package/src/components/head-menu/menu-item.vue +0 -80
  39. package/src/components/history/history.vue +0 -361
  40. package/src/components/icon/icon.vue +0 -63
  41. package/src/components/minimize/minimize.vue +0 -342
  42. package/src/components/page/page.vue +0 -43
  43. package/src/components/page/search-page.vue +0 -202
  44. package/src/components/provider/provider.vue +0 -15
  45. package/src/components/scroll-view/scroll-view.vue +0 -384
  46. package/src/components/table/column.vue +0 -262
  47. package/src/components/table/table.pagination.vue +0 -71
  48. package/src/components/table/table.select.vue +0 -165
  49. package/src/components/table/table.vue +0 -807
@@ -1,4 +1,4 @@
1
- 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var immutable=require('immutable'),merge=require('lodash.merge'),axios=require('axios'),Vuex=require('vuex'),VuexPersistence=require('vuex-persist'),VueRouter=require('vue-router'),to=require('await-to-js'),throttle=require('lodash.throttle'),PinyinMatch=require('pinyin-match'),moment=require('moment'),debounce=require('lodash.debounce'),elementUi=require('element-ui'),vueQuillEditor=require('vue-quill-editor');require('quill/dist/quill.core.css'),require('quill/dist/quill.snow.css'),require('quill/dist/quill.bubble.css');var XLSX=require('xlsx'),util=require('element-ui/lib/utils/util'),resizeEvent=require('element-ui/lib/utils/resize-event'),vueMultipane=require('vue-multipane');function _interopDefaultLegacy(e){return e&&typeof e==='object'&&'default'in e?e:{'default':e}}var merge__default=/*#__PURE__*/_interopDefaultLegacy(merge);var axios__default=/*#__PURE__*/_interopDefaultLegacy(axios);var Vuex__default=/*#__PURE__*/_interopDefaultLegacy(Vuex);var VuexPersistence__default=/*#__PURE__*/_interopDefaultLegacy(VuexPersistence);var VueRouter__default=/*#__PURE__*/_interopDefaultLegacy(VueRouter);var to__default=/*#__PURE__*/_interopDefaultLegacy(to);var throttle__default=/*#__PURE__*/_interopDefaultLegacy(throttle);var PinyinMatch__default=/*#__PURE__*/_interopDefaultLegacy(PinyinMatch);var moment__default=/*#__PURE__*/_interopDefaultLegacy(moment);var debounce__default=/*#__PURE__*/_interopDefaultLegacy(debounce);var XLSX__default=/*#__PURE__*/_interopDefaultLegacy(XLSX);var toString = function toString(obj) {
1
+ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var immutable=require('immutable'),merge=require('lodash.merge'),axios=require('axios'),Vuex=require('vuex'),VuexPersistence=require('vuex-persist'),VueRouter=require('vue-router'),to=require('await-to-js'),throttle=require('lodash.throttle'),PinyinMatch=require('pinyin-match'),moment=require('moment'),debounce=require('lodash.debounce'),elementUi=require('element-ui'),vueQuillEditor=require('vue-quill-editor');require('quill/dist/quill.core.css'),require('quill/dist/quill.snow.css'),require('quill/dist/quill.bubble.css');var gcoord=require('gcoord'),AMapLoader=require('@amap/amap-jsapi-loader'),XLSX=require('xlsx'),util=require('element-ui/lib/utils/util'),resizeEvent=require('element-ui/lib/utils/resize-event'),vueMultipane=require('vue-multipane');function _interopDefaultLegacy(e){return e&&typeof e==='object'&&'default'in e?e:{'default':e}}var merge__default=/*#__PURE__*/_interopDefaultLegacy(merge);var axios__default=/*#__PURE__*/_interopDefaultLegacy(axios);var Vuex__default=/*#__PURE__*/_interopDefaultLegacy(Vuex);var VuexPersistence__default=/*#__PURE__*/_interopDefaultLegacy(VuexPersistence);var VueRouter__default=/*#__PURE__*/_interopDefaultLegacy(VueRouter);var to__default=/*#__PURE__*/_interopDefaultLegacy(to);var throttle__default=/*#__PURE__*/_interopDefaultLegacy(throttle);var PinyinMatch__default=/*#__PURE__*/_interopDefaultLegacy(PinyinMatch);var moment__default=/*#__PURE__*/_interopDefaultLegacy(moment);var debounce__default=/*#__PURE__*/_interopDefaultLegacy(debounce);var gcoord__default=/*#__PURE__*/_interopDefaultLegacy(gcoord);var AMapLoader__default=/*#__PURE__*/_interopDefaultLegacy(AMapLoader);var XLSX__default=/*#__PURE__*/_interopDefaultLegacy(XLSX);var toString = function toString(obj) {
2
2
  return Object.prototype.toString.call(obj);
3
3
  };
4
4
  var isObject = function isObject() {
@@ -115,6 +115,11 @@ var Objects = {
115
115
  timeout: 30000,
116
116
  baseURL: process.env.VUE_APP_DOMAIN || 'http://localhost:8080' // eslint-disable-line
117
117
 
118
+ },
119
+ amap: {
120
+ version: '2.0',
121
+ key: process.env.VUE_APP_DOMAIN // eslint-disable-line
122
+
118
123
  }
119
124
  };
120
125
  var DefaultSetting$1 = DefaultSetting;function ownKeys(object, enumerableOnly) {
@@ -473,7 +478,7 @@ var Axios = {
473
478
  getInstance: getInstance,
474
479
  Interceptor: Interceptor$1,
475
480
  addInterceptor: addInterceptor$1
476
- };var _excluded$b = ["persist"];
481
+ };var _excluded$a = ["persist"];
477
482
  var store;
478
483
 
479
484
  var initPersistPlugin = function initPersistPlugin(config) {
@@ -500,7 +505,7 @@ var init$1 = function init(Vue) {
500
505
  var storeSetting = setting.store;
501
506
 
502
507
  var persist = storeSetting.persist,
503
- opt = _objectWithoutProperties(storeSetting, _excluded$b);
508
+ opt = _objectWithoutProperties(storeSetting, _excluded$a);
504
509
 
505
510
  var persistPlugin = initPersistPlugin(persist);
506
511
  store = new Vuex__default["default"].Store(_objectSpread2(_objectSpread2({}, opt), {}, {
@@ -1388,7 +1393,7 @@ function renderStyles(styles) {
1388
1393
  var __vue_script__$G = script$F;
1389
1394
  /* template */
1390
1395
 
1391
- var __vue_render__$E = function __vue_render__() {
1396
+ var __vue_render__$F = function __vue_render__() {
1392
1397
  var _vm = this;
1393
1398
 
1394
1399
  var _h = _vm.$createElement;
@@ -1403,7 +1408,7 @@ var __vue_render__$E = function __vue_render__() {
1403
1408
  }, [_vm._ssrNode("<use" + _vm._ssrAttr("xlink:href", "#icon-" + _vm.realName) + " data-v-135b2758></use>")]);
1404
1409
  };
1405
1410
 
1406
- var __vue_staticRenderFns__$E = [];
1411
+ var __vue_staticRenderFns__$F = [];
1407
1412
  /* style */
1408
1413
 
1409
1414
  var __vue_inject_styles__$G = function __vue_inject_styles__(inject) {
@@ -1427,8 +1432,8 @@ var __vue_is_functional_template__$G = false;
1427
1432
  /* style inject shadow dom */
1428
1433
 
1429
1434
  var __vue_component__$G = /*#__PURE__*/normalizeComponent({
1430
- render: __vue_render__$E,
1431
- staticRenderFns: __vue_staticRenderFns__$E
1435
+ render: __vue_render__$F,
1436
+ staticRenderFns: __vue_staticRenderFns__$F
1432
1437
  }, __vue_inject_styles__$G, __vue_script__$G, __vue_scope_id__$G, __vue_is_functional_template__$G, __vue_module_identifier__$G, false, undefined, createInjectorSSR, undefined);
1433
1438
 
1434
1439
  var Icon$1 = __vue_component__$G;var Icon = {
@@ -2013,7 +2018,7 @@ var initDefaultVType = function initDefaultVType() {
2013
2018
  };
2014
2019
 
2015
2020
  initDefaultVType();
2016
- var VType$1 = VType;var _excluded$a = ["change", "input"];
2021
+ var VType$1 = VType;var _excluded$9 = ["change", "input"];
2017
2022
  var FieldMixin = {
2018
2023
  inheritAttrs: false,
2019
2024
  inject: {
@@ -2035,7 +2040,7 @@ var FieldMixin = {
2035
2040
  var _this$$listeners = this.$listeners;
2036
2041
  _this$$listeners.change;
2037
2042
  _this$$listeners.input;
2038
- var listeners = _objectWithoutProperties(_this$$listeners, _excluded$a);
2043
+ var listeners = _objectWithoutProperties(_this$$listeners, _excluded$9);
2039
2044
 
2040
2045
  return listeners;
2041
2046
  }
@@ -2114,7 +2119,7 @@ var script$E = {
2114
2119
  var __vue_script__$F = script$E;
2115
2120
  /* template */
2116
2121
 
2117
- var __vue_render__$D = function __vue_render__() {
2122
+ var __vue_render__$E = function __vue_render__() {
2118
2123
  var _vm = this;
2119
2124
 
2120
2125
  var _h = _vm.$createElement;
@@ -2128,7 +2133,7 @@ var __vue_render__$D = function __vue_render__() {
2128
2133
  }, 'el-autocomplete', _vm.$attrs, false), _vm.$listeners));
2129
2134
  };
2130
2135
 
2131
- var __vue_staticRenderFns__$D = [];
2136
+ var __vue_staticRenderFns__$E = [];
2132
2137
  /* style */
2133
2138
 
2134
2139
  var __vue_inject_styles__$F = undefined;
@@ -2148,8 +2153,8 @@ var __vue_is_functional_template__$F = false;
2148
2153
  /* style inject shadow dom */
2149
2154
 
2150
2155
  var __vue_component__$F = /*#__PURE__*/normalizeComponent({
2151
- render: __vue_render__$D,
2152
- staticRenderFns: __vue_staticRenderFns__$D
2156
+ render: __vue_render__$E,
2157
+ staticRenderFns: __vue_staticRenderFns__$E
2153
2158
  }, __vue_inject_styles__$F, __vue_script__$F, __vue_scope_id__$F, __vue_is_functional_template__$F, __vue_module_identifier__$F, false, undefined, undefined, undefined);
2154
2159
 
2155
2160
  var AutocompleteField = __vue_component__$F;//
@@ -2198,7 +2203,7 @@ var script$D = {
2198
2203
  var __vue_script__$E = script$D;
2199
2204
  /* template */
2200
2205
 
2201
- var __vue_render__$C = function __vue_render__() {
2206
+ var __vue_render__$D = function __vue_render__() {
2202
2207
  var _vm = this;
2203
2208
 
2204
2209
  var _h = _vm.$createElement;
@@ -2218,7 +2223,7 @@ var __vue_render__$C = function __vue_render__() {
2218
2223
  }, 'el-input', _vm.$attrs, false), _vm.$listeners));
2219
2224
  };
2220
2225
 
2221
- var __vue_staticRenderFns__$C = [];
2226
+ var __vue_staticRenderFns__$D = [];
2222
2227
  /* style */
2223
2228
 
2224
2229
  var __vue_inject_styles__$E = function __vue_inject_styles__(inject) {
@@ -2242,8 +2247,8 @@ var __vue_is_functional_template__$E = false;
2242
2247
  /* style inject shadow dom */
2243
2248
 
2244
2249
  var __vue_component__$E = /*#__PURE__*/normalizeComponent({
2245
- render: __vue_render__$C,
2246
- staticRenderFns: __vue_staticRenderFns__$C
2250
+ render: __vue_render__$D,
2251
+ staticRenderFns: __vue_staticRenderFns__$D
2247
2252
  }, __vue_inject_styles__$E, __vue_script__$E, __vue_scope_id__$E, __vue_is_functional_template__$E, __vue_module_identifier__$E, false, undefined, createInjectorSSR, undefined);
2248
2253
 
2249
2254
  var TextField = __vue_component__$E;var mapLabelValue = function mapLabelValue(data, config) {
@@ -2500,7 +2505,7 @@ var script$C = {
2500
2505
  var __vue_script__$D = script$C;
2501
2506
  /* template */
2502
2507
 
2503
- var __vue_render__$B = function __vue_render__() {
2508
+ var __vue_render__$C = function __vue_render__() {
2504
2509
  var _vm = this;
2505
2510
 
2506
2511
  var _h = _vm.$createElement;
@@ -2532,7 +2537,7 @@ var __vue_render__$B = function __vue_render__() {
2532
2537
  "title": item.label
2533
2538
  }
2534
2539
  }, 'component', item, false), [_vm._v("\n " + _vm._s(item.label) + "\n ")]);
2535
- }), 1), _vm._ssrNode(" "), _vm.isEmpty ? _vm._ssrNode("<div class=\"empty\" data-v-f02e57a0>", "</div>", [_vm._ssrNode("暂无数据! "), _c('el-button', {
2540
+ }), 1), _vm._ssrNode(" "), _vm.isEmpty ? _vm._ssrNode("<div class=\"empty\" data-v-e3949f02>", "</div>", [_vm._ssrNode("暂无数据! "), _c('el-button', {
2536
2541
  directives: [{
2537
2542
  name: "show",
2538
2543
  rawName: "v-show",
@@ -2548,13 +2553,13 @@ var __vue_render__$B = function __vue_render__() {
2548
2553
  }, [_vm._v("重新加载")])], 2) : _vm._e()], 2);
2549
2554
  };
2550
2555
 
2551
- var __vue_staticRenderFns__$B = [];
2556
+ var __vue_staticRenderFns__$C = [];
2552
2557
  /* style */
2553
2558
 
2554
2559
  var __vue_inject_styles__$D = function __vue_inject_styles__(inject) {
2555
2560
  if (!inject) return;
2556
- inject("data-v-f02e57a0_0", {
2557
- source: ".ui-field-radio .empty[data-v-f02e57a0]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-radio>.el-radio-group[data-v-f02e57a0]{display:inline-flex;flex-direction:row;flex-wrap:wrap;align-items:center}.ui-field-radio>.el-radio-group .el-radio[data-v-f02e57a0]{line-height:36px}[data-v-f02e57a0] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
2561
+ inject("data-v-e3949f02_0", {
2562
+ source: ".ui-field-radio .empty[data-v-e3949f02]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-radio>.el-radio-group[data-v-e3949f02]{display:inline-flex;flex-direction:row;flex-wrap:wrap;align-items:center}.ui-field-radio>.el-radio-group .el-radio[data-v-e3949f02]{line-height:36px}[data-v-e3949f02] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
2558
2563
  map: undefined,
2559
2564
  media: undefined
2560
2565
  });
@@ -2562,18 +2567,18 @@ var __vue_inject_styles__$D = function __vue_inject_styles__(inject) {
2562
2567
  /* scoped */
2563
2568
 
2564
2569
 
2565
- var __vue_scope_id__$D = "data-v-f02e57a0";
2570
+ var __vue_scope_id__$D = "data-v-e3949f02";
2566
2571
  /* module identifier */
2567
2572
 
2568
- var __vue_module_identifier__$D = "data-v-f02e57a0";
2573
+ var __vue_module_identifier__$D = "data-v-e3949f02";
2569
2574
  /* functional template */
2570
2575
 
2571
2576
  var __vue_is_functional_template__$D = false;
2572
2577
  /* style inject shadow dom */
2573
2578
 
2574
2579
  var __vue_component__$D = /*#__PURE__*/normalizeComponent({
2575
- render: __vue_render__$B,
2576
- staticRenderFns: __vue_staticRenderFns__$B
2580
+ render: __vue_render__$C,
2581
+ staticRenderFns: __vue_staticRenderFns__$C
2577
2582
  }, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, undefined, createInjectorSSR, undefined);
2578
2583
 
2579
2584
  var RadioField = __vue_component__$D;//
@@ -2653,7 +2658,7 @@ var script$B = {
2653
2658
  var __vue_script__$C = script$B;
2654
2659
  /* template */
2655
2660
 
2656
- var __vue_render__$A = function __vue_render__() {
2661
+ var __vue_render__$B = function __vue_render__() {
2657
2662
  var _vm = this;
2658
2663
 
2659
2664
  var _h = _vm.$createElement;
@@ -2738,7 +2743,7 @@ var __vue_render__$A = function __vue_render__() {
2738
2743
  }, [_vm._v("重新加载")])], 2) : _vm._e()], 2);
2739
2744
  };
2740
2745
 
2741
- var __vue_staticRenderFns__$A = [];
2746
+ var __vue_staticRenderFns__$B = [];
2742
2747
  /* style */
2743
2748
 
2744
2749
  var __vue_inject_styles__$C = function __vue_inject_styles__(inject) {
@@ -2762,8 +2767,8 @@ var __vue_is_functional_template__$C = false;
2762
2767
  /* style inject shadow dom */
2763
2768
 
2764
2769
  var __vue_component__$C = /*#__PURE__*/normalizeComponent({
2765
- render: __vue_render__$A,
2766
- staticRenderFns: __vue_staticRenderFns__$A
2770
+ render: __vue_render__$B,
2771
+ staticRenderFns: __vue_staticRenderFns__$B
2767
2772
  }, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, undefined, createInjectorSSR, undefined);
2768
2773
 
2769
2774
  var CheckboxField = __vue_component__$C;var script$A = {
@@ -2982,7 +2987,7 @@ var CheckboxField = __vue_component__$C;var script$A = {
2982
2987
  var __vue_script__$B = script$A;
2983
2988
  /* template */
2984
2989
 
2985
- var __vue_render__$z = function __vue_render__() {
2990
+ var __vue_render__$A = function __vue_render__() {
2986
2991
  var _vm = this;
2987
2992
 
2988
2993
  var _h = _vm.$createElement;
@@ -3103,12 +3108,12 @@ var __vue_render__$z = function __vue_render__() {
3103
3108
  })], 1)], 2) : _vm._e()], 2);
3104
3109
  };
3105
3110
 
3106
- var __vue_staticRenderFns__$z = [];
3111
+ var __vue_staticRenderFns__$A = [];
3107
3112
  /* style */
3108
3113
 
3109
3114
  var __vue_inject_styles__$B = function __vue_inject_styles__(inject) {
3110
3115
  if (!inject) return;
3111
- inject("data-v-7c196bc6_0", {
3116
+ inject("data-v-525e6b24_0", {
3112
3117
  source: ".ui-field-select .el-select{width:100%}.ui-field-select .el-input-group--append .el-select .el-input.is-focus .el-input__inner{border-color:var(--color-primary)}.ui-field-select .empty{font-size:12px;color:#909399;display:flex;align-items:center}.ui-field-select .el-loading-mask .el-loading-spinner{margin-top:-14px}",
3113
3118
  map: undefined,
3114
3119
  media: undefined
@@ -3120,15 +3125,15 @@ var __vue_inject_styles__$B = function __vue_inject_styles__(inject) {
3120
3125
  var __vue_scope_id__$B = undefined;
3121
3126
  /* module identifier */
3122
3127
 
3123
- var __vue_module_identifier__$B = "data-v-7c196bc6";
3128
+ var __vue_module_identifier__$B = "data-v-525e6b24";
3124
3129
  /* functional template */
3125
3130
 
3126
3131
  var __vue_is_functional_template__$B = false;
3127
3132
  /* style inject shadow dom */
3128
3133
 
3129
3134
  var __vue_component__$B = /*#__PURE__*/normalizeComponent({
3130
- render: __vue_render__$z,
3131
- staticRenderFns: __vue_staticRenderFns__$z
3135
+ render: __vue_render__$A,
3136
+ staticRenderFns: __vue_staticRenderFns__$A
3132
3137
  }, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, undefined, createInjectorSSR, undefined);
3133
3138
 
3134
3139
  var SelectField = __vue_component__$B;//
@@ -3162,7 +3167,7 @@ var script$z = {
3162
3167
  var __vue_script__$A = script$z;
3163
3168
  /* template */
3164
3169
 
3165
- var __vue_render__$y = function __vue_render__() {
3170
+ var __vue_render__$z = function __vue_render__() {
3166
3171
  var _vm = this;
3167
3172
 
3168
3173
  var _h = _vm.$createElement;
@@ -3178,7 +3183,7 @@ var __vue_render__$y = function __vue_render__() {
3178
3183
  }, 'el-input-number', _vm.$attrs, false), _vm.$listeners));
3179
3184
  };
3180
3185
 
3181
- var __vue_staticRenderFns__$y = [];
3186
+ var __vue_staticRenderFns__$z = [];
3182
3187
  /* style */
3183
3188
 
3184
3189
  var __vue_inject_styles__$A = function __vue_inject_styles__(inject) {
@@ -3202,8 +3207,8 @@ var __vue_is_functional_template__$A = false;
3202
3207
  /* style inject shadow dom */
3203
3208
 
3204
3209
  var __vue_component__$A = /*#__PURE__*/normalizeComponent({
3205
- render: __vue_render__$y,
3206
- staticRenderFns: __vue_staticRenderFns__$y
3210
+ render: __vue_render__$z,
3211
+ staticRenderFns: __vue_staticRenderFns__$z
3207
3212
  }, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, undefined, createInjectorSSR, undefined);
3208
3213
 
3209
3214
  var NumberField = __vue_component__$A;var randomStr = function randomStr(length) {
@@ -3219,7 +3224,7 @@ var NumberField = __vue_component__$A;var randomStr = function randomStr(length)
3219
3224
 
3220
3225
  var Strings = {
3221
3226
  random: randomStr
3222
- };var _excluded$9 = ["children"];
3227
+ };var _excluded$8 = ["children"];
3223
3228
  var script$y = {
3224
3229
  name: 'ui-field-cascade',
3225
3230
  mixins: [FieldMixin, DataMixin],
@@ -3383,7 +3388,7 @@ var script$y = {
3383
3388
 
3384
3389
  return data.reduce(function (prev, _ref) {
3385
3390
  var children = _ref.children,
3386
- item = _objectWithoutProperties(_ref, _excluded$9);
3391
+ item = _objectWithoutProperties(_ref, _excluded$8);
3387
3392
 
3388
3393
  prev.push(_objectSpread2(_objectSpread2({}, item), {}, {
3389
3394
  $upValue: upValue
@@ -3454,7 +3459,7 @@ var script$y = {
3454
3459
  var __vue_script__$z = script$y;
3455
3460
  /* template */
3456
3461
 
3457
- var __vue_render__$x = function __vue_render__() {
3462
+ var __vue_render__$y = function __vue_render__() {
3458
3463
  var _vm = this;
3459
3464
 
3460
3465
  var _h = _vm.$createElement;
@@ -3483,7 +3488,7 @@ var __vue_render__$x = function __vue_render__() {
3483
3488
  on: {
3484
3489
  "change": _vm.onChange
3485
3490
  }
3486
- }, 'el-cascader', _vm.$attrs, false), _vm._listeners)) : _vm._e(), _vm._ssrNode(" "), _vm.hasRefresh ? _vm._ssrNode("<div class=\"el-input-group el-input-group--append\" data-v-3e45255c>", "</div>", [_c('el-cascader', _vm._g(_vm._b({
3491
+ }, 'el-cascader', _vm.$attrs, false), _vm._listeners)) : _vm._e(), _vm._ssrNode(" "), _vm.hasRefresh ? _vm._ssrNode("<div class=\"el-input-group el-input-group--append\" data-v-682ee118>", "</div>", [_c('el-cascader', _vm._g(_vm._b({
3487
3492
  directives: [{
3488
3493
  name: "loading",
3489
3494
  rawName: "v-loading",
@@ -3504,7 +3509,7 @@ var __vue_render__$x = function __vue_render__() {
3504
3509
  on: {
3505
3510
  "change": _vm.onChange
3506
3511
  }
3507
- }, 'el-cascader', _vm.$attrs, false), _vm._listeners)), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"el-input-group__append\" data-v-3e45255c>", "</div>", [_c('el-button', {
3512
+ }, 'el-cascader', _vm.$attrs, false), _vm._listeners)), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"el-input-group__append\" data-v-682ee118>", "</div>", [_c('el-button', {
3508
3513
  attrs: {
3509
3514
  "icon": "el-icon-refresh"
3510
3515
  },
@@ -3514,13 +3519,13 @@ var __vue_render__$x = function __vue_render__() {
3514
3519
  })], 1)], 2) : _vm._e()], 2);
3515
3520
  };
3516
3521
 
3517
- var __vue_staticRenderFns__$x = [];
3522
+ var __vue_staticRenderFns__$y = [];
3518
3523
  /* style */
3519
3524
 
3520
3525
  var __vue_inject_styles__$z = function __vue_inject_styles__(inject) {
3521
3526
  if (!inject) return;
3522
- inject("data-v-3e45255c_0", {
3523
- source: ".ui-cascade-field[data-v-3e45255c]{width:100%}.ui-cascade-field-popper[data-v-3e45255c]{z-index:99999!important}.ui-cascade-field-popper .el-cascader-menu__item[data-v-3e45255c]{padding-right:30px}[data-v-3e45255c] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
3527
+ inject("data-v-682ee118_0", {
3528
+ source: ".ui-cascade-field[data-v-682ee118]{width:100%}.ui-cascade-field-popper[data-v-682ee118]{z-index:99999!important}.ui-cascade-field-popper .el-cascader-menu__item[data-v-682ee118]{padding-right:30px}[data-v-682ee118] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
3524
3529
  map: undefined,
3525
3530
  media: undefined
3526
3531
  });
@@ -3528,18 +3533,18 @@ var __vue_inject_styles__$z = function __vue_inject_styles__(inject) {
3528
3533
  /* scoped */
3529
3534
 
3530
3535
 
3531
- var __vue_scope_id__$z = "data-v-3e45255c";
3536
+ var __vue_scope_id__$z = "data-v-682ee118";
3532
3537
  /* module identifier */
3533
3538
 
3534
- var __vue_module_identifier__$z = "data-v-3e45255c";
3539
+ var __vue_module_identifier__$z = "data-v-682ee118";
3535
3540
  /* functional template */
3536
3541
 
3537
3542
  var __vue_is_functional_template__$z = false;
3538
3543
  /* style inject shadow dom */
3539
3544
 
3540
3545
  var __vue_component__$z = /*#__PURE__*/normalizeComponent({
3541
- render: __vue_render__$x,
3542
- staticRenderFns: __vue_staticRenderFns__$x
3546
+ render: __vue_render__$y,
3547
+ staticRenderFns: __vue_staticRenderFns__$y
3543
3548
  }, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, undefined, createInjectorSSR, undefined);
3544
3549
 
3545
3550
  var CascadeField = __vue_component__$z;/**
@@ -3731,7 +3736,7 @@ var script$x = {
3731
3736
  var __vue_script__$y = script$x;
3732
3737
  /* template */
3733
3738
 
3734
- var __vue_render__$w = function __vue_render__() {
3739
+ var __vue_render__$x = function __vue_render__() {
3735
3740
  var _vm = this;
3736
3741
 
3737
3742
  var _h = _vm.$createElement;
@@ -3755,7 +3760,7 @@ var __vue_render__$w = function __vue_render__() {
3755
3760
  }, 'el-date-picker', _vm.$attrs, false), _vm._listeners));
3756
3761
  };
3757
3762
 
3758
- var __vue_staticRenderFns__$w = [];
3763
+ var __vue_staticRenderFns__$x = [];
3759
3764
  /* style */
3760
3765
 
3761
3766
  var __vue_inject_styles__$y = function __vue_inject_styles__(inject) {
@@ -3779,8 +3784,8 @@ var __vue_is_functional_template__$y = false;
3779
3784
  /* style inject shadow dom */
3780
3785
 
3781
3786
  var __vue_component__$y = /*#__PURE__*/normalizeComponent({
3782
- render: __vue_render__$w,
3783
- staticRenderFns: __vue_staticRenderFns__$w
3787
+ render: __vue_render__$x,
3788
+ staticRenderFns: __vue_staticRenderFns__$x
3784
3789
  }, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, undefined, createInjectorSSR, undefined);
3785
3790
 
3786
3791
  var DateField = __vue_component__$y;//
@@ -3848,7 +3853,7 @@ var script$w = {
3848
3853
  var __vue_script__$x = script$w;
3849
3854
  /* template */
3850
3855
 
3851
- var __vue_render__$v = function __vue_render__() {
3856
+ var __vue_render__$w = function __vue_render__() {
3852
3857
  var _vm = this;
3853
3858
 
3854
3859
  var _h = _vm.$createElement;
@@ -3870,7 +3875,7 @@ var __vue_render__$v = function __vue_render__() {
3870
3875
  }, 'el-time-picker', _vm.$attrs, false), _vm._listeners));
3871
3876
  };
3872
3877
 
3873
- var __vue_staticRenderFns__$v = [];
3878
+ var __vue_staticRenderFns__$w = [];
3874
3879
  /* style */
3875
3880
 
3876
3881
  var __vue_inject_styles__$x = function __vue_inject_styles__(inject) {
@@ -3894,8 +3899,8 @@ var __vue_is_functional_template__$x = false;
3894
3899
  /* style inject shadow dom */
3895
3900
 
3896
3901
  var __vue_component__$x = /*#__PURE__*/normalizeComponent({
3897
- render: __vue_render__$v,
3898
- staticRenderFns: __vue_staticRenderFns__$v
3902
+ render: __vue_render__$w,
3903
+ staticRenderFns: __vue_staticRenderFns__$w
3899
3904
  }, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, undefined, createInjectorSSR, undefined);
3900
3905
 
3901
3906
  var TimePickerField = __vue_component__$x;//
@@ -3912,7 +3917,7 @@ var script$v = {
3912
3917
  var __vue_script__$w = script$v;
3913
3918
  /* template */
3914
3919
 
3915
- var __vue_render__$u = function __vue_render__() {
3920
+ var __vue_render__$v = function __vue_render__() {
3916
3921
  var _vm = this;
3917
3922
 
3918
3923
  var _h = _vm.$createElement;
@@ -3927,7 +3932,7 @@ var __vue_render__$u = function __vue_render__() {
3927
3932
  }, 'el-time-select', _vm.$attrs, false), _vm.$listeners));
3928
3933
  };
3929
3934
 
3930
- var __vue_staticRenderFns__$u = [];
3935
+ var __vue_staticRenderFns__$v = [];
3931
3936
  /* style */
3932
3937
 
3933
3938
  var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
@@ -3951,8 +3956,8 @@ var __vue_is_functional_template__$w = false;
3951
3956
  /* style inject shadow dom */
3952
3957
 
3953
3958
  var __vue_component__$w = /*#__PURE__*/normalizeComponent({
3954
- render: __vue_render__$u,
3955
- staticRenderFns: __vue_staticRenderFns__$u
3959
+ render: __vue_render__$v,
3960
+ staticRenderFns: __vue_staticRenderFns__$v
3956
3961
  }, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, undefined, createInjectorSSR, undefined);
3957
3962
 
3958
3963
  var TimeSelectField = __vue_component__$w;//
@@ -4011,7 +4016,7 @@ var script$u = {
4011
4016
  var __vue_script__$v = script$u;
4012
4017
  /* template */
4013
4018
 
4014
- var __vue_render__$t = function __vue_render__() {
4019
+ var __vue_render__$u = function __vue_render__() {
4015
4020
  var _vm = this;
4016
4021
 
4017
4022
  var _h = _vm.$createElement;
@@ -4046,7 +4051,7 @@ var __vue_render__$t = function __vue_render__() {
4046
4051
  })], 2);
4047
4052
  };
4048
4053
 
4049
- var __vue_staticRenderFns__$t = [];
4054
+ var __vue_staticRenderFns__$u = [];
4050
4055
  /* style */
4051
4056
 
4052
4057
  var __vue_inject_styles__$v = function __vue_inject_styles__(inject) {
@@ -4070,8 +4075,8 @@ var __vue_is_functional_template__$v = false;
4070
4075
  /* style inject shadow dom */
4071
4076
 
4072
4077
  var __vue_component__$v = /*#__PURE__*/normalizeComponent({
4073
- render: __vue_render__$t,
4074
- staticRenderFns: __vue_staticRenderFns__$t
4078
+ render: __vue_render__$u,
4079
+ staticRenderFns: __vue_staticRenderFns__$u
4075
4080
  }, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, undefined, createInjectorSSR, undefined);
4076
4081
 
4077
4082
  var DatecCalendarField = __vue_component__$v;var script$t = {
@@ -4144,7 +4149,7 @@ var DatecCalendarField = __vue_component__$v;var script$t = {
4144
4149
  var __vue_script__$u = script$t;
4145
4150
  /* template */
4146
4151
 
4147
- var __vue_render__$s = function __vue_render__() {
4152
+ var __vue_render__$t = function __vue_render__() {
4148
4153
  var _vm = this;
4149
4154
 
4150
4155
  var _h = _vm.$createElement;
@@ -4170,7 +4175,7 @@ var __vue_render__$s = function __vue_render__() {
4170
4175
  }, 'el-slider', _vm.$attrs, false), _vm._listeners));
4171
4176
  };
4172
4177
 
4173
- var __vue_staticRenderFns__$s = [];
4178
+ var __vue_staticRenderFns__$t = [];
4174
4179
  /* style */
4175
4180
 
4176
4181
  var __vue_inject_styles__$u = undefined;
@@ -4190,8 +4195,8 @@ var __vue_is_functional_template__$u = false;
4190
4195
  /* style inject shadow dom */
4191
4196
 
4192
4197
  var __vue_component__$u = /*#__PURE__*/normalizeComponent({
4193
- render: __vue_render__$s,
4194
- staticRenderFns: __vue_staticRenderFns__$s
4198
+ render: __vue_render__$t,
4199
+ staticRenderFns: __vue_staticRenderFns__$t
4195
4200
  }, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, undefined, undefined, undefined);
4196
4201
 
4197
4202
  var SliderField = __vue_component__$u;//
@@ -4202,7 +4207,7 @@ var script$s = {
4202
4207
  var __vue_script__$t = script$s;
4203
4208
  /* template */
4204
4209
 
4205
- var __vue_render__$r = function __vue_render__() {
4210
+ var __vue_render__$s = function __vue_render__() {
4206
4211
  var _vm = this;
4207
4212
 
4208
4213
  var _h = _vm.$createElement;
@@ -4216,7 +4221,7 @@ var __vue_render__$r = function __vue_render__() {
4216
4221
  }, 'el-switch', _vm.$attrs, false), _vm.$listeners));
4217
4222
  };
4218
4223
 
4219
- var __vue_staticRenderFns__$r = [];
4224
+ var __vue_staticRenderFns__$s = [];
4220
4225
  /* style */
4221
4226
 
4222
4227
  var __vue_inject_styles__$t = undefined;
@@ -4236,8 +4241,8 @@ var __vue_is_functional_template__$t = false;
4236
4241
  /* style inject shadow dom */
4237
4242
 
4238
4243
  var __vue_component__$t = /*#__PURE__*/normalizeComponent({
4239
- render: __vue_render__$r,
4240
- staticRenderFns: __vue_staticRenderFns__$r
4244
+ render: __vue_render__$s,
4245
+ staticRenderFns: __vue_staticRenderFns__$s
4241
4246
  }, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, undefined, undefined);
4242
4247
 
4243
4248
  var SwitchField = __vue_component__$t;//
@@ -4274,7 +4279,7 @@ var script$r = {
4274
4279
  var __vue_script__$s = script$r;
4275
4280
  /* template */
4276
4281
 
4277
- var __vue_render__$q = function __vue_render__() {
4282
+ var __vue_render__$r = function __vue_render__() {
4278
4283
  var _vm = this;
4279
4284
 
4280
4285
  var _h = _vm.$createElement;
@@ -4295,7 +4300,7 @@ var __vue_render__$q = function __vue_render__() {
4295
4300
  }, 'el-rate', _vm.$attrs, false), _vm._listeners));
4296
4301
  };
4297
4302
 
4298
- var __vue_staticRenderFns__$q = [];
4303
+ var __vue_staticRenderFns__$r = [];
4299
4304
  /* style */
4300
4305
 
4301
4306
  var __vue_inject_styles__$s = undefined;
@@ -4315,8 +4320,8 @@ var __vue_is_functional_template__$s = false;
4315
4320
  /* style inject shadow dom */
4316
4321
 
4317
4322
  var __vue_component__$s = /*#__PURE__*/normalizeComponent({
4318
- render: __vue_render__$q,
4319
- staticRenderFns: __vue_staticRenderFns__$q
4323
+ render: __vue_render__$r,
4324
+ staticRenderFns: __vue_staticRenderFns__$r
4320
4325
  }, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, undefined, undefined, undefined);
4321
4326
 
4322
4327
  var RateField = __vue_component__$s;//
@@ -4333,7 +4338,7 @@ var script$q = {
4333
4338
  var __vue_script__$r = script$q;
4334
4339
  /* template */
4335
4340
 
4336
- var __vue_render__$p = function __vue_render__() {
4341
+ var __vue_render__$q = function __vue_render__() {
4337
4342
  var _vm = this;
4338
4343
 
4339
4344
  var _h = _vm.$createElement;
@@ -4349,7 +4354,7 @@ var __vue_render__$p = function __vue_render__() {
4349
4354
  }, 'el-color-picker', _vm.$attrs, false), _vm.$listeners));
4350
4355
  };
4351
4356
 
4352
- var __vue_staticRenderFns__$p = [];
4357
+ var __vue_staticRenderFns__$q = [];
4353
4358
  /* style */
4354
4359
 
4355
4360
  var __vue_inject_styles__$r = function __vue_inject_styles__(inject) {
@@ -4373,8 +4378,8 @@ var __vue_is_functional_template__$r = false;
4373
4378
  /* style inject shadow dom */
4374
4379
 
4375
4380
  var __vue_component__$r = /*#__PURE__*/normalizeComponent({
4376
- render: __vue_render__$p,
4377
- staticRenderFns: __vue_staticRenderFns__$p
4381
+ render: __vue_render__$q,
4382
+ staticRenderFns: __vue_staticRenderFns__$q
4378
4383
  }, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, undefined, createInjectorSSR, undefined);
4379
4384
 
4380
4385
  var ColorField = __vue_component__$r;var Upload = {
@@ -4426,10 +4431,10 @@ var ColorField = __vue_component__$r;var Upload = {
4426
4431
  });
4427
4432
  });
4428
4433
  }
4429
- };var _excluded$8 = ["upload"];
4434
+ };var _excluded$7 = ["upload"];
4430
4435
  var quillRedefine = function quillRedefine(config) {
4431
4436
  var upload = config.upload,
4432
- cfg = _objectWithoutProperties(config, _excluded$8); // 重写图片上传事件, 任何工具按钮的功能都可以重写,默认只重写图片上传事件
4437
+ cfg = _objectWithoutProperties(config, _excluded$7); // 重写图片上传事件, 任何工具按钮的功能都可以重写,默认只重写图片上传事件
4433
4438
  // 合并用户自定义的事件
4434
4439
 
4435
4440
 
@@ -4600,7 +4605,7 @@ var RichField$1 = {
4600
4605
  var __vue_script__$q = RichField$1;
4601
4606
  /* template */
4602
4607
 
4603
- var __vue_render__$o = function __vue_render__() {
4608
+ var __vue_render__$p = function __vue_render__() {
4604
4609
  var _vm = this;
4605
4610
 
4606
4611
  var _h = _vm.$createElement;
@@ -4618,17 +4623,17 @@ var __vue_render__$o = function __vue_render__() {
4618
4623
  });
4619
4624
  };
4620
4625
 
4621
- var __vue_staticRenderFns__$o = [];
4626
+ var __vue_staticRenderFns__$p = [];
4622
4627
  /* style */
4623
4628
 
4624
4629
  var __vue_inject_styles__$q = function __vue_inject_styles__(inject) {
4625
4630
  if (!inject) return;
4626
- inject("data-v-52e02522_0", {
4631
+ inject("data-v-29bc4604_0", {
4627
4632
  source: ".quill-editor .ql-font span[data-value=Arial]::before{content:\"Arial\"!important;font-family:Arial,serif}.quill-editor .ql-font span[data-value=FangSong]::before{content:\"仿宋\"!important;font-family:\"仿宋_GB2312\",FangSong_GB2312,\"宋体\",SimSun,STFangsong,STSong,serif}.quill-editor .ql-font span[data-value=HeiTi]::before{content:\"黑体\"!important;font-family:\"黑体\",SimHei,\"微软正黑体\",\"Microsoft JhengHei\",STHeiti,serif}.quill-editor .ql-font span[data-value=Microsoft]::before{content:\"微软雅黑\"!important;font-family:\"微软雅黑\",\"Microsoft YaHei\",serif}.quill-editor .ql-font-Arial{font-family:Arial,serif}.quill-editor .ql-font-FangSong{font-family:\"仿宋_GB2312\",FangSong_GB2312,\"宋体\",SimSun,STFangsong,STSong,serif}.quill-editor .ql-font-HeiTi{font-family:\"黑体\",SimHei,\"微软正黑体\",\"Microsoft JhengHei\",STHeiti,serif}.quill-editor .ql-font-Microsoft{font-family:\"微软雅黑\",\"Microsoft YaHei\",serif}",
4628
4633
  map: undefined,
4629
4634
  media: undefined
4630
- }), inject("data-v-52e02522_1", {
4631
- source: ".quill-editor[data-v-52e02522]{width:100%;display:flex;align-items:initial!important;flex-direction:column}.quill-editor .ql-toolbar[data-v-52e02522]{flex:none}.quill-editor .ql-container[data-v-52e02522]{flex:auto;height:initial;display:flex;flex-direction:column}.quill-editor .ql-container .ql-editor[data-v-52e02522]{flex:auto}.quill-editor[data-v-52e02522] .ql-editor{min-height:200px}",
4635
+ }), inject("data-v-29bc4604_1", {
4636
+ source: ".quill-editor[data-v-29bc4604]{width:100%;display:flex;align-items:initial!important;flex-direction:column}.quill-editor .ql-toolbar[data-v-29bc4604]{flex:none}.quill-editor .ql-container[data-v-29bc4604]{flex:auto;height:initial;display:flex;flex-direction:column}.quill-editor .ql-container .ql-editor[data-v-29bc4604]{flex:auto}.quill-editor[data-v-29bc4604] .ql-editor{min-height:200px}",
4632
4637
  map: undefined,
4633
4638
  media: undefined
4634
4639
  });
@@ -4636,18 +4641,18 @@ var __vue_inject_styles__$q = function __vue_inject_styles__(inject) {
4636
4641
  /* scoped */
4637
4642
 
4638
4643
 
4639
- var __vue_scope_id__$q = "data-v-52e02522";
4644
+ var __vue_scope_id__$q = "data-v-29bc4604";
4640
4645
  /* module identifier */
4641
4646
 
4642
- var __vue_module_identifier__$q = "data-v-52e02522";
4647
+ var __vue_module_identifier__$q = "data-v-29bc4604";
4643
4648
  /* functional template */
4644
4649
 
4645
4650
  var __vue_is_functional_template__$q = false;
4646
4651
  /* style inject shadow dom */
4647
4652
 
4648
4653
  var __vue_component__$q = /*#__PURE__*/normalizeComponent({
4649
- render: __vue_render__$o,
4650
- staticRenderFns: __vue_staticRenderFns__$o
4654
+ render: __vue_render__$p,
4655
+ staticRenderFns: __vue_staticRenderFns__$p
4651
4656
  }, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, createInjectorSSR, undefined);
4652
4657
 
4653
4658
  var RichField = __vue_component__$q;var getUrlSuffix = function getUrlSuffix(url) {
@@ -4720,7 +4725,7 @@ var script$p = {
4720
4725
  },
4721
4726
  createAttachmentUrl: {
4722
4727
  type: String,
4723
- default: '/Sys/SysAttachment/create'
4728
+ default: '/System/SystemSysAttachment/create'
4724
4729
  },
4725
4730
  createAttachmentParams: null,
4726
4731
  createAttachment: {
@@ -4832,7 +4837,7 @@ var script$p = {
4832
4837
  var __vue_script__$p = script$p;
4833
4838
  /* template */
4834
4839
 
4835
- var __vue_render__$n = function __vue_render__() {
4840
+ var __vue_render__$o = function __vue_render__() {
4836
4841
  var _vm = this;
4837
4842
 
4838
4843
  var _h = _vm.$createElement;
@@ -4863,18 +4868,18 @@ var __vue_render__$n = function __vue_render__() {
4863
4868
  class: {
4864
4869
  disabled: _vm.uploading
4865
4870
  }
4866
- }, [_vm._v("浏览...")])]) : _vm._e(), _vm._ssrNode(" <div class=\"files\" data-v-19ac5bf8>" + _vm._ssrList(_vm.pickerValue, function (url, index) {
4867
- return !!url ? "<div class=\"file\" data-v-19ac5bf8><i class=\"el-icon-document\" data-v-19ac5bf8> </i> <a" + _vm._ssrAttr("href", url) + " target=\"_blank\" data-v-19ac5bf8>" + _vm._ssrEscape(_vm._s(_vm.getFileName(url))) + "</a> " + (_vm.hasDeleteBtn ? "<span class=\"close\" data-v-19ac5bf8><i class=\"el-icon-close\" data-v-19ac5bf8></i></span>" : "<!---->") + "</div>" : "<!---->";
4871
+ }, [_vm._v("浏览...")])]) : _vm._e(), _vm._ssrNode(" <div class=\"files\" data-v-6ad1ec4e>" + _vm._ssrList(_vm.pickerValue, function (url, index) {
4872
+ return !!url ? "<div class=\"file\" data-v-6ad1ec4e><i class=\"el-icon-document\" data-v-6ad1ec4e> </i> <a" + _vm._ssrAttr("href", url) + " target=\"_blank\" data-v-6ad1ec4e>" + _vm._ssrEscape(_vm._s(_vm.getFileName(url))) + "</a> " + (_vm.hasDeleteBtn ? "<span class=\"close\" data-v-6ad1ec4e><i class=\"el-icon-close\" data-v-6ad1ec4e></i></span>" : "<!---->") + "</div>" : "<!---->";
4868
4873
  }) + "</div>")], 2);
4869
4874
  };
4870
4875
 
4871
- var __vue_staticRenderFns__$n = [];
4876
+ var __vue_staticRenderFns__$o = [];
4872
4877
  /* style */
4873
4878
 
4874
4879
  var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
4875
4880
  if (!inject) return;
4876
- inject("data-v-19ac5bf8_0", {
4877
- source: ".ui-file-upload-field[data-v-19ac5bf8]{width:100%}.ui-file-upload-field .uploader[data-v-19ac5bf8]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-19ac5bf8] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-19ac5bf8] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-19ac5bf8]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-19ac5bf8]:hover{background-color:#0d84ff}.ui-file-upload-field .files .file[data-v-19ac5bf8]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;line-height:28px;display:flex;align-items:center}.ui-file-upload-field .files .file a[data-v-19ac5bf8]{flex:1;color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-19ac5bf8]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-19ac5bf8]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-19ac5bf8]{color:#409eff}.ui-file-upload-field .files .file:hover .close[data-v-19ac5bf8]{color:#409eff;visibility:visible}",
4881
+ inject("data-v-6ad1ec4e_0", {
4882
+ source: ".ui-file-upload-field[data-v-6ad1ec4e]{width:100%}.ui-file-upload-field .uploader[data-v-6ad1ec4e]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-6ad1ec4e] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-6ad1ec4e] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-6ad1ec4e]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-6ad1ec4e]:hover{background-color:#0d84ff}.ui-file-upload-field .files .file[data-v-6ad1ec4e]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;line-height:28px;display:flex;align-items:center}.ui-file-upload-field .files .file a[data-v-6ad1ec4e]{flex:1;color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-6ad1ec4e]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-6ad1ec4e]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-6ad1ec4e]{color:#409eff}.ui-file-upload-field .files .file:hover .close[data-v-6ad1ec4e]{color:#409eff;visibility:visible}",
4878
4883
  map: undefined,
4879
4884
  media: undefined
4880
4885
  });
@@ -4882,18 +4887,18 @@ var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
4882
4887
  /* scoped */
4883
4888
 
4884
4889
 
4885
- var __vue_scope_id__$p = "data-v-19ac5bf8";
4890
+ var __vue_scope_id__$p = "data-v-6ad1ec4e";
4886
4891
  /* module identifier */
4887
4892
 
4888
- var __vue_module_identifier__$p = "data-v-19ac5bf8";
4893
+ var __vue_module_identifier__$p = "data-v-6ad1ec4e";
4889
4894
  /* functional template */
4890
4895
 
4891
4896
  var __vue_is_functional_template__$p = false;
4892
4897
  /* style inject shadow dom */
4893
4898
 
4894
4899
  var __vue_component__$p = /*#__PURE__*/normalizeComponent({
4895
- render: __vue_render__$n,
4896
- staticRenderFns: __vue_staticRenderFns__$n
4900
+ render: __vue_render__$o,
4901
+ staticRenderFns: __vue_staticRenderFns__$o
4897
4902
  }, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, createInjectorSSR, undefined);
4898
4903
 
4899
4904
  var FileUploadField = __vue_component__$p;//
@@ -4918,7 +4923,7 @@ var script$o = {
4918
4923
  var __vue_script__$o = script$o;
4919
4924
  /* template */
4920
4925
 
4921
- var __vue_render__$m = function __vue_render__() {
4926
+ var __vue_render__$n = function __vue_render__() {
4922
4927
  var _vm = this;
4923
4928
 
4924
4929
  var _h = _vm.$createElement;
@@ -4962,7 +4967,7 @@ var __vue_render__$m = function __vue_render__() {
4962
4967
  }), _vm._v(" "), _c('span', [_vm._v("上传图片")])])]) : _vm._e()], 2);
4963
4968
  };
4964
4969
 
4965
- var __vue_staticRenderFns__$m = [];
4970
+ var __vue_staticRenderFns__$n = [];
4966
4971
  /* style */
4967
4972
 
4968
4973
  var __vue_inject_styles__$o = function __vue_inject_styles__(inject) {
@@ -4986,8 +4991,8 @@ var __vue_is_functional_template__$o = false;
4986
4991
  /* style inject shadow dom */
4987
4992
 
4988
4993
  var __vue_component__$o = /*#__PURE__*/normalizeComponent({
4989
- render: __vue_render__$m,
4990
- staticRenderFns: __vue_staticRenderFns__$m
4994
+ render: __vue_render__$n,
4995
+ staticRenderFns: __vue_staticRenderFns__$n
4991
4996
  }, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, undefined, createInjectorSSR, undefined);
4992
4997
 
4993
4998
  var ImageUploadField = __vue_component__$o;//
@@ -5028,7 +5033,7 @@ var script$n = {
5028
5033
  var __vue_script__$n = script$n;
5029
5034
  /* template */
5030
5035
 
5031
- var __vue_render__$l = function __vue_render__() {
5036
+ var __vue_render__$m = function __vue_render__() {
5032
5037
  var _vm = this;
5033
5038
 
5034
5039
  var _h = _vm.$createElement;
@@ -5070,7 +5075,7 @@ var __vue_render__$l = function __vue_render__() {
5070
5075
  }, 'ui-dialog', _vm.dialog, false), _vm.$listeners), [_vm._t("default")], 2)], 2);
5071
5076
  };
5072
5077
 
5073
- var __vue_staticRenderFns__$l = [];
5078
+ var __vue_staticRenderFns__$m = [];
5074
5079
  /* style */
5075
5080
 
5076
5081
  var __vue_inject_styles__$n = undefined;
@@ -5090,8 +5095,8 @@ var __vue_is_functional_template__$n = false;
5090
5095
  /* style inject shadow dom */
5091
5096
 
5092
5097
  var __vue_component__$n = /*#__PURE__*/normalizeComponent({
5093
- render: __vue_render__$l,
5094
- staticRenderFns: __vue_staticRenderFns__$l
5098
+ render: __vue_render__$m,
5099
+ staticRenderFns: __vue_staticRenderFns__$m
5095
5100
  }, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, undefined, undefined);
5096
5101
 
5097
5102
  var DialogTrigger = __vue_component__$n;//
@@ -5138,7 +5143,7 @@ var script$m = {
5138
5143
  var __vue_script__$m = script$m;
5139
5144
  /* template */
5140
5145
 
5141
- var __vue_render__$k = function __vue_render__() {
5146
+ var __vue_render__$l = function __vue_render__() {
5142
5147
  var _vm = this;
5143
5148
 
5144
5149
  var _h = _vm.$createElement;
@@ -5183,7 +5188,7 @@ var __vue_render__$k = function __vue_render__() {
5183
5188
  })], 2)], 2);
5184
5189
  };
5185
5190
 
5186
- var __vue_staticRenderFns__$k = [];
5191
+ var __vue_staticRenderFns__$l = [];
5187
5192
  /* style */
5188
5193
 
5189
5194
  var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
@@ -5207,8 +5212,8 @@ var __vue_is_functional_template__$m = false;
5207
5212
  /* style inject shadow dom */
5208
5213
 
5209
5214
  var __vue_component__$m = /*#__PURE__*/normalizeComponent({
5210
- render: __vue_render__$k,
5211
- staticRenderFns: __vue_staticRenderFns__$k
5215
+ render: __vue_render__$l,
5216
+ staticRenderFns: __vue_staticRenderFns__$l
5212
5217
  }, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, undefined, createInjectorSSR, undefined);
5213
5218
 
5214
5219
  var PopoverTrigger = __vue_component__$m;var TriggerField = {
@@ -5298,7 +5303,7 @@ var PopoverTrigger = __vue_component__$m;var TriggerField = {
5298
5303
  var __vue_script__$l = script$l;
5299
5304
  /* template */
5300
5305
 
5301
- var __vue_render__$j = function __vue_render__() {
5306
+ var __vue_render__$k = function __vue_render__() {
5302
5307
  var _vm = this;
5303
5308
 
5304
5309
  var _h = _vm.$createElement;
@@ -5368,13 +5373,13 @@ var __vue_render__$j = function __vue_render__() {
5368
5373
  }), 0)])], 1)]);
5369
5374
  };
5370
5375
 
5371
- var __vue_staticRenderFns__$j = [];
5376
+ var __vue_staticRenderFns__$k = [];
5372
5377
  /* style */
5373
5378
 
5374
5379
  var __vue_inject_styles__$l = function __vue_inject_styles__(inject) {
5375
5380
  if (!inject) return;
5376
- inject("data-v-12b8c18e_0", {
5377
- source: ".ui-field-icons .filter[data-v-12b8c18e]{margin-bottom:10px}.ui-field-icons .filter[data-v-12b8c18e] .el-input__validateIcon{display:none}.ui-field-icons .scroll[data-v-12b8c18e]{height:200px;overflow:auto}.ui-field-icons .icons[data-v-12b8c18e]{display:flex;flex-wrap:wrap}.ui-field-icons .icons .icon[data-v-12b8c18e]{flex:none;width:150px;height:28px;margin:2px;padding:4px;border-radius:2px;cursor:pointer;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:row;align-items:center}.ui-field-icons .icons .icon[data-v-12b8c18e]:hover{background:#eaeaea}.ui-field-icons .icons .icon.active[data-v-12b8c18e]{color:#409eff;box-shadow:inset 0 0 3px #666}.ui-field-icons .icons .icon .ui-icon[data-v-12b8c18e]{margin-right:4px}.ui-field-icons .icons .icon span[data-v-12b8c18e]{flex:1}",
5381
+ inject("data-v-ff53bcba_0", {
5382
+ source: ".ui-field-icons .filter[data-v-ff53bcba]{margin-bottom:10px}.ui-field-icons .filter[data-v-ff53bcba] .el-input__validateIcon{display:none}.ui-field-icons .scroll[data-v-ff53bcba]{height:200px;overflow:auto}.ui-field-icons .icons[data-v-ff53bcba]{display:flex;flex-wrap:wrap}.ui-field-icons .icons .icon[data-v-ff53bcba]{flex:none;width:150px;height:28px;margin:2px;padding:4px;border-radius:2px;cursor:pointer;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:row;align-items:center}.ui-field-icons .icons .icon[data-v-ff53bcba]:hover{background:#eaeaea}.ui-field-icons .icons .icon.active[data-v-ff53bcba]{color:#409eff;box-shadow:inset 0 0 3px #666}.ui-field-icons .icons .icon .ui-icon[data-v-ff53bcba]{margin-right:4px}.ui-field-icons .icons .icon span[data-v-ff53bcba]{flex:1}",
5378
5383
  map: undefined,
5379
5384
  media: undefined
5380
5385
  });
@@ -5382,83 +5387,1155 @@ var __vue_inject_styles__$l = function __vue_inject_styles__(inject) {
5382
5387
  /* scoped */
5383
5388
 
5384
5389
 
5385
- var __vue_scope_id__$l = "data-v-12b8c18e";
5390
+ var __vue_scope_id__$l = "data-v-ff53bcba";
5386
5391
  /* module identifier */
5387
5392
 
5388
- var __vue_module_identifier__$l = "data-v-12b8c18e";
5393
+ var __vue_module_identifier__$l = "data-v-ff53bcba";
5389
5394
  /* functional template */
5390
5395
 
5391
5396
  var __vue_is_functional_template__$l = false;
5392
5397
  /* style inject shadow dom */
5393
5398
 
5394
5399
  var __vue_component__$l = /*#__PURE__*/normalizeComponent({
5395
- render: __vue_render__$j,
5396
- staticRenderFns: __vue_staticRenderFns__$j
5400
+ render: __vue_render__$k,
5401
+ staticRenderFns: __vue_staticRenderFns__$k
5397
5402
  }, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, undefined, createInjectorSSR, undefined);
5398
5403
 
5399
- var IconsField = __vue_component__$l;var fields = Object.create(null, {
5400
- text: {
5401
- enumerable: true,
5402
- value: TextField
5404
+ var IconsField = __vue_component__$l;var getAMap = function getAMap() {
5405
+ var plugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5406
+ var setting = getSetting();
5407
+ return AMapLoader__default["default"].load(_objectSpread2(_objectSpread2({}, setting.amap), {}, {
5408
+ plugins: plugins
5409
+ }));
5410
+ };var CoordTypes$1 = {
5411
+ bd09: gcoord__default["default"].BD09,
5412
+ gcj02: gcoord__default["default"].GCJ02,
5413
+ wgs84: gcoord__default["default"].WGS84
5414
+ };
5415
+ var script$k = {
5416
+ name: 'ui-field-latlng',
5417
+ mixins: [FieldMixin],
5418
+ props: {
5419
+ coordType: {
5420
+ type: String,
5421
+ default: 'wgs84',
5422
+ validator: function validator(val) {
5423
+ return Object.keys(CoordTypes$1).includes(val);
5424
+ }
5425
+ }
5403
5426
  },
5404
- textarea: {
5405
- enumerable: true,
5406
- value: TextField
5427
+ data: function data() {
5428
+ return {
5429
+ loading: true,
5430
+ keyword: ''
5431
+ };
5407
5432
  },
5408
- password: {
5409
- enumerable: true,
5410
- value: TextField
5411
- }
5412
- });
5413
- /**
5414
- *
5415
- * @param type {string}
5416
- * @param field
5417
- */
5433
+ computed: {
5434
+ point: function point() {
5435
+ if (!this.value) {
5436
+ return null;
5437
+ }
5418
5438
 
5419
- var addFieldType = function addFieldType(type, field) {
5420
- if (Objects.hasProp(fields, type)) {
5421
- console.warn("already have a ".concat(type, " field"));
5422
- return;
5423
- }
5439
+ if (!this.isValidPoint(this.value)) {
5440
+ return null;
5441
+ }
5424
5442
 
5425
- fields[type] = field;
5426
- };
5443
+ var _this$value$split = this.value.split(','),
5444
+ _this$value$split2 = _slicedToArray(_this$value$split, 2),
5445
+ lat = _this$value$split2[0],
5446
+ lng = _this$value$split2[1];
5427
5447
 
5428
- var initDefaultField = function initDefaultField() {
5429
- addFieldType('hidden', HiddenField);
5430
- addFieldType('display', DisplayField);
5431
- addFieldType('autocomplete', AutocompleteField);
5432
- addFieldType('radio', RadioField);
5433
- addFieldType('checkbox', CheckboxField);
5434
- addFieldType('select', SelectField);
5435
- addFieldType('number', NumberField);
5436
- addFieldType('cascade', CascadeField);
5437
- addFieldType('year', DateField);
5438
- addFieldType('month', DateField);
5439
- addFieldType('monthrange', DateField);
5440
- addFieldType('date', DateField);
5441
- addFieldType('dates', DateField);
5442
- addFieldType('week', DateField);
5443
- addFieldType('datetime', DateField);
5444
- addFieldType('datetimerange', DateField);
5445
- addFieldType('daterange', DateField);
5446
- addFieldType('datecCalendar', DatecCalendarField);
5447
- addFieldType('timepicker', TimePickerField);
5448
- addFieldType('timeselect', TimeSelectField);
5449
- addFieldType('slider', SliderField);
5450
- addFieldType('switch', SwitchField);
5451
- addFieldType('rate', RateField);
5452
- addFieldType('color', ColorField);
5453
- addFieldType('rich', RichField); // 根据业务自己按需引入
5448
+ return {
5449
+ lat: +lat,
5450
+ lng: +lng
5451
+ };
5452
+ }
5453
+ },
5454
+ watch: {
5455
+ point: function point(p) {
5456
+ this.onPointChange(p);
5457
+ }
5458
+ },
5459
+ methods: {
5460
+ init: function init() {
5461
+ var _this = this;
5454
5462
 
5455
- addFieldType('file', FileUploadField);
5456
- addFieldType('image', ImageUploadField);
5457
- addFieldType('trigger', TriggerField);
5458
- addFieldType('icons', IconsField);
5459
- };
5463
+ getAMap(['AMap.ToolBar', 'AMap.Geolocation', 'AMap.AutoComplete']).then(function (AMap) {
5464
+ _this.initMap(AMap);
5460
5465
 
5461
- initDefaultField();
5466
+ _this.loading = false;
5467
+
5468
+ _this.done();
5469
+ });
5470
+ },
5471
+ initMap: function initMap(AMap) {
5472
+ var map = new AMap.Map(this.$el.querySelector('.map'), {
5473
+ zoom: 11
5474
+ });
5475
+ map.addControl(new AMap.ToolBar({
5476
+ position: 'RT'
5477
+ }));
5478
+ map.addControl(new AMap.Geolocation({
5479
+ position: 'RB'
5480
+ }));
5481
+ var auto = new AMap.AutoComplete({
5482
+ input: this.$refs.input,
5483
+ output: this.$refs.output
5484
+ });
5485
+ map.on('click', this.onMapClick);
5486
+ auto.on('select', function (event) {
5487
+ if (!event.poi || !event.poi.location) {
5488
+ return;
5489
+ }
5490
+
5491
+ map.setZoomAndCenter(16, event.poi.location);
5492
+ });
5493
+ this.map = map;
5494
+ this.onPointChange(this.point);
5495
+ },
5496
+ isValidPoint: function isValidPoint(val) {
5497
+ var _val$split = val.split(','),
5498
+ _val$split2 = _slicedToArray(_val$split, 2),
5499
+ lat = _val$split2[0],
5500
+ lng = _val$split2[1];
5501
+
5502
+ return !(isNaN(+lat) || isNaN(+lng));
5503
+ },
5504
+ onMapClick: function onMapClick(_ref) {
5505
+ var lnglat = _ref.lnglat;
5506
+ var lat = lnglat.lat,
5507
+ lng = lnglat.lng; // 当前地图是 GCJ02 坐标系
5508
+
5509
+ if (this.coordType !== 'gcj02') {
5510
+ var _gcoord$transform = gcoord__default["default"].transform([lng, lat], gcoord__default["default"].GCJ02, CoordTypes$1[this.coordType]);
5511
+
5512
+ var _gcoord$transform2 = _slicedToArray(_gcoord$transform, 2);
5513
+
5514
+ lng = _gcoord$transform2[0];
5515
+ lat = _gcoord$transform2[1];
5516
+ lng = lng.toFixed(7) / 1;
5517
+ lat = lat.toFixed(7) / 1;
5518
+ }
5519
+
5520
+ this.onChange([lat, lng].join(','));
5521
+ },
5522
+ onPointChange: function onPointChange(point) {
5523
+ if (!this.map) {
5524
+ return;
5525
+ }
5526
+
5527
+ this.map.clearMap();
5528
+
5529
+ if (!point) {
5530
+ return;
5531
+ }
5532
+
5533
+ var lng = point.lng,
5534
+ lat = point.lat; // 当前地图是 GCJ02 坐标系
5535
+
5536
+ if (this.coordType !== 'gcj02') {
5537
+ var _gcoord$transform3 = gcoord__default["default"].transform([lng, lat], CoordTypes$1[this.coordType], gcoord__default["default"].GCJ02);
5538
+
5539
+ var _gcoord$transform4 = _slicedToArray(_gcoord$transform3, 2);
5540
+
5541
+ lng = _gcoord$transform4[0];
5542
+ lat = _gcoord$transform4[1];
5543
+ } // eslint-disable-next-line no-undef
5544
+
5545
+
5546
+ var marker = new AMap.Marker({
5547
+ position: new AMap.LngLat(lng, lat)
5548
+ });
5549
+ this.map.add(marker);
5550
+ this.map.setCenter([lng, lat]);
5551
+ }
5552
+ }
5553
+ };/* script */
5554
+ var __vue_script__$k = script$k;
5555
+ /* template */
5556
+
5557
+ var __vue_render__$j = function __vue_render__() {
5558
+ var _vm = this;
5559
+
5560
+ var _h = _vm.$createElement;
5561
+
5562
+ var _c = _vm._self._c || _h;
5563
+
5564
+ return _c('div', {
5565
+ directives: [{
5566
+ name: "loading",
5567
+ rawName: "v-loading",
5568
+ value: _vm.loading,
5569
+ expression: "loading"
5570
+ }],
5571
+ staticClass: "ui-field-latlng"
5572
+ }, [_vm._ssrNode("<div class=\"map\"></div> <div class=\"info\"" + _vm._ssrStyle(null, null, {
5573
+ display: !_vm.loading ? '' : 'none'
5574
+ }) + "><div class=\"input-item searchbox\"><div class=\"input-item-prepend\"><span class=\"input-item-text\">搜索关键字</span></div> <input type=\"text\" form=\"__ignore__\" placeholder=\"请输入...\"> <div class=\"search-result\"></div></div></div>")]);
5575
+ };
5576
+
5577
+ var __vue_staticRenderFns__$j = [];
5578
+ /* style */
5579
+
5580
+ var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
5581
+ if (!inject) return;
5582
+ inject("data-v-26777c3e_0", {
5583
+ source: ".ui-field-latlng{width:100%;height:280px;position:relative}.ui-field-latlng .map{width:100%;height:100%}.ui-field-latlng .info{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ui-field-latlng .info .searchbox{left:12px;top:12px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);pointer-events:initial;border-radius:3px;padding:3px}.ui-field-latlng .info .searchbox .search-result{position:absolute;top:calc(100% - 2px);left:0;right:0;background-color:#fefefe;box-shadow:0 1px 3px #999;visibility:hidden;border-radius:0 0 3px 3px}.ui-field-latlng .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-latlng .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-latlng .input-item .input-item-prepend{margin-right:-1px}.ui-field-latlng .input-item .input-item-prepend .input-item-text{padding:.25em .5em;display:block;text-justify:distribute-all-lines;text-align-last:justify;align-items:center;margin-bottom:0;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem 0 0 .25rem;box-sizing:border-box}.ui-field-latlng .input-item input{position:relative;flex:1 1 auto;width:1%;margin:0;background:#fff;padding:.25em .5em;display:inline-block;line-height:1.5;color:#495057;vertical-align:middle;border:1px solid #ced4da;border-radius:0 .25rem .25rem 0;appearance:none;box-sizing:border-box}.ui-field-latlng .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-latlng .amap-copyright,.ui-field-latlng .amap-logo{display:none!important}",
5584
+ map: undefined,
5585
+ media: undefined
5586
+ });
5587
+ };
5588
+ /* scoped */
5589
+
5590
+
5591
+ var __vue_scope_id__$k = undefined;
5592
+ /* module identifier */
5593
+
5594
+ var __vue_module_identifier__$k = "data-v-26777c3e";
5595
+ /* functional template */
5596
+
5597
+ var __vue_is_functional_template__$k = false;
5598
+ /* style inject shadow dom */
5599
+
5600
+ var __vue_component__$k = /*#__PURE__*/normalizeComponent({
5601
+ render: __vue_render__$j,
5602
+ staticRenderFns: __vue_staticRenderFns__$j
5603
+ }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, createInjectorSSR, undefined);
5604
+
5605
+ var LnglatField = __vue_component__$k;var CoordTypes = {
5606
+ bd09: gcoord__default["default"].BD09,
5607
+ gcj02: gcoord__default["default"].GCJ02,
5608
+ wgs84: gcoord__default["default"].WGS84
5609
+ };
5610
+ var Types = {
5611
+ marker: 'AMap.Marker',
5612
+ polyline: 'Overlay.Polyline',
5613
+ circle: 'Overlay.Circle',
5614
+ polygon: 'Overlay.Polygon'
5615
+ };
5616
+ var script$j = {
5617
+ name: 'ui-field-fence',
5618
+ mixins: [FieldMixin],
5619
+ props: {
5620
+ /**
5621
+ * value:
5622
+ * {
5623
+ * markers: [[lng, lat], ...],
5624
+ * circles: [{center: [lng, lat], radius}, ...],
5625
+ * polylines: [[[lng,lat], ...], ...],
5626
+ * polygons: [[[lng,lat], ...], ...],
5627
+ * }
5628
+ */
5629
+ coordType: {
5630
+ type: String,
5631
+ default: 'wgs84',
5632
+ validator: function validator(val) {
5633
+ return Object.keys(CoordTypes).includes(val);
5634
+ }
5635
+ },
5636
+
5637
+ /**
5638
+ * 'marker,polyline,circle,polygon'
5639
+ */
5640
+ tools: {
5641
+ type: String,
5642
+ default: 'marker,polyline,circle,polygon'
5643
+ },
5644
+ help: {
5645
+ type: Boolean,
5646
+ default: true
5647
+ },
5648
+ clear: {
5649
+ type: Boolean,
5650
+ default: true
5651
+ },
5652
+ multiple: {
5653
+ type: Boolean,
5654
+ default: false
5655
+ },
5656
+
5657
+ /**
5658
+ * 0:表示无限制
5659
+ */
5660
+ limit: {
5661
+ type: Number,
5662
+ default: 0
5663
+ },
5664
+
5665
+ /**
5666
+ * 地图缩放
5667
+ * 缩放范围 2~20
5668
+ */
5669
+ zoom: {
5670
+ type: Number,
5671
+ default: 15,
5672
+ validator: function validator(val) {
5673
+ return 2 <= val && val <= 20;
5674
+ }
5675
+ },
5676
+
5677
+ /**
5678
+ * 中心点
5679
+ * 'lng,lat' 字符串
5680
+ */
5681
+ center: String,
5682
+ disabled: Boolean
5683
+ },
5684
+ data: function data() {
5685
+ return {
5686
+ loading: true,
5687
+ keyword: '',
5688
+ drawing: false
5689
+ };
5690
+ },
5691
+ computed: {
5692
+ toolList: function toolList() {
5693
+ return (this.tools || '').split(',').filter(function (tool) {
5694
+ return Object.keys(Types).includes(tool);
5695
+ });
5696
+ },
5697
+ realLimit: function realLimit() {
5698
+ if (this.multiple) {
5699
+ return this.limit;
5700
+ }
5701
+
5702
+ return 1;
5703
+ },
5704
+ isCurrentCoord: function isCurrentCoord() {
5705
+ return this.coordType === 'gcj02';
5706
+ },
5707
+ toolsVisible: function toolsVisible(_ref) {
5708
+ var disabled = _ref.disabled,
5709
+ loading = _ref.loading;
5710
+ return !disabled && !loading;
5711
+ }
5712
+ },
5713
+ watch: {
5714
+ value: {
5715
+ immediate: true,
5716
+ handler: 'onValueChange'
5717
+ },
5718
+ zoom: 'setMapZoom',
5719
+ center: 'setMapCenter',
5720
+ toolsVisible: function toolsVisible(visible) {
5721
+ if (visible) {
5722
+ var _this$toolbarControl, _this$geolocationCont;
5723
+
5724
+ (_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
5725
+ (_this$geolocationCont = this.geolocationControl) === null || _this$geolocationCont === void 0 ? void 0 : _this$geolocationCont.show();
5726
+ } else {
5727
+ var _this$mouseTool, _this$toolbarControl2, _this$geolocationCont2;
5728
+
5729
+ (_this$mouseTool = this.mouseTool) === null || _this$mouseTool === void 0 ? void 0 : _this$mouseTool.close();
5730
+ (_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
5731
+ (_this$geolocationCont2 = this.geolocationControl) === null || _this$geolocationCont2 === void 0 ? void 0 : _this$geolocationCont2.hide();
5732
+ }
5733
+ }
5734
+ },
5735
+ created: function created() {
5736
+ this.graph = {
5737
+ polylines: [],
5738
+ markers: [],
5739
+ circles: [],
5740
+ polygons: []
5741
+ };
5742
+ this.editor = {};
5743
+ },
5744
+ methods: {
5745
+ init: function init() {
5746
+ var _this = this;
5747
+
5748
+ getAMap(['AMap.ToolBar', 'AMap.Geolocation', 'AMap.AutoComplete', 'AMap.MouseTool', 'AMap.PolygonEditor', 'AMap.PolylineEditor', 'AMap.CircleEditor']).then(function (AMap) {
5749
+ _this.initMap(AMap);
5750
+
5751
+ _this.loading = false;
5752
+
5753
+ _this.done();
5754
+ });
5755
+ },
5756
+ initMap: function initMap(AMap) {
5757
+ this.AMap = AMap;
5758
+ this.map = new AMap.Map(this.$el.querySelector('.map'), {
5759
+ zoom: this.zoom,
5760
+ isHotspot: false
5761
+ });
5762
+ this.initMapControl(this.map);
5763
+ this.initMapAutoComplete(this.map);
5764
+ this.contextMenu = this.initMapContextMenu(this.map);
5765
+ this.mouseTool = this.initMapMouseTool(this.map); // 根据value初始化地图上图形
5766
+
5767
+ this.onValueChange(this.value); // 初始化地图中心点
5768
+
5769
+ this.setMapCenter();
5770
+ },
5771
+ initMapControl: function initMapControl(map) {
5772
+ this.toolbarControl = new this.AMap.ToolBar({
5773
+ position: 'RT'
5774
+ });
5775
+ this.geolocationControl = new this.AMap.Geolocation({
5776
+ position: 'RB'
5777
+ });
5778
+ map.addControl(this.toolbarControl);
5779
+ map.addControl(this.geolocationControl);
5780
+
5781
+ if (!this.toolsVisible) {
5782
+ this.toolbarControl.hide();
5783
+ this.geolocationControl.hide();
5784
+ }
5785
+ },
5786
+ initMapAutoComplete: function initMapAutoComplete(map) {
5787
+ var auto = new this.AMap.AutoComplete({
5788
+ input: this.$refs.input,
5789
+ output: this.$refs.output
5790
+ });
5791
+ auto.on('select', function (event) {
5792
+ if (!event.poi || !event.poi.location) {
5793
+ return;
5794
+ }
5795
+
5796
+ map.setZoomAndCenter(16, event.poi.location);
5797
+ });
5798
+ return auto;
5799
+ },
5800
+ initMapContextMenu: function initMapContextMenu() {
5801
+ var _this2 = this;
5802
+
5803
+ var contextMenu = new this.AMap.ContextMenu();
5804
+ contextMenu.addItem('删除', function () {
5805
+ var removeObj = _this2.contextMenuTarget;
5806
+
5807
+ _this2.removeGraph(removeObj);
5808
+
5809
+ removeObj.setMap(null);
5810
+ _this2.contextMenuTarget = null; // 点击右键菜单子的某一项不会触发 contextMenu 的 close 事件
5811
+ });
5812
+ contextMenu.on('close', function () {
5813
+ _this2.contextMenuTarget = null;
5814
+ });
5815
+ return contextMenu;
5816
+ },
5817
+ initMapMouseTool: function initMapMouseTool(map) {
5818
+ var _this3 = this;
5819
+
5820
+ var mouseTool = new this.AMap.MouseTool(map);
5821
+ mouseTool.on('draw', function (event) {
5822
+ mouseTool.close();
5823
+ _this3.drawing = false;
5824
+ var obj = event.obj;
5825
+
5826
+ var isAdded = _this3.addGraph(obj);
5827
+
5828
+ if (!isAdded) {
5829
+ map.remove(obj);
5830
+ return;
5831
+ }
5832
+
5833
+ _this3.initGraphEvent(obj);
5834
+
5835
+ _this3.onGraphChange();
5836
+ });
5837
+ return mouseTool;
5838
+ },
5839
+ setMapZoom: function setMapZoom() {
5840
+ if (!this.zoom || !this.map) {
5841
+ return;
5842
+ }
5843
+
5844
+ this.map.setZoom(this.zoom);
5845
+ },
5846
+ setMapCenter: function setMapCenter() {
5847
+ if (!this.center || !this.map) {
5848
+ return;
5849
+ }
5850
+
5851
+ var _this$center$split = this.center.split(','),
5852
+ _this$center$split2 = _slicedToArray(_this$center$split, 2),
5853
+ lng = _this$center$split2[0],
5854
+ lat = _this$center$split2[1];
5855
+
5856
+ if (!lng || !lat) {
5857
+ return;
5858
+ }
5859
+
5860
+ this.map.setCenter([+lng, +lat]);
5861
+ this.setMapZoom();
5862
+ },
5863
+ getToolClass: function getToolClass(tool) {
5864
+ if (this.realLimit <= 0 || !this.multiple) {
5865
+ return tool;
5866
+ }
5867
+
5868
+ var _ref2 = this.value || {},
5869
+ markers = _ref2.markers,
5870
+ circles = _ref2.circles,
5871
+ polylines = _ref2.polylines,
5872
+ polygons = _ref2.polygons;
5873
+
5874
+ var length = 0;
5875
+
5876
+ if (tool === 'marker') {
5877
+ length = (markers || []).length;
5878
+ } else if (tool === 'circle') {
5879
+ length = (circles || []).length;
5880
+ } else if (tool === 'polyline') {
5881
+ length = (polylines || []).length;
5882
+ } else if (tool === 'polygon') {
5883
+ length = (polygons || []).length;
5884
+ }
5885
+
5886
+ if (length >= this.realLimit) {
5887
+ return tool + ' disabled';
5888
+ }
5889
+
5890
+ return tool;
5891
+ },
5892
+ onValueChange: function onValueChange(value) {
5893
+ var _this4 = this;
5894
+
5895
+ if (!this.map) {
5896
+ return;
5897
+ }
5898
+
5899
+ var _ref3 = value || {},
5900
+ markers = _ref3.markers,
5901
+ circles = _ref3.circles,
5902
+ polylines = _ref3.polylines,
5903
+ polygons = _ref3.polygons;
5904
+
5905
+ var removedMarkers = this.graph.markers.slice((markers || []).length);
5906
+ var removedCircles = this.graph.circles.slice((circles || []).length);
5907
+ var removedPolylines = this.graph.polylines.slice((polylines || []).length);
5908
+ var removedPolygons = this.graph.polygons.slice((polygons || []).length);
5909
+ [].concat(_toConsumableArray(removedMarkers), _toConsumableArray(removedCircles), _toConsumableArray(removedPolylines), _toConsumableArray(removedPolygons)).forEach(function (item) {
5910
+ return item.setMap(null);
5911
+ });
5912
+ (markers || []).forEach(function (markerData, index) {
5913
+ var mapMarker = _this4.graph.markers[index];
5914
+
5915
+ var lngLatData = _this4.getMapLngLatData(markers[index]);
5916
+
5917
+ var position = new _this4.AMap.LngLat(lngLatData[0], lngLatData[1]);
5918
+
5919
+ if (!mapMarker) {
5920
+ mapMarker = new _this4.AMap.Marker({
5921
+ map: _this4.map,
5922
+ position: position
5923
+ });
5924
+
5925
+ _this4.addGraph(mapMarker);
5926
+
5927
+ _this4.initGraphEvent(mapMarker);
5928
+ } else {
5929
+ mapMarker.setPosition(position);
5930
+ }
5931
+ });
5932
+ (circles || []).forEach(function (circleData, index) {
5933
+ var mapCircle = _this4.graph.circles[index];
5934
+
5935
+ var lngLatData = _this4.getMapLngLatData(circleData.center);
5936
+
5937
+ var lngLat = new _this4.AMap.LngLat(lngLatData[0], lngLatData[1]);
5938
+
5939
+ if (!mapCircle) {
5940
+ mapCircle = new _this4.AMap.Circle({
5941
+ map: _this4.map,
5942
+ center: lngLat,
5943
+ radius: circleData.radius
5944
+ });
5945
+
5946
+ _this4.map.add(mapCircle);
5947
+
5948
+ _this4.addGraph(mapCircle);
5949
+
5950
+ _this4.initGraphEvent(mapCircle);
5951
+ } else {
5952
+ mapCircle.setCenter(lngLat);
5953
+ mapCircle.setRadius(circleData.radius);
5954
+ }
5955
+ });
5956
+ (polylines || []).forEach(function (polylineData, index) {
5957
+ var mapPolyline = _this4.graph.polylines[index];
5958
+ var path = polylineData.map(function (item) {
5959
+ return _this4.getMapLngLatData(item);
5960
+ }).map(function (item) {
5961
+ return new _this4.AMap.LngLat(item[0], item[1]);
5962
+ });
5963
+
5964
+ if (!mapPolyline) {
5965
+ mapPolyline = new _this4.AMap.Polyline({
5966
+ path: path
5967
+ });
5968
+
5969
+ _this4.map.add(mapPolyline);
5970
+
5971
+ _this4.addGraph(mapPolyline);
5972
+
5973
+ _this4.initGraphEvent(mapPolyline);
5974
+ } else {
5975
+ mapPolyline.setPath(path);
5976
+ }
5977
+ });
5978
+ (polygons || []).forEach(function (polygonData, index) {
5979
+ var mapPolygon = _this4.graph.polygons[index];
5980
+ var path = polygonData.map(function (item) {
5981
+ return _this4.getMapLngLatData(item);
5982
+ }).map(function (item) {
5983
+ return new _this4.AMap.LngLat(item[0], item[1]);
5984
+ });
5985
+
5986
+ if (!mapPolygon) {
5987
+ mapPolygon = new _this4.AMap.Polygon({
5988
+ path: path
5989
+ });
5990
+
5991
+ _this4.map.add(mapPolygon);
5992
+
5993
+ _this4.addGraph(mapPolygon);
5994
+
5995
+ _this4.initGraphEvent(mapPolygon);
5996
+ } else {
5997
+ mapPolygon.setPath(path);
5998
+ }
5999
+ });
6000
+ this.map.setFitView();
6001
+ },
6002
+ onGraphChange: function onGraphChange() {
6003
+ var _this$graph = this.graph,
6004
+ markers = _this$graph.markers,
6005
+ circles = _this$graph.circles,
6006
+ polylines = _this$graph.polylines,
6007
+ polygons = _this$graph.polygons;
6008
+ var value = {
6009
+ markers: this.getMarkerValue(markers),
6010
+ circles: this.getCircleValue(circles),
6011
+ polylines: this.getPolylineValue(polylines),
6012
+ polygons: this.getPolygonValue(polygons)
6013
+ };
6014
+ var count = Object.values(value).reduce(function (total, item) {
6015
+ return total + item.length;
6016
+ }, 0);
6017
+
6018
+ if (count <= 0) {
6019
+ // required 效果
6020
+ this.onChange();
6021
+ return;
6022
+ }
6023
+
6024
+ this.onChange(Object.freeze(value));
6025
+ },
6026
+ onEditorChange: function onEditorChange() {
6027
+ if (this.drawing) {
6028
+ return;
6029
+ }
6030
+
6031
+ this.onGraphChange();
6032
+ },
6033
+ // onEditorAdd(obj) {
6034
+ // this.initGraphEvent(obj);
6035
+ // this.addGraph(obj);
6036
+ // this.drawing = false;
6037
+ // },
6038
+ // 使用 mouseTool 方式添加图形. editor方式添加的图形有bug(PolylineEditor 添加的初始线段无法响应click和rightclick事件)
6039
+ draw: function draw(type) {
6040
+ this.closeEditors();
6041
+
6042
+ if (type === 'marker') {
6043
+ this.drawMarker();
6044
+ } else if (type === 'circle') {
6045
+ this.drawCircle();
6046
+ } else if (type === 'polyline') {
6047
+ this.drawPolyline();
6048
+ } else if (type === 'polygon') {
6049
+ this.drawPolygon();
6050
+ }
6051
+
6052
+ this.drawing = true;
6053
+ },
6054
+ drawMarker: function drawMarker() {
6055
+ this.mouseTool.marker();
6056
+ },
6057
+ drawCircle: function drawCircle() {
6058
+ this.mouseTool.circle();
6059
+ },
6060
+ drawPolyline: function drawPolyline() {
6061
+ this.mouseTool.polyline();
6062
+ },
6063
+ drawPolygon: function drawPolygon() {
6064
+ this.mouseTool.polygon();
6065
+ },
6066
+ initGraphEvent: function initGraphEvent(graph) {
6067
+ var _this5 = this;
6068
+
6069
+ graph.on('rightclick', function (e) {
6070
+ var editor = _this5.getEditor(graph.className);
6071
+
6072
+ if (editor && editor.getTarget() === graph) {
6073
+ _this5.closeEditor(editor);
6074
+ }
6075
+
6076
+ _this5.contextMenuTarget = graph;
6077
+
6078
+ _this5.contextMenu.open(_this5.map, e.lnglat);
6079
+ });
6080
+ var editors = ['Overlay.Polyline', 'Overlay.Circle', 'Overlay.Polygon'];
6081
+
6082
+ if (!editors.includes(graph.className)) {
6083
+ return;
6084
+ }
6085
+
6086
+ graph.on('click', function () {
6087
+ var editor = _this5.getEditor(graph.className);
6088
+
6089
+ var target = editor.getTarget();
6090
+
6091
+ if (target && target === graph) {
6092
+ _this5.closeEditor(editor);
6093
+
6094
+ return;
6095
+ }
6096
+
6097
+ _this5.closeEditors();
6098
+
6099
+ editor.setTarget(graph);
6100
+ editor.open();
6101
+ });
6102
+ },
6103
+ removeGraph: function removeGraph(graph) {
6104
+ var extData = graph.getExtData();
6105
+
6106
+ var _ref4 = extData || {},
6107
+ index = _ref4.index;
6108
+
6109
+ var list;
6110
+
6111
+ if (graph.className === 'AMap.Marker') {
6112
+ list = this.graph.markers;
6113
+ } else if (graph.className === 'Overlay.Circle') {
6114
+ list = this.graph.circles;
6115
+ } else if (graph.className === 'Overlay.Polyline') {
6116
+ list = this.graph.polylines;
6117
+ } else if (graph.className === 'Overlay.Polygon') {
6118
+ list = this.graph.polygons;
6119
+ } else {
6120
+ list = [];
6121
+ }
6122
+
6123
+ list.splice(index, 1);
6124
+ this.onGraphChange();
6125
+ },
6126
+ addGraph: function addGraph(graph) {
6127
+ if (graph.className === 'Overlay.Polyline') {
6128
+ return this.addPolyline(graph);
6129
+ } else if (graph.className === 'AMap.Marker') {
6130
+ return this.addMarker(graph);
6131
+ } else if (graph.className === 'Overlay.Circle') {
6132
+ return this.addCircle(graph);
6133
+ } else if (graph.className === 'Overlay.Polygon') {
6134
+ return this.addPolygon(graph);
6135
+ }
6136
+ },
6137
+ addMarker: function addMarker(marker) {
6138
+ if (!this.multiple) {
6139
+ this.graph.markers.forEach(function (item) {
6140
+ return item.setMap(null);
6141
+ });
6142
+ this.graph.markers.length = 0;
6143
+ }
6144
+
6145
+ var index = this.graph.markers.length;
6146
+ marker.setExtData({
6147
+ index: index
6148
+ });
6149
+ this.graph.markers.push(marker);
6150
+ return true;
6151
+ },
6152
+ addCircle: function addCircle(circle) {
6153
+ if (circle.getRadius() <= 0) {
6154
+ return false;
6155
+ }
6156
+
6157
+ if (!this.multiple) {
6158
+ this.graph.circles.forEach(function (item) {
6159
+ return item.setMap(null);
6160
+ });
6161
+ this.graph.circles.length = 0;
6162
+ }
6163
+
6164
+ var index = this.graph.circles.length;
6165
+ circle.setExtData({
6166
+ index: index
6167
+ });
6168
+ this.graph.circles.push(circle);
6169
+ return true;
6170
+ },
6171
+ addPolyline: function addPolyline(polyline) {
6172
+ if (polyline.getLength() <= 0) {
6173
+ return false;
6174
+ }
6175
+
6176
+ if (!this.multiple) {
6177
+ this.graph.polylines.forEach(function (item) {
6178
+ return item.setMap(null);
6179
+ });
6180
+ this.graph.polylines.length = 0;
6181
+ }
6182
+
6183
+ var index = this.graph.polylines.length;
6184
+ polyline.setExtData({
6185
+ index: index
6186
+ });
6187
+ this.graph.polylines.push(polyline);
6188
+ return true;
6189
+ },
6190
+ addPolygon: function addPolygon(polygon) {
6191
+ if (polygon.getArea() <= 0) {
6192
+ this.$message.info('绘制多边形时请至少绘制3个点');
6193
+ return false;
6194
+ }
6195
+
6196
+ if (!this.multiple) {
6197
+ this.graph.polygons.forEach(function (item) {
6198
+ return item.setMap(null);
6199
+ });
6200
+ this.graph.polygons.length = 0;
6201
+ }
6202
+
6203
+ var index = this.graph.polygons.length;
6204
+ polygon.setExtData({
6205
+ index: index
6206
+ });
6207
+ this.graph.polygons.push(polygon);
6208
+ return true;
6209
+ },
6210
+ getEditor: function getEditor(type) {
6211
+ if (type === 'Overlay.Circle') {
6212
+ return this.editor.circle || this.initCircleEditor();
6213
+ } else if (type === 'Overlay.Polyline') {
6214
+ return this.editor.polyline || this.initPolylineEditor();
6215
+ } else if (type === 'Overlay.Polygon') {
6216
+ return this.editor.polygon || this.initPolygonEditor();
6217
+ }
6218
+ },
6219
+ initCircleEditor: function initCircleEditor() {
6220
+ var circleEditor = new this.AMap.CircleEditor(this.map);
6221
+ this.editor.circle = circleEditor;
6222
+ this.initEditorEvent(circleEditor);
6223
+ return circleEditor;
6224
+ },
6225
+ initPolylineEditor: function initPolylineEditor() {
6226
+ var polylineEditor = new this.AMap.PolylineEditor(this.map);
6227
+ this.editor.polyline = polylineEditor;
6228
+ this.initEditorEvent(polylineEditor);
6229
+ return polylineEditor;
6230
+ },
6231
+ initPolygonEditor: function initPolygonEditor() {
6232
+ var polygonEditor = new this.AMap.PolygonEditor(this.map);
6233
+ this.editor.polygon = polygonEditor;
6234
+ this.initEditorEvent(polygonEditor);
6235
+ return polygonEditor;
6236
+ },
6237
+ initEditorEvent: function initEditorEvent(editor) {
6238
+ var _this6 = this;
6239
+
6240
+ editor.on('addnode', function () {
6241
+ return _this6.onEditorChange();
6242
+ });
6243
+ editor.on('adjust', function () {
6244
+ return _this6.onEditorChange();
6245
+ });
6246
+ editor.on('move', function () {
6247
+ return _this6.onEditorChange();
6248
+ }); // editor.on('add', (event) => this.onEditorAdd(event.target));
6249
+ },
6250
+ closeEditor: function closeEditor(editor) {
6251
+ editor.setTarget();
6252
+ editor.close();
6253
+ },
6254
+ closeEditors: function closeEditors() {
6255
+ var _this7 = this;
6256
+
6257
+ Object.values(this.editor).forEach(function (editor) {
6258
+ return _this7.closeEditor(editor);
6259
+ });
6260
+ },
6261
+ getMapLngLatData: function getMapLngLatData(point) {
6262
+ var _point = _slicedToArray(point, 2),
6263
+ lng = _point[0],
6264
+ lat = _point[1];
6265
+
6266
+ if (!this.isCurrentCoord) {
6267
+ var _gcoord$transform = gcoord__default["default"].transform([lng, lat], CoordTypes[this.coordType], gcoord__default["default"].GCJ02);
6268
+
6269
+ var _gcoord$transform2 = _slicedToArray(_gcoord$transform, 2);
6270
+
6271
+ lng = _gcoord$transform2[0];
6272
+ lat = _gcoord$transform2[1];
6273
+ }
6274
+
6275
+ return [lng, lat];
6276
+ },
6277
+ getPoint: function getPoint(lngLat) {
6278
+ var _lngLat = _slicedToArray(lngLat, 2),
6279
+ lng = _lngLat[0],
6280
+ lat = _lngLat[1];
6281
+
6282
+ if (!this.isCurrentCoord) {
6283
+ var _gcoord$transform3 = gcoord__default["default"].transform([lng, lat], gcoord__default["default"].GCJ02, CoordTypes[this.coordType]);
6284
+
6285
+ var _gcoord$transform4 = _slicedToArray(_gcoord$transform3, 2);
6286
+
6287
+ lng = _gcoord$transform4[0];
6288
+ lat = _gcoord$transform4[1];
6289
+ lng = lng.toFixed(7) / 1;
6290
+ lat = lat.toFixed(7) / 1;
6291
+ }
6292
+
6293
+ return [lng, lat];
6294
+ },
6295
+ getMarkerValue: function getMarkerValue(markers) {
6296
+ var _this8 = this;
6297
+
6298
+ return (markers || []).map(function (marker) {
6299
+ var lngLat = marker.getPosition();
6300
+ return _this8.getPoint([lngLat.getLng(), lngLat.getLat()]);
6301
+ });
6302
+ },
6303
+ getCircleValue: function getCircleValue(circles) {
6304
+ var _this9 = this;
6305
+
6306
+ return (circles || []).map(function (circle) {
6307
+ var radius = circle.getRadius();
6308
+ var lngLat = circle.getCenter();
6309
+ return {
6310
+ center: _this9.getPoint([lngLat.getLng(), lngLat.getLat()]),
6311
+ radius: radius
6312
+ };
6313
+ });
6314
+ },
6315
+ getPolylineValue: function getPolylineValue(polylines) {
6316
+ var _this10 = this;
6317
+
6318
+ return (polylines || []).map(function (polyline) {
6319
+ var path = polyline.getPath();
6320
+ return path.map(function (item) {
6321
+ return _this10.getPoint([item.getLng(), item.getLat()]);
6322
+ });
6323
+ });
6324
+ },
6325
+ getPolygonValue: function getPolygonValue(polygons) {
6326
+ var _this11 = this;
6327
+
6328
+ return (polygons || []).map(function (polygon) {
6329
+ var path = polygon.getPath();
6330
+ return path.map(function (item) {
6331
+ return _this11.getPoint([item.getLng(), item.getLat()]);
6332
+ });
6333
+ });
6334
+ },
6335
+ handleClear: function handleClear() {
6336
+ var _this12 = this;
6337
+
6338
+ return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
6339
+ var _yield$to, _yield$to2, confirm;
6340
+
6341
+ return regeneratorRuntime.wrap(function _callee$(_context) {
6342
+ while (1) {
6343
+ switch (_context.prev = _context.next) {
6344
+ case 0:
6345
+ _context.next = 2;
6346
+ return to__default["default"](_this12.$confirm('确认清空地图上所有的图形?', '提示', {
6347
+ type: 'warning'
6348
+ }));
6349
+
6350
+ case 2:
6351
+ _yield$to = _context.sent;
6352
+ _yield$to2 = _slicedToArray(_yield$to, 2);
6353
+ confirm = _yield$to2[1];
6354
+
6355
+ if (confirm) {
6356
+ _context.next = 7;
6357
+ break;
6358
+ }
6359
+
6360
+ return _context.abrupt("return");
6361
+
6362
+ case 7:
6363
+ _this12.closeEditors();
6364
+
6365
+ _this12.contextMenu.close();
6366
+
6367
+ Object.values(_this12.graph).forEach(function (items) {
6368
+ return items.forEach(function (item) {
6369
+ return item.setMap(null);
6370
+ });
6371
+ });
6372
+ _this12.graph = {
6373
+ polylines: [],
6374
+ markers: [],
6375
+ circles: [],
6376
+ polygons: []
6377
+ };
6378
+
6379
+ _this12.onGraphChange();
6380
+
6381
+ case 12:
6382
+ case "end":
6383
+ return _context.stop();
6384
+ }
6385
+ }
6386
+ }, _callee);
6387
+ }))();
6388
+ }
6389
+ }
6390
+ };/* script */
6391
+ var __vue_script__$j = script$j;
6392
+ /* template */
6393
+
6394
+ var __vue_render__$i = function __vue_render__() {
6395
+ var _vm = this;
6396
+
6397
+ var _h = _vm.$createElement;
6398
+
6399
+ var _c = _vm._self._c || _h;
6400
+
6401
+ return _c('div', {
6402
+ directives: [{
6403
+ name: "loading",
6404
+ rawName: "v-loading",
6405
+ value: _vm.loading,
6406
+ expression: "loading"
6407
+ }],
6408
+ staticClass: "ui-field-fence"
6409
+ }, [_vm._ssrNode("<div class=\"map\"></div> <div class=\"info\"" + _vm._ssrStyle(null, null, {
6410
+ display: _vm.toolsVisible ? '' : 'none'
6411
+ }) + "><div class=\"input-item searchbox\"><div class=\"input-item-prepend\"><span class=\"input-item-text\">搜索关键字</span></div> <input type=\"text\" form=\"__ignore__\" placeholder=\"请在地图上选择位置\"> <div class=\"search-result\"></div></div></div> <div" + _vm._ssrClass("tools", {
6412
+ disabled: _vm.drawing
6413
+ }) + _vm._ssrStyle(null, null, {
6414
+ display: _vm.toolsVisible ? '' : 'none'
6415
+ }) + ">" + (_vm.toolList.length > 0 && _vm.help ? "<div class=\"tool help\"></div>" : "<!---->") + " " + _vm._ssrList(_vm.toolList, function (tool) {
6416
+ return "<div" + _vm._ssrClass("tool", _vm.getToolClass(tool)) + "></div>";
6417
+ }) + " " + (_vm.toolList.length > 0 && _vm.clear ? "<div class=\"tool clear\"></div>" : "<!---->") + "</div>")]);
6418
+ };
6419
+
6420
+ var __vue_staticRenderFns__$i = [];
6421
+ /* style */
6422
+
6423
+ var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
6424
+ if (!inject) return;
6425
+ inject("data-v-621dfe86_0", {
6426
+ source: ".ui-field-fence{width:100%;height:280px;position:relative}.ui-field-fence .map{width:100%;height:100%}.ui-field-fence .info{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ui-field-fence .info .searchbox{left:12px;top:12px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);pointer-events:initial;border-radius:3px;padding:3px}.ui-field-fence .info .searchbox .search-result{overflow:auto;position:absolute;top:calc(100% - 2px);left:0;right:0;background-color:#fefefe;box-shadow:0 1px 3px #999;visibility:hidden;border-radius:0 0 3px 3px}.ui-field-fence .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-fence .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-fence .input-item .input-item-prepend{margin-right:-1px}.ui-field-fence .input-item .input-item-prepend .input-item-text{padding:.25em .5em;display:block;text-justify:distribute-all-lines;text-align-last:justify;align-items:center;margin-bottom:0;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem 0 0 .25rem;box-sizing:border-box}.ui-field-fence .input-item input{position:relative;flex:1 1 auto;width:1%;margin:0;background:#fff;padding:.25em .5em;display:inline-block;line-height:1.5;color:#495057;vertical-align:middle;border:1px solid #ced4da;border-radius:0 .25rem .25rem 0;appearance:none;box-sizing:border-box}.ui-field-fence .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-fence .tools{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:flex;flex-direction:row;border-radius:4px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5)}.ui-field-fence .tools .tool{width:32px;height:32px;box-sizing:border-box;background:#fff center no-repeat;background-size:18px;cursor:pointer;position:relative}.ui-field-fence .tools .tool:first-of-type{border-radius:4px 0 0 4px}.ui-field-fence .tools .tool:last-of-type{border-radius:0 4px 4px 0}.ui-field-fence .tools .tool:hover{background-color:#f0f0f0}.ui-field-fence .tools .tool::before{position:absolute;top:0;left:50%;transform:translate(-50%,-100%);padding:4px 8px;border-radius:4px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);color:#666;font-size:12px;line-height:16px;transition:all .2s ease-in-out;opacity:0;word-break:keep-all;visibility:hidden;pointer-events:none}.ui-field-fence .tools .tool:hover::before{top:-4px;opacity:1;visibility:visible}.ui-field-fence .tools .tool+.tool{border-left:1px solid #eee}.ui-field-fence .tools .tool.marker{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgEAYAAAAj6qa3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAABbFJREFUaN7tmH9M1GUcx9+f7zFBOWDOH0QeCiiVrQEL5b7P9+AOXP44nZtu3tEZGNqWrlBXtIxpmWWYWSslK1zOyzOnoJtG6ky2PH4EnErAikoKgVOzZDqZTiHu++kPdldTG5B3oNP3f8+e5/t5Pu/Xd8+PzwM80P0tClRgwyjDKMOosDDpcy7gghkz0Iit6sWZM7GC7TQ7JoaSaRuyRo/mzfwMiq5do2U4iZPnz/M7UikvqKiglZpT6guHDpVfKb/iKj1z5q4HYGITm1ir5ef+GvvX2Bdf5NXYyuvz82kxPoI9IuL/xuUsODCjrAzbPbXqo3l5FbW1C2sXNjbeNQDS9Prd+t0JCRQmSZJ04AC6aQs2x8b6BkQhDvXl5ZzHQcgsLZVmST3qjIYG3qGOkxo6OjCNzGTWajmY3lWb4uLoDN9A7KxZHMavkGfuXHqaCvBOaChew7OwdXcjlzfjsxUryluqm6qbioqGDEDaZVEn6oxGkjGRxxw6hEgyk1WrxePIQqTLRZ/ST1L0ypVOqiqsKqypGWj8aTX63frdkZE9nZIqqW++iXKqR93SpTDBAIWZz6lTWC9ERU5NdE20y3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Jggg==)}.ui-field-fence .tools .tool.polyline{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgEAYAAAAj6qa3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAABMJJREFUaN7tlmtMVEcUx89cYKVAQF1KiBQCEkBEJZTXnbl771oxaosPEl1p1NZtbULTQsUmkn4okXbF0NgWeURdtUKNxiJYMBaQRyjZKlgwFBWqJNJKLg0sYvEBIuju6YcN/WCzaWVBjL2/r+fMmfn/5+TMACgoKCgoKCj8XyFTVYiXeZmX585VWbhdsFSvh3TYRwJDQzGJJGFxR4dr1P3XH3xXVFQXeWXnlZ0jIzMtfMoMWPY2L/Oyn9/jWC4YoKkJvsTL0OPpCflkiJzt7IQMjMDUyEisIYlk/s2brneH143s4fnnxQjO0QKPorkdcMVggDN4jFywWB57kWTug7Aw07om1vyFRmMp5FqcrkdEkEZAeMXH5+FZd+JOMjJmWviUIQ6wZBp27Zp4gDbQhuxse3lSLT1Ojx84IA7RNtpWWzvT557A4Q4gjbAelpjNEE384Fh4uN3EO0QFZ8LDiZqoYHtf37MSqNFoNBrNnDliMS/zclzck3HnyRa23aQkAY/B+HJ0NNERA8l1dxfTmYqp9u9HA/ZgT0MD50Vuw8Y1a9ATr0OyKHI+XIk1rq0N+gEgYPqEazFWF6vz9bX2WPssFXV18DsBqB4etkUpnch76g6QIpiBGVasICZSCSXV1VBDdgCcO0cMUEvqN20ievCwdi9bxiUQAeJOngQTOqM+MhJDuBT4Jj8f38NRbl96upTDivlSg2GqhYstYkvMA39/FF3ecY41mcgd+BV/c3HhlloeWl/T6SZdWPMtTaAJq1dLkcyNwuio5MWGacqJE1rUohad7XQS+ccrI8qCmk/YvFmKY/Op/6NH0nL2C/UuLLSX/1/RYjzGY2Cg9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NL25QyVymIEItkr6JVKgUduiz+3vms89AbQbUyzzyoqbBU3X3m378CTExPWjGBHRS9wd+0/2/9dnLYLsDwk4rXSUkpDBm7o9d4jMx8it6zMWnGzGHH/j/M8OyoK4+5qteZfGNB3/jwAIMyNDPAZ7PA1GPR6DAKAXo8iAP22x63uGtkAUFDgLOEWNu4CtjosLXElXMnU1OqLI2immLAwZxcne1k4kaJSyMPDMcZeJHVAAEvAMRT/JV8b2Lw2EgEAY8Zv+Qhl/cCA5UjrauFWBdXiA5iqq31e7ojqG8rJsdXf5gy4f7MmWmkXNXC1+/fjVSqkirY2VCIDwwsLLhesQhTU09MW4abtnnu5xrw8V+e1wQZuwh8O+xrVlxHM2AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMS0xOVQxODo1NzowMSswODowMNOAvgoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTEtMTlUMTg6NTc6MDErMDg6MDCi3Qa2AAAATHRFWHRzdmc6YmFzZS11cmkAZmlsZTovLy9ob21lL2FkbWluL2ljb24tZm9udC90bXAvaWNvbl91Mmh4aGJndGdvL3Fpbmdrb25nXzEuc3ZnghROGAAAAABJRU5ErkJggg==)}.ui-field-fence .tools .tool.marker:before{content:'绘制点标注'}.ui-field-fence .tools .tool.circle:before{content:'绘制圆形'}.ui-field-fence .tools .tool.polyline:before{content:'绘制折线'}.ui-field-fence .tools .tool.polygon:before{content:'绘制多边形'}.ui-field-fence .tools .tool.help:before{content:'1.点击要绘制的图形\\A 2.在地图上进行绘制,其中折线和多边形双击结束绘制\\A 3.点击已经绘制好的地图进入编辑模式,再次点击退出编辑模式\\A 4.在绘制好了的图形上右键可以删除该图形';white-space:pre}.ui-field-fence .tools .tool.clear:before{content:'清空所有图形'}.ui-field-fence .tools .tool.disabled,.ui-field-fence .tools.disabled .tool:not(.help){filter:opacity(.3);cursor:none;pointer-events:none}.ui-field-fence .close-btn{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:inline-block;padding:0 12px;font-size:12px;line-height:32px;border-radius:4px;background-color:#fff;cursor:pointer;box-shadow:0 0 3px rgba(0,0,0,.5)}.ui-field-fence .close-btn:hover{background-color:#f0f0f0}.ui-field-fence .amap-copyright,.ui-field-fence .amap-logo{display:none!important}",
6427
+ map: undefined,
6428
+ media: undefined
6429
+ });
6430
+ };
6431
+ /* scoped */
6432
+
6433
+
6434
+ var __vue_scope_id__$j = undefined;
6435
+ /* module identifier */
6436
+
6437
+ var __vue_module_identifier__$j = "data-v-621dfe86";
6438
+ /* functional template */
6439
+
6440
+ var __vue_is_functional_template__$j = false;
6441
+ /* style inject shadow dom */
6442
+
6443
+ var __vue_component__$j = /*#__PURE__*/normalizeComponent({
6444
+ render: __vue_render__$i,
6445
+ staticRenderFns: __vue_staticRenderFns__$i
6446
+ }, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, createInjectorSSR, undefined);
6447
+
6448
+ var FenceField = __vue_component__$j;var fields = Object.create(null, {
6449
+ text: {
6450
+ enumerable: true,
6451
+ value: TextField
6452
+ },
6453
+ textarea: {
6454
+ enumerable: true,
6455
+ value: TextField
6456
+ },
6457
+ password: {
6458
+ enumerable: true,
6459
+ value: TextField
6460
+ }
6461
+ });
6462
+ var FormFields = {
6463
+ TextField: TextField,
6464
+ HiddenField: HiddenField,
6465
+ DisplayField: DisplayField,
6466
+ AutocompleteField: AutocompleteField,
6467
+ RadioField: RadioField,
6468
+ CheckboxField: CheckboxField,
6469
+ SelectField: SelectField,
6470
+ NumberField: NumberField,
6471
+ CascadeField: CascadeField,
6472
+ DateField: DateField,
6473
+ DatecCalendarField: DatecCalendarField,
6474
+ TimePickerField: TimePickerField,
6475
+ TimeSelectField: TimeSelectField,
6476
+ SliderField: SliderField,
6477
+ SwitchField: SwitchField,
6478
+ RateField: RateField,
6479
+ ColorField: ColorField,
6480
+ RichField: RichField,
6481
+ FileUploadField: FileUploadField,
6482
+ ImageUploadField: ImageUploadField,
6483
+ TriggerField: TriggerField,
6484
+ IconsField: IconsField,
6485
+ LnglatField: LnglatField,
6486
+ FenceField: FenceField
6487
+ };
6488
+ /**
6489
+ *
6490
+ * @param type {string}
6491
+ * @param field
6492
+ */
6493
+
6494
+ var addFieldType = function addFieldType(type, field) {
6495
+ if (Objects.hasProp(fields, type)) {
6496
+ console.warn("already have a ".concat(type, " field"));
6497
+ return;
6498
+ }
6499
+
6500
+ fields[type] = field;
6501
+ };
6502
+
6503
+ var initDefaultField = function initDefaultField() {
6504
+ addFieldType('hidden', HiddenField);
6505
+ addFieldType('display', DisplayField);
6506
+ addFieldType('autocomplete', AutocompleteField);
6507
+ addFieldType('radio', RadioField);
6508
+ addFieldType('checkbox', CheckboxField);
6509
+ addFieldType('select', SelectField);
6510
+ addFieldType('number', NumberField);
6511
+ addFieldType('cascade', CascadeField);
6512
+ addFieldType('year', DateField);
6513
+ addFieldType('month', DateField);
6514
+ addFieldType('monthrange', DateField);
6515
+ addFieldType('date', DateField);
6516
+ addFieldType('dates', DateField);
6517
+ addFieldType('week', DateField);
6518
+ addFieldType('datetime', DateField);
6519
+ addFieldType('datetimerange', DateField);
6520
+ addFieldType('daterange', DateField);
6521
+ addFieldType('datecCalendar', DatecCalendarField);
6522
+ addFieldType('timepicker', TimePickerField);
6523
+ addFieldType('timeselect', TimeSelectField);
6524
+ addFieldType('slider', SliderField);
6525
+ addFieldType('switch', SwitchField);
6526
+ addFieldType('rate', RateField);
6527
+ addFieldType('color', ColorField);
6528
+ addFieldType('rich', RichField); // 根据业务自己按需引入
6529
+
6530
+ addFieldType('file', FileUploadField);
6531
+ addFieldType('image', ImageUploadField);
6532
+ addFieldType('trigger', TriggerField);
6533
+ addFieldType('icons', IconsField);
6534
+ addFieldType('lnglat', LnglatField);
6535
+ addFieldType('fence', FenceField);
6536
+ };
6537
+
6538
+ initDefaultField();
5462
6539
  var FormField = {
5463
6540
  name: 'ui-form-field',
5464
6541
  functional: true,
@@ -5473,8 +6550,8 @@ var FormField = {
5473
6550
  return createElement(TextField, context.data, context.children);
5474
6551
  }
5475
6552
  }
5476
- };var _excluded$7 = ["change", "input"];
5477
- var script$k = {
6553
+ };var _excluded$6 = ["change", "input"];
6554
+ var script$i = {
5478
6555
  name: 'ui-form-item',
5479
6556
  inheritAttrs: false,
5480
6557
  inject: ['uiForm'],
@@ -5611,7 +6688,7 @@ var script$k = {
5611
6688
  var _this$$listeners = this.$listeners;
5612
6689
  _this$$listeners.change;
5613
6690
  _this$$listeners.input;
5614
- var listeners = _objectWithoutProperties(_this$$listeners, _excluded$7);
6691
+ var listeners = _objectWithoutProperties(_this$$listeners, _excluded$6);
5615
6692
 
5616
6693
  return listeners;
5617
6694
  }
@@ -5649,10 +6726,10 @@ var script$k = {
5649
6726
  }
5650
6727
  }
5651
6728
  };/* script */
5652
- var __vue_script__$k = script$k;
6729
+ var __vue_script__$i = script$i;
5653
6730
  /* template */
5654
6731
 
5655
- var __vue_render__$i = function __vue_render__() {
6732
+ var __vue_render__$h = function __vue_render__() {
5656
6733
  var _vm = this;
5657
6734
 
5658
6735
  var _h = _vm.$createElement;
@@ -5709,10 +6786,10 @@ var __vue_render__$i = function __vue_render__() {
5709
6786
  }, [_vm._t("suffix")], 2) : _vm._e()], 2);
5710
6787
  };
5711
6788
 
5712
- var __vue_staticRenderFns__$i = [];
6789
+ var __vue_staticRenderFns__$h = [];
5713
6790
  /* style */
5714
6791
 
5715
- var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
6792
+ var __vue_inject_styles__$i = function __vue_inject_styles__(inject) {
5716
6793
  if (!inject) return;
5717
6794
  inject("data-v-abe604d6_0", {
5718
6795
  source: ".ui-form-item[data-v-abe604d6] .el-form-item__content{display:flex;flex-direction:row;align-items:center}.ui-form-item[data-v-abe604d6] .el-form-item__content>div{flex:1;display:flex;align-items:center}.ui-form-item[data-v-abe604d6] .el-form-item__content .ui-form-item-prefix,.ui-form-item[data-v-abe604d6] .el-form-item__content .ui-form-item-suffix{flex:none}.ui-form-item .info[data-v-abe604d6]{color:#909399;cursor:pointer;margin-left:4px}.ui-form-item.hidden-item[data-v-abe604d6]{display:none}.el-form--inline .ui-form-item[data-v-abe604d6] .el-form-item__label{flex:none;white-space:nowrap}.el-form--inline .ui-form-item[data-v-abe604d6] .el-form-item__content{display:inline-flex}",
@@ -5723,21 +6800,21 @@ var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
5723
6800
  /* scoped */
5724
6801
 
5725
6802
 
5726
- var __vue_scope_id__$k = "data-v-abe604d6";
6803
+ var __vue_scope_id__$i = "data-v-abe604d6";
5727
6804
  /* module identifier */
5728
6805
 
5729
- var __vue_module_identifier__$k = "data-v-abe604d6";
6806
+ var __vue_module_identifier__$i = "data-v-abe604d6";
5730
6807
  /* functional template */
5731
6808
 
5732
- var __vue_is_functional_template__$k = false;
6809
+ var __vue_is_functional_template__$i = false;
5733
6810
  /* style inject shadow dom */
5734
6811
 
5735
- var __vue_component__$k = /*#__PURE__*/normalizeComponent({
5736
- render: __vue_render__$i,
5737
- staticRenderFns: __vue_staticRenderFns__$i
5738
- }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, createInjectorSSR, undefined);
6812
+ var __vue_component__$i = /*#__PURE__*/normalizeComponent({
6813
+ render: __vue_render__$h,
6814
+ staticRenderFns: __vue_staticRenderFns__$h
6815
+ }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, undefined, createInjectorSSR, undefined);
5739
6816
 
5740
- var FormItem = __vue_component__$k;var Operator = {
6817
+ var FormItem = __vue_component__$i;var Operator = {
5741
6818
  eq: '=',
5742
6819
  ne: '!=',
5743
6820
  gt: '>',
@@ -5797,8 +6874,8 @@ var TableSelectItem = {
5797
6874
  }
5798
6875
  }
5799
6876
  }
5800
- };var _excluded$6 = ["submit", "ready"];
5801
- var script$j = {
6877
+ };var _excluded$5 = ["submit", "ready"];
6878
+ var script$h = {
5802
6879
  name: 'ui-form',
5803
6880
  inheritAttrs: false,
5804
6881
  provide: function provide() {
@@ -5865,7 +6942,7 @@ var script$j = {
5865
6942
  var _this$$listeners = this.$listeners;
5866
6943
  _this$$listeners.submit;
5867
6944
  _this$$listeners.ready;
5868
- var listeners = _objectWithoutProperties(_this$$listeners, _excluded$6);
6945
+ var listeners = _objectWithoutProperties(_this$$listeners, _excluded$5);
5869
6946
 
5870
6947
  return listeners;
5871
6948
  }
@@ -6177,10 +7254,10 @@ var script$j = {
6177
7254
  }
6178
7255
  }
6179
7256
  };/* script */
6180
- var __vue_script__$j = script$j;
7257
+ var __vue_script__$h = script$h;
6181
7258
  /* template */
6182
7259
 
6183
- var __vue_render__$h = function __vue_render__() {
7260
+ var __vue_render__$g = function __vue_render__() {
6184
7261
  var _vm = this;
6185
7262
 
6186
7263
  var _h = _vm.$createElement;
@@ -6207,10 +7284,10 @@ var __vue_render__$h = function __vue_render__() {
6207
7284
  }), _vm._v(" "), _vm._t("default")], 2);
6208
7285
  };
6209
7286
 
6210
- var __vue_staticRenderFns__$h = [];
7287
+ var __vue_staticRenderFns__$g = [];
6211
7288
  /* style */
6212
7289
 
6213
- var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
7290
+ var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
6214
7291
  if (!inject) return;
6215
7292
  inject("data-v-2a9aa6b4_0", {
6216
7293
  source: ".el-form--inline[data-v-2a9aa6b4] .el-form-item{display:inline-flex}",
@@ -6221,21 +7298,21 @@ var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
6221
7298
  /* scoped */
6222
7299
 
6223
7300
 
6224
- var __vue_scope_id__$j = "data-v-2a9aa6b4";
7301
+ var __vue_scope_id__$h = "data-v-2a9aa6b4";
6225
7302
  /* module identifier */
6226
7303
 
6227
- var __vue_module_identifier__$j = "data-v-2a9aa6b4";
7304
+ var __vue_module_identifier__$h = "data-v-2a9aa6b4";
6228
7305
  /* functional template */
6229
7306
 
6230
- var __vue_is_functional_template__$j = false;
7307
+ var __vue_is_functional_template__$h = false;
6231
7308
  /* style inject shadow dom */
6232
7309
 
6233
- var __vue_component__$j = /*#__PURE__*/normalizeComponent({
6234
- render: __vue_render__$h,
6235
- staticRenderFns: __vue_staticRenderFns__$h
6236
- }, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, createInjectorSSR, undefined);
7310
+ var __vue_component__$h = /*#__PURE__*/normalizeComponent({
7311
+ render: __vue_render__$g,
7312
+ staticRenderFns: __vue_staticRenderFns__$g
7313
+ }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, undefined, createInjectorSSR, undefined);
6237
7314
 
6238
- var Form$1 = __vue_component__$j;var _excluded$5 = ["submit", "ready"];
7315
+ var Form$1 = __vue_component__$h;var _excluded$4 = ["submit", "ready"];
6239
7316
  //
6240
7317
  //
6241
7318
  //
@@ -6248,7 +7325,7 @@ var Form$1 = __vue_component__$j;var _excluded$5 = ["submit", "ready"];
6248
7325
  //
6249
7326
  //
6250
7327
  //
6251
- var script$i = {
7328
+ var script$g = {
6252
7329
  name: 'ui-form-dialog',
6253
7330
  inheritAttrs: false,
6254
7331
  props: {
@@ -6319,7 +7396,7 @@ var script$i = {
6319
7396
  var _this$$listeners = this.$listeners;
6320
7397
  _this$$listeners.submit;
6321
7398
  _this$$listeners.ready;
6322
- var listeners = _objectWithoutProperties(_this$$listeners, _excluded$5);
7399
+ var listeners = _objectWithoutProperties(_this$$listeners, _excluded$4);
6323
7400
 
6324
7401
  return listeners;
6325
7402
  }
@@ -6453,10 +7530,10 @@ var script$i = {
6453
7530
  onClosed: function onClosed() {}
6454
7531
  }
6455
7532
  };/* script */
6456
- var __vue_script__$i = script$i;
7533
+ var __vue_script__$g = script$g;
6457
7534
  /* template */
6458
7535
 
6459
- var __vue_render__$g = function __vue_render__() {
7536
+ var __vue_render__$f = function __vue_render__() {
6460
7537
  var _vm = this;
6461
7538
 
6462
7539
  var _h = _vm.$createElement;
@@ -6515,10 +7592,10 @@ var __vue_render__$g = function __vue_render__() {
6515
7592
  }, [_vm._v(_vm._s(_vm.confirmText))])], 1) : _vm._e()], 2)], 1);
6516
7593
  };
6517
7594
 
6518
- var __vue_staticRenderFns__$g = [];
7595
+ var __vue_staticRenderFns__$f = [];
6519
7596
  /* style */
6520
7597
 
6521
- var __vue_inject_styles__$i = function __vue_inject_styles__(inject) {
7598
+ var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
6522
7599
  if (!inject) return;
6523
7600
  inject("data-v-02f7d8d6_0", {
6524
7601
  source: ".action-button[data-v-02f7d8d6]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
@@ -6529,21 +7606,21 @@ var __vue_inject_styles__$i = function __vue_inject_styles__(inject) {
6529
7606
  /* scoped */
6530
7607
 
6531
7608
 
6532
- var __vue_scope_id__$i = "data-v-02f7d8d6";
7609
+ var __vue_scope_id__$g = "data-v-02f7d8d6";
6533
7610
  /* module identifier */
6534
7611
 
6535
- var __vue_module_identifier__$i = "data-v-02f7d8d6";
7612
+ var __vue_module_identifier__$g = "data-v-02f7d8d6";
6536
7613
  /* functional template */
6537
7614
 
6538
- var __vue_is_functional_template__$i = false;
7615
+ var __vue_is_functional_template__$g = false;
6539
7616
  /* style inject shadow dom */
6540
7617
 
6541
- var __vue_component__$i = /*#__PURE__*/normalizeComponent({
6542
- render: __vue_render__$g,
6543
- staticRenderFns: __vue_staticRenderFns__$g
6544
- }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, undefined, createInjectorSSR, undefined);
7618
+ var __vue_component__$g = /*#__PURE__*/normalizeComponent({
7619
+ render: __vue_render__$f,
7620
+ staticRenderFns: __vue_staticRenderFns__$f
7621
+ }, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, undefined, createInjectorSSR, undefined);
6545
7622
 
6546
- var FormDialog = __vue_component__$i;// 判断参数是否是其中之一
7623
+ var FormDialog = __vue_component__$g;// 判断参数是否是其中之一
6547
7624
  function oneOf(value, validList) {
6548
7625
  for (var i = 0; i < validList.length; i++) {
6549
7626
  if (value === validList[i]) {
@@ -6659,7 +7736,7 @@ var off = function () {
6659
7736
  }
6660
7737
  };
6661
7738
  }();var prefixCls = 'ui-drawer';
6662
- var script$h = {
7739
+ var script$f = {
6663
7740
  name: 'UiDrawer',
6664
7741
  directives: {
6665
7742
  TransferDom: TransferDom
@@ -6880,10 +7957,10 @@ var script$h = {
6880
7957
  }
6881
7958
  }
6882
7959
  };/* script */
6883
- var __vue_script__$h = script$h;
7960
+ var __vue_script__$f = script$f;
6884
7961
  /* template */
6885
7962
 
6886
- var __vue_render__$f = function __vue_render__() {
7963
+ var __vue_render__$e = function __vue_render__() {
6887
7964
  var _vm = this;
6888
7965
 
6889
7966
  var _h = _vm.$createElement;
@@ -6965,10 +8042,10 @@ var __vue_render__$f = function __vue_render__() {
6965
8042
  })], 2) : _vm._e()])])], 1)], 2);
6966
8043
  };
6967
8044
 
6968
- var __vue_staticRenderFns__$f = [];
8045
+ var __vue_staticRenderFns__$e = [];
6969
8046
  /* style */
6970
8047
 
6971
- var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
8048
+ var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
6972
8049
  if (!inject) return;
6973
8050
  inject("data-v-0c67e85e_0", {
6974
8051
  source: ".ui-drawer{width:auto;height:100%;position:fixed;top:0}.ui-drawer-inner{position:absolute}.ui-drawer-left{left:0}.ui-drawer-right{right:0}.ui-drawer-hidden{display:none!important}.ui-drawer-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.ui-drawer-wrap-inner{position:absolute;overflow:hidden}.ui-drawer-wrap-dragging{user-select:none}.ui-drawer-wrap *{-webkit-tap-highlight-color:transparent}.ui-drawer-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.ui-drawer-mask-hidden{display:none}.ui-drawer-mask-inner{position:absolute}.ui-drawer-content{width:100%;height:100%;position:absolute;top:0;bottom:0;background-color:#fff;border:0;background-clip:padding-box;box-shadow:0 4px 12px rgba(0,0,0,.15)}.ui-drawer-content-no-mask{pointer-events:auto}.ui-drawer-header{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ui-drawer-header p,.ui-drawer-header-inner{display:inline-block;width:100%;height:20px;line-height:20px;font-size:16px;color:#17233d;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-drawer-close{z-index:1;font-size:12px;position:absolute;right:15px;top:15px;overflow:hidden;cursor:pointer}.ui-drawer-close .el-icon-close{font-size:20px;color:#999;transition:color .2s ease;position:relative;top:1px}.ui-drawer-close .el-icon-close:hover{color:#444}.ui-drawer-body{width:100%;height:calc(100% - 51px);padding:16px;font-size:14px;line-height:1.5;word-wrap:break-word;position:absolute;overflow:auto;box-sizing:border-box}.ui-drawer-no-header .ui-drawer-body{height:100%}.ui-drawer-no-mask{pointer-events:none}.ui-drawer-no-mask .ui-drawer-drag{pointer-events:auto}.ui-drawer-drag{top:0;height:100%;width:0;position:absolute}.ui-drawer-drag-left{right:0}.ui-drawer-drag-move-trigger{width:8px;height:100px;line-height:100px;position:absolute;top:50%;background:#f3f3f3;transform:translate(-50%,-50%);border-radius:4px/6px;box-shadow:0 0 1px 1px rgba(0,0,0,.2);cursor:col-resize}.ui-drawer-drag-move-trigger-point{display:inline-block;width:50%;transform:translateX(50%)}.ui-drawer-drag-move-trigger-point i{display:block;border-bottom:1px solid silver;padding-bottom:2px}.fade-appear,.fade-enter-active{animation-duration:.15s;animation-fill-mode:both;animation-play-state:paused}.fade-leave-active{animation-duration:.15s;animation-fill-mode:both;animation-play-state:paused}.fade-appear,.fade-enter-active{animation-name:uiFadeInIn;animation-play-state:running}.fade-leave-active{animation-name:uiFadeInOut;animation-play-state:running}.fade-appear,.fade-enter-active{opacity:0;animation-timing-function:linear}.fade-leave-active{animation-timing-function:linear}@keyframes uiFadeIn{0%{opacity:0}100%{opacity:1}}@keyframes ivuFadeOut{0%{opacity:1}100%{opacity:0}}",
@@ -6979,22 +8056,22 @@ var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
6979
8056
  /* scoped */
6980
8057
 
6981
8058
 
6982
- var __vue_scope_id__$h = undefined;
8059
+ var __vue_scope_id__$f = undefined;
6983
8060
  /* module identifier */
6984
8061
 
6985
- var __vue_module_identifier__$h = "data-v-0c67e85e";
8062
+ var __vue_module_identifier__$f = "data-v-0c67e85e";
6986
8063
  /* functional template */
6987
8064
 
6988
- var __vue_is_functional_template__$h = false;
8065
+ var __vue_is_functional_template__$f = false;
6989
8066
  /* style inject shadow dom */
6990
8067
 
6991
- var __vue_component__$h = /*#__PURE__*/normalizeComponent({
6992
- render: __vue_render__$f,
6993
- staticRenderFns: __vue_staticRenderFns__$f
6994
- }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, undefined, createInjectorSSR, undefined);
8068
+ var __vue_component__$f = /*#__PURE__*/normalizeComponent({
8069
+ render: __vue_render__$e,
8070
+ staticRenderFns: __vue_staticRenderFns__$e
8071
+ }, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, undefined, createInjectorSSR, undefined);
6995
8072
 
6996
- var Drawer$1 = __vue_component__$h;var _excluded$4 = ["submit", "ready", "input"];
6997
- var script$g = {
8073
+ var Drawer$1 = __vue_component__$f;var _excluded$3 = ["submit", "ready", "input"];
8074
+ var script$e = {
6998
8075
  name: 'ui-form-drawer',
6999
8076
  inheritAttrs: false,
7000
8077
  components: {
@@ -7082,7 +8159,7 @@ var script$g = {
7082
8159
  _this$$listeners.submit;
7083
8160
  _this$$listeners.ready;
7084
8161
  _this$$listeners.input;
7085
- var listeners = _objectWithoutProperties(_this$$listeners, _excluded$4);
8162
+ var listeners = _objectWithoutProperties(_this$$listeners, _excluded$3);
7086
8163
 
7087
8164
  return listeners;
7088
8165
  }
@@ -7216,10 +8293,10 @@ var script$g = {
7216
8293
  }
7217
8294
  }
7218
8295
  };/* script */
7219
- var __vue_script__$g = script$g;
8296
+ var __vue_script__$e = script$e;
7220
8297
  /* template */
7221
8298
 
7222
- var __vue_render__$e = function __vue_render__() {
8299
+ var __vue_render__$d = function __vue_render__() {
7223
8300
  var _vm = this;
7224
8301
 
7225
8302
  var _h = _vm.$createElement;
@@ -7278,10 +8355,10 @@ var __vue_render__$e = function __vue_render__() {
7278
8355
  }, [_vm._v(_vm._s(_vm.cancelText))])], 1) : _vm._e()]);
7279
8356
  };
7280
8357
 
7281
- var __vue_staticRenderFns__$e = [];
8358
+ var __vue_staticRenderFns__$d = [];
7282
8359
  /* style */
7283
8360
 
7284
- var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
8361
+ var __vue_inject_styles__$e = function __vue_inject_styles__(inject) {
7285
8362
  if (!inject) return;
7286
8363
  inject("data-v-61a29de6_0", {
7287
8364
  source: ".ui-form-drawer{display:flex;flex-direction:column;padding:0;outline:0}.ui-form-drawer .ui-drawer-body{flex:1;padding:0;overflow:hidden;display:flex;flex-direction:column}.ui-form-drawer .ui-drawer-body>.el-form{flex:1;overflow:auto}.ui-form-drawer .ui-drawer-body>.action-button{flex:none}.ui-form-drawer .ui-form-drawer-wrapper{flex:1;overflow:hidden}.ui-form-drawer .ui-form-drawer-wrapper .el-form{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box}.ui-form-drawer .action-button{flex:none;padding:16px;border-top:1px solid #e8eaec;display:flex;flex-direction:row-reverse}.ui-form-drawer .action-button button+button{margin-right:16px}.ui-form-drawer .action-button::after{content:'';clear:both}",
@@ -7292,21 +8369,21 @@ var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
7292
8369
  /* scoped */
7293
8370
 
7294
8371
 
7295
- var __vue_scope_id__$g = undefined;
8372
+ var __vue_scope_id__$e = undefined;
7296
8373
  /* module identifier */
7297
8374
 
7298
- var __vue_module_identifier__$g = "data-v-61a29de6";
8375
+ var __vue_module_identifier__$e = "data-v-61a29de6";
7299
8376
  /* functional template */
7300
8377
 
7301
- var __vue_is_functional_template__$g = false;
8378
+ var __vue_is_functional_template__$e = false;
7302
8379
  /* style inject shadow dom */
7303
8380
 
7304
- var __vue_component__$g = /*#__PURE__*/normalizeComponent({
7305
- render: __vue_render__$e,
7306
- staticRenderFns: __vue_staticRenderFns__$e
7307
- }, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, undefined, createInjectorSSR, undefined);
8381
+ var __vue_component__$e = /*#__PURE__*/normalizeComponent({
8382
+ render: __vue_render__$d,
8383
+ staticRenderFns: __vue_staticRenderFns__$d
8384
+ }, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, undefined, createInjectorSSR, undefined);
7308
8385
 
7309
- var FormDrawer = __vue_component__$g;//
8386
+ var FormDrawer = __vue_component__$e;//
7310
8387
  //
7311
8388
  //
7312
8389
  //
@@ -7315,7 +8392,7 @@ var FormDrawer = __vue_component__$g;//
7315
8392
  //
7316
8393
  //
7317
8394
  //
7318
- var script$f = {
8395
+ var script$d = {
7319
8396
  name: 'ui-form-fieldset',
7320
8397
  props: {
7321
8398
  label: {
@@ -7365,10 +8442,10 @@ var script$f = {
7365
8442
  }
7366
8443
  }
7367
8444
  };/* script */
7368
- var __vue_script__$f = script$f;
8445
+ var __vue_script__$d = script$d;
7369
8446
  /* template */
7370
8447
 
7371
- var __vue_render__$d = function __vue_render__() {
8448
+ var __vue_render__$c = function __vue_render__() {
7372
8449
  var _vm = this;
7373
8450
 
7374
8451
  var _h = _vm.$createElement;
@@ -7386,10 +8463,10 @@ var __vue_render__$d = function __vue_render__() {
7386
8463
  }) + " data-v-f2017c28>", "</div>", [_vm._t("default")], 2)], 2);
7387
8464
  };
7388
8465
 
7389
- var __vue_staticRenderFns__$d = [];
8466
+ var __vue_staticRenderFns__$c = [];
7390
8467
  /* style */
7391
8468
 
7392
- var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
8469
+ var __vue_inject_styles__$d = function __vue_inject_styles__(inject) {
7393
8470
  if (!inject) return;
7394
8471
  inject("data-v-f2017c28_0", {
7395
8472
  source: ".ui-form-fieldset[data-v-f2017c28]{padding:30px 20px 10px;margin:30px 0 20px;border:1px dashed #aaa;border-radius:2px;position:relative}.ui-form-fieldset.toggle.collapse[data-v-f2017c28]{padding:0;border-bottom:none}.ui-form-fieldset.toggle.collapse .ui-form-fieldset-legend[data-v-f2017c28]::after{content:'\\f107'}.ui-form-fieldset.toggle .ui-form-fieldset-legend[data-v-f2017c28]{cursor:pointer;font-family:FontAwesome,serif;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ui-form-fieldset.toggle .ui-form-fieldset-legend[data-v-f2017c28]::after{margin-left:4px;content:'\\f106'}.ui-form-fieldset>.ui-form-fieldset-legend[data-v-f2017c28]{position:absolute;top:-8px;padding:0 30px;margin:0;height:16px;line-height:16px;font-size:14px;color:#666;left:50%;transform:translateX(-50%);background:#fff;user-select:none}.ui-form-fieldset+.ui-form-fieldset[data-v-f2017c28]{margin-top:40px}",
@@ -7400,21 +8477,21 @@ var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
7400
8477
  /* scoped */
7401
8478
 
7402
8479
 
7403
- var __vue_scope_id__$f = "data-v-f2017c28";
8480
+ var __vue_scope_id__$d = "data-v-f2017c28";
7404
8481
  /* module identifier */
7405
8482
 
7406
- var __vue_module_identifier__$f = "data-v-f2017c28";
8483
+ var __vue_module_identifier__$d = "data-v-f2017c28";
7407
8484
  /* functional template */
7408
8485
 
7409
- var __vue_is_functional_template__$f = false;
8486
+ var __vue_is_functional_template__$d = false;
7410
8487
  /* style inject shadow dom */
7411
8488
 
7412
- var __vue_component__$f = /*#__PURE__*/normalizeComponent({
7413
- render: __vue_render__$d,
7414
- staticRenderFns: __vue_staticRenderFns__$d
7415
- }, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, undefined, createInjectorSSR, undefined);
8489
+ var __vue_component__$d = /*#__PURE__*/normalizeComponent({
8490
+ render: __vue_render__$c,
8491
+ staticRenderFns: __vue_staticRenderFns__$c
8492
+ }, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, undefined, createInjectorSSR, undefined);
7416
8493
 
7417
- var FormFieldset = __vue_component__$f;var Form = {
8494
+ var FormFieldset = __vue_component__$d;var Form = {
7418
8495
  install: function install(Vue) {
7419
8496
  Vue.component(Form$1.name, Form$1);
7420
8497
  Vue.component(FormItem.name, FormItem);
@@ -7422,7 +8499,8 @@ var FormFieldset = __vue_component__$f;var Form = {
7422
8499
  Vue.component(FormDialog.name, FormDialog);
7423
8500
  Vue.component(FormDrawer.name, FormDrawer);
7424
8501
  Vue.component(FormFieldset.name, FormFieldset);
7425
- }
8502
+ },
8503
+ FormFields: FormFields
7426
8504
  };var getReference = function getReference(el, binding, vnode) {
7427
8505
  var _ref = binding.expression ? binding.value : binding.arg;
7428
8506
 
@@ -7445,7 +8523,7 @@ var BindTable = {
7445
8523
  //
7446
8524
  //
7447
8525
  //
7448
- var script$e = {
8526
+ var script$c = {
7449
8527
  name: 'ui-fill-view',
7450
8528
  props: {
7451
8529
  direction: {
@@ -7463,10 +8541,10 @@ var script$e = {
7463
8541
  }
7464
8542
  }
7465
8543
  };/* script */
7466
- var __vue_script__$e = script$e;
8544
+ var __vue_script__$c = script$c;
7467
8545
  /* template */
7468
8546
 
7469
- var __vue_render__$c = function __vue_render__() {
8547
+ var __vue_render__$b = function __vue_render__() {
7470
8548
  var _vm = this;
7471
8549
 
7472
8550
  var _h = _vm.$createElement;
@@ -7478,10 +8556,10 @@ var __vue_render__$c = function __vue_render__() {
7478
8556
  }, [_vm._ssrNode("<div class=\"wrapper\"" + _vm._ssrStyle(null, _vm.directionStyle, null) + " data-v-71000ef8>", "</div>", [_vm._t("default")], 2)]);
7479
8557
  };
7480
8558
 
7481
- var __vue_staticRenderFns__$c = [];
8559
+ var __vue_staticRenderFns__$b = [];
7482
8560
  /* style */
7483
8561
 
7484
- var __vue_inject_styles__$e = function __vue_inject_styles__(inject) {
8562
+ var __vue_inject_styles__$c = function __vue_inject_styles__(inject) {
7485
8563
  if (!inject) return;
7486
8564
  inject("data-v-71000ef8_0", {
7487
8565
  source: ".ui-fill-view[data-v-71000ef8]{flex:1;position:relative}.ui-fill-view .wrapper[data-v-71000ef8]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column}",
@@ -7492,21 +8570,21 @@ var __vue_inject_styles__$e = function __vue_inject_styles__(inject) {
7492
8570
  /* scoped */
7493
8571
 
7494
8572
 
7495
- var __vue_scope_id__$e = "data-v-71000ef8";
8573
+ var __vue_scope_id__$c = "data-v-71000ef8";
7496
8574
  /* module identifier */
7497
8575
 
7498
- var __vue_module_identifier__$e = "data-v-71000ef8";
8576
+ var __vue_module_identifier__$c = "data-v-71000ef8";
7499
8577
  /* functional template */
7500
8578
 
7501
- var __vue_is_functional_template__$e = false;
8579
+ var __vue_is_functional_template__$c = false;
7502
8580
  /* style inject shadow dom */
7503
8581
 
7504
- var __vue_component__$e = /*#__PURE__*/normalizeComponent({
7505
- render: __vue_render__$c,
7506
- staticRenderFns: __vue_staticRenderFns__$c
7507
- }, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, undefined, createInjectorSSR, undefined);
8582
+ var __vue_component__$c = /*#__PURE__*/normalizeComponent({
8583
+ render: __vue_render__$b,
8584
+ staticRenderFns: __vue_staticRenderFns__$b
8585
+ }, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, undefined, createInjectorSSR, undefined);
7508
8586
 
7509
- var FillView$1 = __vue_component__$e;/**
8587
+ var FillView$1 = __vue_component__$c;/**
7510
8588
  * 导出
7511
8589
  * @param {Array} data 导出数据
7512
8590
  * @param {String} filename 导出文件名
@@ -7620,7 +8698,7 @@ var exports$1 = (function (data, filename, columns) {
7620
8698
  //
7621
8699
  //
7622
8700
  //
7623
- var script$d = {
8701
+ var script$b = {
7624
8702
  name: 'remote-exports-dialog',
7625
8703
  props: {
7626
8704
  visible: Boolean,
@@ -7791,10 +8869,10 @@ var script$d = {
7791
8869
  }
7792
8870
  }
7793
8871
  };/* script */
7794
- var __vue_script__$d = script$d;
8872
+ var __vue_script__$b = script$b;
7795
8873
  /* template */
7796
8874
 
7797
- var __vue_render__$b = function __vue_render__() {
8875
+ var __vue_render__$a = function __vue_render__() {
7798
8876
  var _vm = this;
7799
8877
 
7800
8878
  var _h = _vm.$createElement;
@@ -7922,10 +9000,10 @@ var __vue_render__$b = function __vue_render__() {
7922
9000
  }), 1)], 1)], 1)])]);
7923
9001
  };
7924
9002
 
7925
- var __vue_staticRenderFns__$b = [];
9003
+ var __vue_staticRenderFns__$a = [];
7926
9004
  /* style */
7927
9005
 
7928
- var __vue_inject_styles__$d = function __vue_inject_styles__(inject) {
9006
+ var __vue_inject_styles__$b = function __vue_inject_styles__(inject) {
7929
9007
  if (!inject) return;
7930
9008
  inject("data-v-8a0ac17c_0", {
7931
9009
  source: ".exports-dialog-wrapper[data-v-8a0ac17c]{display:flex;align-items:center;flex-direction:column;max-height:320px;overflow:auto}.exports-dialog-wrapper h3[data-v-8a0ac17c]{text-align:center;margin-bottom:15px}.exports-dialog-wrapper .exports-from[data-v-8a0ac17c] .el-form-item{margin-right:0}.exports-dialog-wrapper .exports-from[data-v-8a0ac17c] .el-form-item .el-input__inner{width:60px;text-align:center}.exports-dialog-wrapper .start-input[data-v-8a0ac17c] .el-input-group__append{border-radius:0;border-right:0}.exports-dialog-wrapper .end-input[data-v-8a0ac17c] .el-input__inner{border-radius:0}",
@@ -7936,22 +9014,22 @@ var __vue_inject_styles__$d = function __vue_inject_styles__(inject) {
7936
9014
  /* scoped */
7937
9015
 
7938
9016
 
7939
- var __vue_scope_id__$d = "data-v-8a0ac17c";
9017
+ var __vue_scope_id__$b = "data-v-8a0ac17c";
7940
9018
  /* module identifier */
7941
9019
 
7942
- var __vue_module_identifier__$d = "data-v-8a0ac17c";
9020
+ var __vue_module_identifier__$b = "data-v-8a0ac17c";
7943
9021
  /* functional template */
7944
9022
 
7945
- var __vue_is_functional_template__$d = false;
9023
+ var __vue_is_functional_template__$b = false;
7946
9024
  /* style inject shadow dom */
7947
9025
 
7948
- var __vue_component__$d = /*#__PURE__*/normalizeComponent({
7949
- render: __vue_render__$b,
7950
- staticRenderFns: __vue_staticRenderFns__$b
7951
- }, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, undefined, createInjectorSSR, undefined);
9026
+ var __vue_component__$b = /*#__PURE__*/normalizeComponent({
9027
+ render: __vue_render__$a,
9028
+ staticRenderFns: __vue_staticRenderFns__$a
9029
+ }, __vue_inject_styles__$b, __vue_script__$b, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, undefined, createInjectorSSR, undefined);
7952
9030
 
7953
- var RemoteExportsDialog = __vue_component__$d;var tableIdSeed = 1;
7954
- var script$c = {
9031
+ var RemoteExportsDialog = __vue_component__$b;var tableIdSeed = 1;
9032
+ var script$a = {
7955
9033
  name: 'ui-table',
7956
9034
  provide: function provide() {
7957
9035
  return {
@@ -8805,10 +9883,10 @@ var script$c = {
8805
9883
  }
8806
9884
  }
8807
9885
  };/* script */
8808
- var __vue_script__$c = script$c;
9886
+ var __vue_script__$a = script$a;
8809
9887
  /* template */
8810
9888
 
8811
- var __vue_render__$a = function __vue_render__() {
9889
+ var __vue_render__$9 = function __vue_render__() {
8812
9890
  var _vm = this;
8813
9891
 
8814
9892
  var _h = _vm.$createElement;
@@ -8890,13 +9968,13 @@ var __vue_render__$a = function __vue_render__() {
8890
9968
  })], 2);
8891
9969
  };
8892
9970
 
8893
- var __vue_staticRenderFns__$a = [];
9971
+ var __vue_staticRenderFns__$9 = [];
8894
9972
  /* style */
8895
9973
 
8896
- var __vue_inject_styles__$c = function __vue_inject_styles__(inject) {
9974
+ var __vue_inject_styles__$a = function __vue_inject_styles__(inject) {
8897
9975
  if (!inject) return;
8898
- inject("data-v-7303d635_0", {
8899
- source: ".ui-table{flex:1;display:flex;flex-direction:column;z-index:0;background-color:#fff;padding:15px 20px}.ui-table .ui-table-select-bar{flex:none}.ui-table .ui-table-select-bar .ui-table-select{position:relative;padding-right:100px}.ui-table .ui-table-select-bar .ui-table-select.has-reset{padding-right:200px}.ui-table .ui-table-select-bar .ui-table-select .submit-item{position:absolute;top:0;right:0;margin-right:0;margin-bottom:0}.ui-table .ui-table-select-bar .el-input{width:200px}.ui-table .ui-table-tool-bar{padding:10px 0;flex:none;display:flex;flex-wrap:wrap;align-items:center;flex-direction:row;background-color:#fff}.ui-table .private-tools{z-index:1;position:absolute;top:8px;right:5px;display:flex;flex-direction:row;padding-left:20px}.ui-table .private-tools .tool+.tool{margin-left:5px}.ui-table .private-tools .el-button.el-tooltip{background:rgba(255,255,255,.6);backdrop-filter:blur(3px);box-shadow:0 0 3px #999}.ui-table .ui-table-alert{margin-bottom:10px;border:1px solid #b3d8ff;background-color:#ecf5ff;border-radius:3px;padding:8px 10px}.ui-table .ui-table-alert .el-icon-info{color:#409eff;margin-right:6px}.ui-table .ui-table-alert .el-button--text{padding:0;margin-left:10px}.ui-table .el-table{flex:1;border:1px solid #ebeef5;border-bottom:none;z-index:0}.ui-table .footer-bar{flex:none;display:block;padding:20px 15px 15px;background-color:#fff}.ui-table .footer-bar .el-pagination{text-align:right;padding:0}.ui-table .ui-table-empty{padding-top:110px;background:url(../../assets/svg/empty.svg) center top no-repeat;background-size:auto 100px;color:rgba(0,0,0,.65);font-size:14px;line-height:22px;text-align:center}.column-label{width:80px;display:inline-block;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-table-column-action .el-button{box-shadow:none;padding:0;line-height:inherit}",
9976
+ inject("data-v-2c1fbdee_0", {
9977
+ source: ".ui-table{flex:1;display:flex;flex-direction:column;z-index:0;background-color:#fff;padding:15px 20px}.ui-table .ui-table-select-bar{flex:none}.ui-table .ui-table-select-bar .ui-table-select{position:relative;padding-right:100px}.ui-table .ui-table-select-bar .ui-table-select.has-reset{padding-right:200px}.ui-table .ui-table-select-bar .ui-table-select .submit-item{position:absolute;top:0;right:0;margin-right:0;margin-bottom:0}.ui-table .ui-table-select-bar .el-input{width:200px}.ui-table .ui-table-tool-bar{padding:10px 0;flex:none;display:flex;flex-wrap:wrap;align-items:center;flex-direction:row;background-color:#fff}.ui-table .private-tools{z-index:1;position:absolute;top:8px;right:5px;display:flex;flex-direction:row;padding-left:20px}.ui-table .private-tools .tool+.tool{margin-left:5px}.ui-table .private-tools .el-button.el-tooltip{background:rgba(255,255,255,.6);backdrop-filter:blur(3px);box-shadow:0 0 3px #999}.ui-table .ui-table-alert{margin-bottom:10px;border:1px solid #b3d8ff;background-color:#ecf5ff;border-radius:3px;padding:8px 10px}.ui-table .ui-table-alert .el-icon-info{color:#409eff;margin-right:6px}.ui-table .ui-table-alert .el-button--text{padding:0;margin-left:10px}.ui-table .el-table{flex:1;border:1px solid #ebeef5;border-bottom:none;z-index:0}.ui-table .footer-bar{flex:none;display:block;padding:20px 15px 15px;background-color:#fff}.ui-table .footer-bar .el-pagination{text-align:right;padding:0}.ui-table .ui-table-empty{padding-top:110px;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTg0IiBoZWlnaHQ9IjE1MiIgd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Tk5IDE4LjA5Ny00LjUyOCAwLTguNzQ0LTEuMDY2LTEyLjI4LTIuOTAyeiIgZmlsbD0iI0RDRTBFNiI+PC9wYXRoPgogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTQ5LjY1IDE1LjM4MykiIGZpbGw9IiNGRkYiPgogICAgICA8ZWxsaXBzZSBjeD0iMjAuNjU0IiBjeT0iMy4xNjciIHJ4PSIyLjg0OSIgcnk9IjIuODE1Ij48L2VsbGlwc2U+CiAgICAgIDxwYXRoIGQ9Ik01LjY5OCA1LjYzSDBMMi44OTguNzA0ek05LjI1OS43MDRoNC45ODVWNS42M0g5LjI1OXoiPjwvcGF0aD4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=) center top no-repeat;background-size:auto 100px;color:rgba(0,0,0,.65);font-size:14px;line-height:22px;text-align:center}.column-label{width:80px;display:inline-block;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-table-column-action .el-button{box-shadow:none;padding:0;line-height:inherit}",
8900
9978
  map: undefined,
8901
9979
  media: undefined
8902
9980
  });
@@ -8904,21 +9982,21 @@ var __vue_inject_styles__$c = function __vue_inject_styles__(inject) {
8904
9982
  /* scoped */
8905
9983
 
8906
9984
 
8907
- var __vue_scope_id__$c = undefined;
9985
+ var __vue_scope_id__$a = undefined;
8908
9986
  /* module identifier */
8909
9987
 
8910
- var __vue_module_identifier__$c = "data-v-7303d635";
9988
+ var __vue_module_identifier__$a = "data-v-2c1fbdee";
8911
9989
  /* functional template */
8912
9990
 
8913
- var __vue_is_functional_template__$c = false;
9991
+ var __vue_is_functional_template__$a = false;
8914
9992
  /* style inject shadow dom */
8915
9993
 
8916
- var __vue_component__$c = /*#__PURE__*/normalizeComponent({
8917
- render: __vue_render__$a,
8918
- staticRenderFns: __vue_staticRenderFns__$a
8919
- }, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, undefined, createInjectorSSR, undefined);
9994
+ var __vue_component__$a = /*#__PURE__*/normalizeComponent({
9995
+ render: __vue_render__$9,
9996
+ staticRenderFns: __vue_staticRenderFns__$9
9997
+ }, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, undefined, createInjectorSSR, undefined);
8920
9998
 
8921
- var Table$1 = __vue_component__$c;var Format = {
9999
+ var Table$1 = __vue_component__$a;var Format = {
8922
10000
  Date: 'YYYY-MM-DD',
8923
10001
  Time: 'HH:mm:ss',
8924
10002
  DateTime: 'YYYY-MM-DD HH:mm:ss'
@@ -8932,7 +10010,7 @@ var Date$1 = {
8932
10010
  * 在 element-ui 的 el-table-column 组件上拓展出 tree 类型
8933
10011
  */
8934
10012
 
8935
- var script$b = {
10013
+ var script$9 = {
8936
10014
  name: 'ui-column',
8937
10015
  mixins: [elementUi.TableColumn],
8938
10016
  inject: {
@@ -9304,12 +10382,12 @@ var script$b = {
9304
10382
  }
9305
10383
  }
9306
10384
  };/* script */
9307
- var __vue_script__$b = script$b;
10385
+ var __vue_script__$9 = script$9;
9308
10386
  /* template */
9309
10387
 
9310
10388
  /* style */
9311
10389
 
9312
- var __vue_inject_styles__$b = function __vue_inject_styles__(inject) {
10390
+ var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
9313
10391
  if (!inject) return;
9314
10392
  inject("data-v-90b208a6_0", {
9315
10393
  source: ".tree-toggle{display:inline-flex;width:24px;align-items:center;justify-content:center}.tree-toggle.pointer{cursor:pointer}",
@@ -9320,18 +10398,18 @@ var __vue_inject_styles__$b = function __vue_inject_styles__(inject) {
9320
10398
  /* scoped */
9321
10399
 
9322
10400
 
9323
- var __vue_scope_id__$b = undefined;
10401
+ var __vue_scope_id__$9 = undefined;
9324
10402
  /* module identifier */
9325
10403
 
9326
- var __vue_module_identifier__$b = "data-v-90b208a6";
10404
+ var __vue_module_identifier__$9 = "data-v-90b208a6";
9327
10405
  /* functional template */
9328
10406
 
9329
- var __vue_is_functional_template__$b = undefined;
10407
+ var __vue_is_functional_template__$9 = undefined;
9330
10408
  /* style inject shadow dom */
9331
10409
 
9332
- var __vue_component__$b = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$b, __vue_script__$b, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, undefined, createInjectorSSR, undefined);
10410
+ var __vue_component__$9 = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, undefined, createInjectorSSR, undefined);
9333
10411
 
9334
- var Column = __vue_component__$b;var actionButtonConfig = {
10412
+ var Column = __vue_component__$9;var actionButtonConfig = {
9335
10413
  '!key': function key(button, index) {
9336
10414
  return _objectSpread2(_objectSpread2({}, button), {}, {
9337
10415
  key: index
@@ -9373,7 +10451,7 @@ var ActionColumnTypeProp = actionButtonConfig;var Fragment$1 = {
9373
10451
  render: function render(h, ctx) {
9374
10452
  return ctx.children;
9375
10453
  }
9376
- };var _excluded$3 = ["text", "key"],
10454
+ };var _excluded$2 = ["text", "key"],
9377
10455
  _excluded2$1 = ["text", "key"];
9378
10456
  var ColumnType = Object.create(null);
9379
10457
  /**
@@ -9541,7 +10619,7 @@ var DefaultTypes = {
9541
10619
  return h(Fragment$1, null, [].concat(_toConsumableArray(_buttons.slice(0, hasMore ? 5 : 7).map(function (_ref8, i) {
9542
10620
  var text = _ref8.text,
9543
10621
  key = _ref8.key,
9544
- props = _objectWithoutProperties(_ref8, _excluded$3);
10622
+ props = _objectWithoutProperties(_ref8, _excluded$2);
9545
10623
 
9546
10624
  return h(Fragment$1, {
9547
10625
  key: i
@@ -10121,7 +11199,7 @@ var TableColumn = {
10121
11199
  //
10122
11200
  //
10123
11201
  //
10124
- var script$a = {
11202
+ var script$8 = {
10125
11203
  name: 'ui-table-pagination',
10126
11204
  inject: ['uiTable'],
10127
11205
  props: {
@@ -10181,10 +11259,10 @@ var script$a = {
10181
11259
  }
10182
11260
  }
10183
11261
  };/* script */
10184
- var __vue_script__$a = script$a;
11262
+ var __vue_script__$8 = script$8;
10185
11263
  /* template */
10186
11264
 
10187
- var __vue_render__$9 = function __vue_render__() {
11265
+ var __vue_render__$8 = function __vue_render__() {
10188
11266
  var _vm = this;
10189
11267
 
10190
11268
  var _h = _vm.$createElement;
@@ -10207,34 +11285,34 @@ var __vue_render__$9 = function __vue_render__() {
10207
11285
  }, 'el-pagination', _vm.$attrs, false), [_vm._t("default")], 2);
10208
11286
  };
10209
11287
 
10210
- var __vue_staticRenderFns__$9 = [];
11288
+ var __vue_staticRenderFns__$8 = [];
10211
11289
  /* style */
10212
11290
 
10213
- var __vue_inject_styles__$a = undefined;
11291
+ var __vue_inject_styles__$8 = undefined;
10214
11292
  /* scoped */
10215
11293
 
10216
- var __vue_scope_id__$a = "data-v-681d0726";
11294
+ var __vue_scope_id__$8 = "data-v-681d0726";
10217
11295
  /* module identifier */
10218
11296
 
10219
- var __vue_module_identifier__$a = "data-v-681d0726";
11297
+ var __vue_module_identifier__$8 = "data-v-681d0726";
10220
11298
  /* functional template */
10221
11299
 
10222
- var __vue_is_functional_template__$a = false;
11300
+ var __vue_is_functional_template__$8 = false;
10223
11301
  /* style inject */
10224
11302
 
10225
11303
  /* style inject SSR */
10226
11304
 
10227
11305
  /* style inject shadow dom */
10228
11306
 
10229
- var __vue_component__$a = /*#__PURE__*/normalizeComponent({
10230
- render: __vue_render__$9,
10231
- staticRenderFns: __vue_staticRenderFns__$9
10232
- }, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, undefined, undefined, undefined);
11307
+ var __vue_component__$8 = /*#__PURE__*/normalizeComponent({
11308
+ render: __vue_render__$8,
11309
+ staticRenderFns: __vue_staticRenderFns__$8
11310
+ }, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, undefined, undefined, undefined);
10233
11311
 
10234
- var TablePagination = __vue_component__$a;var _excluded$2 = ["submit", "ready"];
11312
+ var TablePagination = __vue_component__$8;var _excluded$1 = ["submit", "ready"];
10235
11313
  var SEARCH_PREFIX = 'select';
10236
11314
  var SORT_PREFIX = 'sort';
10237
- var script$9 = {
11315
+ var script$7 = {
10238
11316
  name: 'ui-table-select',
10239
11317
  inject: {
10240
11318
  uiTable: {
@@ -10263,7 +11341,7 @@ var script$9 = {
10263
11341
  var _this$$listeners = this.$listeners;
10264
11342
  _this$$listeners.submit;
10265
11343
  _this$$listeners.ready;
10266
- var listeners = _objectWithoutProperties(_this$$listeners, _excluded$2);
11344
+ var listeners = _objectWithoutProperties(_this$$listeners, _excluded$1);
10267
11345
 
10268
11346
  return listeners;
10269
11347
  }
@@ -10368,10 +11446,10 @@ var script$9 = {
10368
11446
  }
10369
11447
  }
10370
11448
  };/* script */
10371
- var __vue_script__$9 = script$9;
11449
+ var __vue_script__$7 = script$7;
10372
11450
  /* template */
10373
11451
 
10374
- var __vue_render__$8 = function __vue_render__() {
11452
+ var __vue_render__$7 = function __vue_render__() {
10375
11453
  var _vm = this;
10376
11454
 
10377
11455
  var _h = _vm.$createElement;
@@ -10412,10 +11490,10 @@ var __vue_render__$8 = function __vue_render__() {
10412
11490
  }), _vm._v(" "), _vm._t("end")], 2);
10413
11491
  };
10414
11492
 
10415
- var __vue_staticRenderFns__$8 = [];
11493
+ var __vue_staticRenderFns__$7 = [];
10416
11494
  /* style */
10417
11495
 
10418
- var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
11496
+ var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
10419
11497
  if (!inject) return;
10420
11498
  inject("data-v-1bff1b12_0", {
10421
11499
  source: ".ui-table-select{display:flex;align-items:center;flex-wrap:wrap}.ui-table-select .el-row{width:100%}.ui-table-select .fill{flex:1}.ui-table-select .el-form-item{margin-bottom:10px}.ui-table-select .el-form-item:last-child{margin-right:0}.ui-table-select .el-form-item,.ui-table-select .el-form-item.el-form-item--mini{margin-bottom:10px}",
@@ -10426,21 +11504,21 @@ var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
10426
11504
  /* scoped */
10427
11505
 
10428
11506
 
10429
- var __vue_scope_id__$9 = undefined;
11507
+ var __vue_scope_id__$7 = undefined;
10430
11508
  /* module identifier */
10431
11509
 
10432
- var __vue_module_identifier__$9 = "data-v-1bff1b12";
11510
+ var __vue_module_identifier__$7 = "data-v-1bff1b12";
10433
11511
  /* functional template */
10434
11512
 
10435
- var __vue_is_functional_template__$9 = false;
11513
+ var __vue_is_functional_template__$7 = false;
10436
11514
  /* style inject shadow dom */
10437
11515
 
10438
- var __vue_component__$9 = /*#__PURE__*/normalizeComponent({
10439
- render: __vue_render__$8,
10440
- staticRenderFns: __vue_staticRenderFns__$8
10441
- }, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, undefined, createInjectorSSR, undefined);
11516
+ var __vue_component__$7 = /*#__PURE__*/normalizeComponent({
11517
+ render: __vue_render__$7,
11518
+ staticRenderFns: __vue_staticRenderFns__$7
11519
+ }, __vue_inject_styles__$7, __vue_script__$7, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, undefined, createInjectorSSR, undefined);
10442
11520
 
10443
- var TableSelect = __vue_component__$9;var Table = {
11521
+ var TableSelect = __vue_component__$7;var Table = {
10444
11522
  install: function install(Vue) {
10445
11523
  Vue.directive(BindTable.name, BindTable);
10446
11524
  Vue.component(Table$1.name, Table$1);
@@ -10540,7 +11618,7 @@ var TableSelect = __vue_component__$9;var Table = {
10540
11618
  //
10541
11619
  //
10542
11620
  //
10543
- var script$8 = {
11621
+ var script$6 = {
10544
11622
  name: 'ui-dialog',
10545
11623
  props: {
10546
11624
  title: String,
@@ -10632,10 +11710,10 @@ var script$8 = {
10632
11710
  }
10633
11711
  }
10634
11712
  };/* script */
10635
- var __vue_script__$8 = script$8;
11713
+ var __vue_script__$6 = script$6;
10636
11714
  /* template */
10637
11715
 
10638
- var __vue_render__$7 = function __vue_render__() {
11716
+ var __vue_render__$6 = function __vue_render__() {
10639
11717
  var _vm = this;
10640
11718
 
10641
11719
  var _h = _vm.$createElement;
@@ -10696,10 +11774,10 @@ var __vue_render__$7 = function __vue_render__() {
10696
11774
  }), 1) : _vm._e()], 2);
10697
11775
  };
10698
11776
 
10699
- var __vue_staticRenderFns__$7 = [];
11777
+ var __vue_staticRenderFns__$6 = [];
10700
11778
  /* style */
10701
11779
 
10702
- var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
11780
+ var __vue_inject_styles__$6 = function __vue_inject_styles__(inject) {
10703
11781
  if (!inject) return;
10704
11782
  inject("data-v-2fef274f_0", {
10705
11783
  source: ".ui-dialog[data-v-2fef274f] .el-dialog{margin-bottom:0}.ui-dialog[data-v-2fef274f] .el-dialog .title{position:relative;line-height:28px;padding:12px 48px 12px 24px;word-break:keep-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #e8e8e8;color:#202124;font-weight:500;font-size:16px}.ui-dialog[data-v-2fef274f] .el-dialog .title .close{position:absolute;right:0;top:0;bottom:0;width:53px;height:53px;display:inline-block;text-align:center;cursor:pointer;transition:all .3s;user-select:none}.ui-dialog[data-v-2fef274f] .el-dialog .title .close:hover{color:var(--color-primary)}.ui-dialog[data-v-2fef274f] .el-dialog .title .close>i{font-size:20px;line-height:53px}[data-v-2fef274f] .el-form .ui-form-fieldset:first-child{margin-top:0}[data-v-2fef274f] .el-form .ui-form-fieldset:last-child{margin-bottom:0}[data-v-2fef274f] .el-dialog__header{padding:0;user-select:none}[data-v-2fef274f] .el-dialog__body{padding-bottom:20px}[data-v-2fef274f] .el-dialog__footer{padding:10px 20px;border-top:1px solid #dcdfe6}.el-dialog__footer .el-button[data-v-2fef274f]{border-radius:2px}@keyframes rotate-data-v-2fef274f{from{transform:rotate(0)}to{transform:rotate(360deg)}}",
@@ -10710,21 +11788,21 @@ var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
10710
11788
  /* scoped */
10711
11789
 
10712
11790
 
10713
- var __vue_scope_id__$8 = "data-v-2fef274f";
11791
+ var __vue_scope_id__$6 = "data-v-2fef274f";
10714
11792
  /* module identifier */
10715
11793
 
10716
- var __vue_module_identifier__$8 = "data-v-2fef274f";
11794
+ var __vue_module_identifier__$6 = "data-v-2fef274f";
10717
11795
  /* functional template */
10718
11796
 
10719
- var __vue_is_functional_template__$8 = false;
11797
+ var __vue_is_functional_template__$6 = false;
10720
11798
  /* style inject shadow dom */
10721
11799
 
10722
- var __vue_component__$8 = /*#__PURE__*/normalizeComponent({
10723
- render: __vue_render__$7,
10724
- staticRenderFns: __vue_staticRenderFns__$7
10725
- }, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, undefined, createInjectorSSR, undefined);
11800
+ var __vue_component__$6 = /*#__PURE__*/normalizeComponent({
11801
+ render: __vue_render__$6,
11802
+ staticRenderFns: __vue_staticRenderFns__$6
11803
+ }, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, undefined, createInjectorSSR, undefined);
10726
11804
 
10727
- var Dialog$1 = __vue_component__$8;var Dialog = {
11805
+ var Dialog$1 = __vue_component__$6;var Dialog = {
10728
11806
  install: function install(Vue) {
10729
11807
  Vue.directive(Drag.name, Drag);
10730
11808
  Vue.component(Dialog$1.name, Dialog$1);
@@ -10743,13 +11821,13 @@ var Dialog$1 = __vue_component__$8;var Dialog = {
10743
11821
  //
10744
11822
  //
10745
11823
  //
10746
- var script$7 = {
11824
+ var script$5 = {
10747
11825
  name: 'UiProvider'
10748
11826
  };/* script */
10749
- var __vue_script__$7 = script$7;
11827
+ var __vue_script__$5 = script$5;
10750
11828
  /* template */
10751
11829
 
10752
- var __vue_render__$6 = function __vue_render__() {
11830
+ var __vue_render__$5 = function __vue_render__() {
10753
11831
  var _vm = this;
10754
11832
 
10755
11833
  var _h = _vm.$createElement;
@@ -10763,31 +11841,31 @@ var __vue_render__$6 = function __vue_render__() {
10763
11841
  }, [_c('router-view')], 1);
10764
11842
  };
10765
11843
 
10766
- var __vue_staticRenderFns__$6 = [];
11844
+ var __vue_staticRenderFns__$5 = [];
10767
11845
  /* style */
10768
11846
 
10769
- var __vue_inject_styles__$7 = undefined;
11847
+ var __vue_inject_styles__$5 = undefined;
10770
11848
  /* scoped */
10771
11849
 
10772
- var __vue_scope_id__$7 = "data-v-3f1cadfa";
11850
+ var __vue_scope_id__$5 = "data-v-3f1cadfa";
10773
11851
  /* module identifier */
10774
11852
 
10775
- var __vue_module_identifier__$7 = "data-v-3f1cadfa";
11853
+ var __vue_module_identifier__$5 = "data-v-3f1cadfa";
10776
11854
  /* functional template */
10777
11855
 
10778
- var __vue_is_functional_template__$7 = false;
11856
+ var __vue_is_functional_template__$5 = false;
10779
11857
  /* style inject */
10780
11858
 
10781
11859
  /* style inject SSR */
10782
11860
 
10783
11861
  /* style inject shadow dom */
10784
11862
 
10785
- var __vue_component__$7 = /*#__PURE__*/normalizeComponent({
10786
- render: __vue_render__$6,
10787
- staticRenderFns: __vue_staticRenderFns__$6
10788
- }, __vue_inject_styles__$7, __vue_script__$7, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, undefined, undefined, undefined);
11863
+ var __vue_component__$5 = /*#__PURE__*/normalizeComponent({
11864
+ render: __vue_render__$5,
11865
+ staticRenderFns: __vue_staticRenderFns__$5
11866
+ }, __vue_inject_styles__$5, __vue_script__$5, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, undefined, undefined, undefined);
10789
11867
 
10790
- var Provider$1 = __vue_component__$7;var Provider = {
11868
+ var Provider$1 = __vue_component__$5;var Provider = {
10791
11869
  install: function install(Vue) {
10792
11870
  // install 才设置 store/router. Vue.use(Library, opt)中 opt 配置才会生效
10793
11871
  Provider$1.store = Store.getStore();
@@ -10811,7 +11889,7 @@ var Provider$1 = __vue_component__$7;var Provider = {
10811
11889
  var _context$props$identi = context.props.identity,
10812
11890
  identity = _context$props$identi === void 0 ? '' : _context$props$identi;
10813
11891
 
10814
- if (permission(identity)) {
11892
+ if (!permission(identity)) {
10815
11893
  return null;
10816
11894
  }
10817
11895
 
@@ -10900,309 +11978,6 @@ var DocumentTitle$1 = DocumentTitle;var FillView = {
10900
11978
  install: function install(Vue) {
10901
11979
  Vue.component(FillView$1.name, FillView$1);
10902
11980
  }
10903
- };var script$6 = {
10904
- name: 'head-menu-submenu',
10905
- inject: ['headMenu'],
10906
- props: {
10907
- item: Object
10908
- },
10909
- computed: {
10910
- isLeaf: function isLeaf() {
10911
- var children = this.item.children;
10912
- return !Array.isArray(children) || children.length <= 0;
10913
- },
10914
- index: function index() {
10915
- var _this$item = this.item,
10916
- url = _this$item.url,
10917
- id = _this$item.id;
10918
-
10919
- if (this.isRouter) {
10920
- return url || id + '';
10921
- }
10922
-
10923
- return id + '';
10924
- },
10925
- route: function route() {
10926
- var url = this.item.url;
10927
- return url;
10928
- },
10929
- isRouter: function isRouter() {
10930
- return this.headMenu.router;
10931
- },
10932
- theme: function theme() {
10933
- return this.headMenu.theme;
10934
- },
10935
- popperClass: function popperClass() {
10936
- return ['nav-menu-submenu-popup', this.theme].join(' ');
10937
- }
10938
- },
10939
- render: function render(createElement) {
10940
- if (this.isLeaf) {
10941
- return createElement('el-menu-item', {
10942
- props: {
10943
- index: this.index,
10944
- route: this.route
10945
- }
10946
- }, [createElement('template', {
10947
- slot: 'title'
10948
- }, [this.item.name])]);
10949
- }
10950
-
10951
- return createElement('el-submenu', {
10952
- props: {
10953
- index: this.index,
10954
- popperClass: this.popperClass,
10955
- popperAppendToBody: false
10956
- }
10957
- }, [createElement('template', {
10958
- slot: 'title'
10959
- }, [this.item.name])].concat(_toConsumableArray(this.item.children.map(function (child) {
10960
- return createElement('head-menu-submenu', {
10961
- key: child.id,
10962
- props: {
10963
- item: child
10964
- }
10965
- });
10966
- }))));
10967
- }
10968
- };/* script */
10969
- var __vue_script__$6 = script$6;
10970
- /* template */
10971
-
10972
- /* style */
10973
-
10974
- var __vue_inject_styles__$6 = function __vue_inject_styles__(inject) {
10975
- if (!inject) return;
10976
- inject("data-v-233ada7a_0", {
10977
- source: ".el-menu--collapse .el-menu-item [class^=el-icon-],.el-menu--collapse .el-submenu .el-submenu__title [class^=el-icon-]{margin:0;vertical-align:middle;width:24px;text-align:center}.el-menu--collapse .el-menu-item .el-submenu__icon-arrow,.el-menu--collapse .el-submenu .el-submenu__title .el-submenu__icon-arrow{display:none}.el-menu--collapse .el-menu-item span,.el-menu--collapse .el-submenu .el-submenu__title span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.nav-menu-submenu-popup .el-menu-item,.nav-menu-submenu-popup .el-submenu__title{height:40px;line-height:40px;font-size:12px}",
10978
- map: undefined,
10979
- media: undefined
10980
- });
10981
- };
10982
- /* scoped */
10983
-
10984
-
10985
- var __vue_scope_id__$6 = undefined;
10986
- /* module identifier */
10987
-
10988
- var __vue_module_identifier__$6 = "data-v-233ada7a";
10989
- /* functional template */
10990
-
10991
- var __vue_is_functional_template__$6 = undefined;
10992
- /* style inject shadow dom */
10993
-
10994
- var __vue_component__$6 = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, undefined, createInjectorSSR, undefined);
10995
-
10996
- var MenuItem = __vue_component__$6;var _excluded$1 = ["children"];
10997
- var script$5 = {
10998
- name: 'ui-head-menu',
10999
- components: {
11000
- MenuItem: MenuItem
11001
- },
11002
- provide: function provide() {
11003
- return {
11004
- headMenu: this
11005
- };
11006
- },
11007
- props: {
11008
- router: {
11009
- type: Boolean,
11010
- default: true
11011
- },
11012
- defaultActive: String,
11013
- mode: {
11014
- default: 'horizontal'
11015
- }
11016
- },
11017
- data: function data() {
11018
- return {
11019
- packUpWidth: 0
11020
- };
11021
- },
11022
- computed: _objectSpread2(_objectSpread2({}, Vuex.mapState(['menus'])), {}, {
11023
- headMenu: function headMenu() {
11024
- // eslint-disable-next-line
11025
- return this.menus.filter(function (menu) {
11026
- return [1, 2].includes(menu.type);
11027
- }).map(function (_ref) {
11028
- _ref.children;
11029
- var menu = _objectWithoutProperties(_ref, _excluded$1);
11030
-
11031
- return menu;
11032
- });
11033
- },
11034
- active: function active() {
11035
- if (!this.router) {
11036
- return this.defaultActive;
11037
- }
11038
-
11039
- var currentPath = this.$route.path;
11040
- var isHeadRoute = this.headMenu.some(function (menu) {
11041
- return menu.url === currentPath;
11042
- });
11043
-
11044
- if (isHeadRoute) {
11045
- return currentPath;
11046
- }
11047
-
11048
- var currentHeadMenu = this.getCurrentHeadMenu(currentPath, this.menus);
11049
- return currentHeadMenu && (currentHeadMenu.path || currentHeadMenu.url);
11050
- },
11051
- menuWidth: function menuWidth() {
11052
- return this.headMenu.reduce(function (total, item) {
11053
- return total + (item.name || '').split('').length * 16 + 25 * 2; // 16:字体大小值; 25:左右padding/margin值
11054
- }, 60); // 100:菜单左边的margin值
11055
- },
11056
- packUpIndex: function packUpIndex() {
11057
- if (this.packUpWidth <= 0) {
11058
- return -1;
11059
- }
11060
-
11061
- var index = -1;
11062
- var width = this.packUpWidth + 130; // 50:更多下拉菜单所占宽度
11063
-
11064
- for (var i = this.headMenu.length - 1; i >= 0; i--) {
11065
- var item = this.headMenu[i];
11066
- var currentWidth = (item.name || '').split('').length * 16 + 25 * 2;
11067
-
11068
- if (currentWidth >= width) {
11069
- index = i - 1;
11070
- break;
11071
- }
11072
-
11073
- width = width - currentWidth;
11074
- }
11075
-
11076
- return Math.max(0, index);
11077
- },
11078
- displayMenus: function displayMenus() {
11079
- if (this.packUpIndex === -1) {
11080
- return this.headMenu;
11081
- }
11082
-
11083
- var menus = this.headMenu.slice(0, this.packUpIndex);
11084
- var moreMenus = this.headMenu.slice(this.packUpIndex);
11085
- menus.push({
11086
- id: 'more',
11087
- name: '更多菜单',
11088
- children: moreMenus
11089
- });
11090
- return menus;
11091
- }
11092
- }),
11093
- mounted: function mounted() {
11094
- var _this = this;
11095
-
11096
- window.addEventListener('resize', this.onResize);
11097
- this.onResize();
11098
- var logo = document.querySelector('.page-header > .logo');
11099
- logo && logo.addEventListener('load', function () {
11100
- return _this.onResize();
11101
- });
11102
- },
11103
- beforeDestroy: function beforeDestroy() {
11104
- window.removeEventListener('resize', this.onResize);
11105
- },
11106
- methods: {
11107
- onResize: function onResize() {
11108
- var _this2 = this;
11109
-
11110
- clearTimeout(this.timer);
11111
- this.timer = setTimeout(function () {
11112
- var headerWidth = document.documentElement.clientWidth;
11113
- var logoEl = document.querySelector('.page-header > .logo');
11114
- var titleEl = document.querySelector('.page-header > .title');
11115
- var messageEl = document.querySelector('.page-header > .screen');
11116
- var usernameEl = document.querySelector('.page-header > .username');
11117
- var logoWidth = (logoEl && logoEl.offsetWidth || 0) + 20; // 20 margin
11118
-
11119
- var titleWidth = titleEl && titleEl.offsetWidth || 0;
11120
- var messageElWidth = messageEl && messageEl.offsetWidth || 0;
11121
- var usernameWidth = usernameEl && usernameEl.offsetWidth || 0;
11122
- var allowedMenuWidth = headerWidth - 60 - logoWidth - titleWidth - messageElWidth - usernameWidth;
11123
- _this2.packUpWidth = Math.max(0, _this2.menuWidth - allowedMenuWidth);
11124
- }, 50);
11125
- },
11126
- getCurrentHeadMenu: function getCurrentHeadMenu(path, menus) {
11127
- var _this3 = this;
11128
-
11129
- if (!Array.isArray(menus) || menus.length <= 0) {
11130
- return undefined;
11131
- }
11132
-
11133
- return menus.find(function (menu) {
11134
- var isMatched = (menu.children || []).some(function (childMenu) {
11135
- return (childMenu.path || childMenu.url) === path;
11136
- });
11137
-
11138
- if (isMatched) {
11139
- return true;
11140
- }
11141
-
11142
- return _this3.getCurrentHeadMenu(path, menu.children);
11143
- });
11144
- }
11145
- }
11146
- };/* script */
11147
- var __vue_script__$5 = script$5;
11148
- /* template */
11149
-
11150
- var __vue_render__$5 = function __vue_render__() {
11151
- var _vm = this;
11152
-
11153
- var _h = _vm.$createElement;
11154
-
11155
- var _c = _vm._self._c || _h;
11156
-
11157
- return _c('el-menu', _vm._g(_vm._b({
11158
- staticClass: "head-menu",
11159
- attrs: {
11160
- "mode": _vm.mode,
11161
- "router": _vm.router,
11162
- "default-active": _vm.active
11163
- }
11164
- }, 'el-menu', _vm.$attrs, false), _vm.$listeners), _vm._l(_vm.displayMenus, function (item) {
11165
- return _c('menu-item', {
11166
- key: item.id,
11167
- attrs: {
11168
- "item": item
11169
- }
11170
- });
11171
- }), 1);
11172
- };
11173
-
11174
- var __vue_staticRenderFns__$5 = [];
11175
- /* style */
11176
-
11177
- var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
11178
- if (!inject) return;
11179
- inject("data-v-ef35c828_0", {
11180
- source: ".head-menu.el-menu{background-color:transparent;border-bottom:none}.head-menu.el-menu>.el-menu-item,.head-menu.el-menu>.el-submenu .el-submenu__title{font-size:16px;font-weight:400;color:inherit;height:var(--header-height);line-height:var(--header-height);padding:0 25px;border:none;box-sizing:border-box;transition:all .2s ease-in-out}.head-menu.el-menu>.el-menu-item span,.head-menu.el-menu>.el-submenu .el-submenu__title span{vertical-align:unset}.head-menu.el-menu>.el-menu-item i,.head-menu.el-menu>.el-submenu .el-submenu__title i{width:20px;font-size:14px}.head-menu.el-menu>.el-menu-item:not(.is-disabled):not(.is-active):focus,.head-menu.el-menu>.el-menu-item:not(.is-disabled):not(.is-active):hover,.head-menu.el-menu>.el-submenu:not(.is-disabled):not(.is-active):focus .el-submenu__title,.head-menu.el-menu>.el-submenu:not(.is-disabled):not(.is-active):hover .el-submenu__title{color:inherit;background-color:rgba(0,146,63,.3)}.head-menu.el-menu>.el-menu-item.is-active,.head-menu.el-menu>.el-submenu.is-active .el-submenu__title{color:inherit;background-color:rgba(0,146,63,.6)}.head-menu.el-menu .el-submenu__title i{color:inherit}",
11181
- map: undefined,
11182
- media: undefined
11183
- });
11184
- };
11185
- /* scoped */
11186
-
11187
-
11188
- var __vue_scope_id__$5 = undefined;
11189
- /* module identifier */
11190
-
11191
- var __vue_module_identifier__$5 = "data-v-ef35c828";
11192
- /* functional template */
11193
-
11194
- var __vue_is_functional_template__$5 = false;
11195
- /* style inject shadow dom */
11196
-
11197
- var __vue_component__$5 = /*#__PURE__*/normalizeComponent({
11198
- render: __vue_render__$5,
11199
- staticRenderFns: __vue_staticRenderFns__$5
11200
- }, __vue_inject_styles__$5, __vue_script__$5, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, undefined, createInjectorSSR, undefined);
11201
-
11202
- var HeadMenu$1 = __vue_component__$5;var HeadMenu = {
11203
- install: function install(Vue) {
11204
- Vue.component(HeadMenu$1.name, HeadMenu$1);
11205
- }
11206
11981
  };//
11207
11982
 
11208
11983
  var firstUpperCase = function firstUpperCase(str) {
@@ -12049,10 +12824,24 @@ var SearchPage = __vue_component__;var Page = {
12049
12824
  Vue.component(Page$1.name, Page$1);
12050
12825
  Vue.component(SearchPage.name, SearchPage);
12051
12826
  }
12052
- };var components = [Icon, Form, Table, Dialog, Drawer, Fragment, Provider, Permission, DocumentTitle$1, FillView, HeadMenu, History, Minimize, Page];
12827
+ };var ComponentList = {
12828
+ Icon: Icon,
12829
+ Form: Form,
12830
+ Table: Table,
12831
+ Dialog: Dialog,
12832
+ Drawer: Drawer,
12833
+ Fragment: Fragment,
12834
+ Provider: Provider,
12835
+ Permission: Permission,
12836
+ DocumentTitle: DocumentTitle$1,
12837
+ FillView: FillView,
12838
+ History: History,
12839
+ Minimize: Minimize,
12840
+ Page: Page
12841
+ };
12053
12842
  var Components = {
12054
12843
  install: function install(Vue, opt) {
12055
- components.forEach(function (component) {
12844
+ Object.values(ComponentList).forEach(function (component) {
12056
12845
  Vue.use(component, opt);
12057
12846
  });
12058
12847
  }
@@ -12527,5 +13316,6 @@ var mixin = {
12527
13316
  Vue.use(Mixins, opt);
12528
13317
  Vue.use(Directives, opt);
12529
13318
  Vue.use(Components, opt);
12530
- }
12531
- };exports.Arrays=arrays;exports.Axios=Axios;exports.CascadeField=CascadeField;exports.Dates=Date$1;exports.FieldMixin=FieldMixin;exports.HistoryMixin=mixin;exports.Objects=Objects;exports.Router=Router;exports.Store=Store;exports.Strings=Strings;exports.Upload=Upload;exports.addFieldType=addFieldType;exports["default"]=index;
13319
+ },
13320
+ Components: ComponentList
13321
+ };exports.Arrays=arrays;exports.Axios=Axios;exports.Dates=Date$1;exports.FieldMixin=FieldMixin;exports.HistoryMixin=mixin;exports.Objects=Objects;exports.Router=Router;exports.Store=Store;exports.Strings=Strings;exports.Upload=Upload;exports.addFieldType=addFieldType;exports["default"]=index;