yahee-components 0.0.112 → 0.0.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/es/operation-log/operation-log-form.vue.js +39 -40
  2. package/package.json +1 -1
  3. package/es/annex-upload/annex-upload.vue.js +0 -55
  4. package/es/annex-upload/annex-upload.vue2.js +0 -121
  5. package/es/annex-upload/index.js +0 -7
  6. package/es/annex-upload/mimeType.js +0 -822
  7. package/es/annex-upload/style/index.css +0 -7
  8. package/es/border-wrap/border-wrap.vue.js +0 -75
  9. package/es/border-wrap/border-wrap.vue2.js +0 -48
  10. package/es/border-wrap/index.js +0 -7
  11. package/es/border-wrap/props.js +0 -11
  12. package/es/border-wrap/style/index.css +0 -24
  13. package/es/common-import/common-import.vue.js +0 -394
  14. package/es/common-import/common-import.vue2.js +0 -366
  15. package/es/common-import/index.js +0 -7
  16. package/es/common-import/props.js +0 -23
  17. package/es/common-import/style/index.css +0 -32
  18. package/es/complex-search/batch-search-dialog.vue.js +0 -119
  19. package/es/complex-search/batch-search-dialog.vue2.js +0 -50
  20. package/es/complex-search/complex-search.vue.js +0 -122
  21. package/es/complex-search/complex-search.vue2.js +0 -71
  22. package/es/complex-search/index.js +0 -7
  23. package/es/complex-search/props.js +0 -19
  24. package/es/complex-search/style/index.css +0 -24
  25. package/es/complex-search/useComplexSearch.js +0 -44
  26. package/es/copy/copy.vue.js +0 -39
  27. package/es/copy/copy.vue2.js +0 -36
  28. package/es/copy/index.js +0 -7
  29. package/es/copy/props.js +0 -9
  30. package/es/copy/style/index.css +0 -12
  31. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +0 -120
  32. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +0 -127
  33. package/es/country-platform-shop-condition/index.js +0 -7
  34. package/es/country-platform-shop-condition/style/index.css +0 -59
  35. package/es/drop-down-condition/drop-down-condition.vue.js +0 -125
  36. package/es/drop-down-condition/drop-down-condition.vue2.js +0 -129
  37. package/es/drop-down-condition/index.js +0 -7
  38. package/es/drop-down-condition/style/index.css +0 -64
  39. package/es/echart-gauge/echart-gauge.vue.js +0 -14
  40. package/es/echart-gauge/echart-gauge.vue2.js +0 -149
  41. package/es/echart-gauge/index.js +0 -7
  42. package/es/echart-gauge/props.js +0 -9
  43. package/es/echart-gauge/style/index.css +0 -4
  44. package/es/file-download-wrapper/file-download-wrapper.vue.js +0 -164
  45. package/es/file-download-wrapper/file-download-wrapper.vue2.js +0 -115
  46. package/es/file-download-wrapper/index.js +0 -7
  47. package/es/file-download-wrapper/key.js +0 -17
  48. package/es/file-download-wrapper/props.js +0 -12
  49. package/es/file-download-wrapper/style/index.css +0 -66
  50. package/es/filter-container/filter-container.vue.js +0 -24
  51. package/es/filter-container/filter-container.vue2.js +0 -61
  52. package/es/filter-container/index.js +0 -7
  53. package/es/filter-container/key.js +0 -4
  54. package/es/filter-container/props.js +0 -11
  55. package/es/filter-container/style/index.css +0 -16
  56. package/es/filter-wrapper/filter-wrapper.vue.js +0 -19
  57. package/es/filter-wrapper/filter-wrapper.vue2.js +0 -56
  58. package/es/filter-wrapper/index.js +0 -7
  59. package/es/filter-wrapper/props.js +0 -10
  60. package/es/filter-wrapper/style/index.css +0 -3
  61. package/es/height-collapse/height-collapse.vue.js +0 -26
  62. package/es/height-collapse/height-collapse.vue2.js +0 -44
  63. package/es/height-collapse/index.js +0 -7
  64. package/es/height-collapse/props.js +0 -11
  65. package/es/height-collapse/style/index.css +0 -32
  66. package/es/help-tag/help-tag.vue.js +0 -46
  67. package/es/help-tag/help-tag.vue2.js +0 -51
  68. package/es/help-tag/index.js +0 -7
  69. package/es/help-tag/props.js +0 -9
  70. package/es/help-tag/style/index.css +0 -8
  71. package/es/image-upload/image-upload.vue.js +0 -116
  72. package/es/image-upload/image-upload.vue2.js +0 -93
  73. package/es/image-upload/index.js +0 -7
  74. package/es/image-upload/style/index.css +0 -33
  75. package/es/index.js +0 -63
  76. package/es/installs.js +0 -41
  77. package/es/left-condition/index.js +0 -7
  78. package/es/left-condition/left-condition-sub.vue.js +0 -36
  79. package/es/left-condition/left-condition-sub.vue2.js +0 -78
  80. package/es/left-condition/left-condition.vue.js +0 -77
  81. package/es/left-condition/left-condition.vue2.js +0 -162
  82. package/es/left-condition/style/index.css +0 -10
  83. package/es/left-condition-enum/index.js +0 -7
  84. package/es/left-condition-enum/left-condition-enum.vue.js +0 -22
  85. package/es/left-condition-enum/left-condition-enum.vue2.js +0 -42
  86. package/es/left-condition-enum/style/index.css +0 -10
  87. package/es/node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js +0 -99
  88. package/es/node_modules/.pnpm/@vueuse_shared@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/shared/index.js +0 -22
  89. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/index.js +0 -38
  90. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/adapters.js +0 -53
  91. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/fetch.js +0 -141
  92. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/xhr.js +0 -71
  93. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/axios.js +0 -46
  94. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CancelToken.js +0 -77
  95. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  96. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/isCancel.js +0 -6
  97. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/Axios.js +0 -136
  98. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosError.js +0 -54
  99. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosHeaders.js +0 -181
  100. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  101. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/buildFullPath.js +0 -9
  102. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  103. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/mergeConfig.js +0 -70
  104. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/settle.js +0 -14
  105. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/transformData.js +0 -13
  106. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/index.js +0 -89
  107. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/transitional.js +0 -8
  108. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/env/data.js +0 -4
  109. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  110. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  111. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/bind.js +0 -8
  112. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/buildURL.js +0 -23
  113. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  114. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/composeSignals.js +0 -30
  115. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/cookies.js +0 -32
  116. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/formDataToJSON.js +0 -31
  117. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  118. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  119. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -8
  120. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/null.js +0 -4
  121. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  122. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  123. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/progressEventReducer.js +0 -35
  124. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/resolveConfig.js +0 -33
  125. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/speedometer.js +0 -19
  126. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/spread.js +0 -8
  127. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/throttle.js +0 -15
  128. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toFormData.js +0 -85
  129. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  130. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/trackStream.js +0 -63
  131. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/validator.js +0 -54
  132. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  133. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  134. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  135. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/index.js +0 -15
  136. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/common/utils.js +0 -9
  137. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/index.js +0 -9
  138. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/utils.js +0 -222
  139. package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -282
  140. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/index.js +0 -97
  141. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/basicTransition.js +0 -96
  142. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +0 -56
  143. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicTransition.js +0 -242
  144. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/morphTransitionHelper.js +0 -106
  145. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/universalTransition.js +0 -345
  146. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarSeries.js +0 -56
  147. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarView.js +0 -487
  148. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +0 -77
  149. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +0 -49
  150. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarView.js +0 -325
  151. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/install.js +0 -23
  152. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/installPictorialBar.js +0 -10
  153. package/lib/annex-upload/style/index.css +0 -7
  154. package/lib/border-wrap/style/index.css +0 -24
  155. package/lib/common-import/style/index.css +0 -32
  156. package/lib/complex-search/style/index.css +0 -24
  157. package/lib/copy/style/index.css +0 -12
  158. package/lib/country-platform-shop-condition/style/index.css +0 -59
  159. package/lib/drop-down-condition/style/index.css +0 -64
  160. package/lib/echart-gauge/style/index.css +0 -4
  161. package/lib/file-download-wrapper/style/index.css +0 -66
  162. package/lib/filter-container/style/index.css +0 -16
  163. package/lib/filter-wrapper/style/index.css +0 -3
  164. package/lib/height-collapse/style/index.css +0 -32
  165. package/lib/help-tag/style/index.css +0 -8
  166. package/lib/image-upload/style/index.css +0 -33
  167. package/lib/left-condition/style/index.css +0 -10
  168. package/lib/left-condition-enum/style/index.css +0 -10
  169. package/lib/operation-log/style/index.css +0 -234
  170. package/lib/scale-screen/style/index.css +0 -0
  171. package/lib/style.css +0 -1405
  172. package/lib/styles/custom.css +0 -82
  173. package/lib/styles/globals.css +0 -699
  174. package/lib/styles/index.css +0 -753
  175. package/lib/styles/variables.css +0 -34
