@v2coding/ui 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v2coding-ui.esm.js +2456 -615
- package/dist/v2coding-ui.min.js +1 -1
- package/dist/v2coding-ui.ssr.js +2450 -635
- package/package.json +1 -1
- package/src/components/fill-view/{index.vue → fill-view.vue} +0 -0
- package/src/components/head-menu/{index.vue → head-menu.vue} +1 -1
- package/src/components/head-menu/menu-item.vue +8 -12
- package/src/components/history/{index.vue → history.vue} +6 -5
- package/src/components/minimize/{index.vue → minimize.vue} +1 -1
- package/src/components/page/search-page.vue +202 -0
- package/src/components/scroll-view/scroll-view.vue +21 -21
- package/src/components/table/table.vue +8 -6
- package/src/components/field/field.upload.portrait.vue +0 -304
package/dist/v2coding-ui.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fromJS, is } from 'immutable';
|
|
2
2
|
import merge from 'lodash.merge';
|
|
3
3
|
import axios from 'axios';
|
|
4
|
-
import Vuex from 'vuex';
|
|
4
|
+
import Vuex, { mapState } from 'vuex';
|
|
5
5
|
import VuexPersistence from 'vuex-persist';
|
|
6
6
|
import VueRouter from 'vue-router';
|
|
7
7
|
import to from 'await-to-js';
|
|
@@ -16,6 +16,8 @@ import 'quill/dist/quill.snow.css';
|
|
|
16
16
|
import 'quill/dist/quill.bubble.css';
|
|
17
17
|
import XLSX from 'xlsx';
|
|
18
18
|
import { getPropByPath } from 'element-ui/lib/utils/util';
|
|
19
|
+
import { addResizeListener, removeResizeListener } from 'element-ui/lib/utils/resize-event';
|
|
20
|
+
import { Multipane, MultipaneResizer } from 'vue-multipane';
|
|
19
21
|
|
|
20
22
|
const toString = obj => Object.prototype.toString.call(obj);
|
|
21
23
|
const isObject = function () {
|
|
@@ -522,6 +524,9 @@ var Config = {
|
|
|
522
524
|
Iconfont.init();
|
|
523
525
|
}
|
|
524
526
|
};
|
|
527
|
+
const getSetting = () => {
|
|
528
|
+
return Objects.merge({}, setting);
|
|
529
|
+
};
|
|
525
530
|
|
|
526
531
|
const isFormErrorResponse = result => {
|
|
527
532
|
return result.code === 'FAILURE_PARAM_ERROR';
|
|
@@ -878,8 +883,92 @@ var Plugins = {
|
|
|
878
883
|
}
|
|
879
884
|
};
|
|
880
885
|
|
|
886
|
+
var AutoScroll = {
|
|
887
|
+
name: 'auto-scroll',
|
|
888
|
+
bind: (el, binding, vnode) => {
|
|
889
|
+
const vm = vnode.componentInstance;
|
|
890
|
+
|
|
891
|
+
if (!vm || vm.$options.name !== 'ElTable') {
|
|
892
|
+
return;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
let timer,
|
|
896
|
+
interval = binding.value || 2000;
|
|
897
|
+
const unwatch = vm.$watch('data', () => {
|
|
898
|
+
vm.$nextTick(() => {
|
|
899
|
+
clearInterval(timer);
|
|
900
|
+
|
|
901
|
+
vm.bodyWrapper.onmouseover = () => {
|
|
902
|
+
clearInterval(timer);
|
|
903
|
+
};
|
|
904
|
+
|
|
905
|
+
vm.bodyWrapper.onmouseout = () => {
|
|
906
|
+
clearInterval(timer);
|
|
907
|
+
|
|
908
|
+
_start(vm);
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
_start(vm);
|
|
912
|
+
});
|
|
913
|
+
|
|
914
|
+
function _start(vm) {
|
|
915
|
+
timer = setInterval(() => {
|
|
916
|
+
const rows = vm.bodyWrapper.querySelectorAll('.el-table__row');
|
|
917
|
+
const rowHeights = Array.from(rows).map(row => row.clientHeight);
|
|
918
|
+
const scrollMax = vm.bodyWrapper.scrollHeight - vm.bodyWrapper.offsetHeight;
|
|
919
|
+
let scrollTop = vm.bodyWrapper.scrollTop;
|
|
920
|
+
|
|
921
|
+
if (scrollTop >= scrollMax) {
|
|
922
|
+
vm.bodyWrapper.scrollTo({
|
|
923
|
+
top: 0,
|
|
924
|
+
behavior: 'smooth'
|
|
925
|
+
});
|
|
926
|
+
return;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
const lastScrollIndex = rowHeights.findIndex(height => {
|
|
930
|
+
if (scrollTop < height) {
|
|
931
|
+
return true;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
scrollTop = scrollTop - height;
|
|
935
|
+
return false;
|
|
936
|
+
});
|
|
937
|
+
|
|
938
|
+
if (lastScrollIndex === -1) {
|
|
939
|
+
vm.bodyWrapper.scrollTo({
|
|
940
|
+
top: 0,
|
|
941
|
+
behavior: 'smooth'
|
|
942
|
+
});
|
|
943
|
+
return;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
const scrollToIndex = lastScrollIndex + 1;
|
|
947
|
+
const scrollHeight = rowHeights.slice(0, scrollToIndex).reduce((acc, height) => acc + height, 0);
|
|
948
|
+
vm.bodyWrapper.scrollTo({
|
|
949
|
+
top: scrollHeight,
|
|
950
|
+
behavior: 'smooth'
|
|
951
|
+
});
|
|
952
|
+
}, interval);
|
|
953
|
+
}
|
|
954
|
+
}, {
|
|
955
|
+
immediate: true
|
|
956
|
+
});
|
|
957
|
+
vm.$once('hook:beforeDestroy', () => {
|
|
958
|
+
unwatch();
|
|
959
|
+
clearInterval(timer);
|
|
960
|
+
});
|
|
961
|
+
}
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
var Directives = {
|
|
965
|
+
install: Vue => {
|
|
966
|
+
Vue.directive(AutoScroll.name, AutoScroll);
|
|
967
|
+
}
|
|
968
|
+
};
|
|
969
|
+
|
|
881
970
|
//
|
|
882
|
-
var script$
|
|
971
|
+
var script$F = {
|
|
883
972
|
name: 'ui-icon',
|
|
884
973
|
props: {
|
|
885
974
|
name: String
|
|
@@ -920,139 +1009,139 @@ var script$x = {
|
|
|
920
1009
|
}
|
|
921
1010
|
};
|
|
922
1011
|
|
|
923
|
-
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
924
|
-
if (typeof shadowMode !== 'boolean') {
|
|
925
|
-
createInjectorSSR = createInjector;
|
|
926
|
-
createInjector = shadowMode;
|
|
927
|
-
shadowMode = false;
|
|
928
|
-
}
|
|
929
|
-
// Vue.extend constructor export interop.
|
|
930
|
-
const options = typeof script === 'function' ? script.options : script;
|
|
931
|
-
// render functions
|
|
932
|
-
if (template && template.render) {
|
|
933
|
-
options.render = template.render;
|
|
934
|
-
options.staticRenderFns = template.staticRenderFns;
|
|
935
|
-
options._compiled = true;
|
|
936
|
-
// functional template
|
|
937
|
-
if (isFunctionalTemplate) {
|
|
938
|
-
options.functional = true;
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
// scopedId
|
|
942
|
-
if (scopeId) {
|
|
943
|
-
options._scopeId = scopeId;
|
|
944
|
-
}
|
|
945
|
-
let hook;
|
|
946
|
-
if (moduleIdentifier) {
|
|
947
|
-
// server build
|
|
948
|
-
hook = function (context) {
|
|
949
|
-
// 2.3 injection
|
|
950
|
-
context =
|
|
951
|
-
context || // cached call
|
|
952
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
953
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
|
|
954
|
-
// 2.2 with runInNewContext: true
|
|
955
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
956
|
-
context = __VUE_SSR_CONTEXT__;
|
|
957
|
-
}
|
|
958
|
-
// inject component styles
|
|
959
|
-
if (style) {
|
|
960
|
-
style.call(this, createInjectorSSR(context));
|
|
961
|
-
}
|
|
962
|
-
// register component module identifier for async chunk inference
|
|
963
|
-
if (context && context._registeredComponents) {
|
|
964
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
965
|
-
}
|
|
966
|
-
};
|
|
967
|
-
// used by ssr in case component is cached and beforeCreate
|
|
968
|
-
// never gets called
|
|
969
|
-
options._ssrRegister = hook;
|
|
970
|
-
}
|
|
971
|
-
else if (style) {
|
|
972
|
-
hook = shadowMode
|
|
973
|
-
? function (context) {
|
|
974
|
-
style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
|
|
975
|
-
}
|
|
976
|
-
: function (context) {
|
|
977
|
-
style.call(this, createInjector(context));
|
|
978
|
-
};
|
|
979
|
-
}
|
|
980
|
-
if (hook) {
|
|
981
|
-
if (options.functional) {
|
|
982
|
-
// register for functional component in vue file
|
|
983
|
-
const originalRender = options.render;
|
|
984
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
985
|
-
hook.call(context);
|
|
986
|
-
return originalRender(h, context);
|
|
987
|
-
};
|
|
988
|
-
}
|
|
989
|
-
else {
|
|
990
|
-
// inject component registration as beforeCreate hook
|
|
991
|
-
const existing = options.beforeCreate;
|
|
992
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
return script;
|
|
1012
|
+
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
1013
|
+
if (typeof shadowMode !== 'boolean') {
|
|
1014
|
+
createInjectorSSR = createInjector;
|
|
1015
|
+
createInjector = shadowMode;
|
|
1016
|
+
shadowMode = false;
|
|
1017
|
+
}
|
|
1018
|
+
// Vue.extend constructor export interop.
|
|
1019
|
+
const options = typeof script === 'function' ? script.options : script;
|
|
1020
|
+
// render functions
|
|
1021
|
+
if (template && template.render) {
|
|
1022
|
+
options.render = template.render;
|
|
1023
|
+
options.staticRenderFns = template.staticRenderFns;
|
|
1024
|
+
options._compiled = true;
|
|
1025
|
+
// functional template
|
|
1026
|
+
if (isFunctionalTemplate) {
|
|
1027
|
+
options.functional = true;
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
// scopedId
|
|
1031
|
+
if (scopeId) {
|
|
1032
|
+
options._scopeId = scopeId;
|
|
1033
|
+
}
|
|
1034
|
+
let hook;
|
|
1035
|
+
if (moduleIdentifier) {
|
|
1036
|
+
// server build
|
|
1037
|
+
hook = function (context) {
|
|
1038
|
+
// 2.3 injection
|
|
1039
|
+
context =
|
|
1040
|
+
context || // cached call
|
|
1041
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
1042
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
|
|
1043
|
+
// 2.2 with runInNewContext: true
|
|
1044
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
1045
|
+
context = __VUE_SSR_CONTEXT__;
|
|
1046
|
+
}
|
|
1047
|
+
// inject component styles
|
|
1048
|
+
if (style) {
|
|
1049
|
+
style.call(this, createInjectorSSR(context));
|
|
1050
|
+
}
|
|
1051
|
+
// register component module identifier for async chunk inference
|
|
1052
|
+
if (context && context._registeredComponents) {
|
|
1053
|
+
context._registeredComponents.add(moduleIdentifier);
|
|
1054
|
+
}
|
|
1055
|
+
};
|
|
1056
|
+
// used by ssr in case component is cached and beforeCreate
|
|
1057
|
+
// never gets called
|
|
1058
|
+
options._ssrRegister = hook;
|
|
1059
|
+
}
|
|
1060
|
+
else if (style) {
|
|
1061
|
+
hook = shadowMode
|
|
1062
|
+
? function (context) {
|
|
1063
|
+
style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
|
|
1064
|
+
}
|
|
1065
|
+
: function (context) {
|
|
1066
|
+
style.call(this, createInjector(context));
|
|
1067
|
+
};
|
|
1068
|
+
}
|
|
1069
|
+
if (hook) {
|
|
1070
|
+
if (options.functional) {
|
|
1071
|
+
// register for functional component in vue file
|
|
1072
|
+
const originalRender = options.render;
|
|
1073
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
1074
|
+
hook.call(context);
|
|
1075
|
+
return originalRender(h, context);
|
|
1076
|
+
};
|
|
1077
|
+
}
|
|
1078
|
+
else {
|
|
1079
|
+
// inject component registration as beforeCreate hook
|
|
1080
|
+
const existing = options.beforeCreate;
|
|
1081
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
return script;
|
|
996
1085
|
}
|
|
997
1086
|
|
|
998
|
-
const isOldIE = typeof navigator !== 'undefined' &&
|
|
999
|
-
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1000
|
-
function createInjector(context) {
|
|
1001
|
-
return (id, style) => addStyle(id, style);
|
|
1002
|
-
}
|
|
1003
|
-
let HEAD;
|
|
1004
|
-
const styles = {};
|
|
1005
|
-
function addStyle(id, css) {
|
|
1006
|
-
const group = isOldIE ? css.media || 'default' : id;
|
|
1007
|
-
const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });
|
|
1008
|
-
if (!style.ids.has(id)) {
|
|
1009
|
-
style.ids.add(id);
|
|
1010
|
-
let code = css.source;
|
|
1011
|
-
if (css.map) {
|
|
1012
|
-
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
1013
|
-
// this makes source maps inside style tags work properly in Chrome
|
|
1014
|
-
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
1015
|
-
// http://stackoverflow.com/a/26603875
|
|
1016
|
-
code +=
|
|
1017
|
-
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
1018
|
-
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
1019
|
-
' */';
|
|
1020
|
-
}
|
|
1021
|
-
if (!style.element) {
|
|
1022
|
-
style.element = document.createElement('style');
|
|
1023
|
-
style.element.type = 'text/css';
|
|
1024
|
-
if (css.media)
|
|
1025
|
-
style.element.setAttribute('media', css.media);
|
|
1026
|
-
if (HEAD === undefined) {
|
|
1027
|
-
HEAD = document.head || document.getElementsByTagName('head')[0];
|
|
1028
|
-
}
|
|
1029
|
-
HEAD.appendChild(style.element);
|
|
1030
|
-
}
|
|
1031
|
-
if ('styleSheet' in style.element) {
|
|
1032
|
-
style.styles.push(code);
|
|
1033
|
-
style.element.styleSheet.cssText = style.styles
|
|
1034
|
-
.filter(Boolean)
|
|
1035
|
-
.join('\n');
|
|
1036
|
-
}
|
|
1037
|
-
else {
|
|
1038
|
-
const index = style.ids.size - 1;
|
|
1039
|
-
const textNode = document.createTextNode(code);
|
|
1040
|
-
const nodes = style.element.childNodes;
|
|
1041
|
-
if (nodes[index])
|
|
1042
|
-
style.element.removeChild(nodes[index]);
|
|
1043
|
-
if (nodes.length)
|
|
1044
|
-
style.element.insertBefore(textNode, nodes[index]);
|
|
1045
|
-
else
|
|
1046
|
-
style.element.appendChild(textNode);
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1087
|
+
const isOldIE = typeof navigator !== 'undefined' &&
|
|
1088
|
+
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1089
|
+
function createInjector(context) {
|
|
1090
|
+
return (id, style) => addStyle(id, style);
|
|
1091
|
+
}
|
|
1092
|
+
let HEAD;
|
|
1093
|
+
const styles = {};
|
|
1094
|
+
function addStyle(id, css) {
|
|
1095
|
+
const group = isOldIE ? css.media || 'default' : id;
|
|
1096
|
+
const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });
|
|
1097
|
+
if (!style.ids.has(id)) {
|
|
1098
|
+
style.ids.add(id);
|
|
1099
|
+
let code = css.source;
|
|
1100
|
+
if (css.map) {
|
|
1101
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
1102
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
1103
|
+
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
1104
|
+
// http://stackoverflow.com/a/26603875
|
|
1105
|
+
code +=
|
|
1106
|
+
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
1107
|
+
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
1108
|
+
' */';
|
|
1109
|
+
}
|
|
1110
|
+
if (!style.element) {
|
|
1111
|
+
style.element = document.createElement('style');
|
|
1112
|
+
style.element.type = 'text/css';
|
|
1113
|
+
if (css.media)
|
|
1114
|
+
style.element.setAttribute('media', css.media);
|
|
1115
|
+
if (HEAD === undefined) {
|
|
1116
|
+
HEAD = document.head || document.getElementsByTagName('head')[0];
|
|
1117
|
+
}
|
|
1118
|
+
HEAD.appendChild(style.element);
|
|
1119
|
+
}
|
|
1120
|
+
if ('styleSheet' in style.element) {
|
|
1121
|
+
style.styles.push(code);
|
|
1122
|
+
style.element.styleSheet.cssText = style.styles
|
|
1123
|
+
.filter(Boolean)
|
|
1124
|
+
.join('\n');
|
|
1125
|
+
}
|
|
1126
|
+
else {
|
|
1127
|
+
const index = style.ids.size - 1;
|
|
1128
|
+
const textNode = document.createTextNode(code);
|
|
1129
|
+
const nodes = style.element.childNodes;
|
|
1130
|
+
if (nodes[index])
|
|
1131
|
+
style.element.removeChild(nodes[index]);
|
|
1132
|
+
if (nodes.length)
|
|
1133
|
+
style.element.insertBefore(textNode, nodes[index]);
|
|
1134
|
+
else
|
|
1135
|
+
style.element.appendChild(textNode);
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1049
1138
|
}
|
|
1050
1139
|
|
|
1051
1140
|
/* script */
|
|
1052
|
-
const __vue_script__$
|
|
1141
|
+
const __vue_script__$G = script$F;
|
|
1053
1142
|
/* template */
|
|
1054
1143
|
|
|
1055
|
-
var __vue_render__$
|
|
1144
|
+
var __vue_render__$E = function () {
|
|
1056
1145
|
var _vm = this;
|
|
1057
1146
|
|
|
1058
1147
|
var _h = _vm.$createElement;
|
|
@@ -1071,10 +1160,10 @@ var __vue_render__$x = function () {
|
|
|
1071
1160
|
})]);
|
|
1072
1161
|
};
|
|
1073
1162
|
|
|
1074
|
-
var __vue_staticRenderFns__$
|
|
1163
|
+
var __vue_staticRenderFns__$E = [];
|
|
1075
1164
|
/* style */
|
|
1076
1165
|
|
|
1077
|
-
const __vue_inject_styles__$
|
|
1166
|
+
const __vue_inject_styles__$G = function (inject) {
|
|
1078
1167
|
if (!inject) return;
|
|
1079
1168
|
inject("data-v-135b2758_0", {
|
|
1080
1169
|
source: ".ui-icon[data-v-135b2758]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden;display:inline-block}.ui-icon.ui-icon-loading[data-v-135b2758]{animation:rotating-data-v-135b2758 2s linear infinite}@keyframes rotating-data-v-135b2758{from{transform:rotate(0)}to{transform:rotate(1turn)}}",
|
|
@@ -1085,23 +1174,23 @@ const __vue_inject_styles__$y = function (inject) {
|
|
|
1085
1174
|
/* scoped */
|
|
1086
1175
|
|
|
1087
1176
|
|
|
1088
|
-
const __vue_scope_id__$
|
|
1177
|
+
const __vue_scope_id__$G = "data-v-135b2758";
|
|
1089
1178
|
/* module identifier */
|
|
1090
1179
|
|
|
1091
|
-
const __vue_module_identifier__$
|
|
1180
|
+
const __vue_module_identifier__$G = undefined;
|
|
1092
1181
|
/* functional template */
|
|
1093
1182
|
|
|
1094
|
-
const __vue_is_functional_template__$
|
|
1183
|
+
const __vue_is_functional_template__$G = false;
|
|
1095
1184
|
/* style inject SSR */
|
|
1096
1185
|
|
|
1097
1186
|
/* style inject shadow dom */
|
|
1098
1187
|
|
|
1099
|
-
const __vue_component__$
|
|
1100
|
-
render: __vue_render__$
|
|
1101
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1102
|
-
}, __vue_inject_styles__$
|
|
1188
|
+
const __vue_component__$G = /*#__PURE__*/normalizeComponent({
|
|
1189
|
+
render: __vue_render__$E,
|
|
1190
|
+
staticRenderFns: __vue_staticRenderFns__$E
|
|
1191
|
+
}, __vue_inject_styles__$G, __vue_script__$G, __vue_scope_id__$G, __vue_is_functional_template__$G, __vue_module_identifier__$G, false, createInjector, undefined, undefined);
|
|
1103
1192
|
|
|
1104
|
-
var Icon$1 = __vue_component__$
|
|
1193
|
+
var Icon$1 = __vue_component__$G;
|
|
1105
1194
|
|
|
1106
1195
|
var Icon = {
|
|
1107
1196
|
install: Vue => {
|
|
@@ -1789,17 +1878,17 @@ var DisplayField = {
|
|
|
1789
1878
|
};
|
|
1790
1879
|
|
|
1791
1880
|
//
|
|
1792
|
-
var script$
|
|
1881
|
+
var script$E = {
|
|
1793
1882
|
name: 'ui-field-autocomplete',
|
|
1794
1883
|
inheritAttrs: false,
|
|
1795
1884
|
mixins: [FieldMixin]
|
|
1796
1885
|
};
|
|
1797
1886
|
|
|
1798
1887
|
/* script */
|
|
1799
|
-
const __vue_script__$
|
|
1888
|
+
const __vue_script__$F = script$E;
|
|
1800
1889
|
/* template */
|
|
1801
1890
|
|
|
1802
|
-
var __vue_render__$
|
|
1891
|
+
var __vue_render__$D = function () {
|
|
1803
1892
|
var _vm = this;
|
|
1804
1893
|
|
|
1805
1894
|
var _h = _vm.$createElement;
|
|
@@ -1813,34 +1902,34 @@ var __vue_render__$w = function () {
|
|
|
1813
1902
|
}, 'el-autocomplete', _vm.$attrs, false), _vm.$listeners));
|
|
1814
1903
|
};
|
|
1815
1904
|
|
|
1816
|
-
var __vue_staticRenderFns__$
|
|
1905
|
+
var __vue_staticRenderFns__$D = [];
|
|
1817
1906
|
/* style */
|
|
1818
1907
|
|
|
1819
|
-
const __vue_inject_styles__$
|
|
1908
|
+
const __vue_inject_styles__$F = undefined;
|
|
1820
1909
|
/* scoped */
|
|
1821
1910
|
|
|
1822
|
-
const __vue_scope_id__$
|
|
1911
|
+
const __vue_scope_id__$F = undefined;
|
|
1823
1912
|
/* module identifier */
|
|
1824
1913
|
|
|
1825
|
-
const __vue_module_identifier__$
|
|
1914
|
+
const __vue_module_identifier__$F = undefined;
|
|
1826
1915
|
/* functional template */
|
|
1827
1916
|
|
|
1828
|
-
const __vue_is_functional_template__$
|
|
1917
|
+
const __vue_is_functional_template__$F = false;
|
|
1829
1918
|
/* style inject */
|
|
1830
1919
|
|
|
1831
1920
|
/* style inject SSR */
|
|
1832
1921
|
|
|
1833
1922
|
/* style inject shadow dom */
|
|
1834
1923
|
|
|
1835
|
-
const __vue_component__$
|
|
1836
|
-
render: __vue_render__$
|
|
1837
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1838
|
-
}, __vue_inject_styles__$
|
|
1924
|
+
const __vue_component__$F = /*#__PURE__*/normalizeComponent({
|
|
1925
|
+
render: __vue_render__$D,
|
|
1926
|
+
staticRenderFns: __vue_staticRenderFns__$D
|
|
1927
|
+
}, __vue_inject_styles__$F, __vue_script__$F, __vue_scope_id__$F, __vue_is_functional_template__$F, __vue_module_identifier__$F, false, undefined, undefined, undefined);
|
|
1839
1928
|
|
|
1840
|
-
var AutocompleteField = __vue_component__$
|
|
1929
|
+
var AutocompleteField = __vue_component__$F;
|
|
1841
1930
|
|
|
1842
1931
|
//
|
|
1843
|
-
var script$
|
|
1932
|
+
var script$D = {
|
|
1844
1933
|
name: 'ui-field-text',
|
|
1845
1934
|
inheritAttrs: false,
|
|
1846
1935
|
mixins: [FieldMixin],
|
|
@@ -1884,10 +1973,10 @@ var script$v = {
|
|
|
1884
1973
|
};
|
|
1885
1974
|
|
|
1886
1975
|
/* script */
|
|
1887
|
-
const __vue_script__$
|
|
1976
|
+
const __vue_script__$E = script$D;
|
|
1888
1977
|
/* template */
|
|
1889
1978
|
|
|
1890
|
-
var __vue_render__$
|
|
1979
|
+
var __vue_render__$C = function () {
|
|
1891
1980
|
var _vm = this;
|
|
1892
1981
|
|
|
1893
1982
|
var _h = _vm.$createElement;
|
|
@@ -1907,10 +1996,10 @@ var __vue_render__$v = function () {
|
|
|
1907
1996
|
}, 'el-input', _vm.$attrs, false), _vm.$listeners));
|
|
1908
1997
|
};
|
|
1909
1998
|
|
|
1910
|
-
var __vue_staticRenderFns__$
|
|
1999
|
+
var __vue_staticRenderFns__$C = [];
|
|
1911
2000
|
/* style */
|
|
1912
2001
|
|
|
1913
|
-
const __vue_inject_styles__$
|
|
2002
|
+
const __vue_inject_styles__$E = function (inject) {
|
|
1914
2003
|
if (!inject) return;
|
|
1915
2004
|
inject("data-v-5e8a712c_0", {
|
|
1916
2005
|
source: ".el-input__suffix-inner{display:flex;align-items:center;height:100%}.el-input--large .el-input__count .el-input__count-inner{line-height:38px}.el-input--medium .el-input__count .el-input__count-inner{line-height:34px}.el-input--mini .el-input__count .el-input__count-inner{line-height:26px}",
|
|
@@ -1921,23 +2010,23 @@ const __vue_inject_styles__$w = function (inject) {
|
|
|
1921
2010
|
/* scoped */
|
|
1922
2011
|
|
|
1923
2012
|
|
|
1924
|
-
const __vue_scope_id__$
|
|
2013
|
+
const __vue_scope_id__$E = undefined;
|
|
1925
2014
|
/* module identifier */
|
|
1926
2015
|
|
|
1927
|
-
const __vue_module_identifier__$
|
|
2016
|
+
const __vue_module_identifier__$E = undefined;
|
|
1928
2017
|
/* functional template */
|
|
1929
2018
|
|
|
1930
|
-
const __vue_is_functional_template__$
|
|
2019
|
+
const __vue_is_functional_template__$E = false;
|
|
1931
2020
|
/* style inject SSR */
|
|
1932
2021
|
|
|
1933
2022
|
/* style inject shadow dom */
|
|
1934
2023
|
|
|
1935
|
-
const __vue_component__$
|
|
1936
|
-
render: __vue_render__$
|
|
1937
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
1938
|
-
}, __vue_inject_styles__$
|
|
2024
|
+
const __vue_component__$E = /*#__PURE__*/normalizeComponent({
|
|
2025
|
+
render: __vue_render__$C,
|
|
2026
|
+
staticRenderFns: __vue_staticRenderFns__$C
|
|
2027
|
+
}, __vue_inject_styles__$E, __vue_script__$E, __vue_scope_id__$E, __vue_is_functional_template__$E, __vue_module_identifier__$E, false, createInjector, undefined, undefined);
|
|
1939
2028
|
|
|
1940
|
-
var TextField = __vue_component__$
|
|
2029
|
+
var TextField = __vue_component__$E;
|
|
1941
2030
|
|
|
1942
2031
|
const mapLabelValue = (data, config) => {
|
|
1943
2032
|
if (!Array.isArray(data)) {
|
|
@@ -2128,7 +2217,7 @@ var DataMixin = {
|
|
|
2128
2217
|
};
|
|
2129
2218
|
|
|
2130
2219
|
//
|
|
2131
|
-
var script$
|
|
2220
|
+
var script$C = {
|
|
2132
2221
|
name: 'ui-field-radio',
|
|
2133
2222
|
mixins: [FieldMixin, DataMixin],
|
|
2134
2223
|
props: {
|
|
@@ -2196,10 +2285,10 @@ var script$u = {
|
|
|
2196
2285
|
};
|
|
2197
2286
|
|
|
2198
2287
|
/* script */
|
|
2199
|
-
const __vue_script__$
|
|
2288
|
+
const __vue_script__$D = script$C;
|
|
2200
2289
|
/* template */
|
|
2201
2290
|
|
|
2202
|
-
var __vue_render__$
|
|
2291
|
+
var __vue_render__$B = function () {
|
|
2203
2292
|
var _vm = this;
|
|
2204
2293
|
|
|
2205
2294
|
var _h = _vm.$createElement;
|
|
@@ -2249,10 +2338,10 @@ var __vue_render__$u = function () {
|
|
|
2249
2338
|
}, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
|
|
2250
2339
|
};
|
|
2251
2340
|
|
|
2252
|
-
var __vue_staticRenderFns__$
|
|
2341
|
+
var __vue_staticRenderFns__$B = [];
|
|
2253
2342
|
/* style */
|
|
2254
2343
|
|
|
2255
|
-
const __vue_inject_styles__$
|
|
2344
|
+
const __vue_inject_styles__$D = function (inject) {
|
|
2256
2345
|
if (!inject) return;
|
|
2257
2346
|
inject("data-v-f02e57a0_0", {
|
|
2258
2347
|
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}",
|
|
@@ -2263,26 +2352,26 @@ const __vue_inject_styles__$v = function (inject) {
|
|
|
2263
2352
|
/* scoped */
|
|
2264
2353
|
|
|
2265
2354
|
|
|
2266
|
-
const __vue_scope_id__$
|
|
2355
|
+
const __vue_scope_id__$D = "data-v-f02e57a0";
|
|
2267
2356
|
/* module identifier */
|
|
2268
2357
|
|
|
2269
|
-
const __vue_module_identifier__$
|
|
2358
|
+
const __vue_module_identifier__$D = undefined;
|
|
2270
2359
|
/* functional template */
|
|
2271
2360
|
|
|
2272
|
-
const __vue_is_functional_template__$
|
|
2361
|
+
const __vue_is_functional_template__$D = false;
|
|
2273
2362
|
/* style inject SSR */
|
|
2274
2363
|
|
|
2275
2364
|
/* style inject shadow dom */
|
|
2276
2365
|
|
|
2277
|
-
const __vue_component__$
|
|
2278
|
-
render: __vue_render__$
|
|
2279
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2280
|
-
}, __vue_inject_styles__$
|
|
2366
|
+
const __vue_component__$D = /*#__PURE__*/normalizeComponent({
|
|
2367
|
+
render: __vue_render__$B,
|
|
2368
|
+
staticRenderFns: __vue_staticRenderFns__$B
|
|
2369
|
+
}, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, createInjector, undefined, undefined);
|
|
2281
2370
|
|
|
2282
|
-
var RadioField = __vue_component__$
|
|
2371
|
+
var RadioField = __vue_component__$D;
|
|
2283
2372
|
|
|
2284
2373
|
//
|
|
2285
|
-
var script$
|
|
2374
|
+
var script$B = {
|
|
2286
2375
|
name: 'ui-field-checkbox',
|
|
2287
2376
|
mixins: [FieldMixin, DataMixin],
|
|
2288
2377
|
props: {
|
|
@@ -2363,10 +2452,10 @@ var script$t = {
|
|
|
2363
2452
|
};
|
|
2364
2453
|
|
|
2365
2454
|
/* script */
|
|
2366
|
-
const __vue_script__$
|
|
2455
|
+
const __vue_script__$C = script$B;
|
|
2367
2456
|
/* template */
|
|
2368
2457
|
|
|
2369
|
-
var __vue_render__$
|
|
2458
|
+
var __vue_render__$A = function () {
|
|
2370
2459
|
var _vm = this;
|
|
2371
2460
|
|
|
2372
2461
|
var _h = _vm.$createElement;
|
|
@@ -2453,10 +2542,10 @@ var __vue_render__$t = function () {
|
|
|
2453
2542
|
}, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
|
|
2454
2543
|
};
|
|
2455
2544
|
|
|
2456
|
-
var __vue_staticRenderFns__$
|
|
2545
|
+
var __vue_staticRenderFns__$A = [];
|
|
2457
2546
|
/* style */
|
|
2458
2547
|
|
|
2459
|
-
const __vue_inject_styles__$
|
|
2548
|
+
const __vue_inject_styles__$C = function (inject) {
|
|
2460
2549
|
if (!inject) return;
|
|
2461
2550
|
inject("data-v-fe03ce2a_0", {
|
|
2462
2551
|
source: ".ui-field-checkbox .all[data-v-fe03ce2a]{display:flex}.ui-field-checkbox .all>.el-checkbox[data-v-fe03ce2a]{margin-right:0}.ui-field-checkbox .options[data-v-fe03ce2a]{display:flex;flex-direction:row;align-items:center}.ui-field-checkbox .empty[data-v-fe03ce2a]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-checkbox[data-v-fe03ce2a] .el-checkbox{margin:0 8px 0 0}.ui-field-checkbox[data-v-fe03ce2a] .el-checkbox.is-bordered+.el-checkbox.is-bordered{margin-left:0}.ui-field-checkbox[data-v-fe03ce2a] .el-divider{margin:0 10px}[data-v-fe03ce2a] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
|
|
@@ -2467,26 +2556,26 @@ const __vue_inject_styles__$u = function (inject) {
|
|
|
2467
2556
|
/* scoped */
|
|
2468
2557
|
|
|
2469
2558
|
|
|
2470
|
-
const __vue_scope_id__$
|
|
2559
|
+
const __vue_scope_id__$C = "data-v-fe03ce2a";
|
|
2471
2560
|
/* module identifier */
|
|
2472
2561
|
|
|
2473
|
-
const __vue_module_identifier__$
|
|
2562
|
+
const __vue_module_identifier__$C = undefined;
|
|
2474
2563
|
/* functional template */
|
|
2475
2564
|
|
|
2476
|
-
const __vue_is_functional_template__$
|
|
2565
|
+
const __vue_is_functional_template__$C = false;
|
|
2477
2566
|
/* style inject SSR */
|
|
2478
2567
|
|
|
2479
2568
|
/* style inject shadow dom */
|
|
2480
2569
|
|
|
2481
|
-
const __vue_component__$
|
|
2482
|
-
render: __vue_render__$
|
|
2483
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2484
|
-
}, __vue_inject_styles__$
|
|
2570
|
+
const __vue_component__$C = /*#__PURE__*/normalizeComponent({
|
|
2571
|
+
render: __vue_render__$A,
|
|
2572
|
+
staticRenderFns: __vue_staticRenderFns__$A
|
|
2573
|
+
}, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, createInjector, undefined, undefined);
|
|
2485
2574
|
|
|
2486
|
-
var CheckboxField = __vue_component__$
|
|
2575
|
+
var CheckboxField = __vue_component__$C;
|
|
2487
2576
|
|
|
2488
2577
|
//
|
|
2489
|
-
var script$
|
|
2578
|
+
var script$A = {
|
|
2490
2579
|
name: 'ui-field-select',
|
|
2491
2580
|
mixins: [FieldMixin, DataMixin],
|
|
2492
2581
|
inheritAttrs: false,
|
|
@@ -2680,10 +2769,10 @@ var script$s = {
|
|
|
2680
2769
|
};
|
|
2681
2770
|
|
|
2682
2771
|
/* script */
|
|
2683
|
-
const __vue_script__$
|
|
2772
|
+
const __vue_script__$B = script$A;
|
|
2684
2773
|
/* template */
|
|
2685
2774
|
|
|
2686
|
-
var __vue_render__$
|
|
2775
|
+
var __vue_render__$z = function () {
|
|
2687
2776
|
var _vm = this;
|
|
2688
2777
|
|
|
2689
2778
|
var _h = _vm.$createElement;
|
|
@@ -2808,10 +2897,10 @@ var __vue_render__$s = function () {
|
|
|
2808
2897
|
})], 1)], 1) : _vm._e()], 1);
|
|
2809
2898
|
};
|
|
2810
2899
|
|
|
2811
|
-
var __vue_staticRenderFns__$
|
|
2900
|
+
var __vue_staticRenderFns__$z = [];
|
|
2812
2901
|
/* style */
|
|
2813
2902
|
|
|
2814
|
-
const __vue_inject_styles__$
|
|
2903
|
+
const __vue_inject_styles__$B = function (inject) {
|
|
2815
2904
|
if (!inject) return;
|
|
2816
2905
|
inject("data-v-7c196bc6_0", {
|
|
2817
2906
|
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}",
|
|
@@ -2822,26 +2911,26 @@ const __vue_inject_styles__$t = function (inject) {
|
|
|
2822
2911
|
/* scoped */
|
|
2823
2912
|
|
|
2824
2913
|
|
|
2825
|
-
const __vue_scope_id__$
|
|
2914
|
+
const __vue_scope_id__$B = undefined;
|
|
2826
2915
|
/* module identifier */
|
|
2827
2916
|
|
|
2828
|
-
const __vue_module_identifier__$
|
|
2917
|
+
const __vue_module_identifier__$B = undefined;
|
|
2829
2918
|
/* functional template */
|
|
2830
2919
|
|
|
2831
|
-
const __vue_is_functional_template__$
|
|
2920
|
+
const __vue_is_functional_template__$B = false;
|
|
2832
2921
|
/* style inject SSR */
|
|
2833
2922
|
|
|
2834
2923
|
/* style inject shadow dom */
|
|
2835
2924
|
|
|
2836
|
-
const __vue_component__$
|
|
2837
|
-
render: __vue_render__$
|
|
2838
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2839
|
-
}, __vue_inject_styles__$
|
|
2925
|
+
const __vue_component__$B = /*#__PURE__*/normalizeComponent({
|
|
2926
|
+
render: __vue_render__$z,
|
|
2927
|
+
staticRenderFns: __vue_staticRenderFns__$z
|
|
2928
|
+
}, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, createInjector, undefined, undefined);
|
|
2840
2929
|
|
|
2841
|
-
var SelectField = __vue_component__$
|
|
2930
|
+
var SelectField = __vue_component__$B;
|
|
2842
2931
|
|
|
2843
2932
|
//
|
|
2844
|
-
var script$
|
|
2933
|
+
var script$z = {
|
|
2845
2934
|
name: 'ui-field-number',
|
|
2846
2935
|
mixins: [FieldMixin],
|
|
2847
2936
|
props: {
|
|
@@ -2872,10 +2961,10 @@ var script$r = {
|
|
|
2872
2961
|
};
|
|
2873
2962
|
|
|
2874
2963
|
/* script */
|
|
2875
|
-
const __vue_script__$
|
|
2964
|
+
const __vue_script__$A = script$z;
|
|
2876
2965
|
/* template */
|
|
2877
2966
|
|
|
2878
|
-
var __vue_render__$
|
|
2967
|
+
var __vue_render__$y = function () {
|
|
2879
2968
|
var _vm = this;
|
|
2880
2969
|
|
|
2881
2970
|
var _h = _vm.$createElement;
|
|
@@ -2891,10 +2980,10 @@ var __vue_render__$r = function () {
|
|
|
2891
2980
|
}, 'el-input-number', _vm.$attrs, false), _vm.$listeners));
|
|
2892
2981
|
};
|
|
2893
2982
|
|
|
2894
|
-
var __vue_staticRenderFns__$
|
|
2983
|
+
var __vue_staticRenderFns__$y = [];
|
|
2895
2984
|
/* style */
|
|
2896
2985
|
|
|
2897
|
-
const __vue_inject_styles__$
|
|
2986
|
+
const __vue_inject_styles__$A = function (inject) {
|
|
2898
2987
|
if (!inject) return;
|
|
2899
2988
|
inject("data-v-53fd5ea2_0", {
|
|
2900
2989
|
source: ".ui-number-field[data-v-53fd5ea2]{width:100%}.ui-number-field[data-v-53fd5ea2] input{text-align:initial}",
|
|
@@ -2905,23 +2994,23 @@ const __vue_inject_styles__$s = function (inject) {
|
|
|
2905
2994
|
/* scoped */
|
|
2906
2995
|
|
|
2907
2996
|
|
|
2908
|
-
const __vue_scope_id__$
|
|
2997
|
+
const __vue_scope_id__$A = "data-v-53fd5ea2";
|
|
2909
2998
|
/* module identifier */
|
|
2910
2999
|
|
|
2911
|
-
const __vue_module_identifier__$
|
|
3000
|
+
const __vue_module_identifier__$A = undefined;
|
|
2912
3001
|
/* functional template */
|
|
2913
3002
|
|
|
2914
|
-
const __vue_is_functional_template__$
|
|
3003
|
+
const __vue_is_functional_template__$A = false;
|
|
2915
3004
|
/* style inject SSR */
|
|
2916
3005
|
|
|
2917
3006
|
/* style inject shadow dom */
|
|
2918
3007
|
|
|
2919
|
-
const __vue_component__$
|
|
2920
|
-
render: __vue_render__$
|
|
2921
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
2922
|
-
}, __vue_inject_styles__$
|
|
3008
|
+
const __vue_component__$A = /*#__PURE__*/normalizeComponent({
|
|
3009
|
+
render: __vue_render__$y,
|
|
3010
|
+
staticRenderFns: __vue_staticRenderFns__$y
|
|
3011
|
+
}, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, createInjector, undefined, undefined);
|
|
2923
3012
|
|
|
2924
|
-
var NumberField = __vue_component__$
|
|
3013
|
+
var NumberField = __vue_component__$A;
|
|
2925
3014
|
|
|
2926
3015
|
const randomStr = length => {
|
|
2927
3016
|
let str = Math.random().toString(36).substr(2);
|
|
@@ -2939,7 +3028,7 @@ var Strings = {
|
|
|
2939
3028
|
};
|
|
2940
3029
|
|
|
2941
3030
|
//
|
|
2942
|
-
var script$
|
|
3031
|
+
var script$y = {
|
|
2943
3032
|
name: 'ui-field-cascade',
|
|
2944
3033
|
mixins: [FieldMixin, DataMixin],
|
|
2945
3034
|
props: {
|
|
@@ -3155,10 +3244,10 @@ var script$q = {
|
|
|
3155
3244
|
};
|
|
3156
3245
|
|
|
3157
3246
|
/* script */
|
|
3158
|
-
const __vue_script__$
|
|
3247
|
+
const __vue_script__$z = script$y;
|
|
3159
3248
|
/* template */
|
|
3160
3249
|
|
|
3161
|
-
var __vue_render__$
|
|
3250
|
+
var __vue_render__$x = function () {
|
|
3162
3251
|
var _vm = this;
|
|
3163
3252
|
|
|
3164
3253
|
var _h = _vm.$createElement;
|
|
@@ -3222,10 +3311,10 @@ var __vue_render__$q = function () {
|
|
|
3222
3311
|
})], 1)], 1) : _vm._e()], 1);
|
|
3223
3312
|
};
|
|
3224
3313
|
|
|
3225
|
-
var __vue_staticRenderFns__$
|
|
3314
|
+
var __vue_staticRenderFns__$x = [];
|
|
3226
3315
|
/* style */
|
|
3227
3316
|
|
|
3228
|
-
const __vue_inject_styles__$
|
|
3317
|
+
const __vue_inject_styles__$z = function (inject) {
|
|
3229
3318
|
if (!inject) return;
|
|
3230
3319
|
inject("data-v-3e45255c_0", {
|
|
3231
3320
|
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}",
|
|
@@ -3236,23 +3325,23 @@ const __vue_inject_styles__$r = function (inject) {
|
|
|
3236
3325
|
/* scoped */
|
|
3237
3326
|
|
|
3238
3327
|
|
|
3239
|
-
const __vue_scope_id__$
|
|
3328
|
+
const __vue_scope_id__$z = "data-v-3e45255c";
|
|
3240
3329
|
/* module identifier */
|
|
3241
3330
|
|
|
3242
|
-
const __vue_module_identifier__$
|
|
3331
|
+
const __vue_module_identifier__$z = undefined;
|
|
3243
3332
|
/* functional template */
|
|
3244
3333
|
|
|
3245
|
-
const __vue_is_functional_template__$
|
|
3334
|
+
const __vue_is_functional_template__$z = false;
|
|
3246
3335
|
/* style inject SSR */
|
|
3247
3336
|
|
|
3248
3337
|
/* style inject shadow dom */
|
|
3249
3338
|
|
|
3250
|
-
const __vue_component__$
|
|
3251
|
-
render: __vue_render__$
|
|
3252
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3253
|
-
}, __vue_inject_styles__$
|
|
3339
|
+
const __vue_component__$z = /*#__PURE__*/normalizeComponent({
|
|
3340
|
+
render: __vue_render__$x,
|
|
3341
|
+
staticRenderFns: __vue_staticRenderFns__$x
|
|
3342
|
+
}, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, createInjector, undefined, undefined);
|
|
3254
3343
|
|
|
3255
|
-
var CascadeField = __vue_component__$
|
|
3344
|
+
var CascadeField = __vue_component__$z;
|
|
3256
3345
|
|
|
3257
3346
|
/**
|
|
3258
3347
|
* @param text
|
|
@@ -3314,7 +3403,7 @@ const DisabledDate = {
|
|
|
3314
3403
|
};
|
|
3315
3404
|
|
|
3316
3405
|
//
|
|
3317
|
-
var script$
|
|
3406
|
+
var script$x = {
|
|
3318
3407
|
name: 'ui-field-date',
|
|
3319
3408
|
mixins: [FieldMixin],
|
|
3320
3409
|
props: {
|
|
@@ -3460,10 +3549,10 @@ var script$p = {
|
|
|
3460
3549
|
};
|
|
3461
3550
|
|
|
3462
3551
|
/* script */
|
|
3463
|
-
const __vue_script__$
|
|
3552
|
+
const __vue_script__$y = script$x;
|
|
3464
3553
|
/* template */
|
|
3465
3554
|
|
|
3466
|
-
var __vue_render__$
|
|
3555
|
+
var __vue_render__$w = function () {
|
|
3467
3556
|
var _vm = this;
|
|
3468
3557
|
|
|
3469
3558
|
var _h = _vm.$createElement;
|
|
@@ -3487,10 +3576,10 @@ var __vue_render__$p = function () {
|
|
|
3487
3576
|
}, 'el-date-picker', _vm.$attrs, false), _vm._listeners));
|
|
3488
3577
|
};
|
|
3489
3578
|
|
|
3490
|
-
var __vue_staticRenderFns__$
|
|
3579
|
+
var __vue_staticRenderFns__$w = [];
|
|
3491
3580
|
/* style */
|
|
3492
3581
|
|
|
3493
|
-
const __vue_inject_styles__$
|
|
3582
|
+
const __vue_inject_styles__$y = function (inject) {
|
|
3494
3583
|
if (!inject) return;
|
|
3495
3584
|
inject("data-v-1409a14c_0", {
|
|
3496
3585
|
source: ".ui-date-field.el-date-editor[data-v-1409a14c]{width:100%}",
|
|
@@ -3501,26 +3590,26 @@ const __vue_inject_styles__$q = function (inject) {
|
|
|
3501
3590
|
/* scoped */
|
|
3502
3591
|
|
|
3503
3592
|
|
|
3504
|
-
const __vue_scope_id__$
|
|
3593
|
+
const __vue_scope_id__$y = "data-v-1409a14c";
|
|
3505
3594
|
/* module identifier */
|
|
3506
3595
|
|
|
3507
|
-
const __vue_module_identifier__$
|
|
3596
|
+
const __vue_module_identifier__$y = undefined;
|
|
3508
3597
|
/* functional template */
|
|
3509
3598
|
|
|
3510
|
-
const __vue_is_functional_template__$
|
|
3599
|
+
const __vue_is_functional_template__$y = false;
|
|
3511
3600
|
/* style inject SSR */
|
|
3512
3601
|
|
|
3513
3602
|
/* style inject shadow dom */
|
|
3514
3603
|
|
|
3515
|
-
const __vue_component__$
|
|
3516
|
-
render: __vue_render__$
|
|
3517
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3518
|
-
}, __vue_inject_styles__$
|
|
3604
|
+
const __vue_component__$y = /*#__PURE__*/normalizeComponent({
|
|
3605
|
+
render: __vue_render__$w,
|
|
3606
|
+
staticRenderFns: __vue_staticRenderFns__$w
|
|
3607
|
+
}, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
|
|
3519
3608
|
|
|
3520
|
-
var DateField = __vue_component__$
|
|
3609
|
+
var DateField = __vue_component__$y;
|
|
3521
3610
|
|
|
3522
3611
|
//
|
|
3523
|
-
var script$
|
|
3612
|
+
var script$w = {
|
|
3524
3613
|
name: 'ui-field-timepicker',
|
|
3525
3614
|
mixins: [FieldMixin],
|
|
3526
3615
|
props: {
|
|
@@ -3586,10 +3675,10 @@ var script$o = {
|
|
|
3586
3675
|
};
|
|
3587
3676
|
|
|
3588
3677
|
/* script */
|
|
3589
|
-
const __vue_script__$
|
|
3678
|
+
const __vue_script__$x = script$w;
|
|
3590
3679
|
/* template */
|
|
3591
3680
|
|
|
3592
|
-
var __vue_render__$
|
|
3681
|
+
var __vue_render__$v = function () {
|
|
3593
3682
|
var _vm = this;
|
|
3594
3683
|
|
|
3595
3684
|
var _h = _vm.$createElement;
|
|
@@ -3611,10 +3700,10 @@ var __vue_render__$o = function () {
|
|
|
3611
3700
|
}, 'el-time-picker', _vm.$attrs, false), _vm._listeners));
|
|
3612
3701
|
};
|
|
3613
3702
|
|
|
3614
|
-
var __vue_staticRenderFns__$
|
|
3703
|
+
var __vue_staticRenderFns__$v = [];
|
|
3615
3704
|
/* style */
|
|
3616
3705
|
|
|
3617
|
-
const __vue_inject_styles__$
|
|
3706
|
+
const __vue_inject_styles__$x = function (inject) {
|
|
3618
3707
|
if (!inject) return;
|
|
3619
3708
|
inject("data-v-18a65ed4_0", {
|
|
3620
3709
|
source: ".ui-timepicker-field.el-date-editor[data-v-18a65ed4]{width:100%}",
|
|
@@ -3625,26 +3714,26 @@ const __vue_inject_styles__$p = function (inject) {
|
|
|
3625
3714
|
/* scoped */
|
|
3626
3715
|
|
|
3627
3716
|
|
|
3628
|
-
const __vue_scope_id__$
|
|
3717
|
+
const __vue_scope_id__$x = "data-v-18a65ed4";
|
|
3629
3718
|
/* module identifier */
|
|
3630
3719
|
|
|
3631
|
-
const __vue_module_identifier__$
|
|
3720
|
+
const __vue_module_identifier__$x = undefined;
|
|
3632
3721
|
/* functional template */
|
|
3633
3722
|
|
|
3634
|
-
const __vue_is_functional_template__$
|
|
3723
|
+
const __vue_is_functional_template__$x = false;
|
|
3635
3724
|
/* style inject SSR */
|
|
3636
3725
|
|
|
3637
3726
|
/* style inject shadow dom */
|
|
3638
3727
|
|
|
3639
|
-
const __vue_component__$
|
|
3640
|
-
render: __vue_render__$
|
|
3641
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3642
|
-
}, __vue_inject_styles__$
|
|
3728
|
+
const __vue_component__$x = /*#__PURE__*/normalizeComponent({
|
|
3729
|
+
render: __vue_render__$v,
|
|
3730
|
+
staticRenderFns: __vue_staticRenderFns__$v
|
|
3731
|
+
}, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
|
|
3643
3732
|
|
|
3644
|
-
var TimePickerField = __vue_component__$
|
|
3733
|
+
var TimePickerField = __vue_component__$x;
|
|
3645
3734
|
|
|
3646
3735
|
//
|
|
3647
|
-
var script$
|
|
3736
|
+
var script$v = {
|
|
3648
3737
|
name: 'ui-field-timeselect',
|
|
3649
3738
|
mixins: [FieldMixin],
|
|
3650
3739
|
methods: {
|
|
@@ -3657,10 +3746,10 @@ var script$n = {
|
|
|
3657
3746
|
};
|
|
3658
3747
|
|
|
3659
3748
|
/* script */
|
|
3660
|
-
const __vue_script__$
|
|
3749
|
+
const __vue_script__$w = script$v;
|
|
3661
3750
|
/* template */
|
|
3662
3751
|
|
|
3663
|
-
var __vue_render__$
|
|
3752
|
+
var __vue_render__$u = function () {
|
|
3664
3753
|
var _vm = this;
|
|
3665
3754
|
|
|
3666
3755
|
var _h = _vm.$createElement;
|
|
@@ -3675,10 +3764,10 @@ var __vue_render__$n = function () {
|
|
|
3675
3764
|
}, 'el-time-select', _vm.$attrs, false), _vm.$listeners));
|
|
3676
3765
|
};
|
|
3677
3766
|
|
|
3678
|
-
var __vue_staticRenderFns__$
|
|
3767
|
+
var __vue_staticRenderFns__$u = [];
|
|
3679
3768
|
/* style */
|
|
3680
3769
|
|
|
3681
|
-
const __vue_inject_styles__$
|
|
3770
|
+
const __vue_inject_styles__$w = function (inject) {
|
|
3682
3771
|
if (!inject) return;
|
|
3683
3772
|
inject("data-v-502897fb_0", {
|
|
3684
3773
|
source: ".ui-timeselect-field.el-date-editor[data-v-502897fb]{width:100%}",
|
|
@@ -3689,23 +3778,23 @@ const __vue_inject_styles__$o = function (inject) {
|
|
|
3689
3778
|
/* scoped */
|
|
3690
3779
|
|
|
3691
3780
|
|
|
3692
|
-
const __vue_scope_id__$
|
|
3781
|
+
const __vue_scope_id__$w = "data-v-502897fb";
|
|
3693
3782
|
/* module identifier */
|
|
3694
3783
|
|
|
3695
|
-
const __vue_module_identifier__$
|
|
3784
|
+
const __vue_module_identifier__$w = undefined;
|
|
3696
3785
|
/* functional template */
|
|
3697
3786
|
|
|
3698
|
-
const __vue_is_functional_template__$
|
|
3787
|
+
const __vue_is_functional_template__$w = false;
|
|
3699
3788
|
/* style inject SSR */
|
|
3700
3789
|
|
|
3701
3790
|
/* style inject shadow dom */
|
|
3702
3791
|
|
|
3703
|
-
const __vue_component__$
|
|
3704
|
-
render: __vue_render__$
|
|
3705
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3706
|
-
}, __vue_inject_styles__$
|
|
3792
|
+
const __vue_component__$w = /*#__PURE__*/normalizeComponent({
|
|
3793
|
+
render: __vue_render__$u,
|
|
3794
|
+
staticRenderFns: __vue_staticRenderFns__$u
|
|
3795
|
+
}, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, createInjector, undefined, undefined);
|
|
3707
3796
|
|
|
3708
|
-
var TimeSelectField = __vue_component__$
|
|
3797
|
+
var TimeSelectField = __vue_component__$w;
|
|
3709
3798
|
|
|
3710
3799
|
//
|
|
3711
3800
|
|
|
@@ -3714,7 +3803,7 @@ Date.prototype.calendar = function () {
|
|
|
3714
3803
|
return [this.getFullYear(), month < 10 ? "0" + month : month, this.getDate()].join("-");
|
|
3715
3804
|
};
|
|
3716
3805
|
|
|
3717
|
-
var script$
|
|
3806
|
+
var script$u = {
|
|
3718
3807
|
name: 'ui-field-datse',
|
|
3719
3808
|
mixins: [FieldMixin],
|
|
3720
3809
|
props: {
|
|
@@ -3768,10 +3857,10 @@ var script$m = {
|
|
|
3768
3857
|
};
|
|
3769
3858
|
|
|
3770
3859
|
/* script */
|
|
3771
|
-
const __vue_script__$
|
|
3860
|
+
const __vue_script__$v = script$u;
|
|
3772
3861
|
/* template */
|
|
3773
3862
|
|
|
3774
|
-
var __vue_render__$
|
|
3863
|
+
var __vue_render__$t = function () {
|
|
3775
3864
|
var _vm = this;
|
|
3776
3865
|
|
|
3777
3866
|
var _h = _vm.$createElement;
|
|
@@ -3817,10 +3906,10 @@ var __vue_render__$m = function () {
|
|
|
3817
3906
|
})], 1);
|
|
3818
3907
|
};
|
|
3819
3908
|
|
|
3820
|
-
var __vue_staticRenderFns__$
|
|
3909
|
+
var __vue_staticRenderFns__$t = [];
|
|
3821
3910
|
/* style */
|
|
3822
3911
|
|
|
3823
|
-
const __vue_inject_styles__$
|
|
3912
|
+
const __vue_inject_styles__$v = function (inject) {
|
|
3824
3913
|
if (!inject) return;
|
|
3825
3914
|
inject("data-v-33f2225c_0", {
|
|
3826
3915
|
source: ".ui-date-field.el-date-editor[data-v-33f2225c]{width:100%}.calendar[data-v-33f2225c]{margin-right:20px}.calendar .calendarItem[data-v-33f2225c]{display:inline-block;box-sizing:border-box;width:45px;height:35px;cursor:pointer;border-right:1px solid #e3e3ee;text-align:center;border:1px solid #e3e3e3;font-size:14px}.calendar .calendarItem[data-v-33f2225c]:first-of-type{border-right:none;border-top-left-radius:5px;border-bottom-left-radius:5px}.calendar .calendarItem[data-v-33f2225c]:last-of-type{border-left:none;border-top-right-radius:5px;border-bottom-right-radius:5px}.calendar .calendar-active[data-v-33f2225c]{color:#1890ff;background:#e3e3e3}.separator[data-v-33f2225c]{margin-right:10px;color:#333}",
|
|
@@ -3831,26 +3920,26 @@ const __vue_inject_styles__$n = function (inject) {
|
|
|
3831
3920
|
/* scoped */
|
|
3832
3921
|
|
|
3833
3922
|
|
|
3834
|
-
const __vue_scope_id__$
|
|
3923
|
+
const __vue_scope_id__$v = "data-v-33f2225c";
|
|
3835
3924
|
/* module identifier */
|
|
3836
3925
|
|
|
3837
|
-
const __vue_module_identifier__$
|
|
3926
|
+
const __vue_module_identifier__$v = undefined;
|
|
3838
3927
|
/* functional template */
|
|
3839
3928
|
|
|
3840
|
-
const __vue_is_functional_template__$
|
|
3929
|
+
const __vue_is_functional_template__$v = false;
|
|
3841
3930
|
/* style inject SSR */
|
|
3842
3931
|
|
|
3843
3932
|
/* style inject shadow dom */
|
|
3844
3933
|
|
|
3845
|
-
const __vue_component__$
|
|
3846
|
-
render: __vue_render__$
|
|
3847
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3848
|
-
}, __vue_inject_styles__$
|
|
3934
|
+
const __vue_component__$v = /*#__PURE__*/normalizeComponent({
|
|
3935
|
+
render: __vue_render__$t,
|
|
3936
|
+
staticRenderFns: __vue_staticRenderFns__$t
|
|
3937
|
+
}, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, createInjector, undefined, undefined);
|
|
3849
3938
|
|
|
3850
|
-
var DatecCalendarField = __vue_component__$
|
|
3939
|
+
var DatecCalendarField = __vue_component__$v;
|
|
3851
3940
|
|
|
3852
3941
|
//
|
|
3853
|
-
var script$
|
|
3942
|
+
var script$t = {
|
|
3854
3943
|
name: 'ui-field-slider',
|
|
3855
3944
|
mixins: [FieldMixin],
|
|
3856
3945
|
props: {
|
|
@@ -3920,10 +4009,10 @@ var script$l = {
|
|
|
3920
4009
|
};
|
|
3921
4010
|
|
|
3922
4011
|
/* script */
|
|
3923
|
-
const __vue_script__$
|
|
4012
|
+
const __vue_script__$u = script$t;
|
|
3924
4013
|
/* template */
|
|
3925
4014
|
|
|
3926
|
-
var __vue_render__$
|
|
4015
|
+
var __vue_render__$s = function () {
|
|
3927
4016
|
var _vm = this;
|
|
3928
4017
|
|
|
3929
4018
|
var _h = _vm.$createElement;
|
|
@@ -3949,43 +4038,43 @@ var __vue_render__$l = function () {
|
|
|
3949
4038
|
}, 'el-slider', _vm.$attrs, false), _vm._listeners));
|
|
3950
4039
|
};
|
|
3951
4040
|
|
|
3952
|
-
var __vue_staticRenderFns__$
|
|
4041
|
+
var __vue_staticRenderFns__$s = [];
|
|
3953
4042
|
/* style */
|
|
3954
4043
|
|
|
3955
|
-
const __vue_inject_styles__$
|
|
4044
|
+
const __vue_inject_styles__$u = undefined;
|
|
3956
4045
|
/* scoped */
|
|
3957
4046
|
|
|
3958
|
-
const __vue_scope_id__$
|
|
4047
|
+
const __vue_scope_id__$u = "data-v-1f3d5145";
|
|
3959
4048
|
/* module identifier */
|
|
3960
4049
|
|
|
3961
|
-
const __vue_module_identifier__$
|
|
4050
|
+
const __vue_module_identifier__$u = undefined;
|
|
3962
4051
|
/* functional template */
|
|
3963
4052
|
|
|
3964
|
-
const __vue_is_functional_template__$
|
|
4053
|
+
const __vue_is_functional_template__$u = false;
|
|
3965
4054
|
/* style inject */
|
|
3966
4055
|
|
|
3967
4056
|
/* style inject SSR */
|
|
3968
4057
|
|
|
3969
4058
|
/* style inject shadow dom */
|
|
3970
4059
|
|
|
3971
|
-
const __vue_component__$
|
|
3972
|
-
render: __vue_render__$
|
|
3973
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
3974
|
-
}, __vue_inject_styles__$
|
|
4060
|
+
const __vue_component__$u = /*#__PURE__*/normalizeComponent({
|
|
4061
|
+
render: __vue_render__$s,
|
|
4062
|
+
staticRenderFns: __vue_staticRenderFns__$s
|
|
4063
|
+
}, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, undefined, undefined, undefined);
|
|
3975
4064
|
|
|
3976
|
-
var SliderField = __vue_component__$
|
|
4065
|
+
var SliderField = __vue_component__$u;
|
|
3977
4066
|
|
|
3978
4067
|
//
|
|
3979
|
-
var script$
|
|
4068
|
+
var script$s = {
|
|
3980
4069
|
name: 'ui-field-switch',
|
|
3981
4070
|
mixins: [FieldMixin]
|
|
3982
4071
|
};
|
|
3983
4072
|
|
|
3984
4073
|
/* script */
|
|
3985
|
-
const __vue_script__$
|
|
4074
|
+
const __vue_script__$t = script$s;
|
|
3986
4075
|
/* template */
|
|
3987
4076
|
|
|
3988
|
-
var __vue_render__$
|
|
4077
|
+
var __vue_render__$r = function () {
|
|
3989
4078
|
var _vm = this;
|
|
3990
4079
|
|
|
3991
4080
|
var _h = _vm.$createElement;
|
|
@@ -3999,34 +4088,34 @@ var __vue_render__$k = function () {
|
|
|
3999
4088
|
}, 'el-switch', _vm.$attrs, false), _vm.$listeners));
|
|
4000
4089
|
};
|
|
4001
4090
|
|
|
4002
|
-
var __vue_staticRenderFns__$
|
|
4091
|
+
var __vue_staticRenderFns__$r = [];
|
|
4003
4092
|
/* style */
|
|
4004
4093
|
|
|
4005
|
-
const __vue_inject_styles__$
|
|
4094
|
+
const __vue_inject_styles__$t = undefined;
|
|
4006
4095
|
/* scoped */
|
|
4007
4096
|
|
|
4008
|
-
const __vue_scope_id__$
|
|
4097
|
+
const __vue_scope_id__$t = "data-v-0a1271ea";
|
|
4009
4098
|
/* module identifier */
|
|
4010
4099
|
|
|
4011
|
-
const __vue_module_identifier__$
|
|
4100
|
+
const __vue_module_identifier__$t = undefined;
|
|
4012
4101
|
/* functional template */
|
|
4013
4102
|
|
|
4014
|
-
const __vue_is_functional_template__$
|
|
4103
|
+
const __vue_is_functional_template__$t = false;
|
|
4015
4104
|
/* style inject */
|
|
4016
4105
|
|
|
4017
4106
|
/* style inject SSR */
|
|
4018
4107
|
|
|
4019
4108
|
/* style inject shadow dom */
|
|
4020
4109
|
|
|
4021
|
-
const __vue_component__$
|
|
4022
|
-
render: __vue_render__$
|
|
4023
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4024
|
-
}, __vue_inject_styles__$
|
|
4110
|
+
const __vue_component__$t = /*#__PURE__*/normalizeComponent({
|
|
4111
|
+
render: __vue_render__$r,
|
|
4112
|
+
staticRenderFns: __vue_staticRenderFns__$r
|
|
4113
|
+
}, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, undefined, undefined);
|
|
4025
4114
|
|
|
4026
|
-
var SwitchField = __vue_component__$
|
|
4115
|
+
var SwitchField = __vue_component__$t;
|
|
4027
4116
|
|
|
4028
4117
|
//
|
|
4029
|
-
var script$
|
|
4118
|
+
var script$r = {
|
|
4030
4119
|
name: 'ui-field-rate',
|
|
4031
4120
|
mixins: [FieldMixin],
|
|
4032
4121
|
props: {
|
|
@@ -4060,10 +4149,10 @@ var script$j = {
|
|
|
4060
4149
|
};
|
|
4061
4150
|
|
|
4062
4151
|
/* script */
|
|
4063
|
-
const __vue_script__$
|
|
4152
|
+
const __vue_script__$s = script$r;
|
|
4064
4153
|
/* template */
|
|
4065
4154
|
|
|
4066
|
-
var __vue_render__$
|
|
4155
|
+
var __vue_render__$q = function () {
|
|
4067
4156
|
var _vm = this;
|
|
4068
4157
|
|
|
4069
4158
|
var _h = _vm.$createElement;
|
|
@@ -4084,34 +4173,34 @@ var __vue_render__$j = function () {
|
|
|
4084
4173
|
}, 'el-rate', _vm.$attrs, false), _vm._listeners));
|
|
4085
4174
|
};
|
|
4086
4175
|
|
|
4087
|
-
var __vue_staticRenderFns__$
|
|
4176
|
+
var __vue_staticRenderFns__$q = [];
|
|
4088
4177
|
/* style */
|
|
4089
4178
|
|
|
4090
|
-
const __vue_inject_styles__$
|
|
4179
|
+
const __vue_inject_styles__$s = undefined;
|
|
4091
4180
|
/* scoped */
|
|
4092
4181
|
|
|
4093
|
-
const __vue_scope_id__$
|
|
4182
|
+
const __vue_scope_id__$s = "data-v-8027f8f8";
|
|
4094
4183
|
/* module identifier */
|
|
4095
4184
|
|
|
4096
|
-
const __vue_module_identifier__$
|
|
4185
|
+
const __vue_module_identifier__$s = undefined;
|
|
4097
4186
|
/* functional template */
|
|
4098
4187
|
|
|
4099
|
-
const __vue_is_functional_template__$
|
|
4188
|
+
const __vue_is_functional_template__$s = false;
|
|
4100
4189
|
/* style inject */
|
|
4101
4190
|
|
|
4102
4191
|
/* style inject SSR */
|
|
4103
4192
|
|
|
4104
4193
|
/* style inject shadow dom */
|
|
4105
4194
|
|
|
4106
|
-
const __vue_component__$
|
|
4107
|
-
render: __vue_render__$
|
|
4108
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4109
|
-
}, __vue_inject_styles__$
|
|
4195
|
+
const __vue_component__$s = /*#__PURE__*/normalizeComponent({
|
|
4196
|
+
render: __vue_render__$q,
|
|
4197
|
+
staticRenderFns: __vue_staticRenderFns__$q
|
|
4198
|
+
}, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, undefined, undefined, undefined);
|
|
4110
4199
|
|
|
4111
|
-
var RateField = __vue_component__$
|
|
4200
|
+
var RateField = __vue_component__$s;
|
|
4112
4201
|
|
|
4113
4202
|
//
|
|
4114
|
-
var script$
|
|
4203
|
+
var script$q = {
|
|
4115
4204
|
name: 'ui-field-color',
|
|
4116
4205
|
mixins: [FieldMixin],
|
|
4117
4206
|
props: {
|
|
@@ -4123,10 +4212,10 @@ var script$i = {
|
|
|
4123
4212
|
};
|
|
4124
4213
|
|
|
4125
4214
|
/* script */
|
|
4126
|
-
const __vue_script__$
|
|
4215
|
+
const __vue_script__$r = script$q;
|
|
4127
4216
|
/* template */
|
|
4128
4217
|
|
|
4129
|
-
var __vue_render__$
|
|
4218
|
+
var __vue_render__$p = function () {
|
|
4130
4219
|
var _vm = this;
|
|
4131
4220
|
|
|
4132
4221
|
var _h = _vm.$createElement;
|
|
@@ -4142,10 +4231,10 @@ var __vue_render__$i = function () {
|
|
|
4142
4231
|
}, 'el-color-picker', _vm.$attrs, false), _vm.$listeners));
|
|
4143
4232
|
};
|
|
4144
4233
|
|
|
4145
|
-
var __vue_staticRenderFns__$
|
|
4234
|
+
var __vue_staticRenderFns__$p = [];
|
|
4146
4235
|
/* style */
|
|
4147
4236
|
|
|
4148
|
-
const __vue_inject_styles__$
|
|
4237
|
+
const __vue_inject_styles__$r = function (inject) {
|
|
4149
4238
|
if (!inject) return;
|
|
4150
4239
|
inject("data-v-ce10c0fa_0", {
|
|
4151
4240
|
source: ".ui-field-color[data-v-ce10c0fa]{width:100%}",
|
|
@@ -4156,23 +4245,23 @@ const __vue_inject_styles__$j = function (inject) {
|
|
|
4156
4245
|
/* scoped */
|
|
4157
4246
|
|
|
4158
4247
|
|
|
4159
|
-
const __vue_scope_id__$
|
|
4248
|
+
const __vue_scope_id__$r = "data-v-ce10c0fa";
|
|
4160
4249
|
/* module identifier */
|
|
4161
4250
|
|
|
4162
|
-
const __vue_module_identifier__$
|
|
4251
|
+
const __vue_module_identifier__$r = undefined;
|
|
4163
4252
|
/* functional template */
|
|
4164
4253
|
|
|
4165
|
-
const __vue_is_functional_template__$
|
|
4254
|
+
const __vue_is_functional_template__$r = false;
|
|
4166
4255
|
/* style inject SSR */
|
|
4167
4256
|
|
|
4168
4257
|
/* style inject shadow dom */
|
|
4169
4258
|
|
|
4170
|
-
const __vue_component__$
|
|
4171
|
-
render: __vue_render__$
|
|
4172
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4173
|
-
}, __vue_inject_styles__$
|
|
4259
|
+
const __vue_component__$r = /*#__PURE__*/normalizeComponent({
|
|
4260
|
+
render: __vue_render__$p,
|
|
4261
|
+
staticRenderFns: __vue_staticRenderFns__$p
|
|
4262
|
+
}, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, createInjector, undefined, undefined);
|
|
4174
4263
|
|
|
4175
|
-
var ColorField = __vue_component__$
|
|
4264
|
+
var ColorField = __vue_component__$r;
|
|
4176
4265
|
|
|
4177
4266
|
var Upload = {
|
|
4178
4267
|
default: function (url) {
|
|
@@ -4403,10 +4492,10 @@ const RichField$1 = {
|
|
|
4403
4492
|
};
|
|
4404
4493
|
|
|
4405
4494
|
/* script */
|
|
4406
|
-
const __vue_script__$
|
|
4495
|
+
const __vue_script__$q = RichField$1;
|
|
4407
4496
|
/* template */
|
|
4408
4497
|
|
|
4409
|
-
var __vue_render__$
|
|
4498
|
+
var __vue_render__$o = function () {
|
|
4410
4499
|
var _vm = this;
|
|
4411
4500
|
|
|
4412
4501
|
var _h = _vm.$createElement;
|
|
@@ -4424,10 +4513,10 @@ var __vue_render__$h = function () {
|
|
|
4424
4513
|
});
|
|
4425
4514
|
};
|
|
4426
4515
|
|
|
4427
|
-
var __vue_staticRenderFns__$
|
|
4516
|
+
var __vue_staticRenderFns__$o = [];
|
|
4428
4517
|
/* style */
|
|
4429
4518
|
|
|
4430
|
-
const __vue_inject_styles__$
|
|
4519
|
+
const __vue_inject_styles__$q = function (inject) {
|
|
4431
4520
|
if (!inject) return;
|
|
4432
4521
|
inject("data-v-52e02522_0", {
|
|
4433
4522
|
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}",
|
|
@@ -4442,23 +4531,23 @@ const __vue_inject_styles__$i = function (inject) {
|
|
|
4442
4531
|
/* scoped */
|
|
4443
4532
|
|
|
4444
4533
|
|
|
4445
|
-
const __vue_scope_id__$
|
|
4534
|
+
const __vue_scope_id__$q = "data-v-52e02522";
|
|
4446
4535
|
/* module identifier */
|
|
4447
4536
|
|
|
4448
|
-
const __vue_module_identifier__$
|
|
4537
|
+
const __vue_module_identifier__$q = undefined;
|
|
4449
4538
|
/* functional template */
|
|
4450
4539
|
|
|
4451
|
-
const __vue_is_functional_template__$
|
|
4540
|
+
const __vue_is_functional_template__$q = false;
|
|
4452
4541
|
/* style inject SSR */
|
|
4453
4542
|
|
|
4454
4543
|
/* style inject shadow dom */
|
|
4455
4544
|
|
|
4456
|
-
const __vue_component__$
|
|
4457
|
-
render: __vue_render__$
|
|
4458
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4459
|
-
}, __vue_inject_styles__$
|
|
4545
|
+
const __vue_component__$q = /*#__PURE__*/normalizeComponent({
|
|
4546
|
+
render: __vue_render__$o,
|
|
4547
|
+
staticRenderFns: __vue_staticRenderFns__$o
|
|
4548
|
+
}, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, createInjector, undefined, undefined);
|
|
4460
4549
|
|
|
4461
|
-
var RichField = __vue_component__$
|
|
4550
|
+
var RichField = __vue_component__$q;
|
|
4462
4551
|
|
|
4463
4552
|
//
|
|
4464
4553
|
|
|
@@ -4476,7 +4565,7 @@ const getUrlSuffix = url => {
|
|
|
4476
4565
|
return url.substring(index + 1);
|
|
4477
4566
|
};
|
|
4478
4567
|
|
|
4479
|
-
var script$
|
|
4568
|
+
var script$p = {
|
|
4480
4569
|
name: 'ui-field-upload-file',
|
|
4481
4570
|
mixins: [FieldMixin],
|
|
4482
4571
|
props: {
|
|
@@ -4639,10 +4728,10 @@ var script$h = {
|
|
|
4639
4728
|
};
|
|
4640
4729
|
|
|
4641
4730
|
/* script */
|
|
4642
|
-
const __vue_script__$
|
|
4731
|
+
const __vue_script__$p = script$p;
|
|
4643
4732
|
/* template */
|
|
4644
4733
|
|
|
4645
|
-
var __vue_render__$
|
|
4734
|
+
var __vue_render__$n = function () {
|
|
4646
4735
|
var _vm = this;
|
|
4647
4736
|
|
|
4648
4737
|
var _h = _vm.$createElement;
|
|
@@ -4699,10 +4788,10 @@ var __vue_render__$g = function () {
|
|
|
4699
4788
|
})], 2)], 1);
|
|
4700
4789
|
};
|
|
4701
4790
|
|
|
4702
|
-
var __vue_staticRenderFns__$
|
|
4791
|
+
var __vue_staticRenderFns__$n = [];
|
|
4703
4792
|
/* style */
|
|
4704
4793
|
|
|
4705
|
-
const __vue_inject_styles__$
|
|
4794
|
+
const __vue_inject_styles__$p = function (inject) {
|
|
4706
4795
|
if (!inject) return;
|
|
4707
4796
|
inject("data-v-19ac5bf8_0", {
|
|
4708
4797
|
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}",
|
|
@@ -4713,26 +4802,26 @@ const __vue_inject_styles__$h = function (inject) {
|
|
|
4713
4802
|
/* scoped */
|
|
4714
4803
|
|
|
4715
4804
|
|
|
4716
|
-
const __vue_scope_id__$
|
|
4805
|
+
const __vue_scope_id__$p = "data-v-19ac5bf8";
|
|
4717
4806
|
/* module identifier */
|
|
4718
4807
|
|
|
4719
|
-
const __vue_module_identifier__$
|
|
4808
|
+
const __vue_module_identifier__$p = undefined;
|
|
4720
4809
|
/* functional template */
|
|
4721
4810
|
|
|
4722
|
-
const __vue_is_functional_template__$
|
|
4811
|
+
const __vue_is_functional_template__$p = false;
|
|
4723
4812
|
/* style inject SSR */
|
|
4724
4813
|
|
|
4725
4814
|
/* style inject shadow dom */
|
|
4726
4815
|
|
|
4727
|
-
const __vue_component__$
|
|
4728
|
-
render: __vue_render__$
|
|
4729
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4730
|
-
}, __vue_inject_styles__$
|
|
4816
|
+
const __vue_component__$p = /*#__PURE__*/normalizeComponent({
|
|
4817
|
+
render: __vue_render__$n,
|
|
4818
|
+
staticRenderFns: __vue_staticRenderFns__$n
|
|
4819
|
+
}, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, createInjector, undefined, undefined);
|
|
4731
4820
|
|
|
4732
|
-
var FileUploadField = __vue_component__$
|
|
4821
|
+
var FileUploadField = __vue_component__$p;
|
|
4733
4822
|
|
|
4734
4823
|
//
|
|
4735
|
-
var script$
|
|
4824
|
+
var script$o = {
|
|
4736
4825
|
name: 'ui-field-upload-image',
|
|
4737
4826
|
mixins: [FileUploadField],
|
|
4738
4827
|
props: {
|
|
@@ -4752,10 +4841,10 @@ var script$g = {
|
|
|
4752
4841
|
};
|
|
4753
4842
|
|
|
4754
4843
|
/* script */
|
|
4755
|
-
const __vue_script__$
|
|
4844
|
+
const __vue_script__$o = script$o;
|
|
4756
4845
|
/* template */
|
|
4757
4846
|
|
|
4758
|
-
var __vue_render__$
|
|
4847
|
+
var __vue_render__$m = function () {
|
|
4759
4848
|
var _vm = this;
|
|
4760
4849
|
|
|
4761
4850
|
var _h = _vm.$createElement;
|
|
@@ -4811,10 +4900,10 @@ var __vue_render__$f = function () {
|
|
|
4811
4900
|
}), _vm._v(" "), _c('span', [_vm._v("上传图片")])])]) : _vm._e()], 2);
|
|
4812
4901
|
};
|
|
4813
4902
|
|
|
4814
|
-
var __vue_staticRenderFns__$
|
|
4903
|
+
var __vue_staticRenderFns__$m = [];
|
|
4815
4904
|
/* style */
|
|
4816
4905
|
|
|
4817
|
-
const __vue_inject_styles__$
|
|
4906
|
+
const __vue_inject_styles__$o = function (inject) {
|
|
4818
4907
|
if (!inject) return;
|
|
4819
4908
|
inject("data-v-65127316_0", {
|
|
4820
4909
|
source: ".ui-image-upload-field[data-v-65127316]{width:100%;display:flex;flex-direction:row;flex-wrap:wrap}.ui-image-upload-field .uploader.disabled[data-v-65127316] .el-upload{cursor:not-allowed;pointer-events:none}.ui-image-upload-field .uploader.disabled[data-v-65127316] .el-upload .upload-btn{background:#edeef0;color:#888c94}.ui-image-upload-field .item[data-v-65127316]{position:relative;display:flex;justify-content:center;align-items:center;overflow:hidden;width:140px;height:140px;margin-bottom:10px;margin-right:10px;border:1px dashed #d0d2d7;padding:8px;border-radius:2px;box-sizing:border-box}.ui-image-upload-field .item .remove[data-v-65127316]{position:absolute;top:0;right:0;width:24px;height:24px;background-color:rgba(0,0,0,.7);border-radius:0 0 0 22px;cursor:pointer}.ui-image-upload-field .item .remove .el-icon-close[data-v-65127316]{position:absolute;top:4px;right:4px;color:#fff;font-size:14px}.ui-image-upload-field .item.upload-btn[data-v-65127316]{background:#f7f8f9;display:flex;flex-direction:column;align-items:center;justify-content:center;border:none;color:#409eff}.ui-image-upload-field .item.upload-btn>.el-icon-plus[data-v-65127316]{font-size:1.6em}.ui-image-upload-field .item.upload-btn>span[data-v-65127316]{font-size:16px;line-height:1.2;margin-top:5px}.ui-image-upload-field .item:hover .modal[data-v-65127316]{visibility:visible}.ui-image-upload-field[data-v-65127316] .preview{display:inline-block;width:auto;max-width:60%;left:50%;transform:translateX(-50%)}",
|
|
@@ -4825,26 +4914,26 @@ const __vue_inject_styles__$g = function (inject) {
|
|
|
4825
4914
|
/* scoped */
|
|
4826
4915
|
|
|
4827
4916
|
|
|
4828
|
-
const __vue_scope_id__$
|
|
4917
|
+
const __vue_scope_id__$o = "data-v-65127316";
|
|
4829
4918
|
/* module identifier */
|
|
4830
4919
|
|
|
4831
|
-
const __vue_module_identifier__$
|
|
4920
|
+
const __vue_module_identifier__$o = undefined;
|
|
4832
4921
|
/* functional template */
|
|
4833
4922
|
|
|
4834
|
-
const __vue_is_functional_template__$
|
|
4923
|
+
const __vue_is_functional_template__$o = false;
|
|
4835
4924
|
/* style inject SSR */
|
|
4836
4925
|
|
|
4837
4926
|
/* style inject shadow dom */
|
|
4838
4927
|
|
|
4839
|
-
const __vue_component__$
|
|
4840
|
-
render: __vue_render__$
|
|
4841
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4842
|
-
}, __vue_inject_styles__$
|
|
4928
|
+
const __vue_component__$o = /*#__PURE__*/normalizeComponent({
|
|
4929
|
+
render: __vue_render__$m,
|
|
4930
|
+
staticRenderFns: __vue_staticRenderFns__$m
|
|
4931
|
+
}, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
|
|
4843
4932
|
|
|
4844
|
-
var ImageUploadField = __vue_component__$
|
|
4933
|
+
var ImageUploadField = __vue_component__$o;
|
|
4845
4934
|
|
|
4846
4935
|
//
|
|
4847
|
-
var script$
|
|
4936
|
+
var script$n = {
|
|
4848
4937
|
name: 'ui-field-trigger-dialog',
|
|
4849
4938
|
mixins: [FieldMixin],
|
|
4850
4939
|
props: {
|
|
@@ -4879,10 +4968,10 @@ var script$f = {
|
|
|
4879
4968
|
};
|
|
4880
4969
|
|
|
4881
4970
|
/* script */
|
|
4882
|
-
const __vue_script__$
|
|
4971
|
+
const __vue_script__$n = script$n;
|
|
4883
4972
|
/* template */
|
|
4884
4973
|
|
|
4885
|
-
var __vue_render__$
|
|
4974
|
+
var __vue_render__$l = function () {
|
|
4886
4975
|
var _vm = this;
|
|
4887
4976
|
|
|
4888
4977
|
var _h = _vm.$createElement;
|
|
@@ -4924,34 +5013,34 @@ var __vue_render__$e = function () {
|
|
|
4924
5013
|
}, 'ui-dialog', _vm.dialog, false), _vm.$listeners), [_vm._t("default")], 2)], 1);
|
|
4925
5014
|
};
|
|
4926
5015
|
|
|
4927
|
-
var __vue_staticRenderFns__$
|
|
5016
|
+
var __vue_staticRenderFns__$l = [];
|
|
4928
5017
|
/* style */
|
|
4929
5018
|
|
|
4930
|
-
const __vue_inject_styles__$
|
|
5019
|
+
const __vue_inject_styles__$n = undefined;
|
|
4931
5020
|
/* scoped */
|
|
4932
5021
|
|
|
4933
|
-
const __vue_scope_id__$
|
|
5022
|
+
const __vue_scope_id__$n = "data-v-60308614";
|
|
4934
5023
|
/* module identifier */
|
|
4935
5024
|
|
|
4936
|
-
const __vue_module_identifier__$
|
|
5025
|
+
const __vue_module_identifier__$n = undefined;
|
|
4937
5026
|
/* functional template */
|
|
4938
5027
|
|
|
4939
|
-
const __vue_is_functional_template__$
|
|
5028
|
+
const __vue_is_functional_template__$n = false;
|
|
4940
5029
|
/* style inject */
|
|
4941
5030
|
|
|
4942
5031
|
/* style inject SSR */
|
|
4943
5032
|
|
|
4944
5033
|
/* style inject shadow dom */
|
|
4945
5034
|
|
|
4946
|
-
const __vue_component__$
|
|
4947
|
-
render: __vue_render__$
|
|
4948
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
4949
|
-
}, __vue_inject_styles__$
|
|
5035
|
+
const __vue_component__$n = /*#__PURE__*/normalizeComponent({
|
|
5036
|
+
render: __vue_render__$l,
|
|
5037
|
+
staticRenderFns: __vue_staticRenderFns__$l
|
|
5038
|
+
}, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, undefined, undefined);
|
|
4950
5039
|
|
|
4951
|
-
var DialogTrigger = __vue_component__$
|
|
5040
|
+
var DialogTrigger = __vue_component__$n;
|
|
4952
5041
|
|
|
4953
5042
|
//
|
|
4954
|
-
var script$
|
|
5043
|
+
var script$m = {
|
|
4955
5044
|
name: 'ui-field-trigger-popover',
|
|
4956
5045
|
mixins: [FieldMixin],
|
|
4957
5046
|
props: {
|
|
@@ -5000,10 +5089,10 @@ var script$e = {
|
|
|
5000
5089
|
};
|
|
5001
5090
|
|
|
5002
5091
|
/* script */
|
|
5003
|
-
const __vue_script__$
|
|
5092
|
+
const __vue_script__$m = script$m;
|
|
5004
5093
|
/* template */
|
|
5005
5094
|
|
|
5006
|
-
var __vue_render__$
|
|
5095
|
+
var __vue_render__$k = function () {
|
|
5007
5096
|
var _vm = this;
|
|
5008
5097
|
|
|
5009
5098
|
var _h = _vm.$createElement;
|
|
@@ -5048,10 +5137,10 @@ var __vue_render__$d = function () {
|
|
|
5048
5137
|
})], 2)], 2);
|
|
5049
5138
|
};
|
|
5050
5139
|
|
|
5051
|
-
var __vue_staticRenderFns__$
|
|
5140
|
+
var __vue_staticRenderFns__$k = [];
|
|
5052
5141
|
/* style */
|
|
5053
5142
|
|
|
5054
|
-
const __vue_inject_styles__$
|
|
5143
|
+
const __vue_inject_styles__$m = function (inject) {
|
|
5055
5144
|
if (!inject) return;
|
|
5056
5145
|
inject("data-v-17314b31_0", {
|
|
5057
5146
|
source: ".ui-field-trigger-popover[data-v-17314b31]{width:100%}",
|
|
@@ -5062,23 +5151,23 @@ const __vue_inject_styles__$e = function (inject) {
|
|
|
5062
5151
|
/* scoped */
|
|
5063
5152
|
|
|
5064
5153
|
|
|
5065
|
-
const __vue_scope_id__$
|
|
5154
|
+
const __vue_scope_id__$m = "data-v-17314b31";
|
|
5066
5155
|
/* module identifier */
|
|
5067
5156
|
|
|
5068
|
-
const __vue_module_identifier__$
|
|
5157
|
+
const __vue_module_identifier__$m = undefined;
|
|
5069
5158
|
/* functional template */
|
|
5070
5159
|
|
|
5071
|
-
const __vue_is_functional_template__$
|
|
5160
|
+
const __vue_is_functional_template__$m = false;
|
|
5072
5161
|
/* style inject SSR */
|
|
5073
5162
|
|
|
5074
5163
|
/* style inject shadow dom */
|
|
5075
5164
|
|
|
5076
|
-
const __vue_component__$
|
|
5077
|
-
render: __vue_render__$
|
|
5078
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5079
|
-
}, __vue_inject_styles__$
|
|
5165
|
+
const __vue_component__$m = /*#__PURE__*/normalizeComponent({
|
|
5166
|
+
render: __vue_render__$k,
|
|
5167
|
+
staticRenderFns: __vue_staticRenderFns__$k
|
|
5168
|
+
}, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
|
|
5080
5169
|
|
|
5081
|
-
var PopoverTrigger = __vue_component__$
|
|
5170
|
+
var PopoverTrigger = __vue_component__$m;
|
|
5082
5171
|
|
|
5083
5172
|
var TriggerField = {
|
|
5084
5173
|
name: 'ui-field-trigger',
|
|
@@ -5101,7 +5190,7 @@ var TriggerField = {
|
|
|
5101
5190
|
};
|
|
5102
5191
|
|
|
5103
5192
|
//
|
|
5104
|
-
var script$
|
|
5193
|
+
var script$l = {
|
|
5105
5194
|
name: 'ui-field-icons',
|
|
5106
5195
|
mixins: [FieldMixin],
|
|
5107
5196
|
components: {
|
|
@@ -5159,10 +5248,10 @@ var script$d = {
|
|
|
5159
5248
|
};
|
|
5160
5249
|
|
|
5161
5250
|
/* script */
|
|
5162
|
-
const __vue_script__$
|
|
5251
|
+
const __vue_script__$l = script$l;
|
|
5163
5252
|
/* template */
|
|
5164
5253
|
|
|
5165
|
-
var __vue_render__$
|
|
5254
|
+
var __vue_render__$j = function () {
|
|
5166
5255
|
var _vm = this;
|
|
5167
5256
|
|
|
5168
5257
|
var _h = _vm.$createElement;
|
|
@@ -5232,10 +5321,10 @@ var __vue_render__$c = function () {
|
|
|
5232
5321
|
}), 0)])], 1)]);
|
|
5233
5322
|
};
|
|
5234
5323
|
|
|
5235
|
-
var __vue_staticRenderFns__$
|
|
5324
|
+
var __vue_staticRenderFns__$j = [];
|
|
5236
5325
|
/* style */
|
|
5237
5326
|
|
|
5238
|
-
const __vue_inject_styles__$
|
|
5327
|
+
const __vue_inject_styles__$l = function (inject) {
|
|
5239
5328
|
if (!inject) return;
|
|
5240
5329
|
inject("data-v-12b8c18e_0", {
|
|
5241
5330
|
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}",
|
|
@@ -5246,23 +5335,23 @@ const __vue_inject_styles__$d = function (inject) {
|
|
|
5246
5335
|
/* scoped */
|
|
5247
5336
|
|
|
5248
5337
|
|
|
5249
|
-
const __vue_scope_id__$
|
|
5338
|
+
const __vue_scope_id__$l = "data-v-12b8c18e";
|
|
5250
5339
|
/* module identifier */
|
|
5251
5340
|
|
|
5252
|
-
const __vue_module_identifier__$
|
|
5341
|
+
const __vue_module_identifier__$l = undefined;
|
|
5253
5342
|
/* functional template */
|
|
5254
5343
|
|
|
5255
|
-
const __vue_is_functional_template__$
|
|
5344
|
+
const __vue_is_functional_template__$l = false;
|
|
5256
5345
|
/* style inject SSR */
|
|
5257
5346
|
|
|
5258
5347
|
/* style inject shadow dom */
|
|
5259
5348
|
|
|
5260
|
-
const __vue_component__$
|
|
5261
|
-
render: __vue_render__$
|
|
5262
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5263
|
-
}, __vue_inject_styles__$
|
|
5349
|
+
const __vue_component__$l = /*#__PURE__*/normalizeComponent({
|
|
5350
|
+
render: __vue_render__$j,
|
|
5351
|
+
staticRenderFns: __vue_staticRenderFns__$j
|
|
5352
|
+
}, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
|
|
5264
5353
|
|
|
5265
|
-
var IconsField = __vue_component__$
|
|
5354
|
+
var IconsField = __vue_component__$l;
|
|
5266
5355
|
|
|
5267
5356
|
const fields = Object.create(null, {
|
|
5268
5357
|
text: {
|
|
@@ -5346,7 +5435,7 @@ var FormField = {
|
|
|
5346
5435
|
};
|
|
5347
5436
|
|
|
5348
5437
|
//
|
|
5349
|
-
var script$
|
|
5438
|
+
var script$k = {
|
|
5350
5439
|
name: 'ui-form-item',
|
|
5351
5440
|
inheritAttrs: false,
|
|
5352
5441
|
inject: ['uiForm'],
|
|
@@ -5528,10 +5617,10 @@ var script$c = {
|
|
|
5528
5617
|
};
|
|
5529
5618
|
|
|
5530
5619
|
/* script */
|
|
5531
|
-
const __vue_script__$
|
|
5620
|
+
const __vue_script__$k = script$k;
|
|
5532
5621
|
/* template */
|
|
5533
5622
|
|
|
5534
|
-
var __vue_render__$
|
|
5623
|
+
var __vue_render__$i = function () {
|
|
5535
5624
|
var _vm = this;
|
|
5536
5625
|
|
|
5537
5626
|
var _h = _vm.$createElement;
|
|
@@ -5588,10 +5677,10 @@ var __vue_render__$b = function () {
|
|
|
5588
5677
|
}, [_vm._t("suffix")], 2) : _vm._e()], 2);
|
|
5589
5678
|
};
|
|
5590
5679
|
|
|
5591
|
-
var __vue_staticRenderFns__$
|
|
5680
|
+
var __vue_staticRenderFns__$i = [];
|
|
5592
5681
|
/* style */
|
|
5593
5682
|
|
|
5594
|
-
const __vue_inject_styles__$
|
|
5683
|
+
const __vue_inject_styles__$k = function (inject) {
|
|
5595
5684
|
if (!inject) return;
|
|
5596
5685
|
inject("data-v-abe604d6_0", {
|
|
5597
5686
|
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}",
|
|
@@ -5602,23 +5691,23 @@ const __vue_inject_styles__$c = function (inject) {
|
|
|
5602
5691
|
/* scoped */
|
|
5603
5692
|
|
|
5604
5693
|
|
|
5605
|
-
const __vue_scope_id__$
|
|
5694
|
+
const __vue_scope_id__$k = "data-v-abe604d6";
|
|
5606
5695
|
/* module identifier */
|
|
5607
5696
|
|
|
5608
|
-
const __vue_module_identifier__$
|
|
5697
|
+
const __vue_module_identifier__$k = undefined;
|
|
5609
5698
|
/* functional template */
|
|
5610
5699
|
|
|
5611
|
-
const __vue_is_functional_template__$
|
|
5700
|
+
const __vue_is_functional_template__$k = false;
|
|
5612
5701
|
/* style inject SSR */
|
|
5613
5702
|
|
|
5614
5703
|
/* style inject shadow dom */
|
|
5615
5704
|
|
|
5616
|
-
const __vue_component__$
|
|
5617
|
-
render: __vue_render__$
|
|
5618
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
5619
|
-
}, __vue_inject_styles__$
|
|
5705
|
+
const __vue_component__$k = /*#__PURE__*/normalizeComponent({
|
|
5706
|
+
render: __vue_render__$i,
|
|
5707
|
+
staticRenderFns: __vue_staticRenderFns__$i
|
|
5708
|
+
}, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, createInjector, undefined, undefined);
|
|
5620
5709
|
|
|
5621
|
-
var FormItem = __vue_component__$
|
|
5710
|
+
var FormItem = __vue_component__$k;
|
|
5622
5711
|
|
|
5623
5712
|
const Operator = {
|
|
5624
5713
|
eq: '=',
|
|
@@ -5669,7 +5758,7 @@ var TableSelectItem = {
|
|
|
5669
5758
|
};
|
|
5670
5759
|
|
|
5671
5760
|
//
|
|
5672
|
-
var script$
|
|
5761
|
+
var script$j = {
|
|
5673
5762
|
name: 'ui-form',
|
|
5674
5763
|
inheritAttrs: false,
|
|
5675
5764
|
|
|
@@ -6037,10 +6126,10 @@ var script$b = {
|
|
|
6037
6126
|
};
|
|
6038
6127
|
|
|
6039
6128
|
/* script */
|
|
6040
|
-
const __vue_script__$
|
|
6129
|
+
const __vue_script__$j = script$j;
|
|
6041
6130
|
/* template */
|
|
6042
6131
|
|
|
6043
|
-
var __vue_render__$
|
|
6132
|
+
var __vue_render__$h = function () {
|
|
6044
6133
|
var _vm = this;
|
|
6045
6134
|
|
|
6046
6135
|
var _h = _vm.$createElement;
|
|
@@ -6067,10 +6156,10 @@ var __vue_render__$a = function () {
|
|
|
6067
6156
|
}), _vm._v(" "), _vm._t("default")], 2);
|
|
6068
6157
|
};
|
|
6069
6158
|
|
|
6070
|
-
var __vue_staticRenderFns__$
|
|
6159
|
+
var __vue_staticRenderFns__$h = [];
|
|
6071
6160
|
/* style */
|
|
6072
6161
|
|
|
6073
|
-
const __vue_inject_styles__$
|
|
6162
|
+
const __vue_inject_styles__$j = function (inject) {
|
|
6074
6163
|
if (!inject) return;
|
|
6075
6164
|
inject("data-v-2a9aa6b4_0", {
|
|
6076
6165
|
source: ".el-form--inline[data-v-2a9aa6b4] .el-form-item{display:inline-flex}",
|
|
@@ -6081,23 +6170,23 @@ const __vue_inject_styles__$b = function (inject) {
|
|
|
6081
6170
|
/* scoped */
|
|
6082
6171
|
|
|
6083
6172
|
|
|
6084
|
-
const __vue_scope_id__$
|
|
6173
|
+
const __vue_scope_id__$j = "data-v-2a9aa6b4";
|
|
6085
6174
|
/* module identifier */
|
|
6086
6175
|
|
|
6087
|
-
const __vue_module_identifier__$
|
|
6176
|
+
const __vue_module_identifier__$j = undefined;
|
|
6088
6177
|
/* functional template */
|
|
6089
6178
|
|
|
6090
|
-
const __vue_is_functional_template__$
|
|
6179
|
+
const __vue_is_functional_template__$j = false;
|
|
6091
6180
|
/* style inject SSR */
|
|
6092
6181
|
|
|
6093
6182
|
/* style inject shadow dom */
|
|
6094
6183
|
|
|
6095
|
-
const __vue_component__$
|
|
6096
|
-
render: __vue_render__$
|
|
6097
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6098
|
-
}, __vue_inject_styles__$
|
|
6184
|
+
const __vue_component__$j = /*#__PURE__*/normalizeComponent({
|
|
6185
|
+
render: __vue_render__$h,
|
|
6186
|
+
staticRenderFns: __vue_staticRenderFns__$h
|
|
6187
|
+
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, createInjector, undefined, undefined);
|
|
6099
6188
|
|
|
6100
|
-
var Form$1 = __vue_component__$
|
|
6189
|
+
var Form$1 = __vue_component__$j;
|
|
6101
6190
|
|
|
6102
6191
|
//
|
|
6103
6192
|
//
|
|
@@ -6111,7 +6200,7 @@ var Form$1 = __vue_component__$b;
|
|
|
6111
6200
|
//
|
|
6112
6201
|
//
|
|
6113
6202
|
//
|
|
6114
|
-
var script$
|
|
6203
|
+
var script$i = {
|
|
6115
6204
|
name: 'ui-form-dialog',
|
|
6116
6205
|
inheritAttrs: false,
|
|
6117
6206
|
props: {
|
|
@@ -6304,10 +6393,10 @@ var script$a = {
|
|
|
6304
6393
|
};
|
|
6305
6394
|
|
|
6306
6395
|
/* script */
|
|
6307
|
-
const __vue_script__$
|
|
6396
|
+
const __vue_script__$i = script$i;
|
|
6308
6397
|
/* template */
|
|
6309
6398
|
|
|
6310
|
-
var __vue_render__$
|
|
6399
|
+
var __vue_render__$g = function () {
|
|
6311
6400
|
var _vm = this;
|
|
6312
6401
|
|
|
6313
6402
|
var _h = _vm.$createElement;
|
|
@@ -6366,10 +6455,10 @@ var __vue_render__$9 = function () {
|
|
|
6366
6455
|
}, [_vm._v(_vm._s(_vm.confirmText))])], 1) : _vm._e()], 2)], 1);
|
|
6367
6456
|
};
|
|
6368
6457
|
|
|
6369
|
-
var __vue_staticRenderFns__$
|
|
6458
|
+
var __vue_staticRenderFns__$g = [];
|
|
6370
6459
|
/* style */
|
|
6371
6460
|
|
|
6372
|
-
const __vue_inject_styles__$
|
|
6461
|
+
const __vue_inject_styles__$i = function (inject) {
|
|
6373
6462
|
if (!inject) return;
|
|
6374
6463
|
inject("data-v-02f7d8d6_0", {
|
|
6375
6464
|
source: ".action-button[data-v-02f7d8d6]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
|
|
@@ -6380,23 +6469,23 @@ const __vue_inject_styles__$a = function (inject) {
|
|
|
6380
6469
|
/* scoped */
|
|
6381
6470
|
|
|
6382
6471
|
|
|
6383
|
-
const __vue_scope_id__$
|
|
6472
|
+
const __vue_scope_id__$i = "data-v-02f7d8d6";
|
|
6384
6473
|
/* module identifier */
|
|
6385
6474
|
|
|
6386
|
-
const __vue_module_identifier__$
|
|
6475
|
+
const __vue_module_identifier__$i = undefined;
|
|
6387
6476
|
/* functional template */
|
|
6388
6477
|
|
|
6389
|
-
const __vue_is_functional_template__$
|
|
6478
|
+
const __vue_is_functional_template__$i = false;
|
|
6390
6479
|
/* style inject SSR */
|
|
6391
6480
|
|
|
6392
6481
|
/* style inject shadow dom */
|
|
6393
6482
|
|
|
6394
|
-
const __vue_component__$
|
|
6395
|
-
render: __vue_render__$
|
|
6396
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6397
|
-
}, __vue_inject_styles__$
|
|
6483
|
+
const __vue_component__$i = /*#__PURE__*/normalizeComponent({
|
|
6484
|
+
render: __vue_render__$g,
|
|
6485
|
+
staticRenderFns: __vue_staticRenderFns__$g
|
|
6486
|
+
}, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
|
|
6398
6487
|
|
|
6399
|
-
var FormDialog = __vue_component__$
|
|
6488
|
+
var FormDialog = __vue_component__$i;
|
|
6400
6489
|
|
|
6401
6490
|
// 判断参数是否是其中之一
|
|
6402
6491
|
function oneOf(value, validList) {
|
|
@@ -6528,7 +6617,7 @@ const off = function () {
|
|
|
6528
6617
|
|
|
6529
6618
|
//
|
|
6530
6619
|
const prefixCls = 'ui-drawer';
|
|
6531
|
-
var script$
|
|
6620
|
+
var script$h = {
|
|
6532
6621
|
name: 'UiDrawer',
|
|
6533
6622
|
directives: {
|
|
6534
6623
|
TransferDom
|
|
@@ -6779,10 +6868,10 @@ var script$9 = {
|
|
|
6779
6868
|
};
|
|
6780
6869
|
|
|
6781
6870
|
/* script */
|
|
6782
|
-
const __vue_script__$
|
|
6871
|
+
const __vue_script__$h = script$h;
|
|
6783
6872
|
/* template */
|
|
6784
6873
|
|
|
6785
|
-
var __vue_render__$
|
|
6874
|
+
var __vue_render__$f = function () {
|
|
6786
6875
|
var _vm = this;
|
|
6787
6876
|
|
|
6788
6877
|
var _h = _vm.$createElement;
|
|
@@ -6869,10 +6958,10 @@ var __vue_render__$8 = function () {
|
|
|
6869
6958
|
})], 2) : _vm._e()])])], 1)], 1);
|
|
6870
6959
|
};
|
|
6871
6960
|
|
|
6872
|
-
var __vue_staticRenderFns__$
|
|
6961
|
+
var __vue_staticRenderFns__$f = [];
|
|
6873
6962
|
/* style */
|
|
6874
6963
|
|
|
6875
|
-
const __vue_inject_styles__$
|
|
6964
|
+
const __vue_inject_styles__$h = function (inject) {
|
|
6876
6965
|
if (!inject) return;
|
|
6877
6966
|
inject("data-v-0c67e85e_0", {
|
|
6878
6967
|
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}}",
|
|
@@ -6883,26 +6972,26 @@ const __vue_inject_styles__$9 = function (inject) {
|
|
|
6883
6972
|
/* scoped */
|
|
6884
6973
|
|
|
6885
6974
|
|
|
6886
|
-
const __vue_scope_id__$
|
|
6975
|
+
const __vue_scope_id__$h = undefined;
|
|
6887
6976
|
/* module identifier */
|
|
6888
6977
|
|
|
6889
|
-
const __vue_module_identifier__$
|
|
6978
|
+
const __vue_module_identifier__$h = undefined;
|
|
6890
6979
|
/* functional template */
|
|
6891
6980
|
|
|
6892
|
-
const __vue_is_functional_template__$
|
|
6981
|
+
const __vue_is_functional_template__$h = false;
|
|
6893
6982
|
/* style inject SSR */
|
|
6894
6983
|
|
|
6895
6984
|
/* style inject shadow dom */
|
|
6896
6985
|
|
|
6897
|
-
const __vue_component__$
|
|
6898
|
-
render: __vue_render__$
|
|
6899
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
6900
|
-
}, __vue_inject_styles__$
|
|
6986
|
+
const __vue_component__$h = /*#__PURE__*/normalizeComponent({
|
|
6987
|
+
render: __vue_render__$f,
|
|
6988
|
+
staticRenderFns: __vue_staticRenderFns__$f
|
|
6989
|
+
}, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, createInjector, undefined, undefined);
|
|
6901
6990
|
|
|
6902
|
-
var Drawer$1 = __vue_component__$
|
|
6991
|
+
var Drawer$1 = __vue_component__$h;
|
|
6903
6992
|
|
|
6904
6993
|
//
|
|
6905
|
-
var script$
|
|
6994
|
+
var script$g = {
|
|
6906
6995
|
name: 'ui-form-drawer',
|
|
6907
6996
|
inheritAttrs: false,
|
|
6908
6997
|
components: {
|
|
@@ -7109,10 +7198,10 @@ var script$8 = {
|
|
|
7109
7198
|
};
|
|
7110
7199
|
|
|
7111
7200
|
/* script */
|
|
7112
|
-
const __vue_script__$
|
|
7201
|
+
const __vue_script__$g = script$g;
|
|
7113
7202
|
/* template */
|
|
7114
7203
|
|
|
7115
|
-
var __vue_render__$
|
|
7204
|
+
var __vue_render__$e = function () {
|
|
7116
7205
|
var _vm = this;
|
|
7117
7206
|
|
|
7118
7207
|
var _h = _vm.$createElement;
|
|
@@ -7171,10 +7260,10 @@ var __vue_render__$7 = function () {
|
|
|
7171
7260
|
}, [_vm._v(_vm._s(_vm.cancelText))])], 1) : _vm._e()]);
|
|
7172
7261
|
};
|
|
7173
7262
|
|
|
7174
|
-
var __vue_staticRenderFns__$
|
|
7263
|
+
var __vue_staticRenderFns__$e = [];
|
|
7175
7264
|
/* style */
|
|
7176
7265
|
|
|
7177
|
-
const __vue_inject_styles__$
|
|
7266
|
+
const __vue_inject_styles__$g = function (inject) {
|
|
7178
7267
|
if (!inject) return;
|
|
7179
7268
|
inject("data-v-61a29de6_0", {
|
|
7180
7269
|
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}",
|
|
@@ -7185,23 +7274,23 @@ const __vue_inject_styles__$8 = function (inject) {
|
|
|
7185
7274
|
/* scoped */
|
|
7186
7275
|
|
|
7187
7276
|
|
|
7188
|
-
const __vue_scope_id__$
|
|
7277
|
+
const __vue_scope_id__$g = undefined;
|
|
7189
7278
|
/* module identifier */
|
|
7190
7279
|
|
|
7191
|
-
const __vue_module_identifier__$
|
|
7280
|
+
const __vue_module_identifier__$g = undefined;
|
|
7192
7281
|
/* functional template */
|
|
7193
7282
|
|
|
7194
|
-
const __vue_is_functional_template__$
|
|
7283
|
+
const __vue_is_functional_template__$g = false;
|
|
7195
7284
|
/* style inject SSR */
|
|
7196
7285
|
|
|
7197
7286
|
/* style inject shadow dom */
|
|
7198
7287
|
|
|
7199
|
-
const __vue_component__$
|
|
7200
|
-
render: __vue_render__$
|
|
7201
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7202
|
-
}, __vue_inject_styles__$
|
|
7288
|
+
const __vue_component__$g = /*#__PURE__*/normalizeComponent({
|
|
7289
|
+
render: __vue_render__$e,
|
|
7290
|
+
staticRenderFns: __vue_staticRenderFns__$e
|
|
7291
|
+
}, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, createInjector, undefined, undefined);
|
|
7203
7292
|
|
|
7204
|
-
var FormDrawer = __vue_component__$
|
|
7293
|
+
var FormDrawer = __vue_component__$g;
|
|
7205
7294
|
|
|
7206
7295
|
//
|
|
7207
7296
|
//
|
|
@@ -7212,7 +7301,7 @@ var FormDrawer = __vue_component__$8;
|
|
|
7212
7301
|
//
|
|
7213
7302
|
//
|
|
7214
7303
|
//
|
|
7215
|
-
var script$
|
|
7304
|
+
var script$f = {
|
|
7216
7305
|
name: 'ui-form-fieldset',
|
|
7217
7306
|
props: {
|
|
7218
7307
|
label: {
|
|
@@ -7271,10 +7360,10 @@ var script$7 = {
|
|
|
7271
7360
|
};
|
|
7272
7361
|
|
|
7273
7362
|
/* script */
|
|
7274
|
-
const __vue_script__$
|
|
7363
|
+
const __vue_script__$f = script$f;
|
|
7275
7364
|
/* template */
|
|
7276
7365
|
|
|
7277
|
-
var __vue_render__$
|
|
7366
|
+
var __vue_render__$d = function () {
|
|
7278
7367
|
var _vm = this;
|
|
7279
7368
|
|
|
7280
7369
|
var _h = _vm.$createElement;
|
|
@@ -7297,7 +7386,7 @@ var __vue_render__$6 = function () {
|
|
|
7297
7386
|
}, [_vm._t("default")], 2)]);
|
|
7298
7387
|
};
|
|
7299
7388
|
|
|
7300
|
-
var __vue_staticRenderFns__$
|
|
7389
|
+
var __vue_staticRenderFns__$d = [function () {
|
|
7301
7390
|
var _vm = this;
|
|
7302
7391
|
|
|
7303
7392
|
var _h = _vm.$createElement;
|
|
@@ -7313,7 +7402,7 @@ var __vue_staticRenderFns__$6 = [function () {
|
|
|
7313
7402
|
}];
|
|
7314
7403
|
/* style */
|
|
7315
7404
|
|
|
7316
|
-
const __vue_inject_styles__$
|
|
7405
|
+
const __vue_inject_styles__$f = function (inject) {
|
|
7317
7406
|
if (!inject) return;
|
|
7318
7407
|
inject("data-v-f2017c28_0", {
|
|
7319
7408
|
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}",
|
|
@@ -7324,23 +7413,23 @@ const __vue_inject_styles__$7 = function (inject) {
|
|
|
7324
7413
|
/* scoped */
|
|
7325
7414
|
|
|
7326
7415
|
|
|
7327
|
-
const __vue_scope_id__$
|
|
7416
|
+
const __vue_scope_id__$f = "data-v-f2017c28";
|
|
7328
7417
|
/* module identifier */
|
|
7329
7418
|
|
|
7330
|
-
const __vue_module_identifier__$
|
|
7419
|
+
const __vue_module_identifier__$f = undefined;
|
|
7331
7420
|
/* functional template */
|
|
7332
7421
|
|
|
7333
|
-
const __vue_is_functional_template__$
|
|
7422
|
+
const __vue_is_functional_template__$f = false;
|
|
7334
7423
|
/* style inject SSR */
|
|
7335
7424
|
|
|
7336
7425
|
/* style inject shadow dom */
|
|
7337
7426
|
|
|
7338
|
-
const __vue_component__$
|
|
7339
|
-
render: __vue_render__$
|
|
7340
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7341
|
-
}, __vue_inject_styles__$
|
|
7427
|
+
const __vue_component__$f = /*#__PURE__*/normalizeComponent({
|
|
7428
|
+
render: __vue_render__$d,
|
|
7429
|
+
staticRenderFns: __vue_staticRenderFns__$d
|
|
7430
|
+
}, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, createInjector, undefined, undefined);
|
|
7342
7431
|
|
|
7343
|
-
var FormFieldset = __vue_component__$
|
|
7432
|
+
var FormFieldset = __vue_component__$f;
|
|
7344
7433
|
|
|
7345
7434
|
var Form = {
|
|
7346
7435
|
install: Vue => {
|
|
@@ -7372,6 +7461,83 @@ var BindTable = {
|
|
|
7372
7461
|
|
|
7373
7462
|
};
|
|
7374
7463
|
|
|
7464
|
+
//
|
|
7465
|
+
//
|
|
7466
|
+
//
|
|
7467
|
+
//
|
|
7468
|
+
//
|
|
7469
|
+
//
|
|
7470
|
+
//
|
|
7471
|
+
//
|
|
7472
|
+
var script$e = {
|
|
7473
|
+
name: 'ui-fill-view',
|
|
7474
|
+
props: {
|
|
7475
|
+
direction: {
|
|
7476
|
+
validator: val => ['column', 'row'].includes(val),
|
|
7477
|
+
default: 'column'
|
|
7478
|
+
}
|
|
7479
|
+
},
|
|
7480
|
+
computed: {
|
|
7481
|
+
directionStyle() {
|
|
7482
|
+
return {
|
|
7483
|
+
flexDirection: this.direction
|
|
7484
|
+
};
|
|
7485
|
+
}
|
|
7486
|
+
|
|
7487
|
+
}
|
|
7488
|
+
};
|
|
7489
|
+
|
|
7490
|
+
/* script */
|
|
7491
|
+
const __vue_script__$e = script$e;
|
|
7492
|
+
/* template */
|
|
7493
|
+
|
|
7494
|
+
var __vue_render__$c = function () {
|
|
7495
|
+
var _vm = this;
|
|
7496
|
+
|
|
7497
|
+
var _h = _vm.$createElement;
|
|
7498
|
+
|
|
7499
|
+
var _c = _vm._self._c || _h;
|
|
7500
|
+
|
|
7501
|
+
return _c('div', {
|
|
7502
|
+
class: ['ui-fill-view', _vm.direction]
|
|
7503
|
+
}, [_c('div', {
|
|
7504
|
+
staticClass: "wrapper",
|
|
7505
|
+
style: _vm.directionStyle
|
|
7506
|
+
}, [_vm._t("default")], 2)]);
|
|
7507
|
+
};
|
|
7508
|
+
|
|
7509
|
+
var __vue_staticRenderFns__$c = [];
|
|
7510
|
+
/* style */
|
|
7511
|
+
|
|
7512
|
+
const __vue_inject_styles__$e = function (inject) {
|
|
7513
|
+
if (!inject) return;
|
|
7514
|
+
inject("data-v-71000ef8_0", {
|
|
7515
|
+
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}",
|
|
7516
|
+
map: undefined,
|
|
7517
|
+
media: undefined
|
|
7518
|
+
});
|
|
7519
|
+
};
|
|
7520
|
+
/* scoped */
|
|
7521
|
+
|
|
7522
|
+
|
|
7523
|
+
const __vue_scope_id__$e = "data-v-71000ef8";
|
|
7524
|
+
/* module identifier */
|
|
7525
|
+
|
|
7526
|
+
const __vue_module_identifier__$e = undefined;
|
|
7527
|
+
/* functional template */
|
|
7528
|
+
|
|
7529
|
+
const __vue_is_functional_template__$e = false;
|
|
7530
|
+
/* style inject SSR */
|
|
7531
|
+
|
|
7532
|
+
/* style inject shadow dom */
|
|
7533
|
+
|
|
7534
|
+
const __vue_component__$e = /*#__PURE__*/normalizeComponent({
|
|
7535
|
+
render: __vue_render__$c,
|
|
7536
|
+
staticRenderFns: __vue_staticRenderFns__$c
|
|
7537
|
+
}, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, createInjector, undefined, undefined);
|
|
7538
|
+
|
|
7539
|
+
var FillView$1 = __vue_component__$e;
|
|
7540
|
+
|
|
7375
7541
|
/**
|
|
7376
7542
|
* 导出
|
|
7377
7543
|
* @param {Array} data 导出数据
|
|
@@ -7489,7 +7655,7 @@ var ExportsMixin = {
|
|
|
7489
7655
|
//
|
|
7490
7656
|
//
|
|
7491
7657
|
//
|
|
7492
|
-
var script$
|
|
7658
|
+
var script$d = {
|
|
7493
7659
|
name: 'remote-exports-dialog',
|
|
7494
7660
|
props: {
|
|
7495
7661
|
visible: Boolean,
|
|
@@ -7681,10 +7847,10 @@ var script$6 = {
|
|
|
7681
7847
|
};
|
|
7682
7848
|
|
|
7683
7849
|
/* script */
|
|
7684
|
-
const __vue_script__$
|
|
7850
|
+
const __vue_script__$d = script$d;
|
|
7685
7851
|
/* template */
|
|
7686
7852
|
|
|
7687
|
-
var __vue_render__$
|
|
7853
|
+
var __vue_render__$b = function () {
|
|
7688
7854
|
var _vm = this;
|
|
7689
7855
|
|
|
7690
7856
|
var _h = _vm.$createElement;
|
|
@@ -7812,10 +7978,10 @@ var __vue_render__$5 = function () {
|
|
|
7812
7978
|
}), 1)], 1)], 1)])]);
|
|
7813
7979
|
};
|
|
7814
7980
|
|
|
7815
|
-
var __vue_staticRenderFns__$
|
|
7981
|
+
var __vue_staticRenderFns__$b = [];
|
|
7816
7982
|
/* style */
|
|
7817
7983
|
|
|
7818
|
-
const __vue_inject_styles__$
|
|
7984
|
+
const __vue_inject_styles__$d = function (inject) {
|
|
7819
7985
|
if (!inject) return;
|
|
7820
7986
|
inject("data-v-8a0ac17c_0", {
|
|
7821
7987
|
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}",
|
|
@@ -7826,27 +7992,27 @@ const __vue_inject_styles__$6 = function (inject) {
|
|
|
7826
7992
|
/* scoped */
|
|
7827
7993
|
|
|
7828
7994
|
|
|
7829
|
-
const __vue_scope_id__$
|
|
7995
|
+
const __vue_scope_id__$d = "data-v-8a0ac17c";
|
|
7830
7996
|
/* module identifier */
|
|
7831
7997
|
|
|
7832
|
-
const __vue_module_identifier__$
|
|
7998
|
+
const __vue_module_identifier__$d = undefined;
|
|
7833
7999
|
/* functional template */
|
|
7834
8000
|
|
|
7835
|
-
const __vue_is_functional_template__$
|
|
8001
|
+
const __vue_is_functional_template__$d = false;
|
|
7836
8002
|
/* style inject SSR */
|
|
7837
8003
|
|
|
7838
8004
|
/* style inject shadow dom */
|
|
7839
8005
|
|
|
7840
|
-
const __vue_component__$
|
|
7841
|
-
render: __vue_render__$
|
|
7842
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
7843
|
-
}, __vue_inject_styles__$
|
|
8006
|
+
const __vue_component__$d = /*#__PURE__*/normalizeComponent({
|
|
8007
|
+
render: __vue_render__$b,
|
|
8008
|
+
staticRenderFns: __vue_staticRenderFns__$b
|
|
8009
|
+
}, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, createInjector, undefined, undefined);
|
|
7844
8010
|
|
|
7845
|
-
var RemoteExportsDialog = __vue_component__$
|
|
8011
|
+
var RemoteExportsDialog = __vue_component__$d;
|
|
7846
8012
|
|
|
7847
8013
|
//
|
|
7848
8014
|
let tableIdSeed = 1;
|
|
7849
|
-
var script$
|
|
8015
|
+
var script$c = {
|
|
7850
8016
|
name: 'ui-table',
|
|
7851
8017
|
|
|
7852
8018
|
provide() {
|
|
@@ -8547,6 +8713,7 @@ var script$5 = {
|
|
|
8547
8713
|
|
|
8548
8714
|
},
|
|
8549
8715
|
components: {
|
|
8716
|
+
FillView: FillView$1,
|
|
8550
8717
|
RemoteExportsDialog,
|
|
8551
8718
|
Refresh: {
|
|
8552
8719
|
render(createElement) {
|
|
@@ -8556,7 +8723,7 @@ var script$5 = {
|
|
|
8556
8723
|
}
|
|
8557
8724
|
}, [createElement('el-button', {
|
|
8558
8725
|
props: {
|
|
8559
|
-
icon: 'el-icon-
|
|
8726
|
+
icon: 'el-icon-refresh',
|
|
8560
8727
|
size: 'mini',
|
|
8561
8728
|
circle: true
|
|
8562
8729
|
},
|
|
@@ -8575,7 +8742,7 @@ var script$5 = {
|
|
|
8575
8742
|
}
|
|
8576
8743
|
}, [createElement('el-button', {
|
|
8577
8744
|
props: {
|
|
8578
|
-
icon: 'el-icon-
|
|
8745
|
+
icon: 'el-icon-download',
|
|
8579
8746
|
size: 'mini',
|
|
8580
8747
|
circle: true
|
|
8581
8748
|
},
|
|
@@ -8664,7 +8831,7 @@ var script$5 = {
|
|
|
8664
8831
|
}
|
|
8665
8832
|
}, [createElement('el-button', {
|
|
8666
8833
|
props: {
|
|
8667
|
-
icon: 'el-icon-
|
|
8834
|
+
icon: 'el-icon-search',
|
|
8668
8835
|
circle: true
|
|
8669
8836
|
},
|
|
8670
8837
|
on: {
|
|
@@ -8678,10 +8845,10 @@ var script$5 = {
|
|
|
8678
8845
|
};
|
|
8679
8846
|
|
|
8680
8847
|
/* script */
|
|
8681
|
-
const __vue_script__$
|
|
8848
|
+
const __vue_script__$c = script$c;
|
|
8682
8849
|
/* template */
|
|
8683
8850
|
|
|
8684
|
-
var __vue_render__$
|
|
8851
|
+
var __vue_render__$a = function () {
|
|
8685
8852
|
var _vm = this;
|
|
8686
8853
|
|
|
8687
8854
|
var _h = _vm.$createElement;
|
|
@@ -8733,7 +8900,7 @@ var __vue_render__$4 = function () {
|
|
|
8733
8900
|
}, [_c(tool, {
|
|
8734
8901
|
tag: "component"
|
|
8735
8902
|
})], 1);
|
|
8736
|
-
}), 0) : _vm._e()]), _vm._v(" "), _c('
|
|
8903
|
+
}), 0) : _vm._e()]), _vm._v(" "), _c('fill-view', [_c('el-table', _vm._g(_vm._b({
|
|
8737
8904
|
ref: "table",
|
|
8738
8905
|
class: _vm.tableCls,
|
|
8739
8906
|
attrs: {
|
|
@@ -8791,13 +8958,13 @@ var __vue_render__$4 = function () {
|
|
|
8791
8958
|
})], 1);
|
|
8792
8959
|
};
|
|
8793
8960
|
|
|
8794
|
-
var __vue_staticRenderFns__$
|
|
8961
|
+
var __vue_staticRenderFns__$a = [];
|
|
8795
8962
|
/* style */
|
|
8796
8963
|
|
|
8797
|
-
const __vue_inject_styles__$
|
|
8964
|
+
const __vue_inject_styles__$c = function (inject) {
|
|
8798
8965
|
if (!inject) return;
|
|
8799
|
-
inject("data-v-
|
|
8800
|
-
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(
|
|
8966
|
+
inject("data-v-7303d635_0", {
|
|
8967
|
+
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}",
|
|
8801
8968
|
map: undefined,
|
|
8802
8969
|
media: undefined
|
|
8803
8970
|
});
|
|
@@ -8805,23 +8972,23 @@ const __vue_inject_styles__$5 = function (inject) {
|
|
|
8805
8972
|
/* scoped */
|
|
8806
8973
|
|
|
8807
8974
|
|
|
8808
|
-
const __vue_scope_id__$
|
|
8975
|
+
const __vue_scope_id__$c = undefined;
|
|
8809
8976
|
/* module identifier */
|
|
8810
8977
|
|
|
8811
|
-
const __vue_module_identifier__$
|
|
8978
|
+
const __vue_module_identifier__$c = undefined;
|
|
8812
8979
|
/* functional template */
|
|
8813
8980
|
|
|
8814
|
-
const __vue_is_functional_template__$
|
|
8981
|
+
const __vue_is_functional_template__$c = false;
|
|
8815
8982
|
/* style inject SSR */
|
|
8816
8983
|
|
|
8817
8984
|
/* style inject shadow dom */
|
|
8818
8985
|
|
|
8819
|
-
const __vue_component__$
|
|
8820
|
-
render: __vue_render__$
|
|
8821
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
8822
|
-
}, __vue_inject_styles__$
|
|
8986
|
+
const __vue_component__$c = /*#__PURE__*/normalizeComponent({
|
|
8987
|
+
render: __vue_render__$a,
|
|
8988
|
+
staticRenderFns: __vue_staticRenderFns__$a
|
|
8989
|
+
}, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, createInjector, undefined, undefined);
|
|
8823
8990
|
|
|
8824
|
-
var Table$1 = __vue_component__$
|
|
8991
|
+
var Table$1 = __vue_component__$c;
|
|
8825
8992
|
|
|
8826
8993
|
const Format = {
|
|
8827
8994
|
Date: 'YYYY-MM-DD',
|
|
@@ -8839,7 +9006,7 @@ var Date$1 = {
|
|
|
8839
9006
|
* 在 element-ui 的 el-table-column 组件上拓展出 tree 类型
|
|
8840
9007
|
*/
|
|
8841
9008
|
|
|
8842
|
-
var script$
|
|
9009
|
+
var script$b = {
|
|
8843
9010
|
name: 'ui-column',
|
|
8844
9011
|
mixins: [TableColumn$1],
|
|
8845
9012
|
inject: {
|
|
@@ -9167,12 +9334,12 @@ var script$4 = {
|
|
|
9167
9334
|
};
|
|
9168
9335
|
|
|
9169
9336
|
/* script */
|
|
9170
|
-
const __vue_script__$
|
|
9337
|
+
const __vue_script__$b = script$b;
|
|
9171
9338
|
/* template */
|
|
9172
9339
|
|
|
9173
9340
|
/* style */
|
|
9174
9341
|
|
|
9175
|
-
const __vue_inject_styles__$
|
|
9342
|
+
const __vue_inject_styles__$b = function (inject) {
|
|
9176
9343
|
if (!inject) return;
|
|
9177
9344
|
inject("data-v-90b208a6_0", {
|
|
9178
9345
|
source: ".tree-toggle{display:inline-flex;width:24px;align-items:center;justify-content:center}.tree-toggle.pointer{cursor:pointer}",
|
|
@@ -9183,20 +9350,20 @@ const __vue_inject_styles__$4 = function (inject) {
|
|
|
9183
9350
|
/* scoped */
|
|
9184
9351
|
|
|
9185
9352
|
|
|
9186
|
-
const __vue_scope_id__$
|
|
9353
|
+
const __vue_scope_id__$b = undefined;
|
|
9187
9354
|
/* module identifier */
|
|
9188
9355
|
|
|
9189
|
-
const __vue_module_identifier__$
|
|
9356
|
+
const __vue_module_identifier__$b = undefined;
|
|
9190
9357
|
/* functional template */
|
|
9191
9358
|
|
|
9192
|
-
const __vue_is_functional_template__$
|
|
9359
|
+
const __vue_is_functional_template__$b = undefined;
|
|
9193
9360
|
/* style inject SSR */
|
|
9194
9361
|
|
|
9195
9362
|
/* style inject shadow dom */
|
|
9196
9363
|
|
|
9197
|
-
const __vue_component__$
|
|
9364
|
+
const __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, createInjector, undefined, undefined);
|
|
9198
9365
|
|
|
9199
|
-
var Column = __vue_component__$
|
|
9366
|
+
var Column = __vue_component__$b;
|
|
9200
9367
|
|
|
9201
9368
|
const actionButtonConfig = {
|
|
9202
9369
|
'!key': (button, index) => {
|
|
@@ -10009,7 +10176,7 @@ var TableColumn = {
|
|
|
10009
10176
|
//
|
|
10010
10177
|
//
|
|
10011
10178
|
//
|
|
10012
|
-
var script$
|
|
10179
|
+
var script$a = {
|
|
10013
10180
|
name: 'ui-table-pagination',
|
|
10014
10181
|
inject: ['uiTable'],
|
|
10015
10182
|
props: {
|
|
@@ -10079,10 +10246,10 @@ var script$3 = {
|
|
|
10079
10246
|
};
|
|
10080
10247
|
|
|
10081
10248
|
/* script */
|
|
10082
|
-
const __vue_script__$
|
|
10249
|
+
const __vue_script__$a = script$a;
|
|
10083
10250
|
/* template */
|
|
10084
10251
|
|
|
10085
|
-
var __vue_render__$
|
|
10252
|
+
var __vue_render__$9 = function () {
|
|
10086
10253
|
var _vm = this;
|
|
10087
10254
|
|
|
10088
10255
|
var _h = _vm.$createElement;
|
|
@@ -10105,36 +10272,36 @@ var __vue_render__$3 = function () {
|
|
|
10105
10272
|
}, 'el-pagination', _vm.$attrs, false), [_vm._t("default")], 2);
|
|
10106
10273
|
};
|
|
10107
10274
|
|
|
10108
|
-
var __vue_staticRenderFns__$
|
|
10275
|
+
var __vue_staticRenderFns__$9 = [];
|
|
10109
10276
|
/* style */
|
|
10110
10277
|
|
|
10111
|
-
const __vue_inject_styles__$
|
|
10278
|
+
const __vue_inject_styles__$a = undefined;
|
|
10112
10279
|
/* scoped */
|
|
10113
10280
|
|
|
10114
|
-
const __vue_scope_id__$
|
|
10281
|
+
const __vue_scope_id__$a = "data-v-681d0726";
|
|
10115
10282
|
/* module identifier */
|
|
10116
10283
|
|
|
10117
|
-
const __vue_module_identifier__$
|
|
10284
|
+
const __vue_module_identifier__$a = undefined;
|
|
10118
10285
|
/* functional template */
|
|
10119
10286
|
|
|
10120
|
-
const __vue_is_functional_template__$
|
|
10287
|
+
const __vue_is_functional_template__$a = false;
|
|
10121
10288
|
/* style inject */
|
|
10122
10289
|
|
|
10123
10290
|
/* style inject SSR */
|
|
10124
10291
|
|
|
10125
10292
|
/* style inject shadow dom */
|
|
10126
10293
|
|
|
10127
|
-
const __vue_component__$
|
|
10128
|
-
render: __vue_render__$
|
|
10129
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
10130
|
-
}, __vue_inject_styles__$
|
|
10294
|
+
const __vue_component__$a = /*#__PURE__*/normalizeComponent({
|
|
10295
|
+
render: __vue_render__$9,
|
|
10296
|
+
staticRenderFns: __vue_staticRenderFns__$9
|
|
10297
|
+
}, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, undefined, undefined, undefined);
|
|
10131
10298
|
|
|
10132
|
-
var TablePagination = __vue_component__$
|
|
10299
|
+
var TablePagination = __vue_component__$a;
|
|
10133
10300
|
|
|
10134
10301
|
//
|
|
10135
10302
|
const SEARCH_PREFIX = 'select';
|
|
10136
10303
|
const SORT_PREFIX = 'sort';
|
|
10137
|
-
var script$
|
|
10304
|
+
var script$9 = {
|
|
10138
10305
|
name: 'ui-table-select',
|
|
10139
10306
|
inject: {
|
|
10140
10307
|
uiTable: {
|
|
@@ -10270,10 +10437,10 @@ var script$2 = {
|
|
|
10270
10437
|
};
|
|
10271
10438
|
|
|
10272
10439
|
/* script */
|
|
10273
|
-
const __vue_script__$
|
|
10440
|
+
const __vue_script__$9 = script$9;
|
|
10274
10441
|
/* template */
|
|
10275
10442
|
|
|
10276
|
-
var __vue_render__$
|
|
10443
|
+
var __vue_render__$8 = function () {
|
|
10277
10444
|
var _vm = this;
|
|
10278
10445
|
|
|
10279
10446
|
var _h = _vm.$createElement;
|
|
@@ -10314,10 +10481,10 @@ var __vue_render__$2 = function () {
|
|
|
10314
10481
|
}), _vm._v(" "), _vm._t("end")], 2);
|
|
10315
10482
|
};
|
|
10316
10483
|
|
|
10317
|
-
var __vue_staticRenderFns__$
|
|
10484
|
+
var __vue_staticRenderFns__$8 = [];
|
|
10318
10485
|
/* style */
|
|
10319
10486
|
|
|
10320
|
-
const __vue_inject_styles__$
|
|
10487
|
+
const __vue_inject_styles__$9 = function (inject) {
|
|
10321
10488
|
if (!inject) return;
|
|
10322
10489
|
inject("data-v-1bff1b12_0", {
|
|
10323
10490
|
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}",
|
|
@@ -10328,23 +10495,23 @@ const __vue_inject_styles__$2 = function (inject) {
|
|
|
10328
10495
|
/* scoped */
|
|
10329
10496
|
|
|
10330
10497
|
|
|
10331
|
-
const __vue_scope_id__$
|
|
10498
|
+
const __vue_scope_id__$9 = undefined;
|
|
10332
10499
|
/* module identifier */
|
|
10333
10500
|
|
|
10334
|
-
const __vue_module_identifier__$
|
|
10501
|
+
const __vue_module_identifier__$9 = undefined;
|
|
10335
10502
|
/* functional template */
|
|
10336
10503
|
|
|
10337
|
-
const __vue_is_functional_template__$
|
|
10504
|
+
const __vue_is_functional_template__$9 = false;
|
|
10338
10505
|
/* style inject SSR */
|
|
10339
10506
|
|
|
10340
10507
|
/* style inject shadow dom */
|
|
10341
10508
|
|
|
10342
|
-
const __vue_component__$
|
|
10343
|
-
render: __vue_render__$
|
|
10344
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
10345
|
-
}, __vue_inject_styles__$
|
|
10509
|
+
const __vue_component__$9 = /*#__PURE__*/normalizeComponent({
|
|
10510
|
+
render: __vue_render__$8,
|
|
10511
|
+
staticRenderFns: __vue_staticRenderFns__$8
|
|
10512
|
+
}, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, createInjector, undefined, undefined);
|
|
10346
10513
|
|
|
10347
|
-
var TableSelect = __vue_component__$
|
|
10514
|
+
var TableSelect = __vue_component__$9;
|
|
10348
10515
|
|
|
10349
10516
|
var Table = {
|
|
10350
10517
|
install: Vue => {
|
|
@@ -10448,7 +10615,7 @@ var Drag = {
|
|
|
10448
10615
|
//
|
|
10449
10616
|
//
|
|
10450
10617
|
//
|
|
10451
|
-
var script$
|
|
10618
|
+
var script$8 = {
|
|
10452
10619
|
name: 'ui-dialog',
|
|
10453
10620
|
props: {
|
|
10454
10621
|
title: String,
|
|
@@ -10549,10 +10716,10 @@ var script$1 = {
|
|
|
10549
10716
|
};
|
|
10550
10717
|
|
|
10551
10718
|
/* script */
|
|
10552
|
-
const __vue_script__$
|
|
10719
|
+
const __vue_script__$8 = script$8;
|
|
10553
10720
|
/* template */
|
|
10554
10721
|
|
|
10555
|
-
var __vue_render__$
|
|
10722
|
+
var __vue_render__$7 = function () {
|
|
10556
10723
|
var _vm = this;
|
|
10557
10724
|
|
|
10558
10725
|
var _h = _vm.$createElement;
|
|
@@ -10613,10 +10780,10 @@ var __vue_render__$1 = function () {
|
|
|
10613
10780
|
}), 1) : _vm._e()], 2);
|
|
10614
10781
|
};
|
|
10615
10782
|
|
|
10616
|
-
var __vue_staticRenderFns__$
|
|
10783
|
+
var __vue_staticRenderFns__$7 = [];
|
|
10617
10784
|
/* style */
|
|
10618
10785
|
|
|
10619
|
-
const __vue_inject_styles__$
|
|
10786
|
+
const __vue_inject_styles__$8 = function (inject) {
|
|
10620
10787
|
if (!inject) return;
|
|
10621
10788
|
inject("data-v-2fef274f_0", {
|
|
10622
10789
|
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)}}",
|
|
@@ -10627,23 +10794,23 @@ const __vue_inject_styles__$1 = function (inject) {
|
|
|
10627
10794
|
/* scoped */
|
|
10628
10795
|
|
|
10629
10796
|
|
|
10630
|
-
const __vue_scope_id__$
|
|
10797
|
+
const __vue_scope_id__$8 = "data-v-2fef274f";
|
|
10631
10798
|
/* module identifier */
|
|
10632
10799
|
|
|
10633
|
-
const __vue_module_identifier__$
|
|
10800
|
+
const __vue_module_identifier__$8 = undefined;
|
|
10634
10801
|
/* functional template */
|
|
10635
10802
|
|
|
10636
|
-
const __vue_is_functional_template__$
|
|
10803
|
+
const __vue_is_functional_template__$8 = false;
|
|
10637
10804
|
/* style inject SSR */
|
|
10638
10805
|
|
|
10639
10806
|
/* style inject shadow dom */
|
|
10640
10807
|
|
|
10641
|
-
const __vue_component__$
|
|
10642
|
-
render: __vue_render__$
|
|
10643
|
-
staticRenderFns: __vue_staticRenderFns__$
|
|
10644
|
-
}, __vue_inject_styles__$
|
|
10808
|
+
const __vue_component__$8 = /*#__PURE__*/normalizeComponent({
|
|
10809
|
+
render: __vue_render__$7,
|
|
10810
|
+
staticRenderFns: __vue_staticRenderFns__$7
|
|
10811
|
+
}, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, createInjector, undefined, undefined);
|
|
10645
10812
|
|
|
10646
|
-
var Dialog$1 = __vue_component__$
|
|
10813
|
+
var Dialog$1 = __vue_component__$8;
|
|
10647
10814
|
|
|
10648
10815
|
var Dialog = {
|
|
10649
10816
|
install: Vue => {
|
|
@@ -10670,15 +10837,15 @@ var Fragment = {
|
|
|
10670
10837
|
//
|
|
10671
10838
|
//
|
|
10672
10839
|
//
|
|
10673
|
-
var script = {
|
|
10840
|
+
var script$7 = {
|
|
10674
10841
|
name: 'UiProvider'
|
|
10675
10842
|
};
|
|
10676
10843
|
|
|
10677
10844
|
/* script */
|
|
10678
|
-
const __vue_script__ = script;
|
|
10845
|
+
const __vue_script__$7 = script$7;
|
|
10679
10846
|
/* template */
|
|
10680
10847
|
|
|
10681
|
-
var __vue_render__ = function () {
|
|
10848
|
+
var __vue_render__$6 = function () {
|
|
10682
10849
|
var _vm = this;
|
|
10683
10850
|
|
|
10684
10851
|
var _h = _vm.$createElement;
|
|
@@ -10692,31 +10859,31 @@ var __vue_render__ = function () {
|
|
|
10692
10859
|
}, [_c('router-view')], 1);
|
|
10693
10860
|
};
|
|
10694
10861
|
|
|
10695
|
-
var __vue_staticRenderFns__ = [];
|
|
10862
|
+
var __vue_staticRenderFns__$6 = [];
|
|
10696
10863
|
/* style */
|
|
10697
10864
|
|
|
10698
|
-
const __vue_inject_styles__ = undefined;
|
|
10865
|
+
const __vue_inject_styles__$7 = undefined;
|
|
10699
10866
|
/* scoped */
|
|
10700
10867
|
|
|
10701
|
-
const __vue_scope_id__ = "data-v-3f1cadfa";
|
|
10868
|
+
const __vue_scope_id__$7 = "data-v-3f1cadfa";
|
|
10702
10869
|
/* module identifier */
|
|
10703
10870
|
|
|
10704
|
-
const __vue_module_identifier__ = undefined;
|
|
10871
|
+
const __vue_module_identifier__$7 = undefined;
|
|
10705
10872
|
/* functional template */
|
|
10706
10873
|
|
|
10707
|
-
const __vue_is_functional_template__ = false;
|
|
10874
|
+
const __vue_is_functional_template__$7 = false;
|
|
10708
10875
|
/* style inject */
|
|
10709
10876
|
|
|
10710
10877
|
/* style inject SSR */
|
|
10711
10878
|
|
|
10712
10879
|
/* style inject shadow dom */
|
|
10713
10880
|
|
|
10714
|
-
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
10715
|
-
render: __vue_render__,
|
|
10716
|
-
staticRenderFns: __vue_staticRenderFns__
|
|
10717
|
-
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
10881
|
+
const __vue_component__$7 = /*#__PURE__*/normalizeComponent({
|
|
10882
|
+
render: __vue_render__$6,
|
|
10883
|
+
staticRenderFns: __vue_staticRenderFns__$6
|
|
10884
|
+
}, __vue_inject_styles__$7, __vue_script__$7, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, undefined, undefined, undefined);
|
|
10718
10885
|
|
|
10719
|
-
var Provider$1 = __vue_component__;
|
|
10886
|
+
var Provider$1 = __vue_component__$7;
|
|
10720
10887
|
|
|
10721
10888
|
var Provider = {
|
|
10722
10889
|
install: Vue => {
|
|
@@ -10759,48 +10926,1721 @@ var Permission = {
|
|
|
10759
10926
|
}
|
|
10760
10927
|
};
|
|
10761
10928
|
|
|
10762
|
-
const
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
|
|
10929
|
+
const setDocumentTitle = function (title) {
|
|
10930
|
+
document.title = title;
|
|
10931
|
+
const ua = navigator.userAgent; // eslint-disable-next-line
|
|
10932
|
+
|
|
10933
|
+
const regex = /\bMicroMessenger\/([\d\.]+)/;
|
|
10934
|
+
|
|
10935
|
+
if (regex.test(ua) && /ip(hone|od|ad)/i.test(ua)) {
|
|
10936
|
+
const i = document.createElement('iframe');
|
|
10937
|
+
i.src = '/favicon.ico';
|
|
10938
|
+
i.style.display = 'none';
|
|
10939
|
+
|
|
10940
|
+
i.onload = function () {
|
|
10941
|
+
setTimeout(function () {
|
|
10942
|
+
i.remove();
|
|
10943
|
+
}, 9);
|
|
10944
|
+
};
|
|
10945
|
+
|
|
10946
|
+
document.body.appendChild(i);
|
|
10768
10947
|
}
|
|
10769
10948
|
};
|
|
10770
10949
|
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
*/
|
|
10774
|
-
const array2Tree = function (arr) {
|
|
10775
|
-
let opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
10950
|
+
const handleStateChange = (title, prefix) => {
|
|
10951
|
+
const titles = [];
|
|
10776
10952
|
|
|
10777
|
-
if (
|
|
10778
|
-
|
|
10953
|
+
if (title) {
|
|
10954
|
+
titles.push(title);
|
|
10779
10955
|
}
|
|
10780
10956
|
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
|
|
10784
|
-
childrenKey: 'children'
|
|
10785
|
-
};
|
|
10786
|
-
opt = Object.assign({}, DEFAULT_OPT, opt);
|
|
10787
|
-
const root = {
|
|
10788
|
-
[opt.childrenKey]: []
|
|
10789
|
-
};
|
|
10790
|
-
arr.forEach((item, i, arr) => {
|
|
10791
|
-
const p = arr.find(it => it[opt.identifyKey] === item[opt.parentKey]);
|
|
10957
|
+
if (prefix) {
|
|
10958
|
+
titles.push(prefix);
|
|
10959
|
+
}
|
|
10792
10960
|
|
|
10793
|
-
|
|
10794
|
-
|
|
10795
|
-
|
|
10796
|
-
|
|
10797
|
-
|
|
10798
|
-
}
|
|
10799
|
-
});
|
|
10800
|
-
return root[opt.childrenKey];
|
|
10961
|
+
const nextTitle = titles.join(' - ');
|
|
10962
|
+
|
|
10963
|
+
if (nextTitle !== document.title) {
|
|
10964
|
+
setDocumentTitle(nextTitle);
|
|
10965
|
+
}
|
|
10801
10966
|
};
|
|
10802
|
-
|
|
10803
|
-
|
|
10967
|
+
|
|
10968
|
+
const DocumentTitle = {
|
|
10969
|
+
name: 'ui-document-title',
|
|
10970
|
+
functional: true,
|
|
10971
|
+
inheritAttrs: false,
|
|
10972
|
+
props: {
|
|
10973
|
+
prefix: {
|
|
10974
|
+
type: String,
|
|
10975
|
+
required: false,
|
|
10976
|
+
default: () => {
|
|
10977
|
+
if (typeof getSetting === 'function') {
|
|
10978
|
+
var _getSetting;
|
|
10979
|
+
|
|
10980
|
+
return ((_getSetting = getSetting()) === null || _getSetting === void 0 ? void 0 : _getSetting.title) || '';
|
|
10981
|
+
}
|
|
10982
|
+
|
|
10983
|
+
return '';
|
|
10984
|
+
}
|
|
10985
|
+
},
|
|
10986
|
+
title: {
|
|
10987
|
+
type: String
|
|
10988
|
+
}
|
|
10989
|
+
},
|
|
10990
|
+
|
|
10991
|
+
// { props, data, children }
|
|
10992
|
+
// eslint-disable-next-line
|
|
10993
|
+
render(createElement, _ref) {
|
|
10994
|
+
let {
|
|
10995
|
+
props,
|
|
10996
|
+
children
|
|
10997
|
+
} = _ref;
|
|
10998
|
+
handleStateChange(props.title, props.prefix);
|
|
10999
|
+
return children;
|
|
11000
|
+
}
|
|
11001
|
+
|
|
11002
|
+
};
|
|
11003
|
+
|
|
11004
|
+
DocumentTitle.install = function (Vue) {
|
|
11005
|
+
Vue.component(DocumentTitle.name, DocumentTitle);
|
|
11006
|
+
};
|
|
11007
|
+
|
|
11008
|
+
var DocumentTitle$1 = DocumentTitle;
|
|
11009
|
+
|
|
11010
|
+
var FillView = {
|
|
11011
|
+
install: Vue => {
|
|
11012
|
+
Vue.component(FillView$1.name, FillView$1);
|
|
11013
|
+
}
|
|
11014
|
+
};
|
|
11015
|
+
|
|
11016
|
+
var script$6 = {
|
|
11017
|
+
name: 'head-menu-submenu',
|
|
11018
|
+
inject: ['headMenu'],
|
|
11019
|
+
props: {
|
|
11020
|
+
item: Object
|
|
11021
|
+
},
|
|
11022
|
+
computed: {
|
|
11023
|
+
isLeaf() {
|
|
11024
|
+
const {
|
|
11025
|
+
children
|
|
11026
|
+
} = this.item;
|
|
11027
|
+
return !Array.isArray(children) || children.length <= 0;
|
|
11028
|
+
},
|
|
11029
|
+
|
|
11030
|
+
index() {
|
|
11031
|
+
const {
|
|
11032
|
+
url,
|
|
11033
|
+
id
|
|
11034
|
+
} = this.item;
|
|
11035
|
+
|
|
11036
|
+
if (this.isRouter) {
|
|
11037
|
+
return url || id + '';
|
|
11038
|
+
}
|
|
11039
|
+
|
|
11040
|
+
return id + '';
|
|
11041
|
+
},
|
|
11042
|
+
|
|
11043
|
+
route() {
|
|
11044
|
+
const {
|
|
11045
|
+
url
|
|
11046
|
+
} = this.item;
|
|
11047
|
+
return url;
|
|
11048
|
+
},
|
|
11049
|
+
|
|
11050
|
+
isRouter() {
|
|
11051
|
+
return this.headMenu.router;
|
|
11052
|
+
},
|
|
11053
|
+
|
|
11054
|
+
theme() {
|
|
11055
|
+
return this.headMenu.theme;
|
|
11056
|
+
},
|
|
11057
|
+
|
|
11058
|
+
popperClass() {
|
|
11059
|
+
return ['nav-menu-submenu-popup', this.theme].join(' ');
|
|
11060
|
+
}
|
|
11061
|
+
|
|
11062
|
+
},
|
|
11063
|
+
|
|
11064
|
+
render(createElement) {
|
|
11065
|
+
if (this.isLeaf) {
|
|
11066
|
+
return createElement('el-menu-item', {
|
|
11067
|
+
props: {
|
|
11068
|
+
index: this.index,
|
|
11069
|
+
route: this.route
|
|
11070
|
+
}
|
|
11071
|
+
}, [createElement('template', {
|
|
11072
|
+
slot: 'title'
|
|
11073
|
+
}, [this.item.name])]);
|
|
11074
|
+
}
|
|
11075
|
+
|
|
11076
|
+
return createElement('el-submenu', {
|
|
11077
|
+
props: {
|
|
11078
|
+
index: this.index,
|
|
11079
|
+
popperClass: this.popperClass,
|
|
11080
|
+
popperAppendToBody: false
|
|
11081
|
+
}
|
|
11082
|
+
}, [createElement('template', {
|
|
11083
|
+
slot: 'title'
|
|
11084
|
+
}, [this.item.name]), ...this.item.children.map(child => createElement('head-menu-submenu', {
|
|
11085
|
+
key: child.id,
|
|
11086
|
+
props: {
|
|
11087
|
+
item: child
|
|
11088
|
+
}
|
|
11089
|
+
}))]);
|
|
11090
|
+
}
|
|
11091
|
+
|
|
11092
|
+
};
|
|
11093
|
+
|
|
11094
|
+
/* script */
|
|
11095
|
+
const __vue_script__$6 = script$6;
|
|
11096
|
+
/* template */
|
|
11097
|
+
|
|
11098
|
+
/* style */
|
|
11099
|
+
|
|
11100
|
+
const __vue_inject_styles__$6 = function (inject) {
|
|
11101
|
+
if (!inject) return;
|
|
11102
|
+
inject("data-v-233ada7a_0", {
|
|
11103
|
+
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}",
|
|
11104
|
+
map: undefined,
|
|
11105
|
+
media: undefined
|
|
11106
|
+
});
|
|
11107
|
+
};
|
|
11108
|
+
/* scoped */
|
|
11109
|
+
|
|
11110
|
+
|
|
11111
|
+
const __vue_scope_id__$6 = undefined;
|
|
11112
|
+
/* module identifier */
|
|
11113
|
+
|
|
11114
|
+
const __vue_module_identifier__$6 = undefined;
|
|
11115
|
+
/* functional template */
|
|
11116
|
+
|
|
11117
|
+
const __vue_is_functional_template__$6 = undefined;
|
|
11118
|
+
/* style inject SSR */
|
|
11119
|
+
|
|
11120
|
+
/* style inject shadow dom */
|
|
11121
|
+
|
|
11122
|
+
const __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, createInjector, undefined, undefined);
|
|
11123
|
+
|
|
11124
|
+
var MenuItem = __vue_component__$6;
|
|
11125
|
+
|
|
11126
|
+
//
|
|
11127
|
+
var script$5 = {
|
|
11128
|
+
name: 'ui-head-menu',
|
|
11129
|
+
components: {
|
|
11130
|
+
MenuItem
|
|
11131
|
+
},
|
|
11132
|
+
|
|
11133
|
+
provide() {
|
|
11134
|
+
return {
|
|
11135
|
+
headMenu: this
|
|
11136
|
+
};
|
|
11137
|
+
},
|
|
11138
|
+
|
|
11139
|
+
props: {
|
|
11140
|
+
router: {
|
|
11141
|
+
type: Boolean,
|
|
11142
|
+
default: true
|
|
11143
|
+
},
|
|
11144
|
+
defaultActive: String,
|
|
11145
|
+
mode: {
|
|
11146
|
+
default: 'horizontal'
|
|
11147
|
+
}
|
|
11148
|
+
},
|
|
11149
|
+
|
|
11150
|
+
data() {
|
|
11151
|
+
return {
|
|
11152
|
+
packUpWidth: 0
|
|
11153
|
+
};
|
|
11154
|
+
},
|
|
11155
|
+
|
|
11156
|
+
computed: { ...mapState(['menus']),
|
|
11157
|
+
|
|
11158
|
+
headMenu() {
|
|
11159
|
+
// eslint-disable-next-line
|
|
11160
|
+
return this.menus.filter(menu => [1, 2].includes(menu.type)).map(_ref => {
|
|
11161
|
+
let {
|
|
11162
|
+
children,
|
|
11163
|
+
...menu
|
|
11164
|
+
} = _ref;
|
|
11165
|
+
return menu;
|
|
11166
|
+
});
|
|
11167
|
+
},
|
|
11168
|
+
|
|
11169
|
+
active() {
|
|
11170
|
+
if (!this.router) {
|
|
11171
|
+
return this.defaultActive;
|
|
11172
|
+
}
|
|
11173
|
+
|
|
11174
|
+
const currentPath = this.$route.path;
|
|
11175
|
+
const isHeadRoute = this.headMenu.some(menu => menu.url === currentPath);
|
|
11176
|
+
|
|
11177
|
+
if (isHeadRoute) {
|
|
11178
|
+
return currentPath;
|
|
11179
|
+
}
|
|
11180
|
+
|
|
11181
|
+
const currentHeadMenu = this.getCurrentHeadMenu(currentPath, this.menus);
|
|
11182
|
+
return currentHeadMenu && (currentHeadMenu.path || currentHeadMenu.url);
|
|
11183
|
+
},
|
|
11184
|
+
|
|
11185
|
+
menuWidth() {
|
|
11186
|
+
return this.headMenu.reduce((total, item) => {
|
|
11187
|
+
return total + (item.name || '').split('').length * 16 + 25 * 2; // 16:字体大小值; 25:左右padding/margin值
|
|
11188
|
+
}, 60); // 100:菜单左边的margin值
|
|
11189
|
+
},
|
|
11190
|
+
|
|
11191
|
+
packUpIndex() {
|
|
11192
|
+
if (this.packUpWidth <= 0) {
|
|
11193
|
+
return -1;
|
|
11194
|
+
}
|
|
11195
|
+
|
|
11196
|
+
let index = -1;
|
|
11197
|
+
let width = this.packUpWidth + 130; // 50:更多下拉菜单所占宽度
|
|
11198
|
+
|
|
11199
|
+
for (let i = this.headMenu.length - 1; i >= 0; i--) {
|
|
11200
|
+
const item = this.headMenu[i];
|
|
11201
|
+
const currentWidth = (item.name || '').split('').length * 16 + 25 * 2;
|
|
11202
|
+
|
|
11203
|
+
if (currentWidth >= width) {
|
|
11204
|
+
index = i - 1;
|
|
11205
|
+
break;
|
|
11206
|
+
}
|
|
11207
|
+
|
|
11208
|
+
width = width - currentWidth;
|
|
11209
|
+
}
|
|
11210
|
+
|
|
11211
|
+
return Math.max(0, index);
|
|
11212
|
+
},
|
|
11213
|
+
|
|
11214
|
+
displayMenus() {
|
|
11215
|
+
if (this.packUpIndex === -1) {
|
|
11216
|
+
return this.headMenu;
|
|
11217
|
+
}
|
|
11218
|
+
|
|
11219
|
+
const menus = this.headMenu.slice(0, this.packUpIndex);
|
|
11220
|
+
const moreMenus = this.headMenu.slice(this.packUpIndex);
|
|
11221
|
+
menus.push({
|
|
11222
|
+
id: 'more',
|
|
11223
|
+
name: '更多菜单',
|
|
11224
|
+
children: moreMenus
|
|
11225
|
+
});
|
|
11226
|
+
return menus;
|
|
11227
|
+
}
|
|
11228
|
+
|
|
11229
|
+
},
|
|
11230
|
+
|
|
11231
|
+
mounted() {
|
|
11232
|
+
window.addEventListener('resize', this.onResize);
|
|
11233
|
+
this.onResize();
|
|
11234
|
+
const logo = document.querySelector('.page-header > .logo');
|
|
11235
|
+
logo && logo.addEventListener('load', () => this.onResize());
|
|
11236
|
+
},
|
|
11237
|
+
|
|
11238
|
+
beforeDestroy() {
|
|
11239
|
+
window.removeEventListener('resize', this.onResize);
|
|
11240
|
+
},
|
|
11241
|
+
|
|
11242
|
+
methods: {
|
|
11243
|
+
onResize() {
|
|
11244
|
+
clearTimeout(this.timer);
|
|
11245
|
+
this.timer = setTimeout(() => {
|
|
11246
|
+
const headerWidth = document.documentElement.clientWidth;
|
|
11247
|
+
const logoEl = document.querySelector('.page-header > .logo');
|
|
11248
|
+
const titleEl = document.querySelector('.page-header > .title');
|
|
11249
|
+
const messageEl = document.querySelector('.page-header > .screen');
|
|
11250
|
+
const usernameEl = document.querySelector('.page-header > .username');
|
|
11251
|
+
const logoWidth = (logoEl && logoEl.offsetWidth || 0) + 20; // 20 margin
|
|
11252
|
+
|
|
11253
|
+
const titleWidth = titleEl && titleEl.offsetWidth || 0;
|
|
11254
|
+
const messageElWidth = messageEl && messageEl.offsetWidth || 0;
|
|
11255
|
+
const usernameWidth = usernameEl && usernameEl.offsetWidth || 0;
|
|
11256
|
+
const allowedMenuWidth = headerWidth - 60 - logoWidth - titleWidth - messageElWidth - usernameWidth;
|
|
11257
|
+
this.packUpWidth = Math.max(0, this.menuWidth - allowedMenuWidth);
|
|
11258
|
+
}, 50);
|
|
11259
|
+
},
|
|
11260
|
+
|
|
11261
|
+
getCurrentHeadMenu(path, menus) {
|
|
11262
|
+
if (!Array.isArray(menus) || menus.length <= 0) {
|
|
11263
|
+
return undefined;
|
|
11264
|
+
}
|
|
11265
|
+
|
|
11266
|
+
return menus.find(menu => {
|
|
11267
|
+
const isMatched = (menu.children || []).some(childMenu => (childMenu.path || childMenu.url) === path);
|
|
11268
|
+
|
|
11269
|
+
if (isMatched) {
|
|
11270
|
+
return true;
|
|
11271
|
+
}
|
|
11272
|
+
|
|
11273
|
+
return this.getCurrentHeadMenu(path, menu.children);
|
|
11274
|
+
});
|
|
11275
|
+
}
|
|
11276
|
+
|
|
11277
|
+
}
|
|
11278
|
+
};
|
|
11279
|
+
|
|
11280
|
+
/* script */
|
|
11281
|
+
const __vue_script__$5 = script$5;
|
|
11282
|
+
/* template */
|
|
11283
|
+
|
|
11284
|
+
var __vue_render__$5 = function () {
|
|
11285
|
+
var _vm = this;
|
|
11286
|
+
|
|
11287
|
+
var _h = _vm.$createElement;
|
|
11288
|
+
|
|
11289
|
+
var _c = _vm._self._c || _h;
|
|
11290
|
+
|
|
11291
|
+
return _c('el-menu', _vm._g(_vm._b({
|
|
11292
|
+
staticClass: "head-menu",
|
|
11293
|
+
attrs: {
|
|
11294
|
+
"mode": _vm.mode,
|
|
11295
|
+
"router": _vm.router,
|
|
11296
|
+
"default-active": _vm.active
|
|
11297
|
+
}
|
|
11298
|
+
}, 'el-menu', _vm.$attrs, false), _vm.$listeners), _vm._l(_vm.displayMenus, function (item) {
|
|
11299
|
+
return _c('menu-item', {
|
|
11300
|
+
key: item.id,
|
|
11301
|
+
attrs: {
|
|
11302
|
+
"item": item
|
|
11303
|
+
}
|
|
11304
|
+
});
|
|
11305
|
+
}), 1);
|
|
11306
|
+
};
|
|
11307
|
+
|
|
11308
|
+
var __vue_staticRenderFns__$5 = [];
|
|
11309
|
+
/* style */
|
|
11310
|
+
|
|
11311
|
+
const __vue_inject_styles__$5 = function (inject) {
|
|
11312
|
+
if (!inject) return;
|
|
11313
|
+
inject("data-v-ef35c828_0", {
|
|
11314
|
+
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}",
|
|
11315
|
+
map: undefined,
|
|
11316
|
+
media: undefined
|
|
11317
|
+
});
|
|
11318
|
+
};
|
|
11319
|
+
/* scoped */
|
|
11320
|
+
|
|
11321
|
+
|
|
11322
|
+
const __vue_scope_id__$5 = undefined;
|
|
11323
|
+
/* module identifier */
|
|
11324
|
+
|
|
11325
|
+
const __vue_module_identifier__$5 = undefined;
|
|
11326
|
+
/* functional template */
|
|
11327
|
+
|
|
11328
|
+
const __vue_is_functional_template__$5 = false;
|
|
11329
|
+
/* style inject SSR */
|
|
11330
|
+
|
|
11331
|
+
/* style inject shadow dom */
|
|
11332
|
+
|
|
11333
|
+
const __vue_component__$5 = /*#__PURE__*/normalizeComponent({
|
|
11334
|
+
render: __vue_render__$5,
|
|
11335
|
+
staticRenderFns: __vue_staticRenderFns__$5
|
|
11336
|
+
}, __vue_inject_styles__$5, __vue_script__$5, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, createInjector, undefined, undefined);
|
|
11337
|
+
|
|
11338
|
+
var HeadMenu$1 = __vue_component__$5;
|
|
11339
|
+
|
|
11340
|
+
var HeadMenu = {
|
|
11341
|
+
install: Vue => {
|
|
11342
|
+
Vue.component(HeadMenu$1.name, HeadMenu$1);
|
|
11343
|
+
}
|
|
11344
|
+
};
|
|
11345
|
+
|
|
11346
|
+
//
|
|
11347
|
+
|
|
11348
|
+
const firstUpperCase = str => {
|
|
11349
|
+
return str.toLowerCase().replace(/( |^)[a-z]/g, L => L.toUpperCase());
|
|
11350
|
+
};
|
|
11351
|
+
|
|
11352
|
+
var script$4 = {
|
|
11353
|
+
name: 'ui-scroll-view',
|
|
11354
|
+
props: {
|
|
11355
|
+
direction: {
|
|
11356
|
+
type: String,
|
|
11357
|
+
default: 'row',
|
|
11358
|
+
validator: val => ['column', 'row'].includes(val)
|
|
11359
|
+
},
|
|
11360
|
+
childActiveCls: {
|
|
11361
|
+
type: String,
|
|
11362
|
+
default: '.is-active'
|
|
11363
|
+
}
|
|
11364
|
+
},
|
|
11365
|
+
|
|
11366
|
+
data() {
|
|
11367
|
+
return {
|
|
11368
|
+
scrollable: false,
|
|
11369
|
+
navOffset: 0
|
|
11370
|
+
};
|
|
11371
|
+
},
|
|
11372
|
+
|
|
11373
|
+
computed: {
|
|
11374
|
+
navStyle() {
|
|
11375
|
+
const dir = this.direction === 'row' ? 'X' : 'Y';
|
|
11376
|
+
return {
|
|
11377
|
+
transform: `translate${dir}(-${this.navOffset}px)`
|
|
11378
|
+
};
|
|
11379
|
+
},
|
|
11380
|
+
|
|
11381
|
+
sizeName() {
|
|
11382
|
+
return this.direction === 'row' ? 'width' : 'height';
|
|
11383
|
+
}
|
|
11384
|
+
|
|
11385
|
+
},
|
|
11386
|
+
|
|
11387
|
+
mounted() {
|
|
11388
|
+
addResizeListener(this.$el, this.update);
|
|
11389
|
+
addResizeListener(this.$refs.nav, this.update);
|
|
11390
|
+
const mo = new MutationObserver(this.update);
|
|
11391
|
+
mo.observe(this.$el, {
|
|
11392
|
+
childList: true,
|
|
11393
|
+
subtree: true
|
|
11394
|
+
});
|
|
11395
|
+
setTimeout(() => {
|
|
11396
|
+
this.scrollToActiveItem();
|
|
11397
|
+
}, 0);
|
|
11398
|
+
this.$once('hook:beforeDestroy', () => {
|
|
11399
|
+
if (this.$el && this.update) removeResizeListener(this.$el, this.update);
|
|
11400
|
+
if (this.$refs.nav && this.update) removeResizeListener(this.$refs.nav, this.update);
|
|
11401
|
+
mo.disconnect();
|
|
11402
|
+
});
|
|
11403
|
+
},
|
|
11404
|
+
|
|
11405
|
+
methods: {
|
|
11406
|
+
scrollPrev() {
|
|
11407
|
+
const containerSize = this.$refs.navScroll[`offset${firstUpperCase(this.sizeName)}`];
|
|
11408
|
+
const currentOffset = this.navOffset;
|
|
11409
|
+
if (!currentOffset) return;
|
|
11410
|
+
let newOffset = currentOffset > containerSize ? currentOffset - containerSize : 0;
|
|
11411
|
+
this.navOffset = newOffset;
|
|
11412
|
+
this.update();
|
|
11413
|
+
},
|
|
11414
|
+
|
|
11415
|
+
scrollNext() {
|
|
11416
|
+
const navSize = this.$refs.nav[`offset${firstUpperCase(this.sizeName)}`];
|
|
11417
|
+
const containerSize = this.$refs.navScroll[`offset${firstUpperCase(this.sizeName)}`];
|
|
11418
|
+
const currentOffset = this.navOffset;
|
|
11419
|
+
if (navSize - currentOffset <= containerSize) return;
|
|
11420
|
+
let newOffset = navSize - currentOffset > containerSize * 2 ? currentOffset + containerSize : navSize - containerSize;
|
|
11421
|
+
this.navOffset = newOffset;
|
|
11422
|
+
this.update();
|
|
11423
|
+
},
|
|
11424
|
+
|
|
11425
|
+
scrollToActiveItem() {
|
|
11426
|
+
if (!this.scrollable) return;
|
|
11427
|
+
const nav = this.$refs.nav;
|
|
11428
|
+
const activeItem = this.$el.querySelector(this.childActiveCls);
|
|
11429
|
+
if (!activeItem) return;
|
|
11430
|
+
const navScroll = this.$refs.navScroll;
|
|
11431
|
+
const isHorizontal = this.direction === 'row';
|
|
11432
|
+
const activeItemBounding = activeItem.getBoundingClientRect();
|
|
11433
|
+
const navScrollBounding = navScroll.getBoundingClientRect();
|
|
11434
|
+
const maxOffset = isHorizontal ? nav.offsetWidth - navScrollBounding.width : nav.offsetHeight - navScrollBounding.height;
|
|
11435
|
+
const currentOffset = this.navOffset;
|
|
11436
|
+
let newOffset = currentOffset;
|
|
11437
|
+
|
|
11438
|
+
if (isHorizontal) {
|
|
11439
|
+
if (activeItemBounding.left < navScrollBounding.left) {
|
|
11440
|
+
newOffset = currentOffset - (navScrollBounding.left - activeItemBounding.left);
|
|
11441
|
+
}
|
|
11442
|
+
|
|
11443
|
+
if (activeItemBounding.right > navScrollBounding.right) {
|
|
11444
|
+
newOffset = currentOffset + activeItemBounding.right - navScrollBounding.right;
|
|
11445
|
+
}
|
|
11446
|
+
} else {
|
|
11447
|
+
if (activeItemBounding.top < navScrollBounding.top) {
|
|
11448
|
+
newOffset = currentOffset - (navScrollBounding.top - activeItemBounding.top);
|
|
11449
|
+
}
|
|
11450
|
+
|
|
11451
|
+
if (activeItemBounding.bottom > navScrollBounding.bottom) {
|
|
11452
|
+
newOffset = currentOffset + (activeItemBounding.bottom - navScrollBounding.bottom);
|
|
11453
|
+
}
|
|
11454
|
+
}
|
|
11455
|
+
|
|
11456
|
+
newOffset = Math.max(newOffset, 0);
|
|
11457
|
+
this.navOffset = Math.min(newOffset, maxOffset);
|
|
11458
|
+
this.update();
|
|
11459
|
+
},
|
|
11460
|
+
|
|
11461
|
+
update() {
|
|
11462
|
+
if (!this.$refs.nav) return;
|
|
11463
|
+
const sizeName = this.sizeName;
|
|
11464
|
+
const navSize = this.$refs.nav[`offset${firstUpperCase(sizeName)}`];
|
|
11465
|
+
const containerSize = this.$refs.navScroll[`offset${firstUpperCase(sizeName)}`];
|
|
11466
|
+
const currentOffset = this.navOffset;
|
|
11467
|
+
|
|
11468
|
+
if (containerSize < navSize) {
|
|
11469
|
+
this.scrollable = {};
|
|
11470
|
+
this.scrollable.prev = currentOffset > 0;
|
|
11471
|
+
this.scrollable.next = currentOffset + containerSize < navSize;
|
|
11472
|
+
|
|
11473
|
+
if (navSize - currentOffset < containerSize) {
|
|
11474
|
+
this.navOffset = navSize - containerSize;
|
|
11475
|
+
}
|
|
11476
|
+
} else {
|
|
11477
|
+
this.scrollable = false;
|
|
11478
|
+
|
|
11479
|
+
if (currentOffset > 0) {
|
|
11480
|
+
this.navOffset = 0;
|
|
11481
|
+
}
|
|
11482
|
+
}
|
|
11483
|
+
}
|
|
11484
|
+
|
|
11485
|
+
}
|
|
11486
|
+
};
|
|
11487
|
+
|
|
11488
|
+
/* script */
|
|
11489
|
+
const __vue_script__$4 = script$4;
|
|
11490
|
+
/* template */
|
|
11491
|
+
|
|
11492
|
+
var __vue_render__$4 = function () {
|
|
11493
|
+
var _vm = this;
|
|
11494
|
+
|
|
11495
|
+
var _h = _vm.$createElement;
|
|
11496
|
+
|
|
11497
|
+
var _c = _vm._self._c || _h;
|
|
11498
|
+
|
|
11499
|
+
return _c('div', {
|
|
11500
|
+
class: ['ui-scroll-view__nav-wrap', "is-" + _vm.direction]
|
|
11501
|
+
}, [_c('div', {
|
|
11502
|
+
class: ['ui-scroll-view__nav-control ui-scroll-view__nav-prev', _vm.scrollable ? 'ui-scroll-view__nav-active' : '', _vm.scrollable && _vm.scrollable.prev ? '' : 'is-disabled'],
|
|
11503
|
+
on: {
|
|
11504
|
+
"click": _vm.scrollPrev
|
|
11505
|
+
}
|
|
11506
|
+
}, [_vm._t("prev", function () {
|
|
11507
|
+
return [_c('div', {
|
|
11508
|
+
staticClass: "menu-nav-control"
|
|
11509
|
+
})];
|
|
11510
|
+
}, {
|
|
11511
|
+
"disabled": _vm.scrollable && !_vm.scrollable.prev
|
|
11512
|
+
})], 2), _vm._v(" "), _c('div', {
|
|
11513
|
+
ref: "navScroll",
|
|
11514
|
+
staticClass: "ui-scroll-view__nav-scroll"
|
|
11515
|
+
}, [_c('div', {
|
|
11516
|
+
ref: "nav",
|
|
11517
|
+
class: ['ui-scroll-view__nav', "is-" + _vm.direction],
|
|
11518
|
+
style: _vm.navStyle
|
|
11519
|
+
}, [_vm._t("default")], 2)]), _vm._v(" "), _c('div', {
|
|
11520
|
+
class: ['ui-scroll-view__nav-control ui-scroll-view__nav-next', _vm.scrollable ? 'ui-scroll-view__nav-active' : '', _vm.scrollable && _vm.scrollable.next ? '' : 'is-disabled'],
|
|
11521
|
+
on: {
|
|
11522
|
+
"click": _vm.scrollNext
|
|
11523
|
+
}
|
|
11524
|
+
}, [_vm._t("next", function () {
|
|
11525
|
+
return [_c('div', {
|
|
11526
|
+
staticClass: "menu-nav-control"
|
|
11527
|
+
})];
|
|
11528
|
+
}, {
|
|
11529
|
+
"disabled": _vm.scrollable && !_vm.scrollable.next
|
|
11530
|
+
})], 2)]);
|
|
11531
|
+
};
|
|
11532
|
+
|
|
11533
|
+
var __vue_staticRenderFns__$4 = [];
|
|
11534
|
+
/* style */
|
|
11535
|
+
|
|
11536
|
+
const __vue_inject_styles__$4 = function (inject) {
|
|
11537
|
+
if (!inject) return;
|
|
11538
|
+
inject("data-v-1527f97d_0", {
|
|
11539
|
+
source: ".ui-scroll-view__nav-wrap{overflow:hidden;position:relative;display:flex;align-items:center;flex-wrap:nowrap}.ui-scroll-view__nav-wrap.is-row{flex-direction:row}.ui-scroll-view__nav-wrap.is-column{flex-direction:column}.ui-scroll-view__nav-wrap .ui-scroll-view__nav-scroll{overflow:hidden}.ui-scroll-view__nav-wrap .ui-scroll-view__nav-scroll .ui-scroll-view__nav{position:relative;transition:transform .3s;display:flex;flex-wrap:nowrap;float:left}.ui-scroll-view__nav-wrap .ui-scroll-view__nav-scroll .ui-scroll-view__nav.is-row{flex-direction:row}.ui-scroll-view__nav-wrap .ui-scroll-view__nav-scroll .ui-scroll-view__nav.is-column{flex-direction:column}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control{flex:none;width:50px;height:100%;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;visibility:hidden}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-active{visibility:visible}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control .menu-nav-control{width:25px;height:70px;display:flex;align-items:center;justify-content:center;flex-direction:column}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control .menu-nav-control::after,.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control .menu-nav-control::before{content:'';display:block;position:relative;width:6px;height:50px;background-color:#fff;transition:all .3s ease-in-out;border-radius:3px}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control .menu-nav-control::before{bottom:-4px}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control .menu-nav-control::after{top:-4px}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-prev .menu-nav-control::before{transform:rotate(18deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-prev .menu-nav-control::after{transform:rotate(-18deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-next .menu-nav-control::before{transform:rotate(-18deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-next .menu-nav-control::after{transform:rotate(18deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-prev:hover .menu-nav-control::before{transform:rotate(30deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-prev:hover .menu-nav-control::after{transform:rotate(-30deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-next:hover .menu-nav-control::before{transform:rotate(-30deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.ui-scroll-view__nav-next:hover .menu-nav-control::after{transform:rotate(30deg)}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.is-disabled{pointer-events:none}.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.is-disabled .menu-nav-control::after,.ui-scroll-view__nav-wrap.is-row .ui-scroll-view__nav-control.is-disabled .menu-nav-control::before{background-color:#ccc}.ui-scroll-view__nav-wrap.is-column{height:100%}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control{flex:none;width:100%;height:35px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;visibility:hidden}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-active{visibility:visible}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control .menu-nav-control{width:40px;height:17px;display:flex;align-items:center;justify-content:center;flex-direction:row}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control .menu-nav-control::after,.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control .menu-nav-control::before{content:'';display:block;position:relative;width:17px;height:4px;background-color:#fff;transition:all .3s ease-in-out;border-radius:3px}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control .menu-nav-control::before{right:-2.5px}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control .menu-nav-control::after{left:-2.5px}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-prev .menu-nav-control::before{transform:rotate(-18deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-prev .menu-nav-control::after{transform:rotate(18deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-next .menu-nav-control::before{transform:rotate(18deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-next .menu-nav-control::after{transform:rotate(-18deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-prev:hover .menu-nav-control::before{transform:rotate(-30deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-prev:hover .menu-nav-control::after{transform:rotate(30deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-next:hover .menu-nav-control::before{transform:rotate(30deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.ui-scroll-view__nav-next:hover .menu-nav-control::after{transform:rotate(-30deg)}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.is-disabled{pointer-events:none}.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.is-disabled .menu-nav-control::after,.ui-scroll-view__nav-wrap.is-column .ui-scroll-view__nav-control.is-disabled .menu-nav-control::before{background-color:#ccc}",
|
|
11540
|
+
map: undefined,
|
|
11541
|
+
media: undefined
|
|
11542
|
+
});
|
|
11543
|
+
};
|
|
11544
|
+
/* scoped */
|
|
11545
|
+
|
|
11546
|
+
|
|
11547
|
+
const __vue_scope_id__$4 = undefined;
|
|
11548
|
+
/* module identifier */
|
|
11549
|
+
|
|
11550
|
+
const __vue_module_identifier__$4 = undefined;
|
|
11551
|
+
/* functional template */
|
|
11552
|
+
|
|
11553
|
+
const __vue_is_functional_template__$4 = false;
|
|
11554
|
+
/* style inject SSR */
|
|
11555
|
+
|
|
11556
|
+
/* style inject shadow dom */
|
|
11557
|
+
|
|
11558
|
+
const __vue_component__$4 = /*#__PURE__*/normalizeComponent({
|
|
11559
|
+
render: __vue_render__$4,
|
|
11560
|
+
staticRenderFns: __vue_staticRenderFns__$4
|
|
11561
|
+
}, __vue_inject_styles__$4, __vue_script__$4, __vue_scope_id__$4, __vue_is_functional_template__$4, __vue_module_identifier__$4, false, createInjector, undefined, undefined);
|
|
11562
|
+
|
|
11563
|
+
var ScrollView = __vue_component__$4;
|
|
11564
|
+
|
|
11565
|
+
//
|
|
11566
|
+
var script$3 = {
|
|
11567
|
+
name: "ui-history",
|
|
11568
|
+
components: {
|
|
11569
|
+
ScrollView
|
|
11570
|
+
},
|
|
11571
|
+
props: {
|
|
11572
|
+
items: Array,
|
|
11573
|
+
current: null,
|
|
11574
|
+
visible: {
|
|
11575
|
+
type: Boolean,
|
|
11576
|
+
default: true
|
|
11577
|
+
}
|
|
11578
|
+
},
|
|
11579
|
+
|
|
11580
|
+
data() {
|
|
11581
|
+
return {
|
|
11582
|
+
activeContextMenu: "",
|
|
11583
|
+
contextmenu: {
|
|
11584
|
+
width: "0px",
|
|
11585
|
+
left: "0px"
|
|
11586
|
+
}
|
|
11587
|
+
};
|
|
11588
|
+
},
|
|
11589
|
+
|
|
11590
|
+
watch: {
|
|
11591
|
+
async current() {
|
|
11592
|
+
if (!this.$refs.menus) {
|
|
11593
|
+
return;
|
|
11594
|
+
}
|
|
11595
|
+
|
|
11596
|
+
await this.$nextTick();
|
|
11597
|
+
await this.$refs.menus.$nextTick();
|
|
11598
|
+
this.$refs.menus.scrollToActiveItem();
|
|
11599
|
+
}
|
|
11600
|
+
|
|
11601
|
+
},
|
|
11602
|
+
|
|
11603
|
+
mounted() {
|
|
11604
|
+
document.addEventListener("contextmenu", this.onContextMenu);
|
|
11605
|
+
},
|
|
11606
|
+
|
|
11607
|
+
beforeDestroy() {
|
|
11608
|
+
document.removeEventListener("contextmenu", this.onContextMenu);
|
|
11609
|
+
},
|
|
11610
|
+
|
|
11611
|
+
methods: {
|
|
11612
|
+
showContextMenu() {
|
|
11613
|
+
setTimeout(() => {
|
|
11614
|
+
this.$refs.context.broadcast("ElDropdownMenu", "visible", true);
|
|
11615
|
+
});
|
|
11616
|
+
},
|
|
11617
|
+
|
|
11618
|
+
hideContextMenu() {
|
|
11619
|
+
this.$refs.context.broadcast("ElDropdownMenu", "visible", false);
|
|
11620
|
+
this.activeContextMenu = "";
|
|
11621
|
+
},
|
|
11622
|
+
|
|
11623
|
+
onTabClick(path) {
|
|
11624
|
+
this.$router.push({
|
|
11625
|
+
path
|
|
11626
|
+
});
|
|
11627
|
+
},
|
|
11628
|
+
|
|
11629
|
+
onTabRemove(path) {
|
|
11630
|
+
this.$emit("remove-history", {
|
|
11631
|
+
type: "current",
|
|
11632
|
+
name: path
|
|
11633
|
+
});
|
|
11634
|
+
},
|
|
11635
|
+
|
|
11636
|
+
onContextMenu(event) {
|
|
11637
|
+
const container = this.$el.querySelector(".scroll-nav__nav");
|
|
11638
|
+
const index = this.getChildContainIndex(container, event.target);
|
|
11639
|
+
const rect = this.$el.getBoundingClientRect();
|
|
11640
|
+
|
|
11641
|
+
if (index !== -1) {
|
|
11642
|
+
var _this$items$index;
|
|
11643
|
+
|
|
11644
|
+
this.activeContextMenu = (_this$items$index = this.items[index]) === null || _this$items$index === void 0 ? void 0 : _this$items$index.path;
|
|
11645
|
+
this.contextmenu.left = `${event.clientX - rect.left}px`;
|
|
11646
|
+
this.contextmenu.top = `${event.clientY - rect.top}px`;
|
|
11647
|
+
this.showContextMenu();
|
|
11648
|
+
event.preventDefault();
|
|
11649
|
+
return false;
|
|
11650
|
+
}
|
|
11651
|
+
|
|
11652
|
+
const modal = this.$el.querySelector(".modal");
|
|
11653
|
+
|
|
11654
|
+
if (event.target === modal) {
|
|
11655
|
+
event.preventDefault();
|
|
11656
|
+
return false;
|
|
11657
|
+
}
|
|
11658
|
+
|
|
11659
|
+
return true;
|
|
11660
|
+
},
|
|
11661
|
+
|
|
11662
|
+
contextmenuClose(command) {
|
|
11663
|
+
this.$emit("remove-history", {
|
|
11664
|
+
type: command,
|
|
11665
|
+
name: this.activeContextMenu
|
|
11666
|
+
});
|
|
11667
|
+
this.hideContextMenu();
|
|
11668
|
+
},
|
|
11669
|
+
|
|
11670
|
+
getChildContainIndex(container, target) {
|
|
11671
|
+
return Array.from(container.childNodes).findIndex(child => {
|
|
11672
|
+
return this.isContains(child, target);
|
|
11673
|
+
});
|
|
11674
|
+
},
|
|
11675
|
+
|
|
11676
|
+
isContains(container, target) {
|
|
11677
|
+
if (container === target) {
|
|
11678
|
+
return true;
|
|
11679
|
+
}
|
|
11680
|
+
|
|
11681
|
+
const fn = (childNodes, _target) => {
|
|
11682
|
+
return Array.from(childNodes).find(item => {
|
|
11683
|
+
const isEq = item === _target;
|
|
11684
|
+
|
|
11685
|
+
if (isEq) {
|
|
11686
|
+
return true;
|
|
11687
|
+
}
|
|
11688
|
+
|
|
11689
|
+
if (!item.childNodes.length) {
|
|
11690
|
+
return false;
|
|
11691
|
+
}
|
|
11692
|
+
|
|
11693
|
+
return fn(item.childNodes, _target);
|
|
11694
|
+
});
|
|
11695
|
+
};
|
|
11696
|
+
|
|
11697
|
+
return fn(container.childNodes, target);
|
|
11698
|
+
}
|
|
11699
|
+
|
|
11700
|
+
}
|
|
11701
|
+
};
|
|
11702
|
+
|
|
11703
|
+
/* script */
|
|
11704
|
+
const __vue_script__$3 = script$3;
|
|
11705
|
+
/* template */
|
|
11706
|
+
|
|
11707
|
+
var __vue_render__$3 = function () {
|
|
11708
|
+
var _vm = this;
|
|
11709
|
+
|
|
11710
|
+
var _h = _vm.$createElement;
|
|
11711
|
+
|
|
11712
|
+
var _c = _vm._self._c || _h;
|
|
11713
|
+
|
|
11714
|
+
return _c('div', {
|
|
11715
|
+
directives: [{
|
|
11716
|
+
name: "show",
|
|
11717
|
+
rawName: "v-show",
|
|
11718
|
+
value: _vm.visible,
|
|
11719
|
+
expression: "visible"
|
|
11720
|
+
}],
|
|
11721
|
+
staticClass: "history"
|
|
11722
|
+
}, [_c('scroll-view', {
|
|
11723
|
+
ref: "menus",
|
|
11724
|
+
staticClass: "history-tabs"
|
|
11725
|
+
}, _vm._l(_vm.items, function (item) {
|
|
11726
|
+
return _c('div', {
|
|
11727
|
+
key: item.path,
|
|
11728
|
+
class: ['history-menu', _vm.current === item.path ? 'is-active' : ''],
|
|
11729
|
+
on: {
|
|
11730
|
+
"click": function ($event) {
|
|
11731
|
+
return _vm.onTabClick(item.path);
|
|
11732
|
+
}
|
|
11733
|
+
}
|
|
11734
|
+
}, [_c('span', {
|
|
11735
|
+
staticClass: "ellipsis",
|
|
11736
|
+
attrs: {
|
|
11737
|
+
"title": item.title
|
|
11738
|
+
}
|
|
11739
|
+
}, [_vm._v(_vm._s(item.title))]), _vm._v(" "), _c('i', {
|
|
11740
|
+
staticClass: "el-icon-close",
|
|
11741
|
+
on: {
|
|
11742
|
+
"click": function ($event) {
|
|
11743
|
+
$event.stopPropagation();
|
|
11744
|
+
return _vm.onTabRemove(item.path);
|
|
11745
|
+
}
|
|
11746
|
+
}
|
|
11747
|
+
})]);
|
|
11748
|
+
}), 0), _vm._v(" "), _c('div', {
|
|
11749
|
+
staticClass: "contextmenu",
|
|
11750
|
+
style: _vm.contextmenu
|
|
11751
|
+
}, [_c('div', {
|
|
11752
|
+
ref: "modal",
|
|
11753
|
+
staticClass: "modal",
|
|
11754
|
+
style: {
|
|
11755
|
+
display: _vm.activeContextMenu ? 'block' : 'none'
|
|
11756
|
+
},
|
|
11757
|
+
on: {
|
|
11758
|
+
"click": _vm.hideContextMenu
|
|
11759
|
+
}
|
|
11760
|
+
}), _vm._v(" "), _c('el-dropdown', {
|
|
11761
|
+
ref: "context",
|
|
11762
|
+
staticClass: "history-dropdown",
|
|
11763
|
+
attrs: {
|
|
11764
|
+
"trigger": "click",
|
|
11765
|
+
"placement": "top-start"
|
|
11766
|
+
},
|
|
11767
|
+
on: {
|
|
11768
|
+
"command": _vm.contextmenuClose
|
|
11769
|
+
}
|
|
11770
|
+
}, [_c('span'), _vm._v(" "), _c('el-dropdown-menu', {
|
|
11771
|
+
staticClass: "history-contextmenu",
|
|
11772
|
+
attrs: {
|
|
11773
|
+
"slot": "dropdown",
|
|
11774
|
+
"visible-arrow": false
|
|
11775
|
+
},
|
|
11776
|
+
slot: "dropdown"
|
|
11777
|
+
}, [_c('el-dropdown-item', {
|
|
11778
|
+
attrs: {
|
|
11779
|
+
"command": "left"
|
|
11780
|
+
}
|
|
11781
|
+
}, [_c('i', {
|
|
11782
|
+
staticClass: "el-icon-arrow-left"
|
|
11783
|
+
}), _vm._v("\n 关闭左侧\n ")]), _vm._v(" "), _c('el-dropdown-item', {
|
|
11784
|
+
attrs: {
|
|
11785
|
+
"command": "right"
|
|
11786
|
+
}
|
|
11787
|
+
}, [_c('i', {
|
|
11788
|
+
staticClass: "el-icon-arrow-right"
|
|
11789
|
+
}), _vm._v("\n 关闭右侧\n ")]), _vm._v(" "), _c('el-dropdown-item', {
|
|
11790
|
+
attrs: {
|
|
11791
|
+
"command": "other"
|
|
11792
|
+
}
|
|
11793
|
+
}, [_c('i', {
|
|
11794
|
+
staticClass: "el-icon-close"
|
|
11795
|
+
}), _vm._v("\n 关闭其它\n ")]), _vm._v(" "), _c('el-dropdown-item', {
|
|
11796
|
+
attrs: {
|
|
11797
|
+
"command": "all"
|
|
11798
|
+
}
|
|
11799
|
+
}, [_c('i', {
|
|
11800
|
+
staticClass: "el-icon-circle-close"
|
|
11801
|
+
}), _vm._v("\n 全部关闭\n ")])], 1)], 1)], 1)], 1);
|
|
11802
|
+
};
|
|
11803
|
+
|
|
11804
|
+
var __vue_staticRenderFns__$3 = [];
|
|
11805
|
+
/* style */
|
|
11806
|
+
|
|
11807
|
+
const __vue_inject_styles__$3 = function (inject) {
|
|
11808
|
+
if (!inject) return;
|
|
11809
|
+
inject("data-v-d36fabca_0", {
|
|
11810
|
+
source: ".history{flex:none;height:40px;position:relative;margin:10px 0 0}.history .history-tabs.scroll-nav__nav-wrap{left:0;right:0;top:0;bottom:0;position:absolute;align-items:flex-end}.history .history-tabs.scroll-nav__nav-wrap .scroll-nav__nav-scroll{flex:1}.history .history-tabs.scroll-nav__nav-wrap .scroll-nav__nav-control{width:20px;height:30px}.history .history-tabs.scroll-nav__nav-wrap .scroll-nav__nav-control.is-disabled .menu-nav-control::after,.history .history-tabs.scroll-nav__nav-wrap .scroll-nav__nav-control.is-disabled .menu-nav-control::before{background:var(--color-primary-light-3)}.history .history-tabs.scroll-nav__nav-wrap .scroll-nav__nav{align-items:flex-end}.history .history-tabs.scroll-nav__nav-wrap .menu-nav-control{height:30px}.history .history-tabs.scroll-nav__nav-wrap .menu-nav-control::after,.history .history-tabs.scroll-nav__nav-wrap .menu-nav-control::before{width:3px;height:12px;background:var(--color-primary-light-6)}.history .history-tabs.scroll-nav__nav-wrap .menu-nav-control::before{bottom:-2px}.history .history-tabs.scroll-nav__nav-wrap .menu-nav-control::after{top:-2px}.history .contextmenu{width:0;height:0;position:absolute;top:0;left:0}.history .contextmenu .modal{position:fixed;top:0;left:0;bottom:0;right:0;z-index:99}.history .history-menu{height:30px;color:#fff;font-size:14px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;cursor:pointer;background:rgba(83,109,139,.6);border-radius:5px 5px 0 0;transition:all .3s ease-in-out;position:relative;background:var(--color-primary-light-9)}.history .history-menu+.history-menu{border-left:1px solid var(--color-darken-primary-2)}.history .history-menu.is-active{height:40px;color:#fff;background:var(--color-darken-primary-2);text-shadow:2px 2px 2px rgba(0,0,0,.95);box-shadow:7px 5px 5px rgba(0,0,0,.2);z-index:1}.history .history-menu:hover i{opacity:1}.history .history-menu>span{flex:1;padding:0 25px}.history .history-menu>i{position:absolute;top:2px;right:3px;opacity:.3;width:14px;height:14px;font-size:12px;border-radius:50%;transition:opacity .3s ease-in-out}.history .history-menu>i:hover{background-color:var(--color-primary)}.history .el-tabs{background:0 0}.history .el-tabs>.el-tabs__header{background:0 0;border-bottom:none}.history .el-tabs>.el-tabs__header .el-tabs__nav{border:none}.history .el-tabs>.el-tabs__header .el-tabs__nav-wrap::after{content:unset}.history .el-tabs>.el-tabs__content{padding:0}.history .el-tabs .el-tabs__nav-next,.history .el-tabs .el-tabs__nav-prev{color:#536d8b;width:20px;line-height:39px;text-align:center;font-size:18px}.history .el-tabs .el-tabs__nav-prev{border-right:1px solid #ddd}.history .el-tabs .el-tabs__nav-next{border-left:1px solid #ddd}.history .el-tabs .el-tabs__item{margin:8px;border:none;height:34px;line-height:34px;background:#2e557e;box-shadow:0 3px 6px rgba(0,0,0,.16);color:#fff;display:inline-flex;flex-direction:row;align-items:center}.history .history-tab-title{width:6em;display:inline-block;vertical-align:middle}.history-dropdown{position:absolute;top:0;left:0}.history-contextmenu.el-popper{margin-top:0}",
|
|
11811
|
+
map: undefined,
|
|
11812
|
+
media: undefined
|
|
11813
|
+
});
|
|
11814
|
+
};
|
|
11815
|
+
/* scoped */
|
|
11816
|
+
|
|
11817
|
+
|
|
11818
|
+
const __vue_scope_id__$3 = undefined;
|
|
11819
|
+
/* module identifier */
|
|
11820
|
+
|
|
11821
|
+
const __vue_module_identifier__$3 = undefined;
|
|
11822
|
+
/* functional template */
|
|
11823
|
+
|
|
11824
|
+
const __vue_is_functional_template__$3 = false;
|
|
11825
|
+
/* style inject SSR */
|
|
11826
|
+
|
|
11827
|
+
/* style inject shadow dom */
|
|
11828
|
+
|
|
11829
|
+
const __vue_component__$3 = /*#__PURE__*/normalizeComponent({
|
|
11830
|
+
render: __vue_render__$3,
|
|
11831
|
+
staticRenderFns: __vue_staticRenderFns__$3
|
|
11832
|
+
}, __vue_inject_styles__$3, __vue_script__$3, __vue_scope_id__$3, __vue_is_functional_template__$3, __vue_module_identifier__$3, false, createInjector, undefined, undefined);
|
|
11833
|
+
|
|
11834
|
+
var History$1 = __vue_component__$3;
|
|
11835
|
+
|
|
11836
|
+
var History = {
|
|
11837
|
+
install: Vue => {
|
|
11838
|
+
Vue.component(History$1.name, History$1);
|
|
11839
|
+
}
|
|
11840
|
+
};
|
|
11841
|
+
|
|
11842
|
+
//
|
|
11843
|
+
//
|
|
11844
|
+
//
|
|
11845
|
+
//
|
|
11846
|
+
//
|
|
11847
|
+
//
|
|
11848
|
+
//
|
|
11849
|
+
//
|
|
11850
|
+
//
|
|
11851
|
+
var script$2 = {
|
|
11852
|
+
name: 'ui-minimize',
|
|
11853
|
+
props: {
|
|
11854
|
+
direction: {
|
|
11855
|
+
validator: val => ['top', 'right', 'bottom', 'left'].indexOf(val) !== -1
|
|
11856
|
+
},
|
|
11857
|
+
value: {
|
|
11858
|
+
type: Boolean,
|
|
11859
|
+
default: false
|
|
11860
|
+
},
|
|
11861
|
+
theme: String
|
|
11862
|
+
},
|
|
11863
|
+
|
|
11864
|
+
data() {
|
|
11865
|
+
return {
|
|
11866
|
+
hover: false
|
|
11867
|
+
};
|
|
11868
|
+
},
|
|
11869
|
+
|
|
11870
|
+
computed: {
|
|
11871
|
+
isVertical() {
|
|
11872
|
+
return ['left', 'right'].includes(this.direction);
|
|
11873
|
+
}
|
|
11874
|
+
|
|
11875
|
+
},
|
|
11876
|
+
watch: {
|
|
11877
|
+
value(v) {
|
|
11878
|
+
this.doCollapse(v);
|
|
11879
|
+
}
|
|
11880
|
+
|
|
11881
|
+
},
|
|
11882
|
+
|
|
11883
|
+
mounted() {
|
|
11884
|
+
this.init();
|
|
11885
|
+
this.doCollapse(this.value);
|
|
11886
|
+
},
|
|
11887
|
+
|
|
11888
|
+
beforeDestroy() {
|
|
11889
|
+
const parent = this.$el.parentElement;
|
|
11890
|
+
parent && parent.removeEventListener('mouseenter', this.onMouseEnter);
|
|
11891
|
+
parent && parent.removeEventListener('mouseleave', this.onMouseLeave);
|
|
11892
|
+
},
|
|
11893
|
+
|
|
11894
|
+
methods: {
|
|
11895
|
+
init() {
|
|
11896
|
+
const parent = this.$el.parentElement;
|
|
11897
|
+
const style = parent.style; // init style
|
|
11898
|
+
|
|
11899
|
+
style.position = 'relative';
|
|
11900
|
+
style.transitionProperty = 'width, height';
|
|
11901
|
+
style.transitionDuration = '300ms';
|
|
11902
|
+
style.transitionTimingFunction = 'ease-in-out'; // init mouse event
|
|
11903
|
+
|
|
11904
|
+
parent.addEventListener('mouseenter', this.onMouseEnter);
|
|
11905
|
+
parent.addEventListener('mouseleave', this.onMouseLeave);
|
|
11906
|
+
},
|
|
11907
|
+
|
|
11908
|
+
onMouseEnter() {
|
|
11909
|
+
this.hover = true;
|
|
11910
|
+
},
|
|
11911
|
+
|
|
11912
|
+
onMouseLeave() {
|
|
11913
|
+
this.hover = false;
|
|
11914
|
+
},
|
|
11915
|
+
|
|
11916
|
+
handleToggle() {
|
|
11917
|
+
this.$emit('input', !this.value);
|
|
11918
|
+
this.$emit('change', !this.value);
|
|
11919
|
+
},
|
|
11920
|
+
|
|
11921
|
+
doCollapse(collapse) {
|
|
11922
|
+
const parent = this.$el.parentElement;
|
|
11923
|
+
const style = parent.style;
|
|
11924
|
+
|
|
11925
|
+
if (collapse) {
|
|
11926
|
+
// 收起
|
|
11927
|
+
if (this.isVertical) {
|
|
11928
|
+
parent.childNodes.forEach(node => {
|
|
11929
|
+
if (node !== this.$el) {
|
|
11930
|
+
node.style && node.style.setProperty('transform', 'scaleX(0)');
|
|
11931
|
+
}
|
|
11932
|
+
});
|
|
11933
|
+
style && style.setProperty('width', '0');
|
|
11934
|
+
} else {
|
|
11935
|
+
parent.childNodes.forEach(node => {
|
|
11936
|
+
if (node !== this.$el) {
|
|
11937
|
+
node.style && node.style.setProperty('transform', 'scaleY(0)');
|
|
11938
|
+
}
|
|
11939
|
+
});
|
|
11940
|
+
style && style.setProperty('height', '0');
|
|
11941
|
+
}
|
|
11942
|
+
} else {
|
|
11943
|
+
// 展开
|
|
11944
|
+
if (this.isVertical) {
|
|
11945
|
+
style && style.removeProperty('width');
|
|
11946
|
+
} else {
|
|
11947
|
+
style && style.removeProperty('height');
|
|
11948
|
+
}
|
|
11949
|
+
|
|
11950
|
+
parent.childNodes.forEach(node => {
|
|
11951
|
+
if (node !== this.$el && node.style) {
|
|
11952
|
+
node.style && node.style.removeProperty('transform');
|
|
11953
|
+
}
|
|
11954
|
+
});
|
|
11955
|
+
}
|
|
11956
|
+
}
|
|
11957
|
+
|
|
11958
|
+
}
|
|
11959
|
+
};
|
|
11960
|
+
|
|
11961
|
+
/* script */
|
|
11962
|
+
const __vue_script__$2 = script$2;
|
|
11963
|
+
/* template */
|
|
11964
|
+
|
|
11965
|
+
var __vue_render__$2 = function () {
|
|
11966
|
+
var _vm = this;
|
|
11967
|
+
|
|
11968
|
+
var _h = _vm.$createElement;
|
|
11969
|
+
|
|
11970
|
+
var _c = _vm._self._c || _h;
|
|
11971
|
+
|
|
11972
|
+
return _c('div', {
|
|
11973
|
+
class: ['minimize', _vm.direction, _vm.theme, {
|
|
11974
|
+
collapse: _vm.value,
|
|
11975
|
+
hover: _vm.hover
|
|
11976
|
+
}],
|
|
11977
|
+
on: {
|
|
11978
|
+
"click": _vm.handleToggle
|
|
11979
|
+
}
|
|
11980
|
+
}, [_c('div', {
|
|
11981
|
+
staticClass: "line"
|
|
11982
|
+
}), _vm._v(" "), _c('div', {
|
|
11983
|
+
staticClass: "indicator"
|
|
11984
|
+
})]);
|
|
11985
|
+
};
|
|
11986
|
+
|
|
11987
|
+
var __vue_staticRenderFns__$2 = [];
|
|
11988
|
+
/* style */
|
|
11989
|
+
|
|
11990
|
+
const __vue_inject_styles__$2 = function (inject) {
|
|
11991
|
+
if (!inject) return;
|
|
11992
|
+
inject("data-v-dbd77edc_0", {
|
|
11993
|
+
source: ".minimize[data-v-dbd77edc]{position:absolute;display:flex;align-items:center;cursor:pointer}.minimize .line[data-v-dbd77edc]{position:absolute;background-color:#ccc;transition-duration:.2s;transition-property:background-color,width,height;transition-timing-function:ease-in-out}.minimize .indicator[data-v-dbd77edc]{opacity:.6;background-color:#ccc;transition-duration:.2s;transition-property:background-color,opacity;transition-timing-function:ease-in-out}.minimize.hover .indicator[data-v-dbd77edc]{opacity:1}.minimize.bottom[data-v-dbd77edc],.minimize.top[data-v-dbd77edc]{left:0;right:0;height:14px;flex-direction:column}.minimize.bottom .line[data-v-dbd77edc],.minimize.top .line[data-v-dbd77edc]{height:1px;width:100%}.minimize.bottom .indicator[data-v-dbd77edc],.minimize.top .indicator[data-v-dbd77edc]{width:36px;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:row}.minimize.bottom .indicator[data-v-dbd77edc]::after,.minimize.bottom .indicator[data-v-dbd77edc]::before,.minimize.top .indicator[data-v-dbd77edc]::after,.minimize.top .indicator[data-v-dbd77edc]::before{content:'';display:block;position:relative;width:10px;height:2px;background-color:#fff;transition:all .3s ease-in-out}.minimize.bottom .indicator[data-v-dbd77edc]::before,.minimize.top .indicator[data-v-dbd77edc]::before{left:1px}.minimize.bottom .indicator[data-v-dbd77edc]::after,.minimize.top .indicator[data-v-dbd77edc]::after{right:1px}.minimize.bottom:hover .line[data-v-dbd77edc],.minimize.top:hover .line[data-v-dbd77edc]{height:2px;background-color:#3da8f5}.minimize.bottom:hover .indicator[data-v-dbd77edc],.minimize.top:hover .indicator[data-v-dbd77edc]{opacity:1;background-color:#3da8f5}.minimize.left[data-v-dbd77edc],.minimize.right[data-v-dbd77edc]{width:14px;top:0;bottom:0;flex-direction:row}.minimize.left .line[data-v-dbd77edc],.minimize.right .line[data-v-dbd77edc]{width:1px;height:100%}.minimize.left .indicator[data-v-dbd77edc],.minimize.right .indicator[data-v-dbd77edc]{width:100%;height:36px;display:flex;align-items:center;justify-content:center;flex-direction:column}.minimize.left .indicator[data-v-dbd77edc]::after,.minimize.left .indicator[data-v-dbd77edc]::before,.minimize.right .indicator[data-v-dbd77edc]::after,.minimize.right .indicator[data-v-dbd77edc]::before{content:'';display:block;position:relative;width:2px;height:10px;background-color:#fff;transition:all .3s ease-in-out}.minimize.left .indicator[data-v-dbd77edc]::before,.minimize.right .indicator[data-v-dbd77edc]::before{bottom:-1px}.minimize.left .indicator[data-v-dbd77edc]::after,.minimize.right .indicator[data-v-dbd77edc]::after{top:-1px}.minimize.left:hover .line[data-v-dbd77edc],.minimize.right:hover .line[data-v-dbd77edc]{width:2px;background-color:#3da8f5}.minimize.left:hover .indicator[data-v-dbd77edc],.minimize.right:hover .indicator[data-v-dbd77edc]{opacity:1;background-color:#3da8f5}.minimize.top[data-v-dbd77edc]{bottom:-14px}.minimize.top .line[data-v-dbd77edc]{top:0}.minimize.top .indicator[data-v-dbd77edc]{border-radius:0 0 4px 4px}.minimize.top:hover .indicator[data-v-dbd77edc]::before{transform:rotate(-24deg)}.minimize.top:hover .indicator[data-v-dbd77edc]::after{transform:rotate(24deg)}.minimize.top.collapse:hover .indicator[data-v-dbd77edc]{opacity:1}.minimize.top.collapse:hover .indicator[data-v-dbd77edc]::before{transform:rotate(24deg)}.minimize.top.collapse:hover .indicator[data-v-dbd77edc]::after{transform:rotate(-24deg)}.minimize.right[data-v-dbd77edc]{left:-14px}.minimize.right .line[data-v-dbd77edc]{right:0}.minimize.right .indicator[data-v-dbd77edc]{border-radius:4px 0 0 4px}.minimize.right:hover .indicator[data-v-dbd77edc]::before{transform:rotate(-24deg)}.minimize.right:hover .indicator[data-v-dbd77edc]::after{transform:rotate(24deg)}.minimize.right.collapse .indicator[data-v-dbd77edc]{opacity:1}.minimize.right.collapse .indicator[data-v-dbd77edc]::before{transform:rotate(24deg)}.minimize.right.collapse .indicator[data-v-dbd77edc]::after{transform:rotate(-24deg)}.minimize.bottom[data-v-dbd77edc]{top:-14px}.minimize.bottom .line[data-v-dbd77edc]{bottom:0}.minimize.bottom .indicator[data-v-dbd77edc]{border-radius:4px 4px 0 0}.minimize.bottom:hover .indicator[data-v-dbd77edc]::before{transform:rotate(24deg)}.minimize.bottom:hover .indicator[data-v-dbd77edc]::after{transform:rotate(-24deg)}.minimize.bottom.collapse .indicator[data-v-dbd77edc]{opacity:1}.minimize.bottom.collapse .indicator[data-v-dbd77edc]::before{transform:rotate(-24deg)}.minimize.bottom.collapse .indicator[data-v-dbd77edc]::after{transform:rotate(24deg)}.minimize.left[data-v-dbd77edc]{right:-14px}.minimize.left .line[data-v-dbd77edc]{left:0}.minimize.left .indicator[data-v-dbd77edc]{border-radius:0 4px 4px 0}.minimize.left:hover .indicator[data-v-dbd77edc]::before{transform:rotate(24deg)}.minimize.left:hover .indicator[data-v-dbd77edc]::after{transform:rotate(-24deg)}.minimize.left.collapse .indicator[data-v-dbd77edc]{opacity:1}.minimize.left.collapse .indicator[data-v-dbd77edc]::before{transform:rotate(-24deg)}.minimize.left.collapse .indicator[data-v-dbd77edc]::after{transform:rotate(24deg)}",
|
|
11994
|
+
map: undefined,
|
|
11995
|
+
media: undefined
|
|
11996
|
+
});
|
|
11997
|
+
};
|
|
11998
|
+
/* scoped */
|
|
11999
|
+
|
|
12000
|
+
|
|
12001
|
+
const __vue_scope_id__$2 = "data-v-dbd77edc";
|
|
12002
|
+
/* module identifier */
|
|
12003
|
+
|
|
12004
|
+
const __vue_module_identifier__$2 = undefined;
|
|
12005
|
+
/* functional template */
|
|
12006
|
+
|
|
12007
|
+
const __vue_is_functional_template__$2 = false;
|
|
12008
|
+
/* style inject SSR */
|
|
12009
|
+
|
|
12010
|
+
/* style inject shadow dom */
|
|
12011
|
+
|
|
12012
|
+
const __vue_component__$2 = /*#__PURE__*/normalizeComponent({
|
|
12013
|
+
render: __vue_render__$2,
|
|
12014
|
+
staticRenderFns: __vue_staticRenderFns__$2
|
|
12015
|
+
}, __vue_inject_styles__$2, __vue_script__$2, __vue_scope_id__$2, __vue_is_functional_template__$2, __vue_module_identifier__$2, false, createInjector, undefined, undefined);
|
|
12016
|
+
|
|
12017
|
+
var Minimize$1 = __vue_component__$2;
|
|
12018
|
+
|
|
12019
|
+
var Minimize = {
|
|
12020
|
+
install: Vue => {
|
|
12021
|
+
Vue.component(Minimize$1.name, Minimize$1);
|
|
12022
|
+
}
|
|
12023
|
+
};
|
|
12024
|
+
|
|
12025
|
+
//
|
|
12026
|
+
var script$1 = {
|
|
12027
|
+
name: 'ui-page',
|
|
12028
|
+
inheritAttrs: false,
|
|
12029
|
+
components: {
|
|
12030
|
+
DocumentTitle: DocumentTitle$1
|
|
12031
|
+
},
|
|
12032
|
+
props: {
|
|
12033
|
+
direction: {
|
|
12034
|
+
type: String,
|
|
12035
|
+
validator: val => ['row', 'column'].includes(val),
|
|
12036
|
+
default: 'column'
|
|
12037
|
+
},
|
|
12038
|
+
title: {
|
|
12039
|
+
type: String
|
|
12040
|
+
}
|
|
12041
|
+
},
|
|
12042
|
+
computed: {
|
|
12043
|
+
titleReal() {
|
|
12044
|
+
return this.title || this.$route.meta.name || '';
|
|
12045
|
+
}
|
|
12046
|
+
|
|
12047
|
+
}
|
|
12048
|
+
};
|
|
12049
|
+
|
|
12050
|
+
/* script */
|
|
12051
|
+
const __vue_script__$1 = script$1;
|
|
12052
|
+
/* template */
|
|
12053
|
+
|
|
12054
|
+
var __vue_render__$1 = function () {
|
|
12055
|
+
var _vm = this;
|
|
12056
|
+
|
|
12057
|
+
var _h = _vm.$createElement;
|
|
12058
|
+
|
|
12059
|
+
var _c = _vm._self._c || _h;
|
|
12060
|
+
|
|
12061
|
+
return _c('document-title', {
|
|
12062
|
+
attrs: {
|
|
12063
|
+
"title": _vm.titleReal
|
|
12064
|
+
}
|
|
12065
|
+
}, [_c('div', {
|
|
12066
|
+
staticClass: "ui-page",
|
|
12067
|
+
class: {
|
|
12068
|
+
'ui-page-direction-row': _vm.direction === 'row'
|
|
12069
|
+
}
|
|
12070
|
+
}, [_vm._t("default")], 2)]);
|
|
12071
|
+
};
|
|
12072
|
+
|
|
12073
|
+
var __vue_staticRenderFns__$1 = [];
|
|
12074
|
+
/* style */
|
|
12075
|
+
|
|
12076
|
+
const __vue_inject_styles__$1 = function (inject) {
|
|
12077
|
+
if (!inject) return;
|
|
12078
|
+
inject("data-v-c919c990_0", {
|
|
12079
|
+
source: ".ui-page{display:flex;flex-direction:column;overflow:auto;position:relative}.ui-page.ui-page-direction-row{flex-direction:row}",
|
|
12080
|
+
map: undefined,
|
|
12081
|
+
media: undefined
|
|
12082
|
+
});
|
|
12083
|
+
};
|
|
12084
|
+
/* scoped */
|
|
12085
|
+
|
|
12086
|
+
|
|
12087
|
+
const __vue_scope_id__$1 = undefined;
|
|
12088
|
+
/* module identifier */
|
|
12089
|
+
|
|
12090
|
+
const __vue_module_identifier__$1 = undefined;
|
|
12091
|
+
/* functional template */
|
|
12092
|
+
|
|
12093
|
+
const __vue_is_functional_template__$1 = false;
|
|
12094
|
+
/* style inject SSR */
|
|
12095
|
+
|
|
12096
|
+
/* style inject shadow dom */
|
|
12097
|
+
|
|
12098
|
+
const __vue_component__$1 = /*#__PURE__*/normalizeComponent({
|
|
12099
|
+
render: __vue_render__$1,
|
|
12100
|
+
staticRenderFns: __vue_staticRenderFns__$1
|
|
12101
|
+
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, createInjector, undefined, undefined);
|
|
12102
|
+
|
|
12103
|
+
var Page$1 = __vue_component__$1;
|
|
12104
|
+
|
|
12105
|
+
//
|
|
12106
|
+
var script = {
|
|
12107
|
+
name: 'ui-search-page',
|
|
12108
|
+
components: {
|
|
12109
|
+
Multipane,
|
|
12110
|
+
MultipaneResizer,
|
|
12111
|
+
DocumentTitle: DocumentTitle$1
|
|
12112
|
+
},
|
|
12113
|
+
props: {
|
|
12114
|
+
value: {
|
|
12115
|
+
type: String,
|
|
12116
|
+
default: '360px'
|
|
12117
|
+
},
|
|
12118
|
+
min: {
|
|
12119
|
+
type: String,
|
|
12120
|
+
default: '200px'
|
|
12121
|
+
},
|
|
12122
|
+
max: {
|
|
12123
|
+
type: String,
|
|
12124
|
+
default: '600px'
|
|
12125
|
+
},
|
|
12126
|
+
direction: {
|
|
12127
|
+
type: String,
|
|
12128
|
+
validator: val => ['row', 'column'].includes(val),
|
|
12129
|
+
default: 'column'
|
|
12130
|
+
}
|
|
12131
|
+
},
|
|
12132
|
+
|
|
12133
|
+
data() {
|
|
12134
|
+
return {
|
|
12135
|
+
collapse: false
|
|
12136
|
+
};
|
|
12137
|
+
},
|
|
12138
|
+
|
|
12139
|
+
computed: {
|
|
12140
|
+
title() {
|
|
12141
|
+
return this.$route.meta.name || '';
|
|
12142
|
+
},
|
|
12143
|
+
|
|
12144
|
+
searchConditionsStyle() {
|
|
12145
|
+
let width = this.value;
|
|
12146
|
+
let min = this.min;
|
|
12147
|
+
|
|
12148
|
+
if (this.collapse) {
|
|
12149
|
+
min = 0;
|
|
12150
|
+
width = 0;
|
|
12151
|
+
}
|
|
12152
|
+
|
|
12153
|
+
return {
|
|
12154
|
+
width: width,
|
|
12155
|
+
minWidth: min,
|
|
12156
|
+
maxWidth: this.max
|
|
12157
|
+
};
|
|
12158
|
+
}
|
|
12159
|
+
|
|
12160
|
+
},
|
|
12161
|
+
methods: {
|
|
12162
|
+
toggleCollapse() {
|
|
12163
|
+
this.collapse = !this.collapse;
|
|
12164
|
+
}
|
|
12165
|
+
|
|
12166
|
+
}
|
|
12167
|
+
};
|
|
12168
|
+
|
|
12169
|
+
/* script */
|
|
12170
|
+
const __vue_script__ = script;
|
|
12171
|
+
/* template */
|
|
12172
|
+
|
|
12173
|
+
var __vue_render__ = function () {
|
|
12174
|
+
var _vm = this;
|
|
12175
|
+
|
|
12176
|
+
var _h = _vm.$createElement;
|
|
12177
|
+
|
|
12178
|
+
var _c = _vm._self._c || _h;
|
|
12179
|
+
|
|
12180
|
+
return _c('document-title', {
|
|
12181
|
+
attrs: {
|
|
12182
|
+
"title": _vm.title
|
|
12183
|
+
}
|
|
12184
|
+
}, [_c('multipane', {
|
|
12185
|
+
staticClass: "router-search-page"
|
|
12186
|
+
}, [_c('div', {
|
|
12187
|
+
staticClass: "page-search-conditions",
|
|
12188
|
+
class: {
|
|
12189
|
+
collapse: _vm.collapse
|
|
12190
|
+
},
|
|
12191
|
+
style: _vm.searchConditionsStyle
|
|
12192
|
+
}, [_c('div', {
|
|
12193
|
+
directives: [{
|
|
12194
|
+
name: "show",
|
|
12195
|
+
rawName: "v-show",
|
|
12196
|
+
value: !_vm.collapse,
|
|
12197
|
+
expression: "!collapse"
|
|
12198
|
+
}],
|
|
12199
|
+
staticClass: "search-content"
|
|
12200
|
+
}, [_vm._t("search")], 2), _vm._v(" "), _c('div', {
|
|
12201
|
+
staticClass: "indicator",
|
|
12202
|
+
on: {
|
|
12203
|
+
"click": _vm.toggleCollapse
|
|
12204
|
+
}
|
|
12205
|
+
})]), _vm._v(" "), _c('multipane-resizer', {
|
|
12206
|
+
directives: [{
|
|
12207
|
+
name: "show",
|
|
12208
|
+
rawName: "v-show",
|
|
12209
|
+
value: !_vm.collapse,
|
|
12210
|
+
expression: "!collapse"
|
|
12211
|
+
}]
|
|
12212
|
+
}), _vm._v(" "), _c('div', {
|
|
12213
|
+
staticClass: "page-search-content",
|
|
12214
|
+
class: {
|
|
12215
|
+
'page-content-direction-row': _vm.direction === 'row'
|
|
12216
|
+
}
|
|
12217
|
+
}, [_vm._t("default")], 2)], 1)], 1);
|
|
12218
|
+
};
|
|
12219
|
+
|
|
12220
|
+
var __vue_staticRenderFns__ = [];
|
|
12221
|
+
/* style */
|
|
12222
|
+
|
|
12223
|
+
const __vue_inject_styles__ = function (inject) {
|
|
12224
|
+
if (!inject) return;
|
|
12225
|
+
inject("data-v-2cbdcdcc_0", {
|
|
12226
|
+
source: ".router-search-page{height:100%}.router-search-page .page-search-conditions{display:flex;flex-direction:column;position:relative}.router-search-page .page-search-conditions .search-content{flex:1;display:flex;flex-direction:column}.router-search-page .page-search-conditions .indicator{position:absolute;top:50%;right:0;transform:translateY(-50%);width:14px;height:36px;opacity:.3;background-color:#ccc;transition-duration:.2s;transition-property:background-color,opacity;transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:4px 0 0 4px;cursor:pointer}.router-search-page .page-search-conditions .indicator:hover{opacity:1;background-color:var(--color-primary)}.router-search-page .page-search-conditions .indicator:hover:before{transform:rotate(24deg)}.router-search-page .page-search-conditions .indicator:hover:after{transform:rotate(-24deg)}.router-search-page .page-search-conditions .indicator::after,.router-search-page .page-search-conditions .indicator::before{content:\"\";display:block;position:relative;width:2px;height:10px;background-color:#fff;transition:all .3s ease-in-out}.router-search-page .page-search-conditions .indicator::before{bottom:-1px}.router-search-page .page-search-conditions .indicator::after{top:-1px}.router-search-page .page-search-conditions.collapse{z-index:2}.router-search-page .page-search-conditions.collapse .indicator{border-radius:0 4px 4px 0;right:-14px}.router-search-page .page-search-conditions.collapse .indicator:hover:before{transform:rotate(-24deg)}.router-search-page .page-search-conditions.collapse .indicator:hover:after{transform:rotate(24deg)}.router-search-page .page-search-content{flex:1;position:relative;display:flex;flex-direction:column;overflow:auto}.router-search-page .page-search-content.page-search-content-direction-row{flex-direction:row}.router-search-page.layout-v>.multipane-resizer{margin:0;left:0;position:relative}.router-search-page.layout-v>.multipane-resizer.collapse{display:none}.router-search-page.layout-v>.multipane-resizer:before{display:block;content:\"\";width:3px;height:40px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-left:1px solid #ccc;border-right:1px solid #ccc}.router-search-page.layout-v>.multipane-resizer:hover:before{border-color:#999}",
|
|
12227
|
+
map: undefined,
|
|
12228
|
+
media: undefined
|
|
12229
|
+
});
|
|
12230
|
+
};
|
|
12231
|
+
/* scoped */
|
|
12232
|
+
|
|
12233
|
+
|
|
12234
|
+
const __vue_scope_id__ = undefined;
|
|
12235
|
+
/* module identifier */
|
|
12236
|
+
|
|
12237
|
+
const __vue_module_identifier__ = undefined;
|
|
12238
|
+
/* functional template */
|
|
12239
|
+
|
|
12240
|
+
const __vue_is_functional_template__ = false;
|
|
12241
|
+
/* style inject SSR */
|
|
12242
|
+
|
|
12243
|
+
/* style inject shadow dom */
|
|
12244
|
+
|
|
12245
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
12246
|
+
render: __vue_render__,
|
|
12247
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
12248
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);
|
|
12249
|
+
|
|
12250
|
+
var SearchPage = __vue_component__;
|
|
12251
|
+
|
|
12252
|
+
var Page = {
|
|
12253
|
+
install: Vue => {
|
|
12254
|
+
Vue.component(Page$1.name, Page$1);
|
|
12255
|
+
Vue.component(SearchPage.name, SearchPage);
|
|
12256
|
+
}
|
|
12257
|
+
};
|
|
12258
|
+
|
|
12259
|
+
const components = [Icon, Form, Table, Dialog, Drawer, Fragment, Provider, Permission, DocumentTitle$1, FillView, HeadMenu, History, Minimize, Page];
|
|
12260
|
+
var Components = {
|
|
12261
|
+
install: (Vue, opt) => {
|
|
12262
|
+
components.forEach(component => {
|
|
12263
|
+
Vue.use(component, opt);
|
|
12264
|
+
});
|
|
12265
|
+
}
|
|
12266
|
+
};
|
|
12267
|
+
|
|
12268
|
+
/**
|
|
12269
|
+
* 以引用的特性构建tree
|
|
12270
|
+
*/
|
|
12271
|
+
const array2Tree = function (arr) {
|
|
12272
|
+
let opt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
12273
|
+
|
|
12274
|
+
if (!Array.isArray(arr) && !arr.length) {
|
|
12275
|
+
return [];
|
|
12276
|
+
}
|
|
12277
|
+
|
|
12278
|
+
const DEFAULT_OPT = {
|
|
12279
|
+
identifyKey: 'id',
|
|
12280
|
+
parentKey: 'upId',
|
|
12281
|
+
childrenKey: 'children'
|
|
12282
|
+
};
|
|
12283
|
+
opt = Object.assign({}, DEFAULT_OPT, opt);
|
|
12284
|
+
const root = {
|
|
12285
|
+
[opt.childrenKey]: []
|
|
12286
|
+
};
|
|
12287
|
+
arr.forEach((item, i, arr) => {
|
|
12288
|
+
const p = arr.find(it => it[opt.identifyKey] === item[opt.parentKey]);
|
|
12289
|
+
|
|
12290
|
+
if (!p) {
|
|
12291
|
+
root[opt.childrenKey][root[opt.childrenKey].length] = item;
|
|
12292
|
+
} else {
|
|
12293
|
+
p[opt.childrenKey] = p[opt.childrenKey] || [];
|
|
12294
|
+
p[opt.childrenKey][p[opt.childrenKey].length] = item;
|
|
12295
|
+
}
|
|
12296
|
+
});
|
|
12297
|
+
return root[opt.childrenKey];
|
|
12298
|
+
};
|
|
12299
|
+
var arrays = {
|
|
12300
|
+
array2Tree
|
|
12301
|
+
};
|
|
12302
|
+
|
|
12303
|
+
var mixin = {
|
|
12304
|
+
data() {
|
|
12305
|
+
return {
|
|
12306
|
+
historyItems: [],
|
|
12307
|
+
historyCurrent: null
|
|
12308
|
+
};
|
|
12309
|
+
},
|
|
12310
|
+
|
|
12311
|
+
computed: { ...mapState(['menus']),
|
|
12312
|
+
|
|
12313
|
+
sideMenuTree() {
|
|
12314
|
+
const matched = this.$route.matched;
|
|
12315
|
+
const parent = this.menus.find(p => matched.find(m => m.path === p.url));
|
|
12316
|
+
|
|
12317
|
+
if (!parent) {
|
|
12318
|
+
return [];
|
|
12319
|
+
}
|
|
12320
|
+
|
|
12321
|
+
return this.filterMenu(parent.children);
|
|
12322
|
+
},
|
|
12323
|
+
|
|
12324
|
+
sideMenuList() {
|
|
12325
|
+
const tree = this.sideMenuTree;
|
|
12326
|
+
|
|
12327
|
+
const expandTree = tree => {
|
|
12328
|
+
if (!Array.isArray(tree)) {
|
|
12329
|
+
return [];
|
|
12330
|
+
}
|
|
12331
|
+
|
|
12332
|
+
return tree.reduce((total, item) => {
|
|
12333
|
+
const {
|
|
12334
|
+
children,
|
|
12335
|
+
...rest
|
|
12336
|
+
} = item;
|
|
12337
|
+
total.push(rest);
|
|
12338
|
+
total.push(...expandTree(children));
|
|
12339
|
+
return total;
|
|
12340
|
+
}, []);
|
|
12341
|
+
};
|
|
12342
|
+
|
|
12343
|
+
return expandTree(tree);
|
|
12344
|
+
}
|
|
12345
|
+
|
|
12346
|
+
},
|
|
12347
|
+
|
|
12348
|
+
created() {
|
|
12349
|
+
this.$router.beforeEach(async (to, from, next) => {
|
|
12350
|
+
next();
|
|
12351
|
+
await this.enterRoute(to);
|
|
12352
|
+
});
|
|
12353
|
+
},
|
|
12354
|
+
|
|
12355
|
+
mounted() {
|
|
12356
|
+
this.enterRoute(this.$route);
|
|
12357
|
+
this.$root.$on('closeTab', this.onCloseTab);
|
|
12358
|
+
},
|
|
12359
|
+
|
|
12360
|
+
beforeDestroy() {
|
|
12361
|
+
this.$root.$off('closeTab', this.onCloseTab);
|
|
12362
|
+
},
|
|
12363
|
+
|
|
12364
|
+
methods: {
|
|
12365
|
+
async enterRoute(route) {
|
|
12366
|
+
route = route.matched[route.matched.length - 1];
|
|
12367
|
+
this.closePage(route);
|
|
12368
|
+
|
|
12369
|
+
if (this.isCurrentRoute(route)) {
|
|
12370
|
+
if (this.historyCurrent) {
|
|
12371
|
+
await this.nextMacro();
|
|
12372
|
+
await this.$router.replace(this.$router.resolve(this.historyCurrent).resolved);
|
|
12373
|
+
} else {
|
|
12374
|
+
const current = this.findRoute(route.path, this.menus);
|
|
12375
|
+
|
|
12376
|
+
if (!current) {
|
|
12377
|
+
await this.nextMacro();
|
|
12378
|
+
await this.$router.replace({
|
|
12379
|
+
path: '/'
|
|
12380
|
+
});
|
|
12381
|
+
} else {
|
|
12382
|
+
await this.nextMacro();
|
|
12383
|
+
await this.$router.replace({
|
|
12384
|
+
path: current.children[0].url
|
|
12385
|
+
});
|
|
12386
|
+
}
|
|
12387
|
+
}
|
|
12388
|
+
|
|
12389
|
+
return;
|
|
12390
|
+
}
|
|
12391
|
+
|
|
12392
|
+
this.pushHistory(route);
|
|
12393
|
+
},
|
|
12394
|
+
|
|
12395
|
+
isCurrentRoute(route) {
|
|
12396
|
+
if (!route) {
|
|
12397
|
+
return false;
|
|
12398
|
+
}
|
|
12399
|
+
|
|
12400
|
+
return Object.values(route.instances).some(cmp => cmp === this);
|
|
12401
|
+
},
|
|
12402
|
+
|
|
12403
|
+
findRoute(path, menus) {
|
|
12404
|
+
return menus.reduce((result, menu) => {
|
|
12405
|
+
if (result) {
|
|
12406
|
+
return result;
|
|
12407
|
+
}
|
|
12408
|
+
|
|
12409
|
+
if (menu.url === path) {
|
|
12410
|
+
return menu;
|
|
12411
|
+
}
|
|
12412
|
+
|
|
12413
|
+
if (Array.isArray(menu.children) && menu.children.length > 0) {
|
|
12414
|
+
return this.findRoute(path, menu.children);
|
|
12415
|
+
}
|
|
12416
|
+
|
|
12417
|
+
return null;
|
|
12418
|
+
}, null);
|
|
12419
|
+
},
|
|
12420
|
+
|
|
12421
|
+
filterMenu(menus) {
|
|
12422
|
+
if (!Array.isArray(menus)) {
|
|
12423
|
+
return [];
|
|
12424
|
+
}
|
|
12425
|
+
|
|
12426
|
+
return menus.reduce((prev, _ref) => {
|
|
12427
|
+
let {
|
|
12428
|
+
children,
|
|
12429
|
+
...menu
|
|
12430
|
+
} = _ref;
|
|
12431
|
+
|
|
12432
|
+
if ([1, 2, 100].includes(menu.type)) {
|
|
12433
|
+
if (Array.isArray(children) && children.length > 0) {
|
|
12434
|
+
menu.children = this.filterMenu(children);
|
|
12435
|
+
}
|
|
12436
|
+
|
|
12437
|
+
prev.push(menu);
|
|
12438
|
+
}
|
|
12439
|
+
|
|
12440
|
+
return prev;
|
|
12441
|
+
}, []);
|
|
12442
|
+
},
|
|
12443
|
+
|
|
12444
|
+
pushHistory(route) {
|
|
12445
|
+
if (!this.isInclude(route)) {
|
|
12446
|
+
return;
|
|
12447
|
+
}
|
|
12448
|
+
|
|
12449
|
+
if (!this.isMenu(route, [2, 100])) {
|
|
12450
|
+
return;
|
|
12451
|
+
}
|
|
12452
|
+
|
|
12453
|
+
const item = this.historyItems.find(item => item.path === route.path);
|
|
12454
|
+
|
|
12455
|
+
if (item) {
|
|
12456
|
+
item.path = route.path;
|
|
12457
|
+
item.title = route.meta.name || 'Title'; // 更新title(通过 beforeRouteEnter 修改 meta 达到更新 title)
|
|
12458
|
+
} else {
|
|
12459
|
+
this.historyItems.push({
|
|
12460
|
+
id: route.meta.id,
|
|
12461
|
+
type: route.meta.type,
|
|
12462
|
+
path: route.path,
|
|
12463
|
+
title: route.meta.name || 'Title'
|
|
12464
|
+
});
|
|
12465
|
+
}
|
|
12466
|
+
|
|
12467
|
+
this.historyCurrent = route.path;
|
|
12468
|
+
},
|
|
12469
|
+
|
|
12470
|
+
isInclude(route) {
|
|
12471
|
+
return this.$router.match(route.path).matched.some(item => {
|
|
12472
|
+
return Object.values(item.instances).some(cmp => cmp === this);
|
|
12473
|
+
});
|
|
12474
|
+
},
|
|
12475
|
+
|
|
12476
|
+
// 自动关闭 type为100的菜单
|
|
12477
|
+
closePage(currentRoute) {
|
|
12478
|
+
const currentRouteId = currentRoute.meta.id;
|
|
12479
|
+
const pages = this.historyItems.filter(item => item.type === 100);
|
|
12480
|
+
pages.forEach(page => {
|
|
12481
|
+
if (page.id === currentRouteId) {
|
|
12482
|
+
return;
|
|
12483
|
+
}
|
|
12484
|
+
|
|
12485
|
+
const index = this.historyItems.findIndex(item => item.id === page.id);
|
|
12486
|
+
|
|
12487
|
+
if (index === -1) {
|
|
12488
|
+
return;
|
|
12489
|
+
}
|
|
12490
|
+
|
|
12491
|
+
this.historyItems.splice(index, 1);
|
|
12492
|
+
});
|
|
12493
|
+
},
|
|
12494
|
+
|
|
12495
|
+
// 是菜单而不是目录等其它类型
|
|
12496
|
+
isMenu(route, allowTypes) {
|
|
12497
|
+
const menu = this.sideMenuList.find(menu => menu.id === route.meta.id);
|
|
12498
|
+
return menu && allowTypes.includes(menu.type);
|
|
12499
|
+
},
|
|
12500
|
+
|
|
12501
|
+
onRemoveHistory(_ref2) {
|
|
12502
|
+
let {
|
|
12503
|
+
type,
|
|
12504
|
+
name
|
|
12505
|
+
} = _ref2;
|
|
12506
|
+
|
|
12507
|
+
switch (type) {
|
|
12508
|
+
case 'current':
|
|
12509
|
+
this.onRemoveCurrentHistory(name);
|
|
12510
|
+
break;
|
|
12511
|
+
|
|
12512
|
+
case 'left':
|
|
12513
|
+
this.onRemoveLeftHistory(name);
|
|
12514
|
+
break;
|
|
12515
|
+
|
|
12516
|
+
case 'right':
|
|
12517
|
+
this.onRemoveRightHistory(name);
|
|
12518
|
+
break;
|
|
12519
|
+
|
|
12520
|
+
case 'other':
|
|
12521
|
+
this.onRemoveOtherHistory(name);
|
|
12522
|
+
break;
|
|
12523
|
+
|
|
12524
|
+
default:
|
|
12525
|
+
this.onRemoveAllHistory();
|
|
12526
|
+
}
|
|
12527
|
+
},
|
|
12528
|
+
|
|
12529
|
+
onRemoveCurrentHistory(name) {
|
|
12530
|
+
const index = this.historyItems.findIndex(item => item.path === name);
|
|
12531
|
+
|
|
12532
|
+
if (index === -1) {
|
|
12533
|
+
return;
|
|
12534
|
+
}
|
|
12535
|
+
|
|
12536
|
+
this.historyItems.splice(index, 1);
|
|
12537
|
+
|
|
12538
|
+
if (name !== this.historyCurrent) {
|
|
12539
|
+
return;
|
|
12540
|
+
}
|
|
12541
|
+
|
|
12542
|
+
if (this.historyItems.length <= 0) {
|
|
12543
|
+
this.historyCurrent = null;
|
|
12544
|
+
this.$router.push({
|
|
12545
|
+
path: '/loading'
|
|
12546
|
+
});
|
|
12547
|
+
return;
|
|
12548
|
+
}
|
|
12549
|
+
|
|
12550
|
+
const nextIndex = Math.min(index, this.historyItems.length - 1);
|
|
12551
|
+
const nextItem = this.historyItems[nextIndex];
|
|
12552
|
+
this.$router.push({
|
|
12553
|
+
path: nextItem.path
|
|
12554
|
+
});
|
|
12555
|
+
},
|
|
12556
|
+
|
|
12557
|
+
onRemoveLeftHistory(name) {
|
|
12558
|
+
const index = this.historyItems.findIndex(item => item.path === name);
|
|
12559
|
+
|
|
12560
|
+
if (index < 1) {
|
|
12561
|
+
return;
|
|
12562
|
+
}
|
|
12563
|
+
|
|
12564
|
+
const currentIndex = this.historyItems.findIndex(item => item.path === this.historyCurrent);
|
|
12565
|
+
this.historyItems.splice(0, index);
|
|
12566
|
+
|
|
12567
|
+
if (currentIndex >= index) {
|
|
12568
|
+
return;
|
|
12569
|
+
}
|
|
12570
|
+
|
|
12571
|
+
const nextItem = this.historyItems[0];
|
|
12572
|
+
this.$router.push({
|
|
12573
|
+
path: nextItem.path
|
|
12574
|
+
});
|
|
12575
|
+
},
|
|
12576
|
+
|
|
12577
|
+
onRemoveRightHistory(name) {
|
|
12578
|
+
const index = this.historyItems.findIndex(item => item.path === name);
|
|
12579
|
+
|
|
12580
|
+
if (index === -1) {
|
|
12581
|
+
return;
|
|
12582
|
+
}
|
|
12583
|
+
|
|
12584
|
+
const currentIndex = this.historyItems.findIndex(item => item.path === this.historyCurrent);
|
|
12585
|
+
this.historyItems.splice(index + 1, Infinity);
|
|
12586
|
+
|
|
12587
|
+
if (currentIndex <= index) {
|
|
12588
|
+
return;
|
|
12589
|
+
}
|
|
12590
|
+
|
|
12591
|
+
const nextItem = this.historyItems[index];
|
|
12592
|
+
this.$router.push({
|
|
12593
|
+
path: nextItem.path
|
|
12594
|
+
});
|
|
12595
|
+
},
|
|
12596
|
+
|
|
12597
|
+
onRemoveOtherHistory(name) {
|
|
12598
|
+
const index = this.historyItems.findIndex(item => item.path === name);
|
|
12599
|
+
|
|
12600
|
+
if (index === -1) {
|
|
12601
|
+
return;
|
|
12602
|
+
}
|
|
12603
|
+
|
|
12604
|
+
this.historyItems = this.historyItems.slice(index, index + 1);
|
|
12605
|
+
|
|
12606
|
+
if (name === this.historyCurrent) {
|
|
12607
|
+
return;
|
|
12608
|
+
}
|
|
12609
|
+
|
|
12610
|
+
const nextItem = this.historyItems[0];
|
|
12611
|
+
this.$router.push({
|
|
12612
|
+
path: nextItem.path
|
|
12613
|
+
});
|
|
12614
|
+
},
|
|
12615
|
+
|
|
12616
|
+
onRemoveAllHistory() {
|
|
12617
|
+
this.historyItems = [];
|
|
12618
|
+
this.historyCurrent = null;
|
|
12619
|
+
this.$router.push({
|
|
12620
|
+
path: '/loading'
|
|
12621
|
+
});
|
|
12622
|
+
},
|
|
12623
|
+
|
|
12624
|
+
onCloseTab(path) {
|
|
12625
|
+
let next = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
12626
|
+
|
|
12627
|
+
if (next) {
|
|
12628
|
+
this.onRemoveHistory({
|
|
12629
|
+
type: 'current',
|
|
12630
|
+
name: path
|
|
12631
|
+
});
|
|
12632
|
+
} else {
|
|
12633
|
+
const index = this.historyItems.findIndex(item => item.path === path);
|
|
12634
|
+
|
|
12635
|
+
if (index === -1) {
|
|
12636
|
+
return;
|
|
12637
|
+
}
|
|
12638
|
+
|
|
12639
|
+
this.historyItems.splice(index, 1);
|
|
12640
|
+
}
|
|
12641
|
+
}
|
|
12642
|
+
|
|
12643
|
+
}
|
|
10804
12644
|
};
|
|
10805
12645
|
|
|
10806
12646
|
var index = {
|
|
@@ -10808,8 +12648,9 @@ var index = {
|
|
|
10808
12648
|
Config.init(Vue, opt);
|
|
10809
12649
|
Vue.use(Plugins, opt);
|
|
10810
12650
|
Vue.use(Mixins, opt);
|
|
12651
|
+
Vue.use(Directives, opt);
|
|
10811
12652
|
Vue.use(Components, opt);
|
|
10812
12653
|
}
|
|
10813
12654
|
};
|
|
10814
12655
|
|
|
10815
|
-
export { arrays as Arrays, Axios, CascadeField, Date$1 as Dates, FieldMixin, Objects, Router, Store, Strings, Upload, addFieldType, index as default };
|
|
12656
|
+
export { arrays as Arrays, Axios, CascadeField, Date$1 as Dates, FieldMixin, mixin as HistoryMixin, Objects, Router, Store, Strings, Upload, addFieldType, index as default };
|