xyvcard-asset 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. package/dist/{assign-BLa-fXcy.mjs → assign-DzQUNp-Y.mjs} +26 -26
  2. package/dist/{edit-DmRG7fo0.mjs → edit-DdzPtYyH.mjs} +1 -1
  3. package/dist/{edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs → edit.vue_vue_type_script_setup_true_lang-BP4-GiBE.mjs} +33 -33
  4. package/dist/{index copy-Di49EjkG.mjs → index copy-CxTCJcvX.mjs } +21 -22
  5. package/dist/{index-xyCxQquE.mjs → index-CSMEsPcN.mjs} +1 -1
  6. package/dist/{index-DeBZxOsC.mjs → index-CugJCeed.mjs} +2 -1
  7. package/dist/{index-ByVysHgI.mjs → index-GhvyIwc3.mjs} +1 -1
  8. package/dist/{index-qQuyprvx.mjs → index-pfeu6d82.mjs} +1 -1
  9. package/dist/index.mjs +2 -1
  10. package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +110 -0
  11. package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +54 -0
  12. package/dist/index/345/244/207/344/273/{275-CaiMDP8J.mjs → 275-BfKo5eBT.mjs} +84 -80
  13. package/dist/style.css +1 -1
  14. package/dts/App.vue.d.ts +2 -0
  15. package/dts/api/asset/asset-asset/index.d.ts +25 -0
  16. package/dts/api/asset/asset-asset/types.d.ts +109 -0
  17. package/dts/api/asset/asset-asset-detail/index.d.ts +12 -0
  18. package/dts/api/asset/asset-asset-detail/types.d.ts +56 -0
  19. package/dts/api/asset/asset-depreciation-record/index.d.ts +11 -0
  20. package/dts/api/asset/asset-depreciation-record/types.d.ts +38 -0
  21. package/dts/api/asset/asset-inventory-record/index.d.ts +10 -0
  22. package/dts/api/asset/asset-inventory-record/types.d.ts +62 -0
  23. package/dts/api/asset/asset-service-appt-member/index.d.ts +9 -0
  24. package/dts/api/asset/asset-service-appt-member/types.d.ts +28 -0
  25. package/dts/api/asset/asset-service-appt-record/index.d.ts +9 -0
  26. package/dts/api/asset/asset-service-appt-record/types.d.ts +37 -0
  27. package/dts/api/asset/asset-site/index.d.ts +14 -0
  28. package/dts/api/asset/asset-site/types.d.ts +71 -0
  29. package/dts/api/asset/asset-site-service/index.d.ts +13 -0
  30. package/dts/api/asset/asset-site-service/types.d.ts +81 -0
  31. package/dts/api/asset/text/index.d.ts +140 -0
  32. package/dts/api/asset/text/types.d.ts +179 -0
  33. package/dts/api/dict.d.ts +19 -0
  34. package/dts/api/index.d.ts +16 -0
  35. package/dts/components/PeopleSelectAsset/index.vue.d.ts +18 -0
  36. package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
  37. package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
  38. package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
  39. package/dts/constant.d.ts +19 -0
  40. package/dts/index.d.ts +6 -0
  41. package/dts/lang/asset/en.d.ts +2 -0
  42. package/dts/lang/asset/zh-cn.d.ts +150 -0
  43. package/dts/lang/index.d.ts +1 -0
  44. package/dts/main.d.ts +4 -0
  45. package/dts/permission.d.ts +1 -0
  46. package/dts/router/page.d.ts +8 -0
  47. package/dts/utils/common.d.ts +51 -0
  48. package/dts/utils/index.d.ts +24 -0
  49. package/dts/utils/momentPlugin.d.ts +5 -0
  50. package/dts/views/asset/asset-asset/assign.vue.d.ts +29 -0
  51. package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
  52. package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
  53. package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
  54. package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +20 -0
  55. package/dts/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
  56. package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
  57. package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
  58. package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  59. package/dts/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
  60. package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +2 -0
  61. package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
  62. package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
  63. package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  64. package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  65. package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
  66. package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
  67. package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
  68. package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
  69. package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
  70. package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
  71. package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
  72. package/package.json +3 -3
  73. package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +0 -274
  74. package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +0 -120
  75. package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +0 -105
