yahee-components 0.0.111 → 0.0.112
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/operation-log/operation-log.vue2.js +6 -6
- package/package.json +1 -1
- package/types/src/installs.d.ts +1 -1
- package/types/src/operation-log/index.d.ts +1 -1
- package/types/src/operation-log/operation-log.d.ts +1 -1
- package/types/src/operation-log/operation-log.vue.d.ts +1 -1
- package/types/src/operation-log/props.d.ts +1 -1
|
@@ -16,12 +16,12 @@ import { M2 as s } from "../utils/translate.js";
|
|
|
16
16
|
import Q from "../annex-upload/annex-upload.vue.js";
|
|
17
17
|
import W from "../node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js";
|
|
18
18
|
/* empty css */
|
|
19
|
-
import { findGlobalNotes as X, insertGlobalnotes as
|
|
19
|
+
import { findGlobalNotes as X, insertGlobalnotes as x } from "../packages/components/api/log/index.js";
|
|
20
20
|
const be = /* @__PURE__ */ _({
|
|
21
21
|
name: "YaheeOperationLog",
|
|
22
22
|
__name: "operation-log",
|
|
23
23
|
props: {
|
|
24
|
-
businessKey: { type: String, required: !0, default: "" },
|
|
24
|
+
businessKey: { type: [String, Number], required: !0, default: "" },
|
|
25
25
|
businessName: { type: String, required: !0, default: "" },
|
|
26
26
|
topHeight: { type: Number, required: !1, default: 90 },
|
|
27
27
|
ifShowDocument: { type: Boolean, required: !1, default: !0 }
|
|
@@ -73,14 +73,14 @@ const be = /* @__PURE__ */ _({
|
|
|
73
73
|
});
|
|
74
74
|
}, m = (e) => {
|
|
75
75
|
const t = new FormData();
|
|
76
|
-
return t.append("BusinessKey", a.businessKey), t.append("BusinessName", a.businessName), t.append("notes", e.fileUrl), t.append("ViewTitle", e.fileName),
|
|
76
|
+
return t.append("BusinessKey", a.businessKey), t.append("BusinessName", a.businessName), t.append("notes", e.fileUrl), t.append("ViewTitle", e.fileName), x(t);
|
|
77
77
|
}, w = () => {
|
|
78
78
|
if (!p.value) {
|
|
79
79
|
l.info(s("备注不能为空!"));
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
82
82
|
const e = new FormData();
|
|
83
|
-
e.append("BusinessKey", a.businessKey), e.append("BusinessName", a.businessName), e.append("notes", p.value), e.append("ViewTitle", "备注"),
|
|
83
|
+
e.append("BusinessKey", a.businessKey), e.append("BusinessName", a.businessName), e.append("notes", p.value), e.append("ViewTitle", "备注"), x(e).then(async () => {
|
|
84
84
|
l.success(s("添加备注成功!")), n.PageIndex = 0, p.value = "", await r(), f();
|
|
85
85
|
});
|
|
86
86
|
}, P = (e) => {
|
|
@@ -112,7 +112,7 @@ const be = /* @__PURE__ */ _({
|
|
|
112
112
|
const e = (t = document.getElementsByClassName("log-form")[0]) == null ? void 0 : t.clientHeight;
|
|
113
113
|
v.value = window.innerHeight - e - I.value.offsetHeight - a.topHeight, L();
|
|
114
114
|
});
|
|
115
|
-
const
|
|
115
|
+
const N = { props: a, ifShowDocument: M, loading: u, noMore: h, showDialog: c, docInfo: b, dataList: i, textareaText: p, compAnalysisFile: d, params: n, getLogMessage: r, load: L, filterChange: O, change: B, confirmUpload: S, uploadFile: m, sendEditQuill: w, handlePaste: P, infiniteList: y, scrollTop: f, boxHeight: v, logText: I, get CaretRight() {
|
|
116
116
|
return V;
|
|
117
117
|
}, get CaretLeft() {
|
|
118
118
|
return T;
|
|
@@ -129,7 +129,7 @@ const be = /* @__PURE__ */ _({
|
|
|
129
129
|
}, YaheeAnnexUpload: Q, get InfiniteLoading() {
|
|
130
130
|
return W;
|
|
131
131
|
} };
|
|
132
|
-
return Object.defineProperty(
|
|
132
|
+
return Object.defineProperty(N, "__isScriptSetup", { enumerable: !1, value: !0 }), N;
|
|
133
133
|
}
|
|
134
134
|
});
|
|
135
135
|
export {
|
package/package.json
CHANGED
package/types/src/installs.d.ts
CHANGED
|
@@ -262,7 +262,7 @@ declare const _default: (( SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
|
262
262
|
}): any;
|
|
263
263
|
};
|
|
264
264
|
})> & Record<string, any>) | ( SFCWithInstall<DefineComponent<OperationLogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< OperationLogProps> & Readonly<{}>, {
|
|
265
|
-
businessKey: string;
|
|
265
|
+
businessKey: string | number;
|
|
266
266
|
businessName: string;
|
|
267
267
|
ifShowDocument: boolean;
|
|
268
268
|
topHeight: number;
|
|
@@ -4,7 +4,7 @@ import { OperationLogProps } from './operation-log';
|
|
|
4
4
|
import { ScrollbarDirection } from 'element-plus';
|
|
5
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
6
6
|
export declare const YaheeOperationLog: SFCWithInstall<DefineComponent<OperationLogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< OperationLogProps> & Readonly<{}>, {
|
|
7
|
-
businessKey: string;
|
|
7
|
+
businessKey: string | number;
|
|
8
8
|
businessName: string;
|
|
9
9
|
ifShowDocument: boolean;
|
|
10
10
|
topHeight: number;
|
|
@@ -3,7 +3,7 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
import { ScrollbarDirection } from 'element-plus';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
5
|
declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<OperationLogProps> & Readonly<{}>, {
|
|
6
|
-
businessKey: string;
|
|
6
|
+
businessKey: string | number;
|
|
7
7
|
businessName: string;
|
|
8
8
|
ifShowDocument: boolean;
|
|
9
9
|
topHeight: number;
|