@@ -1,7 +0,0 @@
1
- .yahee-annex-upload .el-upload .el-button {
2
- --el-button-size: 24px;
3
- border-radius: calc(var(--el-border-radius-base) - 1px);
4
- font-size: 12px;
5
- height: var(--el-button-size);
6
- padding: 5px 11px;
7
- }
@@ -1,75 +0,0 @@
1
- import a from "./border-wrap.vue2.js";
2
- import { createElementBlock as d, openBlock as i, createElementVNode as t, createCommentVNode as c, createBlock as h, toDisplayString as _, withCtx as n, createVNode as l, renderSlot as s } from "vue";
3
- import f from "../_virtual/_plugin-vue_export-helper.js";
4
- const g = { class: "yahee-border-wrap" }, m = {
5
- class: "dv-border-box",
6
- ref: "domRef"
7
- }, v = ["width", "height"], w = ["fill", "stroke", "d"], b = { class: "dv-border-box-content" }, k = { class: "paddingL20 paddingR20 paddingT20 paddingB10 d-flex ai-center jc-between" }, L = {
8
- key: 0,
9
- class: "d-flex ai-center"
10
- }, x = {
11
- class: "fontsize-16 fontBold",
12
- style: { "margin-right": "4px" }
13
- }, p = ["innerHTML"], C = { class: "d-flex ai-center" }, B = { class: "item_title_content" };
14
- function y(r, E, o, e, T, I) {
15
- return i(), d("div", g, [
16
- t("div", m, [
17
- (i(), d("svg", {
18
- width: e.width,
19
- height: e.height,
20
- class: "dv-border-svg-container"
21
- }, [
22
- t("path", {
23
- fill: o.backgroundColor,
24
- stroke: e.mergedColor[0],
25
- d: `
26
- M 5 20 L 5 10 L 68 10
27
- L ${e.width - 20} 10 L ${e.width - 5} 25
28
- L ${e.width - 5} ${e.height - 5} L 20 ${e.height - 5}
29
- L 5 ${e.height - 20} L 5 20
30
- `
31
- }, null, 8, w)
32
- ], 8, v)),
33
- t("div", b, [
34
- t("div", k, [
35
- o.title !== "" ? (i(), d("div", L, [
36
- t("div", x, _(o.title), 1),
37
- o.tipsId ? (i(), h(e.ElPopover, {
38
- key: 0,
39
- placement: "bottom",
40
- width: 400,
41
- trigger: "click"
42
- }, {
43
- reference: n(() => [
44
- l(e.ElIcon, {
45
- size: "18",
46
- color: "#ccc",
47
- onClick: e.getTipsContent
48
- }, {
49
- default: n(() => [
50
- l(e.InfoFilled)
51
- ]),
52
- _: 1
53
- })
54
- ]),
55
- default: n(() => [
56
- t("div", { innerHTML: e.tipsContent }, null, 8, p)
57
- ]),
58
- _: 1
59
- })) : c("", !0)
60
- ])) : c("", !0),
61
- t("div", C, [
62
- s(r.$slots, "filter")
63
- ])
64
- ]),
65
- t("div", B, [
66
- s(r.$slots, "content")
67
- ])
68
- ])
69
- ], 512)
70
- ]);
71
- }
72
- const z = /* @__PURE__ */ f(a, [["render", y], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/border-wrap/border-wrap.vue"]]);
73
- export {
74
- z as default
75
- };
@@ -1,48 +0,0 @@
1
- import { defineComponent as u, ref as i, computed as a } from "vue";
2
- import { GetHelpTag as c } from "../packages/components/api/log/index.js";
3
- import { InfoFilled as g } from "@element-plus/icons-vue";
4
- import { ElIcon as C, ElPopover as _ } from "element-plus";
5
- import "element-plus/theme-chalk/src/base.scss";
6
- import "element-plus/theme-chalk/src/popper.scss";
7
- import "element-plus/theme-chalk/src/popover.scss";
8
- import { useElementSize as h } from "../node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js";
9
- import { l as b } from "../_virtual/lodash.js";
10
- const j = /* @__PURE__ */ u({
11
- __name: "border-wrap",
12
- props: {
13
- title: {
14
- type: String,
15
- default: ""
16
- },
17
- color: {
18
- type: Array,
19
- default: () => []
20
- },
21
- backgroundColor: {
22
- type: String,
23
- default: "transparent"
24
- },
25
- tipsId: {
26
- type: String,
27
- default: ""
28
- }
29
- },
30
- setup(l, { expose: s }) {
31
- s();
32
- const o = ["#6586ec", "#2cf7fe"], r = i(null), n = i(), { width: m, height: d } = h(r, { width: 0, height: 0 }, { box: "border-box" }), f = a(() => b.merge(o, t.color)), t = l, p = { defaultColor: o, domRef: r, tipsContent: n, width: m, height: d, mergedColor: f, props: t, getTipsContent: () => {
33
- c({ Id: t.tipsId }).then((e) => {
34
- e && e.Content && (n.value = e.Content.Content);
35
- });
36
- }, get InfoFilled() {
37
- return g;
38
- }, get ElPopover() {
39
- return _;
40
- }, get ElIcon() {
41
- return C;
42
- } };
43
- return Object.defineProperty(p, "__isScriptSetup", { enumerable: !1, value: !0 }), p;
44
- }
45
- });
46
- export {
47
- j as default
48
- };
@@ -1,7 +0,0 @@
1
- import { withInstall as r } from "../utils/install.js";
2
- import o from "./border-wrap.vue.js";
3
- const e = r(o);
4
- export {
5
- e as YaheeBorderWrap,
6
- e as default
7
- };
@@ -1,11 +0,0 @@
1
- function r() {
2
- return {
3
- title: "",
4
- color: () => [],
5
- backgroundColor: "transparent",
6
- tipsId: ""
7
- };
8
- }
9
- export {
10
- r as defaultBorderWrapPropsProps
11
- };
@@ -1,24 +0,0 @@
1
- .yahee-border-wrap .dv-border-box {
2
- position: relative;
3
- box-sizing: border-box;
4
- width: 100%;
5
- height: 100%;
6
- }
7
- .yahee-border-wrap .dv-border-svg-container {
8
- position: absolute;
9
- width: 100%;
10
- height: 100%;
11
- top: 0px;
12
- left: 0px;
13
- display: block;
14
- }
15
- .yahee-border-wrap .dv-border-box-content {
16
- position: relative;
17
- width: 100%;
18
- height: 100%;
19
- }
20
- .yahee-border-wrap .item_title_content {
21
- width: calc(100% - 40px);
22
- margin: 0 auto;
23
- height: calc(100% - 60px);
24
- }
@@ -1,394 +0,0 @@
1
- import x from "./common-import.vue2.js";
2
- import { createElementBlock as m, openBlock as t, Fragment as k, createVNode as o, withCtx as e, withDirectives as M, createElementVNode as y, createCommentVNode as g, renderSlot as v, createTextVNode as n, toDisplayString as a, renderList as R, createBlock as f } from "vue";
3
- import T from "../_virtual/_plugin-vue_export-helper.js";
4
- const D = { class: "form-slot" }, P = { key: 0 }, F = { key: 0 }, I = { key: 1 }, L = { style: { color: "red" } }, z = { class: "form-slot" }, S = {
5
- key: 0,
6
- class: "card-header"
7
- }, V = ["innerHTML"], B = {
8
- key: 0,
9
- class: "ellipsis-cell"
10
- };
11
- function N(_, c, s, l, u, U) {
12
- return t(), m(k, null, [
13
- o(l.ElDialog, {
14
- modelValue: l.isShowDialog,
15
- "onUpdate:modelValue": c[1] || (c[1] = (i) => l.isShowDialog = i),
16
- title: l.M2(l.title),
17
- width: "900",
18
- "before-close": l.handleClose,
19
- draggable: "",
20
- onOpen: l.handleOpen
21
- }, {
22
- default: e(() => {
23
- var i;
24
- return [
25
- M((t(), m("div", null, [
26
- y("div", D, [
27
- v(_.$slots, "form")
28
- ]),
29
- o(l.ElRow, null, {
30
- default: e(() => [
31
- o(l.ElUpload, {
32
- class: "upload-record",
33
- "http-request": l.handleFileUpload,
34
- accept: ".xls,.xlsx,.txt,.csv",
35
- "show-file-list": !1,
36
- multiple: s.multiple,
37
- drag: "",
38
- style: { width: "20%", height: "100%" },
39
- disabled: s.uploadDisabled || l.uploadLoading
40
- }, {
41
- default: e(() => [
42
- o(l.ElButton, {
43
- style: { "background-color": "rgba(0, 183, 238, 1)", "font-weight": "bold" },
44
- size: "large",
45
- type: "primary",
46
- disabled: s.uploadDisabled,
47
- loading: l.uploadLoading
48
- }, {
49
- default: e(() => [
50
- n(a(l.M2("上传文件")), 1)
51
- ]),
52
- _: 1
53
- }, 8, ["disabled", "loading"])
54
- ]),
55
- _: 1
56
- }, 8, ["multiple", "disabled"])
57
- ]),
58
- _: 1
59
- }),
60
- (i = l.fileNames) != null && i.size ? (t(), m("div", P, [
61
- (t(!0), m(k, null, R(l.fileNames, (r) => {
62
- var C, h;
63
- return t(), m("div", {
64
- key: r,
65
- class: "uploadProgress"
66
- }, [
67
- o(l.ElRow, { style: { "margin-bottom": "5px" } }, {
68
- default: e(() => [
69
- o(l.ElCol, { span: 18 }, {
70
- default: e(() => [
71
- o(l.ElLink, {
72
- type: "primary",
73
- underline: !1,
74
- style: { font: "inherit" },
75
- onClick: c[0] || (c[0] = (b) => l.getFile(l.eventData.Template))
76
- }, {
77
- default: e(() => [
78
- n(a(r), 1)
79
- ]),
80
- _: 2
81
- }, 1024)
82
- ]),
83
- _: 2
84
- }, 1024),
85
- l.uploadProgress[r] ? (t(), f(l.ElCol, {
86
- key: 0,
87
- span: 6
88
- }, {
89
- default: e(() => [
90
- l.uploadProgress[r] == 100 ? (t(), m("span", F, a(l.M2("文件上传完成")), 1)) : (t(), m("span", I, a(l.M2("文件正在上传,进度") + `${l.uploadProgress[r]}% ...`), 1))
91
- ]),
92
- _: 2
93
- }, 1024)) : g("", !0)
94
- ]),
95
- _: 2
96
- }, 1024),
97
- l.sessionIds[r] ? (t(), f(l.ElRow, {
98
- key: 0,
99
- style: { "margin-bottom": "5px" }
100
- }, {
101
- default: e(() => [
102
- n(a(l.M2("导入ID")) + ":" + a(l.sessionIds[r]), 1)
103
- ]),
104
- _: 2
105
- }, 1024)) : g("", !0),
106
- l.errorMessage[r] ? (t(), f(l.ElRow, {
107
- key: 1,
108
- style: { "margin-bottom": "5px" }
109
- }, {
110
- default: e(() => [
111
- y("span", L, a(l.M2(l.errorMessage[r])), 1)
112
- ]),
113
- _: 2
114
- }, 1024)) : g("", !0),
115
- (C = l.importProgress[r]) != null && C.totalRowCount ? (t(), f(l.ElRow, {
116
- key: 2,
117
- style: { "margin-bottom": "5px" }
118
- }, {
119
- default: e(() => {
120
- var b, w;
121
- return [
122
- o(l.ElCol, { span: 6 }, {
123
- default: e(() => {
124
- var d, E;
125
- return [
126
- n(a(l.M2("工作簿")) + ":" + a((d = l.importProgress[r]) == null ? void 0 : d.currentSheet) + "/" + a((E = l.importProgress[r]) == null ? void 0 : E.sheetCount), 1)
127
- ];
128
- }),
129
- _: 2
130
- }, 1024),
131
- o(l.ElCol, { span: 6 }, {
132
- default: e(() => {
133
- var d;
134
- return [
135
- n(a(l.M2("总行数")) + ":" + a((d = l.importProgress[r]) == null ? void 0 : d.totalRowCount), 1)
136
- ];
137
- }),
138
- _: 2
139
- }, 1024),
140
- o(l.ElCol, { span: 6 }, {
141
- default: e(() => {
142
- var d;
143
- return [
144
- n(a(l.M2("成功行数")) + ":" + a((d = l.importProgress[r]) == null ? void 0 : d.successRowCount), 1)
145
- ];
146
- }),
147
- _: 2
148
- }, 1024),
149
- (b = l.importProgress[r]) != null && b.failedRowCount ? g("", !0) : (t(), f(l.ElCol, {
150
- key: 0,
151
- span: 6
152
- }, {
153
- default: e(() => [
154
- n(a(l.M2("失败行数")) + ":0 ", 1)
155
- ]),
156
- _: 1
157
- })),
158
- (w = l.importProgress[r]) != null && w.failedRowCount ? (t(), f(l.ElCol, {
159
- key: 1,
160
- span: 6,
161
- style: { display: "flex" }
162
- }, {
163
- default: e(() => [
164
- n(a(l.M2("失败行数")) + ": ", 1),
165
- o(l.ElLink, {
166
- type: "primary",
167
- underline: !1,
168
- title: l.problemFiles[r],
169
- onClick: (d) => l.getFile(l.problemFiles[r])
170
- }, {
171
- default: e(() => {
172
- var d;
173
- return [
174
- n(a((d = l.importProgress[r]) == null ? void 0 : d.failedRowCount), 1)
175
- ];
176
- }),
177
- _: 2
178
- }, 1032, ["title", "onClick"])
179
- ]),
180
- _: 2
181
- }, 1024)) : g("", !0)
182
- ];
183
- }),
184
- _: 2
185
- }, 1024)) : g("", !0),
186
- c[3] || (c[3] = y("br", null, null, -1)),
187
- (h = l.importProgress[r]) != null && h.totalRowCount ? (t(), f(l.ElProgress, {
188
- key: 3,
189
- percentage: l.getProgressPercentage(r)
190
- }, null, 8, ["percentage"])) : g("", !0),
191
- y("div", z, [
192
- v(_.$slots, "resultMessage")
193
- ])
194
- ]);
195
- }), 128))
196
- ])) : g("", !0),
197
- o(l.ElRow, { style: { "margin-top": "10px" } }, {
198
- default: e(() => [
199
- o(l.ElCard, { style: { width: "860px" } }, {
200
- header: e(() => [
201
- s.displayGetTemplate ? (t(), m("div", S, [
202
- y("span", null, a(l.M2("说明")), 1)
203
- ])) : g("", !0)
204
- ]),
205
- footer: e(() => [
206
- o(l.ElRow, null, {
207
- default: e(() => [
208
- o(l.ElCol, { span: 10 }),
209
- o(l.ElCol, {
210
- span: 14,
211
- style: { display: "flex", "justify-content": "flex-end" }
212
- }, {
213
- default: e(() => [
214
- s.displayGetTemplate && l.eventData.TemplateType != 0 ? (t(), f(l.ElButton, {
215
- key: 0,
216
- style: { "background-color": "rgba(89, 191, 87, 1)", color: "white", "font-weight": "bold" },
217
- size: "large",
218
- onClick: l.getTemplateFile
219
- }, {
220
- default: e(() => [
221
- n(a(l.M2("获取模板")), 1)
222
- ]),
223
- _: 1
224
- })) : g("", !0),
225
- o(l.ElButton, {
226
- style: { "background-color": "rgba(89, 191, 87, 1)", color: "white", "font-weight": "bold" },
227
- size: "large",
228
- onClick: l.displayRecords
229
- }, {
230
- default: e(() => [
231
- n(a(l.M2("导入记录")), 1)
232
- ]),
233
- _: 1
234
- }),
235
- o(l.ElButton, {
236
- style: { color: "#949592", "font-weight": "bold" },
237
- size: "large",
238
- onClick: l.handleClose
239
- }, {
240
- default: e(() => [
241
- n(a(l.M2("关闭")), 1)
242
- ]),
243
- _: 1
244
- })
245
- ]),
246
- _: 1
247
- })
248
- ]),
249
- _: 1
250
- })
251
- ]),
252
- default: e(() => [
253
- s.displayGetTemplate ? (t(), m("div", {
254
- key: 0,
255
- innerHTML: l.eventData.Description
256
- }, null, 8, V)) : g("", !0)
257
- ]),
258
- _: 1
259
- })
260
- ]),
261
- _: 1
262
- })
263
- ])), [
264
- [l.vLoading, l.initWebRootUrlLoading]
265
- ])
266
- ];
267
- }),
268
- _: 3
269
- }, 8, ["modelValue", "title"]),
270
- o(l.ElDialog, {
271
- modelValue: l.isShowCoreImportRecordDialog,
272
- "onUpdate:modelValue": c[2] || (c[2] = (i) => l.isShowCoreImportRecordDialog = i),
273
- title: l.M2("导入记录"),
274
- width: "1400",
275
- "before-close": l.handleCloseRecord,
276
- draggable: ""
277
- }, {
278
- default: e(() => [
279
- y("div", null, [
280
- M((t(), f(l.ElTable, {
281
- border: "",
282
- "row-key": "id",
283
- data: l.tableData,
284
- "max-height": "500",
285
- style: { width: "100%" },
286
- "empty-text": l.M2("暂无数据")
287
- }, {
288
- default: e(() => [
289
- o(l.ElTableColumn, {
290
- align: "center",
291
- label: l.M2("记录ID"),
292
- "min-width": "220",
293
- prop: "TaskId"
294
- }, null, 8, ["label"]),
295
- o(l.ElTableColumn, {
296
- align: "center",
297
- label: l.M2("导入时间"),
298
- "min-width": "100"
299
- }, {
300
- default: e((i) => [
301
- n(a(l.getFormattedDate(i.row)), 1)
302
- ]),
303
- _: 1
304
- }, 8, ["label"]),
305
- o(l.ElTableColumn, {
306
- align: "center",
307
- label: l.M2("导入人")
308
- }, {
309
- default: e((i) => [
310
- n(a(i.row.CreatedBy ? l.translateEmployeeName(i.row.CreatedBy) : "-"), 1)
311
- ]),
312
- _: 1
313
- }, 8, ["label"]),
314
- o(l.ElTableColumn, {
315
- align: "center",
316
- label: l.M2("上传文件"),
317
- "min-width": "160"
318
- }, {
319
- default: e((i) => [
320
- o(l.ElLink, {
321
- type: "primary",
322
- underline: !1,
323
- style: { font: "inherit" },
324
- onClick: (r) => l.getFile(i.row.InFileId)
325
- }, {
326
- default: e(() => [
327
- n(a(i.row.InFileId), 1)
328
- ]),
329
- _: 2
330
- }, 1032, ["onClick"])
331
- ]),
332
- _: 1
333
- }, 8, ["label"]),
334
- o(l.ElTableColumn, {
335
- align: "center",
336
- label: l.M2("输出文件"),
337
- "min-width": "160"
338
- }, {
339
- default: e((i) => [
340
- o(l.ElLink, {
341
- type: "primary",
342
- underline: !1,
343
- style: { font: "inherit" },
344
- onClick: (r) => l.getFile(i.row.OutFileId)
345
- }, {
346
- default: e(() => [
347
- n(a(i.row.OutFileId), 1)
348
- ]),
349
- _: 2
350
- }, 1032, ["onClick"])
351
- ]),
352
- _: 1
353
- }, 8, ["label"]),
354
- o(l.ElTableColumn, {
355
- align: "center",
356
- label: l.M2("错误信息"),
357
- prop: "ErrorMessage",
358
- width: "200"
359
- }, {
360
- default: e((i) => [
361
- i.row.ErrorMessage ? (t(), m("div", B, a(i.row.ErrorMessage), 1)) : g("", !0)
362
- ]),
363
- _: 1
364
- }, 8, ["label"]),
365
- o(l.ElTableColumn, {
366
- align: "center",
367
- label: l.M2("备注"),
368
- prop: "Remark"
369
- }, null, 8, ["label"])
370
- ]),
371
- _: 1
372
- }, 8, ["data", "empty-text"])), [
373
- [l.vLoading, l.tableLoading]
374
- ]),
375
- o(l.ElPagination, {
376
- "current-page": l.pageNo,
377
- "page-sizes": [50, 100, 150, 200],
378
- "page-size": l.pageSize,
379
- layout: "total, sizes, prev, pager, next, jumper",
380
- total: l.totalNum,
381
- class: "page-pagination",
382
- onSizeChange: l.handleSizeChange,
383
- onCurrentChange: l.handleCurrentChange
384
- }, null, 8, ["current-page", "page-size", "total"])
385
- ])
386
- ]),
387
- _: 1
388
- }, 8, ["modelValue", "title"])
389
- ], 64);
390
- }
391
- const H = /* @__PURE__ */ T(x, [["render", N], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/common-import/common-import.vue"]]);
392
- export {
393
- H as default
394
- };