@@ -1,120 +0,0 @@
1
- import { defineComponent as j, ref as i, resolveComponent as a, openBlock as t, createElementBlock as s, createElementVNode as k, createVNode as c, unref as p, isRef as y, withCtx as _, Fragment as b, renderList as v, createBlock as h, createTextVNode as w, toDisplayString as E } from "vue";
2
- const O = { class: "people-select-tag-box" }, L = /* @__PURE__ */ j({
3
- __name: "index",
4
- props: {
5
- deptId: {
6
- type: String,
7
- default: ""
8
- }
9
- },
10
- emits: ["updatePeoples"],
11
- setup(g, { emit: x }) {
12
- const u = i([]), m = x;
13
- console.log(g);
14
- const o = i([]), r = i([
15
- {
16
- key: "1",
17
- value: "张三",
18
- label: "张三",
19
- deep: "测试",
20
- position: "测试工程师",
21
- children: []
22
- },
23
- {
24
- key: "2",
25
- value: "里斯",
26
- label: "里斯",
27
- deep: "前端部",
28
- position: "前端工程师",
29
- children: []
30
- },
31
- {
32
- key: "6",
33
- value: "里斯",
34
- label: "里斯",
35
- deep: "前端部",
36
- position: "前端工程师",
37
- children: []
38
- },
39
- {
40
- key: "3",
41
- value: "王五",
42
- label: "王五",
43
- deep: "java",
44
- position: "实习",
45
- children: []
46
- }
47
- ]), f = r.value, V = (n) => {
48
- r.value = f.filter((l) => l.label.indexOf(n) > -1);
49
- }, C = (n) => {
50
- const l = f.filter((d) => d.key === n)[0];
51
- return l.label + " " + l.deep + " " + l.position;
52
- }, P = () => {
53
- m("updatePeoples", o.value);
54
- };
55
- function T(n) {
56
- o.value = o.value.filter((l) => l !== n), m("updatePeoples", o.value);
57
- }
58
- return (n, l) => {
59
- const d = a("el-option"), B = a("el-checkbox"), D = a("el-checkbox-group"), N = a("el-select"), S = a("el-tag");
60
- return t(), s("div", null, [
61
- k("div", null, [
62
- c(N, {
63
- modelValue: p(u),
64
- "onUpdate:modelValue": l[1] || (l[1] = (e) => y(u) ? u.value = e : null),
65
- multiple: "",
66
- placeholder: "请输入选择的人员",
67
- filterable: "",
68
- "filter-method": V,
69
- style: { width: "100% !important" }
70
- }, {
71
- default: _(() => [
72
- (t(!0), s(b, null, v(p(r), (e) => (t(), h(d, {
73
- key: e.key,
74
- label: e.label,
75
- value: e.key,
76
- hidden: ""
77
- }, null, 8, ["label", "value"]))), 128)),
78
- c(D, {
79
- modelValue: p(o),
80
- "onUpdate:modelValue": l[0] || (l[0] = (e) => y(o) ? o.value = e : null),
81
- onChange: P
82
- }, {
83
- default: _(() => [
84
- (t(!0), s(b, null, v(p(r), (e) => (t(), s("div", {
85
- key: e.key,
86
- style: { padding: "0 10px" }
87
- }, [
88
- c(B, {
89
- label: e.label + "" + e.deep + e.position,
90
- value: e.key
91
- }, null, 8, ["label", "value"])
92
- ]))), 128))
93
- ]),
94
- _: 1
95
- }, 8, ["modelValue"])
96
- ]),
97
- _: 1
98
- }, 8, ["modelValue"])
99
- ]),
100
- k("div", O, [
101
- (t(!0), s(b, null, v(p(o), (e) => (t(), h(S, {
102
- key: e,
103
- closable: "",
104
- "disable-transitions": !1,
105
- style: { "margin-right": "10px" },
106
- onClose: (F) => T(e)
107
- }, {
108
- default: _(() => [
109
- w(E(C(e)), 1)
110
- ]),
111
- _: 2
112
- }, 1032, ["onClose"]))), 128))
113
- ])
114
- ]);
115
- };
116
- }
117
- });
118
- export {
119
- L as _
120
- };
@@ -1,105 +0,0 @@
1
- import { defineComponent as x, ref as i, reactive as n, resolveComponent as p, openBlock as y, createBlock as P, unref as l, isRef as C, withCtx as a, createVNode as s, createElementVNode as u, toDisplayString as w } from "vue";
2
- import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs";
3
- const I = /* @__PURE__ */ x({
4
- __name: "index",
5
- setup(h) {
6
- const d = i([]);
7
- console.log("父组件的selectPeoples---", d.value);
8
- function c(t) {
9
- console.log("子组件的getValue---", t), o.selectPeoples = t;
10
- }
11
- const o = n({
12
- selectPeoples: []
13
- }), m = n({
14
- people: [
15
- {
16
- required: !0,
17
- message: "请选择人员",
18
- trigger: "blur"
19
- }
20
- ]
21
- }), f = n({
22
- label: "选择人员",
23
- prop: "people",
24
- // 模糊查询人员
25
- peopleTableData: [
26
- {
27
- key: "1",
28
- value: "张三",
29
- label: "张三",
30
- deep: "测试",
31
- position: "测试工程师"
32
- },
33
- {
34
- key: "2",
35
- value: "里斯",
36
- label: "里斯",
37
- deep: "前端部",
38
- position: "前端工程师"
39
- },
40
- {
41
- key: "6",
42
- value: "里斯",
43
- label: "里斯",
44
- deep: "前端部",
45
- position: "前端工程师"
46
- },
47
- {
48
- key: "3",
49
- value: "王五",
50
- label: "王五",
51
- deep: "java",
52
- position: "实习"
53
- }
54
- ],
55
- deptId: "1"
56
- });
57
- function _() {
58
- e.value = !1;
59
- }
60
- const e = i(!0);
61
- function v() {
62
- e.value && (e.value = !1);
63
- }
64
- return (t, r) => {
65
- const b = p("el-form-item"), g = p("el-form"), k = p("el-dialog");
66
- return y(), P(k, {
67
- modelValue: l(e),
68
- "onUpdate:modelValue": r[0] || (r[0] = (V) => C(e) ? e.value = V : null),
69
- onClose: v
70
- }, {
71
- default: a(() => [
72
- s(g, {
73
- ref: "FormRef",
74
- model: l(o),
75
- "label-width": "120px",
76
- rules: l(m)
77
- }, {
78
- default: a(() => [
79
- s(b, {
80
- label: "选择人员",
81
- prop: "people"
82
- }, {
83
- default: a(() => [
84
- s(D, {
85
- "dept-id": l(f).deptId,
86
- style: { width: "500px" },
87
- onUpdatePeoples: c
88
- }, null, 8, ["dept-id"]),
89
- u("span", null, "子组件值--" + w(l(o).selectPeoples), 1)
90
- ]),
91
- _: 1
92
- })
93
- ]),
94
- _: 1
95
- }, 8, ["model", "rules"]),
96
- u("button", { onClick: _ }, "弹框按钮触发组件提交事件")
97
- ]),
98
- _: 1
99
- }, 8, ["modelValue"]);
100
- };
101
- }
102
- });
103
- export {
104
- I as _
105
- };