xyvcard-asset 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. package/README.md +52 -52
  2. package/dist/assign-BLa-fXcy.mjs +1626 -0
  3. package/dist/{edit-zFZfd8e1.mjs → edit-CCrekeeb.mjs} +1 -1
  4. package/dist/{edit-CE3u81Q0.mjs → edit-DmRG7fo0.mjs} +1 -1
  5. package/dist/edit-Dn-QMuy6.mjs +4 -0
  6. package/dist/edit-FdqpKRgF.mjs +294 -0
  7. package/dist/edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs +547 -0
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs → edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs} +146 -139
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs +278 -0
  10. package/dist/index copy-Di49EjkG.mjs +76 -0
  11. package/dist/index-B4vUTwSW.mjs +171 -0
  12. package/dist/index-BK24yagy.mjs +1663 -0
  13. package/dist/index-BW-5IuVN.mjs +91 -0
  14. package/dist/index-BWwU9hSp.mjs +320 -0
  15. package/dist/index-BvKWLFdr.mjs +345 -0
  16. package/dist/index-BwbnYpa1.mjs +29 -0
  17. package/dist/index-ByVysHgI.mjs +4 -0
  18. package/dist/index-C5_f5Lce.mjs +213 -0
  19. package/dist/index-CgAq70-p.mjs +314 -0
  20. package/dist/index-DElPNxc7.mjs +398 -0
  21. package/dist/index-De4u-LEl.mjs +325 -0
  22. package/dist/index-DeBZxOsC.mjs +372 -0
  23. package/dist/index-Dyo7je0Z.mjs +38 -0
  24. package/dist/index-FUnFB7nG.mjs +61 -0
  25. package/dist/index-axEqTssj.mjs +378 -0
  26. package/dist/index-jOcS7tqC.mjs +311 -0
  27. package/dist/index-qQuyprvx.mjs +4 -0
  28. package/dist/index-xyCxQquE.mjs +432 -0
  29. package/dist/index.mjs +2752 -35
  30. package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +274 -0
  31. package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +120 -0
  32. package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +105 -0
  33. package/dist/index/345/244/207/344/273/275-CaiMDP8J.mjs +319 -0
  34. package/dist/style.css +1 -1
  35. package/dts/src/api/asset/asset-asset/index.d.ts +10 -5
  36. package/dts/src/api/asset/asset-asset/types.d.ts +39 -23
  37. package/dts/src/api/asset/asset-asset-detail/index.d.ts +12 -0
  38. package/dts/src/api/asset/asset-asset-detail/types.d.ts +56 -0
  39. package/dts/src/api/asset/asset-depreciation-record/index.d.ts +11 -0
  40. package/dts/src/api/asset/asset-depreciation-record/types.d.ts +38 -0
  41. package/dts/src/api/asset/asset-inventory-record/index.d.ts +10 -0
  42. package/dts/src/api/asset/asset-inventory-record/types.d.ts +62 -0
  43. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +1 -12
  44. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +1 -44
  45. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +1 -12
  46. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +7 -68
  47. package/dts/src/api/asset/asset-site/index.d.ts +1 -2
  48. package/dts/src/api/asset/asset-site/types.d.ts +4 -14
  49. package/dts/src/api/asset/asset-site-service/index.d.ts +1 -2
  50. package/dts/src/api/asset/asset-site-service/types.d.ts +1 -0
  51. package/dts/src/api/asset/text/index.d.ts +0 -0
  52. package/dts/src/api/asset/text/types.d.ts +0 -0
  53. package/dts/src/api/dict.d.ts +1 -4
  54. package/dts/src/api/index.d.ts +2 -0
  55. package/dts/src/components/PeopleSelect/index.vue.d.ts +18 -0
  56. package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
  57. package/dts/{components/TMaps/index.vue.d.ts → src/components copy/PeopleSelect/index.vue.d.ts } +5 -7
  58. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +34 -0
  59. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +18 -0
  60. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +34 -0
  61. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index/345/215/225/351/200/211/346/241/206/346/234/200/346/226/260.vue.d.ts" +34 -0
  62. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/tree/351/200/211/346/213/251/346/241/206/344/270/215/345/261/225/347/244/272/346/225/260/346/215/256,/344/270/213/346/226/271/351/242/204/350/247/210/346/225/260/346/215/256.vue.d.ts" +18 -0
  63. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//345/217/214/351/200/211/346/213/251.vue.d.ts" +42 -0
  64. package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//351/200/211/346/213/251/344/272/272/345/221/230/index.vue.d.ts" +34 -0
  65. package/dts/{components/Upload/ImageUpload.vue.d.ts → src/components copy/Upload/ImageUpload.vue.d.ts } +1 -1
  66. package/dts/src/constant.d.ts +4 -1
  67. package/dts/src/index.d.ts +3 -1
  68. package/dts/src/lang/asset/zh-cn.d.ts +59 -1
  69. package/dts/src/router/page.d.ts +4 -0
  70. package/dts/src/utils/momentPlugin.d.ts +5 -0
  71. package/dts/{views/asset/asset-asset/edit.vue.d.ts → src/views/asset/asset-asset/assign.vue.d.ts} +12 -5
  72. package/dts/{views/asset/asset-site → src/views/asset/asset-asset-detail}/edit.vue.d.ts +5 -7
  73. package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  74. package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  75. package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  76. package/dts/tsconfig.tsbuildinfo +1 -1
  77. package/package.json +7 -6
  78. package/dist/edit-Bo9bnbUP.mjs +0 -492
  79. package/dist/edit-DJFxVmvv.mjs +0 -624
  80. package/dist/edit-qp_2xtTZ.mjs +0 -242
  81. package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +0 -322
  82. package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +0 -1
  83. package/dist/index-Bf5U4Ucl.mjs +0 -369
  84. package/dist/index-Bh2imlN_.mjs +0 -149
  85. package/dist/index-CHNiaFZk.mjs +0 -291
  86. package/dist/index-CmlP_Rro.mjs +0 -332
  87. package/dist/index-Cqw_E8lr.mjs +0 -1269
  88. package/dist/index-DA_FS24d.mjs +0 -146
  89. package/dist/index-DKmGNvQl.mjs +0 -370
  90. package/dist/index-DLxpE9s5.mjs +0 -305
  91. package/dist/index-DWaL87j5.mjs +0 -89
  92. package/dist/index-jOnQLJaB.mjs +0 -416
  93. package/dist/index-pyyjj1xa.mjs +0 -187
  94. package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +0 -37
  95. package/dts/api/asset/asset-asset/index.d.ts +0 -20
  96. package/dts/api/asset/asset-asset/types.d.ts +0 -93
  97. package/dts/api/asset/asset-service-appt-member/index.d.ts +0 -20
  98. package/dts/api/asset/asset-service-appt-member/types.d.ts +0 -71
  99. package/dts/api/asset/asset-service-appt-record/index.d.ts +0 -20
  100. package/dts/api/asset/asset-service-appt-record/types.d.ts +0 -98
  101. package/dts/api/asset/asset-site/index.d.ts +0 -15
  102. package/dts/api/asset/asset-site/types.d.ts +0 -81
  103. package/dts/api/asset/asset-site-service/index.d.ts +0 -14
  104. package/dts/api/asset/asset-site-service/types.d.ts +0 -80
  105. package/dts/api/dict.d.ts +0 -22
  106. package/dts/api/index.d.ts +0 -14
  107. package/dts/api/org/union-org/index.d.ts +0 -14
  108. package/dts/api/org/union-org/types.d.ts +0 -49
  109. package/dts/components/EnumRadio/index.vue.d.ts +0 -18
  110. package/dts/components/EnumSelect/index.vue.d.ts +0 -18
  111. package/dts/constant.d.ts +0 -16
  112. package/dts/index.d.ts +0 -4
  113. package/dts/lang/asset/en.d.ts +0 -2
  114. package/dts/lang/asset/zh-cn.d.ts +0 -91
  115. package/dts/lang/index.d.ts +0 -1
  116. package/dts/main.d.ts +0 -4
  117. package/dts/permission.d.ts +0 -1
  118. package/dts/router/page.d.ts +0 -2
  119. package/dts/src/api/org/union-org/index.d.ts +0 -14
  120. package/dts/src/api/org/union-org/types.d.ts +0 -49
  121. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  122. package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
  123. package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  124. package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
  125. package/dts/utils/common.d.ts +0 -51
  126. package/dts/utils/index.d.ts +0 -24
  127. package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  128. package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +0 -22
  129. package/dts/views/asset/asset-site-service/edit.vue.d.ts +0 -22
  130. /package/dts/{views/asset/asset-asset → src/components/deptPeopleSelect}/index.vue.d.ts +0 -0
  131. /package/dts/{components → src/components copy}/Upload/MultiUpload.vue.d.ts +0 -0
  132. /package/dts/src/{views/asset/asset-service-appt-member → components copy/deptPeopleSelect}/index.vue.d.ts +0 -0
  133. /package/dts/{views/asset/asset-service-appt-record → src/views/asset/asset-asset/info}/index.vue.d.ts +0 -0
  134. /package/dts/{views/asset/asset-service-appt-member → src/views/asset/asset-asset-detail}/index.vue.d.ts +0 -0
  135. /package/dts/{views/asset/asset-service-appt-record/info → src/views/asset/asset-depreciation-record}/index.vue.d.ts +0 -0
  136. /package/dts/{views/asset/asset-site-service → src/views/asset/asset-depreciation-record/info}/index.vue.d.ts +0 -0
  137. /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/index.vue.d.ts +0 -0
  138. /package/dts/{App.vue.d.ts → src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts"} +0 -0
  139. /package/dts/{views/asset/asset-site → src/views/asset/asset-inventory-record}/info/index.vue.d.ts +0 -0
@@ -1,12 +1,11 @@
1
- import { _ as ee } from "./index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs";
2
- import { defineComponent as le, mergeModels as U, ref as y, reactive as w, useModel as te, resolveComponent as s, openBlock as f, createBlock as P, withCtx as o, createElementVNode as ae, createVNode as e, createTextVNode as g, toDisplayString as B, unref as r, createElementBlock as _, Fragment as z, renderList as M } from "vue";
3
- import { D as p, a as S, S as oe } from "./index-DLxpE9s5.mjs";
1
+ import { defineComponent as ee, mergeModels as T, ref as y, reactive as U, useModel as le, resolveComponent as s, openBlock as f, createBlock as P, withCtx as i, createElementVNode as te, createVNode as l, createTextVNode as g, toDisplayString as B, unref as r, createElementBlock as _, Fragment as z, renderList as M } from "vue";
2
+ import { D as p, b as S, S as ae } from "./index-BK24yagy.mjs";
4
3
  import { ElMessage as h } from "element-plus";
5
4
  import { useI18n as ie } from "vue-i18n";
6
5
  import { r as O } from "./common-kbgEWG-E.mjs";
7
- const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
6
+ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
8
7
  __name: "edit",
9
- props: /* @__PURE__ */ U({
8
+ props: /* @__PURE__ */ T({
10
9
  entityKey: {
11
10
  type: Object,
12
11
  default: () => {
@@ -16,12 +15,11 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
16
15
  modelValue: { type: Boolean },
17
16
  modelModifiers: {}
18
17
  }),
19
- emits: /* @__PURE__ */ U(["refresh"], ["update:modelValue"]),
20
- setup(I, { emit: L }) {
21
- const { t: m } = ie();
22
- p.unionOrgBizLayDict.useValues(), p.managerDict.useValues(), p.serviceNameDict.useValues();
23
- const $ = y();
24
- let t = w({
18
+ emits: /* @__PURE__ */ T(["refresh"], ["update:modelValue"]),
19
+ setup(I, { emit: j }) {
20
+ p.unionOrgBizLayDict.useValues(), p.managerDict.useValues(), p.serviceNameDict.useValues(), p.siteDict.useValues();
21
+ const { t: m } = ie(), k = y();
22
+ let t = U({
25
23
  requestId: Math.random() * 10 + "",
26
24
  updateMask: "siteId,serviceName,minDay,maxDay,limitPerson,status,note",
27
25
  limitInfo: [
@@ -32,7 +30,8 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
32
30
  }
33
31
  ]
34
32
  });
35
- const E = w({
33
+ const L = U({
34
+ // 所属工会
36
35
  orgId: [
37
36
  {
38
37
  required: !0,
@@ -40,6 +39,7 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
40
39
  trigger: "change"
41
40
  }
42
41
  ],
42
+ // 场地名称
43
43
  siteId: [
44
44
  {
45
45
  required: !0,
@@ -47,6 +47,7 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
47
47
  trigger: "change"
48
48
  }
49
49
  ],
50
+ // 预约项目
50
51
  serviceName: [
51
52
  {
52
53
  required: !0,
@@ -54,10 +55,11 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
54
55
  trigger: "change"
55
56
  }
56
57
  ],
58
+ // 限制人流
57
59
  limitPerson: [
58
60
  {
59
61
  required: !0,
60
- message: m("siteService.limitPerson"),
62
+ message: m("siteService.limitPersonRequired"),
61
63
  trigger: "blur"
62
64
  }
63
65
  ],
@@ -68,40 +70,41 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
68
70
  trigger: "change"
69
71
  }
70
72
  ],
73
+ // 预约规则说明
71
74
  note: [
72
75
  {
73
76
  message: m("siteService.note"),
74
- trigger: "change"
77
+ trigger: "blur"
75
78
  }
76
79
  ]
77
- }), k = y();
78
- function F(l) {
80
+ }), $ = y();
81
+ function E(e) {
79
82
  t.siteId = "";
80
- const a = new oe({ orgId: l });
81
- a.useValues(), k.value = a.values, console.log(a.values, " siteDict.values");
83
+ const a = new ae({ orgId: e });
84
+ a.useValues(), $.value = a.values;
82
85
  }
83
- const c = te(I, "modelValue"), D = I, q = L, j = Object.keys(D.entityKey), R = y(j.length >= 1);
84
- R.value && S.findById(D.entityKey).then(({ data: l }) => {
85
- Object.assign(t, l);
86
+ const c = le(I, "modelValue"), D = I, q = j, F = Object.keys(D.entityKey), R = y(F.length >= 1);
87
+ R.value && S.findById(D.entityKey).then(({ data: e }) => {
88
+ e.siteId = e.serviceName, Object.assign(t, e);
86
89
  });
87
90
  const K = async () => {
88
- var l;
89
- await ((l = $.value) == null ? void 0 : l.validate((a) => {
91
+ var e;
92
+ await ((e = k.value) == null ? void 0 : e.validate((a) => {
90
93
  a && (R.value ? S.update(t).then((n) => {
91
- console.log(n), n.status === 200 && (h({
94
+ n.status === 200 && (h({
92
95
  message: m("common.submitSuccess"),
93
96
  type: "success"
94
97
  }), c.value && (c.value = !1), q("refresh", n.status === 200));
95
98
  }) : S.create(t).then((n) => {
96
- console.log(n), n.status === 200 && (h({
99
+ n.status === 200 && (h({
97
100
  message: m("common.submitSuccess"),
98
101
  type: "success"
99
102
  }), c.value && (c.value = !1), q("refresh", n.status === 200));
100
103
  }));
101
104
  }));
102
105
  };
103
- function A(l, a) {
104
- t.limitInfo[a].startTime = O(l[0]), t.limitInfo[a].endTime = O(l[1]);
106
+ function A(e, a) {
107
+ t.limitInfo[a].startTime = O(e[0]), t.limitInfo[a].endTime = O(e[1]);
105
108
  }
106
109
  function G() {
107
110
  t.limitInfo.push({
@@ -110,72 +113,73 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
110
113
  limitPerson: 1
111
114
  });
112
115
  }
113
- function H(l) {
116
+ function H(e) {
114
117
  if (t.limitInfo.length === 1) {
115
118
  h({
116
119
  message: "最少保留一个时间段",
117
- type: "success"
120
+ type: "error"
118
121
  });
119
122
  return;
120
123
  }
121
- t.limitInfo.splice(l, 1);
124
+ t.limitInfo.splice(e, 1);
122
125
  }
123
- function C() {
126
+ function N() {
124
127
  c.value && (c.value = !1);
125
128
  }
126
- return (l, a) => {
127
- const n = s("el-tree-select"), d = s("el-form-item"), u = s("el-col"), J = s("el-option"), Q = s("el-select"), N = s("el-input-number"), T = s("el-input"), W = ee, X = s("el-time-picker"), v = s("el-button"), Y = s("el-row"), Z = s("el-form"), x = s("el-dialog");
129
+ return (e, a) => {
130
+ const n = s("el-tree-select"), d = s("el-form-item"), u = s("el-col"), J = s("el-option"), Q = s("el-select"), w = s("el-input-number"), C = s("el-input"), W = s("jmash-select"), X = s("el-time-picker"), v = s("el-button"), Y = s("el-row"), Z = s("el-form"), x = s("el-dialog");
128
131
  return f(), P(x, {
129
132
  modelValue: c.value,
130
- "onUpdate:modelValue": a[9] || (a[9] = (i) => c.value = i),
131
- onClose: C
133
+ "onUpdate:modelValue": a[9] || (a[9] = (o) => c.value = o),
134
+ onClose: N
132
135
  }, {
133
- footer: o(() => [
134
- ae("div", re, [
135
- e(v, { onClick: C }, {
136
- default: o(() => [
137
- g(B(l.$t("common.cancel")), 1)
136
+ footer: i(() => [
137
+ te("div", oe, [
138
+ l(v, { onClick: N }, {
139
+ default: i(() => [
140
+ g(B(e.$t("common.cancel")), 1)
138
141
  ]),
139
142
  _: 1
140
143
  }),
141
- e(v, {
144
+ l(v, {
142
145
  type: "primary",
143
146
  onClick: K
144
147
  }, {
145
- default: o(() => [
146
- g(B(l.$t("common.confirm")), 1)
148
+ default: i(() => [
149
+ g(B(e.$t("common.confirm")), 1)
147
150
  ]),
148
151
  _: 1
149
152
  })
150
153
  ])
151
154
  ]),
152
- default: o(() => [
153
- e(Z, {
155
+ default: i(() => [
156
+ l(Z, {
154
157
  ref_key: "siteServiceFormRef",
155
- ref: $,
158
+ ref: k,
156
159
  model: r(t),
157
160
  "label-width": "120px",
158
- rules: E
161
+ rules: L
159
162
  }, {
160
- default: o(() => [
161
- e(Y, null, {
162
- default: o(() => [
163
- e(u, { span: 12 }, {
164
- default: o(() => [
165
- e(d, {
166
- label: l.$t("siteService.orgId"),
163
+ default: i(() => [
164
+ l(Y, null, {
165
+ default: i(() => [
166
+ l(u, { span: 12 }, {
167
+ default: i(() => [
168
+ l(d, {
169
+ label: e.$t("siteService.orgId"),
167
170
  prop: "orgId"
168
171
  }, {
169
- default: o(() => [
170
- e(n, {
172
+ default: i(() => [
173
+ l(n, {
171
174
  modelValue: r(t).orgId,
172
- "onUpdate:modelValue": a[0] || (a[0] = (i) => r(t).orgId = i),
175
+ "onUpdate:modelValue": a[0] || (a[0] = (o) => r(t).orgId = o),
173
176
  data: r(p).unionOrgBizLayDict.values,
174
177
  filterable: "",
175
178
  "check-strictly": "",
176
179
  "render-after-expand": !1,
177
- placeholder: l.$t("siteService.orgIdRequired"),
178
- onChange: F
180
+ placeholder: e.$t("siteService.orgIdRequired"),
181
+ style: { width: "100%" },
182
+ onChange: E
179
183
  }, null, 8, ["modelValue", "data", "placeholder"])
180
184
  ]),
181
185
  _: 1
@@ -183,25 +187,25 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
183
187
  ]),
184
188
  _: 1
185
189
  }),
186
- e(u, { span: 12 }, {
187
- default: o(() => [
188
- e(d, {
189
- label: l.$t("siteService.siteId"),
190
+ l(u, { span: 12 }, {
191
+ default: i(() => [
192
+ l(d, {
193
+ label: e.$t("siteService.siteId"),
190
194
  prop: "siteId"
191
195
  }, {
192
- default: o(() => [
193
- e(Q, {
196
+ default: i(() => [
197
+ l(Q, {
194
198
  modelValue: r(t).siteId,
195
- "onUpdate:modelValue": a[1] || (a[1] = (i) => r(t).siteId = i),
199
+ "onUpdate:modelValue": a[1] || (a[1] = (o) => r(t).siteId = o),
196
200
  disabled: !r(t).orgId,
197
- placeholder: l.$t("siteService.siteIdRequired"),
201
+ placeholder: e.$t("siteService.siteIdRequired"),
198
202
  clearable: ""
199
203
  }, {
200
- default: o(() => [
201
- (f(!0), _(z, null, M(k.value, (i) => (f(), P(J, {
202
- key: i.key,
203
- label: i.value,
204
- value: i.key
204
+ default: i(() => [
205
+ (f(!0), _(z, null, M($.value, (o) => (f(), P(J, {
206
+ key: o.key,
207
+ label: o.value,
208
+ value: o.key
205
209
  }, null, 8, ["label", "value"]))), 128))
206
210
  ]),
207
211
  _: 1
@@ -212,21 +216,21 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
212
216
  ]),
213
217
  _: 1
214
218
  }),
215
- e(u, { span: 12 }, {
216
- default: o(() => [
217
- e(d, {
218
- label: l.$t("siteService.serviceName"),
219
+ l(u, { span: 12 }, {
220
+ default: i(() => [
221
+ l(d, {
222
+ label: e.$t("siteService.serviceName"),
219
223
  prop: "serviceName"
220
224
  }, {
221
- default: o(() => [
222
- e(n, {
225
+ default: i(() => [
226
+ l(n, {
223
227
  modelValue: r(t).serviceName,
224
- "onUpdate:modelValue": a[2] || (a[2] = (i) => r(t).serviceName = i),
228
+ "onUpdate:modelValue": a[2] || (a[2] = (o) => r(t).serviceName = o),
225
229
  data: r(p).serviceNameDict.values,
226
230
  filterable: "",
227
231
  "check-strictly": "",
228
232
  "render-after-expand": !1,
229
- placeholder: l.$t("siteService.serviceNameRequired")
233
+ placeholder: e.$t("siteService.serviceNameRequired")
230
234
  }, null, 8, ["modelValue", "data", "placeholder"])
231
235
  ]),
232
236
  _: 1
@@ -234,23 +238,23 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
234
238
  ]),
235
239
  _: 1
236
240
  }),
237
- e(u, { span: 12 }, {
238
- default: o(() => [
239
- e(d, {
240
- label: l.$t("siteService.day"),
241
+ l(u, { span: 12 }, {
242
+ default: i(() => [
243
+ l(d, {
244
+ label: e.$t("siteService.day"),
241
245
  prop: "day"
242
246
  }, {
243
- default: o(() => [
244
- e(N, {
247
+ default: i(() => [
248
+ l(w, {
245
249
  modelValue: r(t).minDay,
246
- "onUpdate:modelValue": a[3] || (a[3] = (i) => r(t).minDay = i),
250
+ "onUpdate:modelValue": a[3] || (a[3] = (o) => r(t).minDay = o),
247
251
  size: "small",
248
252
  min: 0
249
253
  }, null, 8, ["modelValue"]),
250
254
  g("~ "),
251
- e(N, {
255
+ l(w, {
252
256
  modelValue: r(t).maxDay,
253
- "onUpdate:modelValue": a[4] || (a[4] = (i) => r(t).maxDay = i),
257
+ "onUpdate:modelValue": a[4] || (a[4] = (o) => r(t).maxDay = o),
254
258
  size: "small",
255
259
  min: 0
256
260
  }, null, 8, ["modelValue"])
@@ -260,19 +264,21 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
260
264
  ]),
261
265
  _: 1
262
266
  }),
263
- e(u, { span: 12 }, {
264
- default: o(() => [
265
- e(d, {
266
- label: l.$t("siteService.limitPerson"),
267
+ l(u, { span: 12 }, {
268
+ default: i(() => [
269
+ l(d, {
270
+ label: e.$t("siteService.limitPerson"),
267
271
  prop: "limitPerson"
268
272
  }, {
269
- default: o(() => [
270
- e(T, {
273
+ default: i(() => [
274
+ l(C, {
271
275
  modelValue: r(t).limitPerson,
272
- "onUpdate:modelValue": a[5] || (a[5] = (i) => r(t).limitPerson = i),
273
- placeholder: l.$t("siteService.limitPersonRequired"),
276
+ "onUpdate:modelValue": a[5] || (a[5] = (o) => r(t).limitPerson = o),
277
+ placeholder: e.$t("siteService.limitPersonRequired"),
274
278
  "show-word-limit": "",
275
- clearable: ""
279
+ clearable: "",
280
+ type: "number",
281
+ min: "0"
276
282
  }, null, 8, ["modelValue", "placeholder"])
277
283
  ]),
278
284
  _: 1
@@ -280,21 +286,21 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
280
286
  ]),
281
287
  _: 1
282
288
  }),
283
- e(u, { span: 12 }, {
284
- default: o(() => [
285
- e(d, {
286
- label: l.$t("siteService.manager"),
289
+ l(u, { span: 12 }, {
290
+ default: i(() => [
291
+ l(d, {
292
+ label: e.$t("siteService.manager"),
287
293
  prop: "manager"
288
294
  }, {
289
- default: o(() => [
290
- e(n, {
295
+ default: i(() => [
296
+ l(n, {
291
297
  modelValue: r(t).manager,
292
- "onUpdate:modelValue": a[6] || (a[6] = (i) => r(t).manager = i),
298
+ "onUpdate:modelValue": a[6] || (a[6] = (o) => r(t).manager = o),
293
299
  data: r(p).managerDict.values,
294
300
  filterable: "",
295
301
  "check-strictly": "",
296
302
  "render-after-expand": !1,
297
- placeholder: l.$t("siteService.managerRequired")
303
+ placeholder: e.$t("siteService.managerRequired")
298
304
  }, null, 8, ["modelValue", "data", "placeholder"])
299
305
  ]),
300
306
  _: 1
@@ -302,19 +308,20 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
302
308
  ]),
303
309
  _: 1
304
310
  }),
305
- e(u, { span: 12 }, {
306
- default: o(() => [
307
- e(d, {
308
- label: l.$t("siteService.status"),
311
+ l(u, { span: 12 }, {
312
+ default: i(() => [
313
+ l(d, {
314
+ label: e.$t("siteService.status"),
309
315
  prop: "status"
310
316
  }, {
311
- default: o(() => [
312
- e(W, {
317
+ default: i(() => [
318
+ l(W, {
313
319
  modelValue: r(t).status,
314
- "onUpdate:modelValue": a[7] || (a[7] = (i) => r(t).status = i),
315
- placeholder: l.$t("siteService.statusRequired"),
320
+ "onUpdate:modelValue": a[7] || (a[7] = (o) => r(t).status = o),
321
+ placeholder: e.$t("siteService.statusRequired"),
316
322
  data: r(p).serviceStatusEnum.values,
317
- clearable: ""
323
+ clearable: "",
324
+ style: { width: "100% !important" }
318
325
  }, null, 8, ["modelValue", "placeholder", "data"])
319
326
  ]),
320
327
  _: 1
@@ -322,21 +329,21 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
322
329
  ]),
323
330
  _: 1
324
331
  }),
325
- e(u, { span: 12 }, {
326
- default: o(() => [
327
- e(d, {
328
- label: l.$t("siteService.note"),
332
+ l(u, { span: 12 }, {
333
+ default: i(() => [
334
+ l(d, {
335
+ label: e.$t("siteService.note"),
329
336
  prop: "note"
330
337
  }, {
331
- default: o(() => [
332
- e(T, {
338
+ default: i(() => [
339
+ l(C, {
333
340
  modelValue: r(t).note,
334
- "onUpdate:modelValue": a[8] || (a[8] = (i) => r(t).note = i),
341
+ "onUpdate:modelValue": a[8] || (a[8] = (o) => r(t).note = o),
335
342
  autosize: "",
336
343
  type: "textarea",
337
344
  maxlength: "100",
338
345
  "show-word-limit": "",
339
- placeholder: l.$t("siteService.noteRequired")
346
+ placeholder: e.$t("siteService.noteRequired")
340
347
  }, null, 8, ["modelValue", "placeholder"])
341
348
  ]),
342
349
  _: 1
@@ -344,35 +351,35 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
344
351
  ]),
345
352
  _: 1
346
353
  }),
347
- e(u, { span: 24 }, {
348
- default: o(() => [
349
- e(d, {
350
- label: l.$t("siteService.time"),
354
+ l(u, { span: 24 }, {
355
+ default: i(() => [
356
+ l(d, {
357
+ label: e.$t("siteService.time"),
351
358
  prop: "time"
352
359
  }, {
353
- default: o(() => [
354
- (f(!0), _(z, null, M(r(t).limitInfo, (i, b) => (f(), _("div", { key: b }, [
355
- e(X, {
356
- modelValue: i.time,
357
- "onUpdate:modelValue": (V) => i.time = V,
360
+ default: i(() => [
361
+ (f(!0), _(z, null, M(r(t).limitInfo, (o, b) => (f(), _("div", { key: b }, [
362
+ l(X, {
363
+ modelValue: o.time,
364
+ "onUpdate:modelValue": (V) => o.time = V,
358
365
  "is-range": "",
359
366
  style: { width: "315px" },
360
367
  "range-separator": "To",
361
- "start-placeholder": l.$t("siteService.startTime"),
362
- "end-placeholder": l.$t("siteService.endTime"),
368
+ "start-placeholder": e.$t("siteService.startTime"),
369
+ "end-placeholder": e.$t("siteService.endTime"),
363
370
  onChange: (V) => A(V, b)
364
371
  }, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "onChange"]),
365
- e(v, {
372
+ l(v, {
366
373
  style: { "margin-left": "30px", "margin-right": "30px" },
367
374
  onClick: (V) => H(b)
368
375
  }, {
369
- default: o(() => [
376
+ default: i(() => [
370
377
  g("删除")
371
378
  ]),
372
379
  _: 2
373
380
  }, 1032, ["onClick"]),
374
- e(v, { onClick: G }, {
375
- default: o(() => [
381
+ l(v, { onClick: G }, {
382
+ default: i(() => [
376
383
  g("添加")
377
384
  ]),
378
385
  _: 1
@@ -397,5 +404,5 @@ const re = { class: "dialog-footer" }, pe = /* @__PURE__ */ le({
397
404
  }
398
405
  });
399
406
  export {
400
- pe as _
407
+ me as _
401
408
  };