yahee-components 0.0.18 → 0.0.19
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/es/_virtual/dayjs.min.js +4 -0
- package/es/annex-upload/annex-upload.vue.js +158 -0
- package/es/annex-upload/annex-upload.vue2.js +4 -0
- package/es/annex-upload/index.js +7 -0
- package/es/annex-upload/mimeType.js +822 -0
- package/es/annex-upload/style/index.css +7 -0
- package/es/api/server.js +29 -0
- package/es/api/tool.js +68 -0
- package/es/comprehensive-search/comprehensive-search.vue.js +165 -122
- package/es/copy/copy.vue.js +1 -1
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +218 -0
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +4 -0
- package/es/country-platform-shop-condition/index.js +7 -0
- package/es/country-platform-shop-condition/style/index.css +48 -0
- package/es/drop-down-condition/drop-down-condition.vue.js +216 -0
- package/es/drop-down-condition/drop-down-condition.vue2.js +4 -0
- package/es/drop-down-condition/index.js +7 -0
- package/es/drop-down-condition/style/index.css +45 -0
- package/es/image-upload/image-upload.vue.js +177 -0
- package/es/image-upload/image-upload.vue2.js +4 -0
- package/es/image-upload/index.js +7 -0
- package/es/image-upload/style/index.css +33 -0
- package/es/index.js +26 -7
- package/es/installs.js +22 -4
- package/es/left-condition/index.js +7 -0
- package/es/left-condition/left-condition-sub.vue.js +95 -0
- package/es/left-condition/left-condition-sub.vue2.js +4 -0
- package/es/left-condition/left-condition.vue.js +216 -0
- package/es/left-condition/left-condition.vue2.js +4 -0
- package/es/left-condition/style/index.css +10 -0
- package/es/left-condition-enum/index.js +7 -0
- package/es/left-condition-enum/left-condition-enum.vue.js +80 -0
- package/es/left-condition-enum/left-condition-enum.vue2.js +4 -0
- package/es/left-condition-enum/style/index.css +10 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +38 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js +53 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js +141 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js +71 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js +46 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js +77 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js +11 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js +133 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js +54 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js +173 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js +58 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js +8 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js +31 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js +70 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js +14 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js +13 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +89 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js +8 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js +4 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js +8 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +19 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js +30 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js +32 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js +31 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js +4 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js +35 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js +33 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js +19 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js +8 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js +15 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js +83 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +63 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +51 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js +9 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js +9 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js +233 -0
- package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +282 -0
- package/es/node_modules/{lodash → .pnpm/lodash@4.17.21/node_modules/lodash}/lodash.js +2 -2
- package/es/node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +120 -0
- package/es/operation-log/index.js +7 -0
- package/es/operation-log/operation-log-content.vue.js +100 -0
- package/es/operation-log/operation-log-content.vue2.js +4 -0
- package/es/operation-log/operation-log-dialog.vue.js +70 -0
- package/es/operation-log/operation-log-dialog.vue2.js +4 -0
- package/es/operation-log/operation-log-form.vue.js +181 -0
- package/es/operation-log/operation-log-form.vue2.js +4 -0
- package/es/operation-log/operation-log.vue.js +232 -0
- package/es/operation-log/operation-log.vue2.js +4 -0
- package/es/operation-log/style/index.css +220 -0
- package/es/packages/components/api/log/index.js +15 -0
- package/es/packages/components/api/log-server.js +50 -0
- package/es/packages/components/api/server.js +32 -0
- package/es/packages/components/api/tool.js +56 -0
- package/es/packages/components/api/upload-server.js +65 -0
- package/es/packages/components/assets/images/errorimg.png.js +4 -0
- package/es/packages/components/assets/images/excel.png.js +4 -0
- package/es/packages/components/assets/images/file-word.png.js +4 -0
- package/es/packages/components/assets/images/pdf.png.js +4 -0
- package/es/packages/components/assets/images/ppt.png.js +4 -0
- package/es/packages/components/assets/images/vue.svg.js +4 -0
- package/es/packages/components/hooks/useClipboard.js +30 -0
- package/es/packages/components/hooks/useImg.js +15 -0
- package/es/packages/components/hooks/useImgPath.js +14 -0
- package/es/packages/components/hooks/useImport.js +33 -0
- package/es/packages/components/hooks/useUpload.js +24 -0
- package/es/static/CommonObject.js +4 -0
- package/es/style.css +946 -0
- package/es/styles/custom.css +83 -0
- package/es/styles/globals.css +697 -0
- package/es/styles/index.css +787 -0
- package/es/styles/variables.css +32 -0
- package/es/utils/config.js +19 -0
- package/es/utils/const.js +19 -0
- package/es/utils/storage.js +52 -0
- package/es/utils/style.js +28 -0
- package/es/utils/translate.js +57 -0
- package/lib/annex-upload/style/index.css +7 -0
- package/lib/country-platform-shop-condition/style/index.css +48 -0
- package/lib/drop-down-condition/style/index.css +45 -0
- package/lib/image-upload/style/index.css +33 -0
- package/lib/left-condition/style/index.css +10 -0
- package/lib/left-condition-enum/style/index.css +10 -0
- package/lib/operation-log/style/index.css +220 -0
- package/lib/style.css +946 -0
- package/lib/styles/custom.css +83 -0
- package/lib/styles/globals.css +697 -0
- package/lib/styles/index.css +787 -0
- package/lib/styles/variables.css +32 -0
- package/package.json +10 -4
- package/types/hooks/useClipboard.d.ts +7 -0
- package/types/hooks/useImg.d.ts +10 -0
- package/types/hooks/useImgPath.d.ts +5 -0
- package/types/hooks/useImport.d.ts +11 -0
- package/types/hooks/useUpload.d.ts +12 -0
- package/types/index.d.ts +6 -204
- package/types/src/annex-upload/annex-upload.d.ts +30 -0
- package/types/src/annex-upload/annex-upload.vue.d.ts +443 -0
- package/types/src/annex-upload/index.d.ts +123 -0
- package/types/src/annex-upload/mimeType.d.ts +2 -0
- package/types/src/api/server.d.ts +6 -0
- package/types/src/api/tool.d.ts +6 -0
- package/types/src/api/types.d.ts +17 -0
- package/types/src/components.d.ts +10 -0
- package/types/src/comprehensive-search/comprehensive-search.d.ts +12 -0
- package/types/src/comprehensive-search/comprehensive-search.vue.d.ts +52 -0
- package/types/src/copy/copy.d.ts +12 -0
- package/types/src/copy/copy.vue.d.ts +21 -0
- package/types/src/copy/index.d.ts +32 -0
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +17 -0
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +14 -0
- package/types/src/country-platform-shop-condition/index.d.ts +16 -0
- package/types/src/drop-down-condition/drop-down-condition.d.ts +6 -0
- package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +40 -0
- package/types/src/drop-down-condition/index.d.ts +42 -0
- package/types/src/image-upload/image-upload.d.ts +26 -0
- package/types/src/image-upload/image-upload.vue.d.ts +43 -0
- package/types/src/image-upload/index.d.ts +94 -0
- package/types/src/index.d.ts +7 -0
- package/types/src/input/index.d.ts +16 -0
- package/types/src/input/input.d.ts +18 -0
- package/types/src/input/input.vue.d.ts +14 -0
- package/types/src/left-condition/index.d.ts +69 -0
- package/types/src/left-condition/left-condition-sub.vue.d.ts +47 -0
- package/types/src/left-condition/left-condition.d.ts +5 -0
- package/types/src/left-condition/left-condition.vue.d.ts +68 -0
- package/types/src/left-condition-enum/index.d.ts +162 -0
- package/types/src/left-condition-enum/left-condition-enum.d.ts +5 -0
- package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +160 -0
- package/types/src/operation-log/index.d.ts +9 -0
- package/types/src/operation-log/operation-log-content.vue.d.ts +24 -0
- package/types/src/operation-log/operation-log-dialog.vue.d.ts +39 -0
- package/types/src/operation-log/operation-log-form.vue.d.ts +19 -0
- package/types/src/operation-log/operation-log.d.ts +11 -0
- package/types/src/operation-log/operation-log.vue.d.ts +6 -0
- package/types/src/static/CommonObject.d.ts +18 -0
- package/types/src/static/CommonVariables.d.ts +4 -0
- package/types/src/utils/config.d.ts +8 -0
- package/types/src/utils/const.d.ts +19 -0
- package/types/src/utils/functions.d.ts +1 -0
- package/types/src/utils/install.d.ts +8 -0
- package/types/src/utils/storage.d.ts +18 -0
- package/types/src/utils/style.d.ts +19 -0
- package/types/src/utils/to-kebab-case.d.ts +1 -0
- package/types/src/utils/translate.d.ts +5 -0
- package/types/src/utils/typescript.d.ts +5 -0
- package/es/hooks/useClipboard.js +0 -28
- package/lib/_virtual/_commonjsHelpers.js +0 -1
- package/lib/_virtual/lodash.js +0 -1
- package/lib/comprehensive-search/comprehensive-search.vue.js +0 -1
- package/lib/comprehensive-search/comprehensive-search.vue2.js +0 -1
- package/lib/comprehensive-search/index.js +0 -1
- package/lib/copy/copy.vue.js +0 -1
- package/lib/copy/copy.vue2.js +0 -1
- package/lib/copy/index.js +0 -1
- package/lib/hooks/useClipboard.js +0 -1
- package/lib/index.js +0 -1
- package/lib/input/index.js +0 -1
- package/lib/input/input.vue.js +0 -1
- package/lib/input/input.vue2.js +0 -1
- package/lib/installs.js +0 -1
- package/lib/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -1
- package/lib/node_modules/lodash/lodash.js +0 -27
- package/lib/utils/install.js +0 -1
- /package/es/node_modules/{element-plus → .pnpm/element-plus@2.8.3_vue@3.5.12_typescript@5.6.2_/node_modules/element-plus}/es/locale/lang/zh-cn.js +0 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { defineComponent as h, computed as d, openBlock as i, createElementBlock as n, createElementVNode as e, normalizeClass as u, toDisplayString as s, createVNode as f, unref as o, withCtx as m } from "vue";
|
|
2
|
+
import c from "../packages/components/hooks/useImgPath.js";
|
|
3
|
+
import { ElImage as N, ElIcon as g } from "element-plus";
|
|
4
|
+
import "element-plus/theme-chalk/src/base.scss";
|
|
5
|
+
import "element-plus/theme-chalk/src/image.scss";
|
|
6
|
+
import "element-plus/theme-chalk/src/image-viewer.scss";
|
|
7
|
+
import { Document as k } from "@element-plus/icons-vue";
|
|
8
|
+
const v = { key: 0 }, x = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "d-flex ai-end"
|
|
11
|
+
}, y = ["src"], T = ["href"], b = {
|
|
12
|
+
key: 2,
|
|
13
|
+
class: "d-flex ai-end"
|
|
14
|
+
}, w = ["src"], W = ["href"], B = {
|
|
15
|
+
key: 3,
|
|
16
|
+
class: "d-flex ai-end"
|
|
17
|
+
}, C = ["src"], E = ["href"], z = {
|
|
18
|
+
key: 4,
|
|
19
|
+
class: "d-flex ai-end"
|
|
20
|
+
}, I = ["src"], j = ["href"], D = {
|
|
21
|
+
key: 5,
|
|
22
|
+
class: "d-flex ai-end"
|
|
23
|
+
}, H = ["href"], L = ["innerHTML"], J = /* @__PURE__ */ h({
|
|
24
|
+
__name: "operation-log-content",
|
|
25
|
+
props: {
|
|
26
|
+
info: {
|
|
27
|
+
type: Object,
|
|
28
|
+
default: () => {
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
id: {
|
|
32
|
+
type: Number,
|
|
33
|
+
default: 0
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
setup(t) {
|
|
37
|
+
const l = t, a = d(() => l.info.Notes.replace(/\n/g, "<br/>")), r = d(() => l.info.Notes.includes("http") ? l.info.Title.split(".")[0] : l.info.Title);
|
|
38
|
+
return (M, V) => (i(), n("div", null, [
|
|
39
|
+
e("div", {
|
|
40
|
+
class: u(["fontsize-15 paddingB10 text-color-primary", t.id == t.info.CreatedBy ? "d-flex" : ""])
|
|
41
|
+
}, s(r.value), 3),
|
|
42
|
+
t.info.Notes.includes(".jpg") && t.info.Notes.startsWith("http") ? (i(), n("div", v, [
|
|
43
|
+
f(o(N), {
|
|
44
|
+
class: "img",
|
|
45
|
+
src: t.info.Notes,
|
|
46
|
+
"preview-src-list": [t.info.Notes]
|
|
47
|
+
}, null, 8, ["src", "preview-src-list"])
|
|
48
|
+
])) : t.info.Notes.includes(".word") && t.info.Notes.startsWith("http") ? (i(), n("div", x, [
|
|
49
|
+
e("img", {
|
|
50
|
+
src: o(c)("file-word.png")
|
|
51
|
+
}, null, 8, y),
|
|
52
|
+
e("a", {
|
|
53
|
+
href: t.info.Notes,
|
|
54
|
+
target: "_blank"
|
|
55
|
+
}, s(t.info.Title), 9, T)
|
|
56
|
+
])) : t.info.Notes.includes(".pdf") && t.info.Notes.startsWith("http") ? (i(), n("div", b, [
|
|
57
|
+
e("img", {
|
|
58
|
+
src: o(c)("pdf.png")
|
|
59
|
+
}, null, 8, w),
|
|
60
|
+
e("a", {
|
|
61
|
+
href: t.info.Notes,
|
|
62
|
+
target: "_blank"
|
|
63
|
+
}, s(t.info.Title), 9, W)
|
|
64
|
+
])) : t.info.Notes.includes(".ppt") && t.info.Notes.startsWith("http") ? (i(), n("div", B, [
|
|
65
|
+
e("img", {
|
|
66
|
+
src: o(c)("ppt.png")
|
|
67
|
+
}, null, 8, C),
|
|
68
|
+
e("a", {
|
|
69
|
+
href: t.info.Notes,
|
|
70
|
+
target: "_blank"
|
|
71
|
+
}, s(t.info.Title), 9, E)
|
|
72
|
+
])) : t.info.Notes.includes(".xls") && t.info.Notes.startsWith("http") ? (i(), n("div", z, [
|
|
73
|
+
e("img", {
|
|
74
|
+
src: o(c)("excel.png")
|
|
75
|
+
}, null, 8, I),
|
|
76
|
+
e("a", {
|
|
77
|
+
href: t.info.Notes,
|
|
78
|
+
target: "_blank"
|
|
79
|
+
}, s(t.info.Title), 9, j)
|
|
80
|
+
])) : t.info.Notes.includes("http") ? (i(), n("div", D, [
|
|
81
|
+
f(o(g), { size: "40" }, {
|
|
82
|
+
default: m(() => [
|
|
83
|
+
f(o(k))
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
}),
|
|
87
|
+
e("a", {
|
|
88
|
+
href: t.info.Notes,
|
|
89
|
+
target: "_blank"
|
|
90
|
+
}, s(t.info.Title), 9, H)
|
|
91
|
+
])) : (i(), n("div", {
|
|
92
|
+
key: 6,
|
|
93
|
+
innerHTML: a.value
|
|
94
|
+
}, null, 8, L))
|
|
95
|
+
]));
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
J as default
|
|
100
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { defineComponent as u, openBlock as g, createBlock as h, unref as e, withCtx as t, createElementVNode as n, createVNode as c, createTextVNode as r, toDisplayString as l } from "vue";
|
|
2
|
+
import { M2 as a } from "../utils/translate.js";
|
|
3
|
+
import { ElDialog as V, ElButton as f } from "element-plus";
|
|
4
|
+
import "element-plus/theme-chalk/src/base.scss";
|
|
5
|
+
import "element-plus/theme-chalk/src/dialog.scss";
|
|
6
|
+
import "element-plus/theme-chalk/src/overlay.scss";
|
|
7
|
+
import "element-plus/theme-chalk/src/button.scss";
|
|
8
|
+
const _ = ["href"], y = { class: "dialog-footer" }, E = /* @__PURE__ */ u({
|
|
9
|
+
__name: "operation-log-dialog",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: !1
|
|
14
|
+
},
|
|
15
|
+
docInfo: {
|
|
16
|
+
type: Object,
|
|
17
|
+
default: () => {
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
emits: ["update:modelValue", "confirmUpload"],
|
|
22
|
+
setup(o, { emit: m }) {
|
|
23
|
+
const p = o, i = m, d = () => {
|
|
24
|
+
i("update:modelValue", !1);
|
|
25
|
+
}, s = () => {
|
|
26
|
+
i("confirmUpload", p.docInfo);
|
|
27
|
+
};
|
|
28
|
+
return (k, x) => (g(), h(e(V), {
|
|
29
|
+
"model-value": o.modelValue,
|
|
30
|
+
width: "600px",
|
|
31
|
+
title: e(a)("上传文件"),
|
|
32
|
+
draggable: "",
|
|
33
|
+
"close-on-click-modal": !1,
|
|
34
|
+
onClose: d
|
|
35
|
+
}, {
|
|
36
|
+
footer: t(() => [
|
|
37
|
+
n("div", y, [
|
|
38
|
+
c(e(f), {
|
|
39
|
+
type: "primary",
|
|
40
|
+
plain: "",
|
|
41
|
+
onClick: s
|
|
42
|
+
}, {
|
|
43
|
+
default: t(() => [
|
|
44
|
+
r(l(e(a)("确认")), 1)
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}),
|
|
48
|
+
c(e(f), {
|
|
49
|
+
type: "default",
|
|
50
|
+
onClick: d
|
|
51
|
+
}, {
|
|
52
|
+
default: t(() => [
|
|
53
|
+
r(l(e(a)("取消")), 1)
|
|
54
|
+
]),
|
|
55
|
+
_: 1
|
|
56
|
+
})
|
|
57
|
+
])
|
|
58
|
+
]),
|
|
59
|
+
default: t(() => [
|
|
60
|
+
n("a", {
|
|
61
|
+
href: o.docInfo.fileUrl
|
|
62
|
+
}, l(o.docInfo.fileName), 9, _)
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["model-value", "title"]));
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
export {
|
|
69
|
+
E as default
|
|
70
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { defineComponent as k, reactive as v, ref as B, onMounted as x, openBlock as u, createBlock as c, unref as t, withCtx as n, createVNode as r, createElementBlock as T, Fragment as E, renderList as M, createTextVNode as f, toDisplayString as g } from "vue";
|
|
2
|
+
import { ElForm as Y, ElFormItem as i, ElDatePicker as b, ElSelect as N, ElOption as _, ElInput as S, ElButton as d } from "element-plus";
|
|
3
|
+
import "element-plus/theme-chalk/src/base.scss";
|
|
4
|
+
import "element-plus/theme-chalk/src/form.scss";
|
|
5
|
+
import "element-plus/theme-chalk/src/date-picker.scss";
|
|
6
|
+
import "element-plus/theme-chalk/src/input.scss";
|
|
7
|
+
import "element-plus/theme-chalk/src/scrollbar.scss";
|
|
8
|
+
import "element-plus/theme-chalk/src/popper.scss";
|
|
9
|
+
import "element-plus/theme-chalk/src/button.scss";
|
|
10
|
+
import "element-plus/theme-chalk/src/form-item.scss";
|
|
11
|
+
import "element-plus/theme-chalk/src/tag.scss";
|
|
12
|
+
import "element-plus/theme-chalk/src/option.scss";
|
|
13
|
+
import "element-plus/theme-chalk/src/option-group.scss";
|
|
14
|
+
import "element-plus/theme-chalk/src/select.scss";
|
|
15
|
+
import { Search as U } from "@element-plus/icons-vue";
|
|
16
|
+
import { getGlobalNotesUsers as F } from "../packages/components/api/log/index.js";
|
|
17
|
+
import { M2 as o } from "../utils/translate.js";
|
|
18
|
+
const Z = /* @__PURE__ */ k({
|
|
19
|
+
__name: "operation-log-form",
|
|
20
|
+
props: {
|
|
21
|
+
projectId: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: ""
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
emits: ["filterChange"],
|
|
27
|
+
setup(C, { emit: D }) {
|
|
28
|
+
const y = C, m = v({
|
|
29
|
+
timeValue: [],
|
|
30
|
+
CreatedBy: "",
|
|
31
|
+
Notes: "",
|
|
32
|
+
search: "",
|
|
33
|
+
Mark: null
|
|
34
|
+
}), p = B(), h = [
|
|
35
|
+
{
|
|
36
|
+
text: o("最近三天"),
|
|
37
|
+
value: () => {
|
|
38
|
+
const l = /* @__PURE__ */ new Date(), e = /* @__PURE__ */ new Date();
|
|
39
|
+
return e.setTime(e.getTime() - 3600 * 1e3 * 24 * 3), [e, l];
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
text: o("最近一周"),
|
|
44
|
+
value: () => {
|
|
45
|
+
const l = /* @__PURE__ */ new Date(), e = /* @__PURE__ */ new Date();
|
|
46
|
+
return e.setTime(e.getTime() - 3600 * 1e3 * 24 * 7), [e, l];
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
text: o("最近十五天"),
|
|
51
|
+
value: () => {
|
|
52
|
+
const l = /* @__PURE__ */ new Date(), e = /* @__PURE__ */ new Date();
|
|
53
|
+
return e.setTime(e.getTime() - 3600 * 1e3 * 24 * 15), [e, l];
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
text: o("最近一个月"),
|
|
58
|
+
value: () => {
|
|
59
|
+
const l = /* @__PURE__ */ new Date(), e = /* @__PURE__ */ new Date();
|
|
60
|
+
return e.setTime(e.getTime() - 3600 * 1e3 * 24 * 30), [e, l];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
], V = () => {
|
|
64
|
+
const l = new FormData();
|
|
65
|
+
l.append(
|
|
66
|
+
"filter",
|
|
67
|
+
JSON.stringify({ BusinessKey: y.projectId, BusinessName: "PRODUCT_DEV" })
|
|
68
|
+
), F(l).then((e) => {
|
|
69
|
+
p.value = e;
|
|
70
|
+
});
|
|
71
|
+
}, w = D, s = (l) => {
|
|
72
|
+
m.Mark = l, w("filterChange", m);
|
|
73
|
+
};
|
|
74
|
+
return x(() => {
|
|
75
|
+
V();
|
|
76
|
+
}), (l, e) => (u(), c(t(Y), {
|
|
77
|
+
model: m,
|
|
78
|
+
inline: !0,
|
|
79
|
+
"label-width": "auto",
|
|
80
|
+
size: "small"
|
|
81
|
+
}, {
|
|
82
|
+
default: n(() => [
|
|
83
|
+
r(t(i), null, {
|
|
84
|
+
default: n(() => [
|
|
85
|
+
r(t(b), {
|
|
86
|
+
modelValue: m.timeValue,
|
|
87
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => m.timeValue = a),
|
|
88
|
+
type: "daterange",
|
|
89
|
+
format: "YYYY-MM-DD",
|
|
90
|
+
"value-format": "YYYY-MM-DD",
|
|
91
|
+
"unlink-panels": "",
|
|
92
|
+
"range-separator": t(o)("至"),
|
|
93
|
+
"start-placeholder": t(o)("开始日期"),
|
|
94
|
+
"end-placeholder": t(o)("结束日期"),
|
|
95
|
+
shortcuts: h,
|
|
96
|
+
size: "small",
|
|
97
|
+
clearable: "",
|
|
98
|
+
onChange: s
|
|
99
|
+
}, null, 8, ["modelValue", "range-separator", "start-placeholder", "end-placeholder"])
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
}),
|
|
103
|
+
r(t(i), null, {
|
|
104
|
+
default: n(() => [
|
|
105
|
+
r(t(N), {
|
|
106
|
+
modelValue: m.CreatedBy,
|
|
107
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => m.CreatedBy = a),
|
|
108
|
+
placeholder: t(o)("请选择创建人"),
|
|
109
|
+
style: { width: "120px" },
|
|
110
|
+
size: "small",
|
|
111
|
+
clearable: "",
|
|
112
|
+
onChange: s
|
|
113
|
+
}, {
|
|
114
|
+
default: n(() => [
|
|
115
|
+
(u(!0), T(E, null, M(p.value, (a) => (u(), c(t(_), {
|
|
116
|
+
key: a.CreatedBy,
|
|
117
|
+
label: a.CreatedName,
|
|
118
|
+
value: a.CreatedBy
|
|
119
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
}, 8, ["modelValue", "placeholder"])
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
}),
|
|
126
|
+
r(t(i), null, {
|
|
127
|
+
default: n(() => [
|
|
128
|
+
r(t(S), {
|
|
129
|
+
modelValue: m.search,
|
|
130
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => m.search = a),
|
|
131
|
+
placeholder: t(o)("综合搜索"),
|
|
132
|
+
clearable: "",
|
|
133
|
+
style: { width: "160px" }
|
|
134
|
+
}, {
|
|
135
|
+
append: n(() => [
|
|
136
|
+
r(t(d), {
|
|
137
|
+
icon: t(U),
|
|
138
|
+
onClick: s
|
|
139
|
+
}, null, 8, ["icon"])
|
|
140
|
+
]),
|
|
141
|
+
_: 1
|
|
142
|
+
}, 8, ["modelValue", "placeholder"])
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
}),
|
|
146
|
+
r(t(i), null, {
|
|
147
|
+
default: n(() => [
|
|
148
|
+
r(t(d), {
|
|
149
|
+
type: "primary",
|
|
150
|
+
onClick: e[3] || (e[3] = (a) => s(null))
|
|
151
|
+
}, {
|
|
152
|
+
default: n(() => [
|
|
153
|
+
f(g(t(o)("搜索全部")), 1)
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
})
|
|
157
|
+
]),
|
|
158
|
+
_: 1
|
|
159
|
+
}),
|
|
160
|
+
r(t(i), null, {
|
|
161
|
+
default: n(() => [
|
|
162
|
+
r(t(d), {
|
|
163
|
+
type: "primary",
|
|
164
|
+
onClick: e[4] || (e[4] = (a) => s("Check"))
|
|
165
|
+
}, {
|
|
166
|
+
default: n(() => [
|
|
167
|
+
f(g(t(o)("审核节点备注")), 1)
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
})
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
})
|
|
174
|
+
]),
|
|
175
|
+
_: 1
|
|
176
|
+
}, 8, ["model"]));
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
export {
|
|
180
|
+
Z as default
|
|
181
|
+
};
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { defineComponent as $, ref as d, reactive as R, onMounted as K, openBlock as c, createElementBlock as u, createVNode as s, unref as n, normalizeStyle as G, withCtx as x, Fragment as y, renderList as A, normalizeClass as J, createElementVNode as l, toDisplayString as f, createCommentVNode as w, withDirectives as Q, vModelText as q, createTextVNode as W } from "vue";
|
|
2
|
+
import { CaretRight as X, CaretLeft as Z } from "@element-plus/icons-vue";
|
|
3
|
+
import { ElScrollbar as ee, ElIcon as B, ElButton as te, ElMessage as p } from "element-plus";
|
|
4
|
+
import "element-plus/theme-chalk/src/base.scss";
|
|
5
|
+
import "element-plus/theme-chalk/src/badge.scss";
|
|
6
|
+
import "element-plus/theme-chalk/src/message.scss";
|
|
7
|
+
import "element-plus/theme-chalk/src/scrollbar.scss";
|
|
8
|
+
import "element-plus/theme-chalk/src/button.scss";
|
|
9
|
+
import { useUpload as oe } from "../packages/components/hooks/useUpload.js";
|
|
10
|
+
import { useFile as ae } from "../packages/components/hooks/useImg.js";
|
|
11
|
+
import ne from "./operation-log-form.vue.js";
|
|
12
|
+
import O from "./operation-log-content.vue.js";
|
|
13
|
+
import se from "./operation-log-dialog.vue.js";
|
|
14
|
+
import U from "../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js";
|
|
15
|
+
import { M2 as r } from "../utils/translate.js";
|
|
16
|
+
import le from "../annex-upload/annex-upload.vue.js";
|
|
17
|
+
import ie from "../node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js";
|
|
18
|
+
/* empty css */
|
|
19
|
+
import { insertGlobalnotes as P, findGlobalNotes as re } from "../packages/components/api/log/index.js";
|
|
20
|
+
const de = { class: "yahee-operation-log" }, ce = { class: "d-flex jc-end" }, ue = { class: "content text-color-secondary" }, fe = { class: "date fontSize-12 pull-right text-color-a4" }, pe = { class: "name" }, me = { class: "name" }, ge = { class: "d-flex" }, ve = { class: "content text-color-secondary" }, he = { class: "date fontSize-12 text-color-a4" }, _e = {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: "loading text-color-a4"
|
|
23
|
+
}, xe = {
|
|
24
|
+
key: 1,
|
|
25
|
+
class: "no-more text-color-a4"
|
|
26
|
+
}, Ie = ["placeholder"], ye = { class: "d-flex text-right marginT10" }, He = /* @__PURE__ */ $({
|
|
27
|
+
name: "YaheeOperationLog",
|
|
28
|
+
__name: "operation-log",
|
|
29
|
+
props: {
|
|
30
|
+
projectId: { default: "" }
|
|
31
|
+
},
|
|
32
|
+
setup(b) {
|
|
33
|
+
const I = b, m = d(!1), L = d(!1), _ = d(!1), C = d({}), i = R({
|
|
34
|
+
List: [],
|
|
35
|
+
LoginId: 0
|
|
36
|
+
}), g = d(""), v = d([]), a = {
|
|
37
|
+
PageIndex: -1,
|
|
38
|
+
StartOn: "",
|
|
39
|
+
EndOn: "",
|
|
40
|
+
Notes: "",
|
|
41
|
+
Mark: null,
|
|
42
|
+
UserIds: []
|
|
43
|
+
}, h = () => {
|
|
44
|
+
m.value = !0;
|
|
45
|
+
const e = new FormData();
|
|
46
|
+
e.append(
|
|
47
|
+
"filter",
|
|
48
|
+
JSON.stringify({
|
|
49
|
+
BusinessKey: I.projectId,
|
|
50
|
+
BusinessName: "PRODUCT_DEV",
|
|
51
|
+
PageIndex: a.PageIndex,
|
|
52
|
+
StartOn: a.StartOn,
|
|
53
|
+
EndOn: a.EndOn,
|
|
54
|
+
UserIds: a.UserIds,
|
|
55
|
+
Notes: a.Notes,
|
|
56
|
+
Mark: a.Mark
|
|
57
|
+
})
|
|
58
|
+
), re(e).then((t) => {
|
|
59
|
+
var o;
|
|
60
|
+
i.LoginId = t.LoginId, a.PageIndex === 0 ? i.List = t.List || [] : i.List = [...i.List || [], ...t.List || []], ((o = t == null ? void 0 : t.List) == null ? void 0 : o.length) === 0 && (L.value = !0);
|
|
61
|
+
}).finally(() => {
|
|
62
|
+
m.value = !1;
|
|
63
|
+
});
|
|
64
|
+
}, D = () => {
|
|
65
|
+
m.value || (m.value = !0, a.PageIndex += 1, h());
|
|
66
|
+
}, T = (e) => {
|
|
67
|
+
i.List = [], a.PageIndex = 0, a.StartOn = e.timeValue ? e.timeValue[0] : "", a.EndOn = e.timeValue ? e.timeValue[1] : "", a.UserIds = e.CreatedBy ? [e.CreatedBy] : [], a.Notes = e.search, a.Mark = e.Mark, h();
|
|
68
|
+
}, S = () => {
|
|
69
|
+
v.value.length > 0 && V(v.value[0]).then(async () => {
|
|
70
|
+
p.success(r("上传文件成功!")), a.PageIndex = 0, v.value = [], await h(), N();
|
|
71
|
+
});
|
|
72
|
+
}, j = (e) => {
|
|
73
|
+
V(e).then(() => {
|
|
74
|
+
p.success(r("上传文件成功!")), _.value = !1, a.PageIndex = 0, h();
|
|
75
|
+
});
|
|
76
|
+
}, V = (e) => {
|
|
77
|
+
const t = new FormData();
|
|
78
|
+
return t.append("BusinessKey", I.projectId), t.append("BusinessName", "PRODUCT_DEV"), t.append("notes", e.fileUrl), t.append("ViewTitle", e.fileName), P(t);
|
|
79
|
+
}, F = () => {
|
|
80
|
+
if (!g.value) {
|
|
81
|
+
p.info(r("备注不能为空!"));
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
const e = new FormData();
|
|
85
|
+
e.append("BusinessKey", I.projectId), e.append("BusinessName", "PRODUCT_DEV"), e.append("notes", g.value), e.append("ViewTitle", "备注"), P(e).then(async () => {
|
|
86
|
+
p.success(r("添加备注成功!")), a.PageIndex = 0, g.value = "", await h(), N();
|
|
87
|
+
});
|
|
88
|
+
}, Y = (e) => {
|
|
89
|
+
if (e.clipboardData || e.originalEvent) {
|
|
90
|
+
if (e.clipboardData.items.length === 0) {
|
|
91
|
+
p.error(r("复制文件到剪切板失败,请点击按钮上传!"));
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
if (e.clipboardData.files.length > 0) {
|
|
95
|
+
_.value = !0;
|
|
96
|
+
for (let t = 0; t < e.clipboardData.files.length; t++) {
|
|
97
|
+
e.clipboardData.files[t].size / 1024 / 1024 < 100 || p.error(r("上传文件大小不能超过 100MB!"));
|
|
98
|
+
const { name: H } = e.clipboardData.files[t];
|
|
99
|
+
oe("115", e.clipboardData.files[t]).then((z) => {
|
|
100
|
+
C.value = {
|
|
101
|
+
fileName: H || "",
|
|
102
|
+
fileUrl: ae({ fileId: z[0] })
|
|
103
|
+
};
|
|
104
|
+
}).catch(() => {
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}, M = d(null), N = () => {
|
|
110
|
+
M.value.scrollTo({ top: 0, behavior: "smooth" });
|
|
111
|
+
}, E = d(0), k = d(null);
|
|
112
|
+
return K(() => {
|
|
113
|
+
var t;
|
|
114
|
+
const e = (t = document.getElementsByClassName("log-form")[0]) == null ? void 0 : t.clientHeight;
|
|
115
|
+
E.value = window.innerHeight - e - k.value.offsetHeight - 90, D();
|
|
116
|
+
}), (e, t) => (c(), u("div", de, [
|
|
117
|
+
s(ne, {
|
|
118
|
+
ref: "logForm",
|
|
119
|
+
class: "text-right log-form",
|
|
120
|
+
"project-id": e.projectId,
|
|
121
|
+
onFilterChange: T
|
|
122
|
+
}, null, 8, ["project-id"]),
|
|
123
|
+
s(n(ee), {
|
|
124
|
+
ref_key: "infiniteList",
|
|
125
|
+
ref: M,
|
|
126
|
+
class: "infinite-list-wrapper",
|
|
127
|
+
style: G({ height: E.value + "px" })
|
|
128
|
+
}, {
|
|
129
|
+
default: x(() => [
|
|
130
|
+
(c(!0), u(y, null, A(i.List, (o) => (c(), u("div", {
|
|
131
|
+
key: o.Id,
|
|
132
|
+
class: J(i.LoginId == o.CreatedBy ? "list-item-right" : "list-item-left")
|
|
133
|
+
}, [
|
|
134
|
+
i.LoginId == o.CreatedBy ? (c(), u(y, { key: 0 }, [
|
|
135
|
+
l("div", null, [
|
|
136
|
+
l("div", ce, [
|
|
137
|
+
l("div", ue, [
|
|
138
|
+
s(O, {
|
|
139
|
+
id: i.LoginId,
|
|
140
|
+
info: o
|
|
141
|
+
}, null, 8, ["id", "info"])
|
|
142
|
+
]),
|
|
143
|
+
s(n(B), {
|
|
144
|
+
color: "#f1f1f1",
|
|
145
|
+
size: "20"
|
|
146
|
+
}, {
|
|
147
|
+
default: x(() => [
|
|
148
|
+
s(n(X))
|
|
149
|
+
]),
|
|
150
|
+
_: 1
|
|
151
|
+
})
|
|
152
|
+
]),
|
|
153
|
+
l("div", fe, f(n(U)(o.CreatedOnStr).format("YYYY-MM-DD HH: mm: ss")), 1)
|
|
154
|
+
]),
|
|
155
|
+
l("div", pe, f(o.CreatedName), 1)
|
|
156
|
+
], 64)) : (c(), u(y, { key: 1 }, [
|
|
157
|
+
l("div", me, f(o.CreatedName), 1),
|
|
158
|
+
l("div", null, [
|
|
159
|
+
l("div", ge, [
|
|
160
|
+
s(n(B), {
|
|
161
|
+
color: "#ccc",
|
|
162
|
+
size: "20"
|
|
163
|
+
}, {
|
|
164
|
+
default: x(() => [
|
|
165
|
+
s(n(Z))
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
}),
|
|
169
|
+
l("div", ve, [
|
|
170
|
+
s(O, {
|
|
171
|
+
id: i.LoginId,
|
|
172
|
+
info: o
|
|
173
|
+
}, null, 8, ["id", "info"])
|
|
174
|
+
])
|
|
175
|
+
]),
|
|
176
|
+
l("div", he, f(n(U)(o.CreatedOnStr).format("YYYY-MM-DD HH:mm:ss")), 1)
|
|
177
|
+
])
|
|
178
|
+
], 64))
|
|
179
|
+
], 2))), 128)),
|
|
180
|
+
s(n(ie), {
|
|
181
|
+
distance: 10,
|
|
182
|
+
onInfinite: D
|
|
183
|
+
}),
|
|
184
|
+
m.value ? (c(), u("div", _e, f(n(r)("加载中...")), 1)) : w("", !0),
|
|
185
|
+
L.value ? (c(), u("div", xe, f(n(r)("没有更多了!")), 1)) : w("", !0)
|
|
186
|
+
]),
|
|
187
|
+
_: 1
|
|
188
|
+
}, 8, ["style"]),
|
|
189
|
+
Q(l("textarea", {
|
|
190
|
+
ref_key: "logText",
|
|
191
|
+
ref: k,
|
|
192
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => g.value = o),
|
|
193
|
+
class: "content-div",
|
|
194
|
+
placeholder: n(r)("可通过 Ctrl+V 直接上传图片/文件"),
|
|
195
|
+
contenteditable: "true",
|
|
196
|
+
onPaste: Y
|
|
197
|
+
}, null, 40, Ie), [
|
|
198
|
+
[q, g.value]
|
|
199
|
+
]),
|
|
200
|
+
l("div", ye, [
|
|
201
|
+
s(le, {
|
|
202
|
+
modelValue: v.value,
|
|
203
|
+
"onUpdate:modelValue": t[1] || (t[1] = (o) => v.value = o),
|
|
204
|
+
"show-tips": !1,
|
|
205
|
+
"show-list": !1,
|
|
206
|
+
accept: ".gif,.jpg,.png,.doc,.docx,.pdf,.xls,.xlsx,.ppt,.txt",
|
|
207
|
+
onChange: S
|
|
208
|
+
}, null, 8, ["modelValue"]),
|
|
209
|
+
s(n(te), {
|
|
210
|
+
type: "success",
|
|
211
|
+
size: "small",
|
|
212
|
+
class: "marginL6",
|
|
213
|
+
onClick: t[2] || (t[2] = (o) => F())
|
|
214
|
+
}, {
|
|
215
|
+
default: x(() => [
|
|
216
|
+
W(f(n(r)("添加备注")), 1)
|
|
217
|
+
]),
|
|
218
|
+
_: 1
|
|
219
|
+
})
|
|
220
|
+
]),
|
|
221
|
+
s(se, {
|
|
222
|
+
modelValue: _.value,
|
|
223
|
+
"onUpdate:modelValue": t[3] || (t[3] = (o) => _.value = o),
|
|
224
|
+
"doc-info": C.value,
|
|
225
|
+
onConfirmUpload: j
|
|
226
|
+
}, null, 8, ["modelValue", "doc-info"])
|
|
227
|
+
]));
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
export {
|
|
231
|
+
He as default
|
|
232
|
+
};
|