sooyie-material 0.0.6 → 0.0.7
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/{edit-C3QACz5O.mjs → edit-BcFpISQ4.mjs} +1 -1
- package/dist/{edit-CWZnHbiw.mjs → edit-DU3x8xdk.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D-qmasri.mjs → edit.vue_vue_type_script_setup_true_lang-B-EZ_8-e.mjs} +8 -7
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BopU_9QQ.mjs → edit.vue_vue_type_script_setup_true_lang-BTsxrugA.mjs} +1 -1
- package/dist/index-B6o7GKec.mjs +1906 -0
- package/dist/{index-aVSWstKh.mjs → index-BUKVaWqd.mjs} +69 -68
- package/dist/{index-DhN6ywZc.mjs → index-jMDq0b49.mjs} +117 -116
- package/dist/index.mjs +1 -1
- package/package.json +3 -2
- package/dist/index-DAci2f17.mjs +0 -5046
|
@@ -2,8 +2,9 @@ import { defineComponent as Z, mergeModels as F, ref as c, reactive as j, useMod
|
|
|
2
2
|
import { ElMessage as S } from "element-plus";
|
|
3
3
|
import { useI18n as le } from "vue-i18n";
|
|
4
4
|
import "jmash-core";
|
|
5
|
-
import {
|
|
6
|
-
|
|
5
|
+
import { userApi as T } from "jmash-rbac";
|
|
6
|
+
import { D as z, a as g } from "./index-B6o7GKec.mjs";
|
|
7
|
+
const ae = { class: "dialog-footer" }, ie = /* @__PURE__ */ Z({
|
|
7
8
|
__name: "edit",
|
|
8
9
|
props: /* @__PURE__ */ F({
|
|
9
10
|
entityKey: {
|
|
@@ -18,7 +19,7 @@ const ae = { class: "dialog-footer" }, de = /* @__PURE__ */ Z({
|
|
|
18
19
|
emits: /* @__PURE__ */ F(["refresh"], ["update:modelValue"]),
|
|
19
20
|
setup(w, { emit: A }) {
|
|
20
21
|
const { t: m } = le();
|
|
21
|
-
|
|
22
|
+
z.materialCategoryBizDict.useValues();
|
|
22
23
|
const k = c(), b = c([]);
|
|
23
24
|
let r = j({
|
|
24
25
|
requestId: Math.random() * 10 + "",
|
|
@@ -68,7 +69,7 @@ const ae = { class: "dialog-footer" }, de = /* @__PURE__ */ Z({
|
|
|
68
69
|
}
|
|
69
70
|
]
|
|
70
71
|
}), C = c([]), s = x(w, "modelValue"), R = w, N = A, y = (e = "") => {
|
|
71
|
-
console.log(e),
|
|
72
|
+
console.log(e), T.findPage({ loginName: e }).then(({ data: l }) => {
|
|
72
73
|
b.value = l.results;
|
|
73
74
|
});
|
|
74
75
|
};
|
|
@@ -83,7 +84,7 @@ const ae = { class: "dialog-footer" }, de = /* @__PURE__ */ Z({
|
|
|
83
84
|
Object.assign(r, e);
|
|
84
85
|
const l = [];
|
|
85
86
|
r.plannerId && l.push(r.plannerId), r.operatorId && l.push(r.operatorId), l.length !== 0 && l.map((u) => {
|
|
86
|
-
|
|
87
|
+
T.findById({ userId: u }).then(({ data: i }) => {
|
|
87
88
|
y(i.realName);
|
|
88
89
|
});
|
|
89
90
|
});
|
|
@@ -158,7 +159,7 @@ const ae = { class: "dialog-footer" }, de = /* @__PURE__ */ Z({
|
|
|
158
159
|
t(u, {
|
|
159
160
|
modelValue: n(r).categoryId,
|
|
160
161
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => n(r).categoryId = a),
|
|
161
|
-
data: n(
|
|
162
|
+
data: n(z).materialCategoryBizDict.values,
|
|
162
163
|
filterable: "",
|
|
163
164
|
clearable: "",
|
|
164
165
|
"check-strictly": "",
|
|
@@ -369,5 +370,5 @@ const ae = { class: "dialog-footer" }, de = /* @__PURE__ */ Z({
|
|
|
369
370
|
}
|
|
370
371
|
});
|
|
371
372
|
export {
|
|
372
|
-
|
|
373
|
+
ie as _
|
|
373
374
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as j, mergeModels as C, ref as v, reactive as h, useModel as F, resolveComponent as i, createBlock as K, openBlock as O, withCtx as m, createVNode as o, unref as n, createElementVNode as S, createTextVNode as N, toDisplayString as k } from "vue";
|
|
2
2
|
import { ElMessage as I } from "element-plus";
|
|
3
3
|
import { useI18n as z } from "vue-i18n";
|
|
4
|
-
import { D as w, m as c } from "./index-
|
|
4
|
+
import { D as w, m as c } from "./index-B6o7GKec.mjs";
|
|
5
5
|
const E = { class: "dialog-footer" }, H = /* @__PURE__ */ j({
|
|
6
6
|
__name: "edit",
|
|
7
7
|
props: /* @__PURE__ */ C({
|