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.
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-BopU_9QQ.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-BTsxrugA.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-D-qmasri.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-B-EZ_8-e.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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 { D as T, a as g, g as z } from "./index-DAci2f17.mjs";
6
- const ae = { class: "dialog-footer" }, de = /* @__PURE__ */ Z({
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
- T.materialCategoryBizDict.useValues();
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), z.findPage({ loginName: e }).then(({ data: l }) => {
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
- z.findById({ userId: u }).then(({ data: i }) => {
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(T).materialCategoryBizDict.values,
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
- de as _
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-DAci2f17.mjs";
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({