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,242 +0,0 @@
1
- import { _ as S } from "./index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs";
2
- import { defineComponent as F, mergeModels as V, ref as y, reactive as A, useModel as K, resolveComponent as p, openBlock as O, createBlock as D, withCtx as l, createElementVNode as E, createVNode as e, createTextVNode as I, toDisplayString as w, unref as m } from "vue";
3
- import { ElMessage as $ } from "element-plus";
4
- import { useI18n as R } from "vue-i18n";
5
- import { s as c } from "./index-Bh2imlN_.mjs";
6
- import "./edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs";
7
- import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
- const G = { class: "dialog-footer" }, H = /* @__PURE__ */ F({
9
- __name: "edit",
10
- props: /* @__PURE__ */ V({
11
- entityKey: {
12
- type: Object,
13
- default: () => {
14
- }
15
- }
16
- }, {
17
- modelValue: { type: Boolean },
18
- modelModifiers: {}
19
- }),
20
- emits: /* @__PURE__ */ V(["refresh"], ["update:modelValue"]),
21
- setup(f, { emit: N }) {
22
- const { t: u } = R(), b = y();
23
- let o = A({
24
- requestId: Math.random() * 10 + "",
25
- updateMask: ""
26
- });
27
- const k = A({
28
- recordId: [
29
- {
30
- required: !0,
31
- message: u("serviceApptMember.recordId"),
32
- trigger: "change"
33
- }
34
- ],
35
- memberId: [
36
- {
37
- required: !0,
38
- message: u("serviceApptMember.memberId"),
39
- trigger: "change"
40
- }
41
- ],
42
- realName: [
43
- {
44
- required: !0,
45
- message: u("serviceApptMember.realName"),
46
- trigger: "change"
47
- }
48
- ],
49
- status: [
50
- {
51
- required: !0,
52
- message: u("serviceApptMember.status"),
53
- trigger: "change"
54
- }
55
- ],
56
- statusTime: [
57
- {
58
- required: !0,
59
- message: u("serviceApptMember.statusTime"),
60
- trigger: "change"
61
- }
62
- ]
63
- }), d = K(f, "modelValue"), g = f, v = N, T = Object.keys(g.entityKey), _ = y(T.length >= 1);
64
- _.value && c.findById(g.entityKey).then(({ data: t }) => {
65
- Object.assign(o, t);
66
- });
67
- const U = async () => {
68
- var t;
69
- await ((t = b.value) == null ? void 0 : t.validate((a) => {
70
- a && (_.value ? c.update(o).then((r) => {
71
- console.log(r), r.status === 200 && ($({
72
- message: u("common.submitSuccess"),
73
- type: "success"
74
- }), d.value && (d.value = !1), v("refresh", r.status === 200));
75
- }) : c.create(o).then((r) => {
76
- console.log(r), r.status === 200 && ($({
77
- message: u("common.submitSuccess"),
78
- type: "success"
79
- }), d.value && (d.value = !1), v("refresh", r.status === 200));
80
- }));
81
- }));
82
- };
83
- function h() {
84
- d.value && (d.value = !1);
85
- }
86
- return (t, a) => {
87
- const r = p("el-input"), n = p("el-form-item"), i = p("el-col"), q = S, C = p("el-row"), j = p("el-form"), M = p("el-button"), B = p("el-dialog");
88
- return O(), D(B, {
89
- modelValue: d.value,
90
- "onUpdate:modelValue": a[5] || (a[5] = (s) => d.value = s),
91
- onClose: h
92
- }, {
93
- footer: l(() => [
94
- E("div", G, [
95
- e(M, { onClick: h }, {
96
- default: l(() => [
97
- I(w(t.$t("common.cancel")), 1)
98
- ]),
99
- _: 1
100
- }),
101
- e(M, {
102
- type: "primary",
103
- onClick: U
104
- }, {
105
- default: l(() => [
106
- I(w(t.$t("common.confirm")), 1)
107
- ]),
108
- _: 1
109
- })
110
- ])
111
- ]),
112
- default: l(() => [
113
- e(j, {
114
- ref_key: "serviceApptMemberFormRef",
115
- ref: b,
116
- model: m(o),
117
- "label-width": "120px",
118
- rules: k
119
- }, {
120
- default: l(() => [
121
- e(C, null, {
122
- default: l(() => [
123
- e(i, { span: 12 }, {
124
- default: l(() => [
125
- e(n, {
126
- label: t.$t("serviceApptMember.recordId"),
127
- prop: "recordId"
128
- }, {
129
- default: l(() => [
130
- e(r, {
131
- modelValue: m(o).recordId,
132
- "onUpdate:modelValue": a[0] || (a[0] = (s) => m(o).recordId = s),
133
- placeholder: t.$t("serviceApptMember.recordId"),
134
- maxlength: "8",
135
- "show-word-limit": "",
136
- clearable: ""
137
- }, null, 8, ["modelValue", "placeholder"])
138
- ]),
139
- _: 1
140
- }, 8, ["label"])
141
- ]),
142
- _: 1
143
- }),
144
- e(i, { span: 12 }, {
145
- default: l(() => [
146
- e(n, {
147
- label: t.$t("serviceApptMember.memberId"),
148
- prop: "memberId"
149
- }, {
150
- default: l(() => [
151
- e(r, {
152
- modelValue: m(o).memberId,
153
- "onUpdate:modelValue": a[1] || (a[1] = (s) => m(o).memberId = s),
154
- placeholder: t.$t("serviceApptMember.memberId"),
155
- maxlength: "8",
156
- "show-word-limit": "",
157
- clearable: ""
158
- }, null, 8, ["modelValue", "placeholder"])
159
- ]),
160
- _: 1
161
- }, 8, ["label"])
162
- ]),
163
- _: 1
164
- }),
165
- e(i, { span: 12 }, {
166
- default: l(() => [
167
- e(n, {
168
- label: t.$t("serviceApptMember.realName"),
169
- prop: "realName"
170
- }, {
171
- default: l(() => [
172
- e(r, {
173
- modelValue: m(o).realName,
174
- "onUpdate:modelValue": a[2] || (a[2] = (s) => m(o).realName = s),
175
- placeholder: t.$t("serviceApptMember.realName"),
176
- maxlength: "15",
177
- "show-word-limit": "",
178
- clearable: ""
179
- }, null, 8, ["modelValue", "placeholder"])
180
- ]),
181
- _: 1
182
- }, 8, ["label"])
183
- ]),
184
- _: 1
185
- }),
186
- e(i, { span: 12 }, {
187
- default: l(() => [
188
- e(n, {
189
- label: t.$t("serviceApptMember.status"),
190
- prop: "status"
191
- }, {
192
- default: l(() => [
193
- e(q, {
194
- modelValue: m(o).status,
195
- "onUpdate:modelValue": a[3] || (a[3] = (s) => m(o).status = s),
196
- placeholder: t.$t("serviceApptMember.status"),
197
- "enum-type": "jmash.rbac.protobuf.UserStatus",
198
- clearable: "",
199
- style: { width: "203px" }
200
- }, null, 8, ["modelValue", "placeholder"])
201
- ]),
202
- _: 1
203
- }, 8, ["label"])
204
- ]),
205
- _: 1
206
- }),
207
- e(i, { span: 12 }, {
208
- default: l(() => [
209
- e(n, {
210
- label: t.$t("serviceApptMember.statusTime"),
211
- prop: "statusTime"
212
- }, {
213
- default: l(() => [
214
- e(r, {
215
- modelValue: m(o).statusTime,
216
- "onUpdate:modelValue": a[4] || (a[4] = (s) => m(o).statusTime = s),
217
- placeholder: t.$t("serviceApptMember.statusTime"),
218
- maxlength: "9",
219
- "show-word-limit": "",
220
- clearable: ""
221
- }, null, 8, ["modelValue", "placeholder"])
222
- ]),
223
- _: 1
224
- }, 8, ["label"])
225
- ]),
226
- _: 1
227
- })
228
- ]),
229
- _: 1
230
- })
231
- ]),
232
- _: 1
233
- }, 8, ["model", "rules"])
234
- ]),
235
- _: 1
236
- }, 8, ["modelValue"]);
237
- };
238
- }
239
- }), Z = /* @__PURE__ */ z(H, [["__scopeId", "data-v-198fdb2f"]]);
240
- export {
241
- Z as default
242
- };
@@ -1,322 +0,0 @@
1
- import { defineComponent as F, mergeModels as D, ref as k, reactive as I, useModel as K, resolveComponent as r, openBlock as N, createBlock as S, withCtx as l, createElementVNode as c, createVNode as e, createTextVNode as q, toDisplayString as M, unref as s } from "vue";
2
- import { s as g, D as E } from "./index-DLxpE9s5.mjs";
3
- import { ElMessage as P } from "element-plus";
4
- import { useI18n as A } from "vue-i18n";
5
- const L = /* @__PURE__ */ c("div", { class: "title-content" }, "场地信息", -1), T = /* @__PURE__ */ c("span", null, "注:新增的场地默认启用,且自动生成场地码", -1), G = /* @__PURE__ */ c("div", { class: "title-content" }, "管理员信息", -1), H = /* @__PURE__ */ c("span", null, "注:此手机号作为盘点人员账号登录", -1), J = { class: "dialog-footer" }, x = /* @__PURE__ */ F({
6
- __name: "edit",
7
- props: /* @__PURE__ */ D({
8
- entityKey: {
9
- type: Object,
10
- default: () => {
11
- }
12
- }
13
- }, {
14
- modelValue: { type: Boolean },
15
- modelModifiers: {}
16
- }),
17
- emits: /* @__PURE__ */ D(["refresh"], ["update:modelValue"]),
18
- setup(b, { emit: U }) {
19
- const { t: p } = A(), _ = k();
20
- let a = I({
21
- requestId: Math.random() * 10 + "",
22
- updateMask: "orgId,name,buildDate,area,address,manager,mobilePhone"
23
- });
24
- const Y = I({
25
- area: [
26
- {
27
- required: !0,
28
- message: p("site.area"),
29
- trigger: "change"
30
- }
31
- ],
32
- status: [
33
- {
34
- required: !0,
35
- message: p("site.status"),
36
- trigger: "change"
37
- }
38
- ],
39
- manager: [
40
- {
41
- required: !0,
42
- message: p("site.manager"),
43
- trigger: "change"
44
- }
45
- ],
46
- mobilePhone: [
47
- {
48
- required: !0,
49
- message: p("site.mobilePhone"),
50
- trigger: "change"
51
- }
52
- ],
53
- mobilePhoneIns: [
54
- {
55
- required: !0,
56
- message: p("site.mobilePhoneIns"),
57
- trigger: "change"
58
- }
59
- ]
60
- }), u = K(b, "modelValue"), h = b, V = U, C = Object.keys(h.entityKey), y = k(C.length >= 1);
61
- y.value && g.findById(h.entityKey).then(({ data: t }) => {
62
- Object.assign(a, t);
63
- });
64
- const R = async () => {
65
- var t;
66
- await ((t = _.value) == null ? void 0 : t.validate((o) => {
67
- o && (y.value ? g.update(a).then((i) => {
68
- console.log(i), i.status === 200 && (P({
69
- message: p("common.submitSuccess"),
70
- type: "success"
71
- }), u.value && (u.value = !1), V("refresh", i.status === 200));
72
- }) : g.create(a).then((i) => {
73
- console.log(i), i.status === 200 && (P({
74
- message: p("common.submitSuccess"),
75
- type: "success"
76
- }), u.value && (u.value = !1), V("refresh", i.status === 200));
77
- }));
78
- }));
79
- };
80
- function v() {
81
- u.value && (u.value = !1);
82
- }
83
- return (t, o) => {
84
- const i = r("el-tree-select"), m = r("el-form-item"), n = r("el-col"), f = r("el-input"), B = r("el-date-picker"), z = r("el-switch"), w = r("el-row"), O = r("el-form"), $ = r("el-button"), j = r("el-dialog");
85
- return N(), S(j, {
86
- modelValue: u.value,
87
- "onUpdate:modelValue": o[8] || (o[8] = (d) => u.value = d),
88
- onClose: v
89
- }, {
90
- footer: l(() => [
91
- c("div", J, [
92
- e($, { onClick: v }, {
93
- default: l(() => [
94
- q(M(t.$t("common.cancel")), 1)
95
- ]),
96
- _: 1
97
- }),
98
- e($, {
99
- type: "primary",
100
- onClick: R
101
- }, {
102
- default: l(() => [
103
- q(M(t.$t("common.confirm")), 1)
104
- ]),
105
- _: 1
106
- })
107
- ])
108
- ]),
109
- default: l(() => [
110
- L,
111
- e(O, {
112
- ref_key: "siteFormRef",
113
- ref: _,
114
- model: s(a),
115
- "label-width": "120px",
116
- rules: Y
117
- }, {
118
- default: l(() => [
119
- e(w, null, {
120
- default: l(() => [
121
- e(n, { span: 12 }, {
122
- default: l(() => [
123
- e(m, {
124
- label: t.$t("site.orgId"),
125
- prop: "orgId"
126
- }, {
127
- default: l(() => [
128
- e(i, {
129
- modelValue: s(a).orgId,
130
- "onUpdate:modelValue": o[0] || (o[0] = (d) => s(a).orgId = d),
131
- data: s(E).unionOrgBizLayDict.values,
132
- filterable: "",
133
- "check-strictly": "",
134
- "render-after-expand": !1,
135
- placeholder: t.$t("site.orgIdRequired"),
136
- style: { width: "330px" }
137
- }, null, 8, ["modelValue", "data", "placeholder"])
138
- ]),
139
- _: 1
140
- }, 8, ["label"])
141
- ]),
142
- _: 1
143
- }),
144
- e(n, { span: 12 }, {
145
- default: l(() => [
146
- e(m, {
147
- label: t.$t("site.name"),
148
- prop: "name"
149
- }, {
150
- default: l(() => [
151
- e(f, {
152
- modelValue: s(a).name,
153
- "onUpdate:modelValue": o[1] || (o[1] = (d) => s(a).name = d),
154
- placeholder: t.$t("site.nameRequired"),
155
- "show-word-limit": "",
156
- clearable: ""
157
- }, null, 8, ["modelValue", "placeholder"])
158
- ]),
159
- _: 1
160
- }, 8, ["label"])
161
- ]),
162
- _: 1
163
- }),
164
- e(n, { span: 12 }, {
165
- default: l(() => [
166
- e(m, {
167
- label: t.$t("site.buildDate"),
168
- prop: "buildDate"
169
- }, {
170
- default: l(() => [
171
- e(B, {
172
- modelValue: s(a).buildDate,
173
- "onUpdate:modelValue": o[2] || (o[2] = (d) => s(a).buildDate = d),
174
- type: "date",
175
- placeholder: t.$t("site.buildDate"),
176
- "value-format": "YYYY-MM-DD",
177
- format: "YYYY-MM-DD",
178
- style: { width: "100%" }
179
- }, null, 8, ["modelValue", "placeholder"])
180
- ]),
181
- _: 1
182
- }, 8, ["label"])
183
- ]),
184
- _: 1
185
- }),
186
- e(n, { span: 12 }, {
187
- default: l(() => [
188
- e(m, {
189
- label: t.$t("site.area"),
190
- prop: "area"
191
- }, {
192
- default: l(() => [
193
- e(f, {
194
- modelValue: s(a).area,
195
- "onUpdate:modelValue": o[3] || (o[3] = (d) => s(a).area = d),
196
- placeholder: t.$t("site.area"),
197
- "show-word-limit": "",
198
- clearable: ""
199
- }, null, 8, ["modelValue", "placeholder"])
200
- ]),
201
- _: 1
202
- }, 8, ["label"])
203
- ]),
204
- _: 1
205
- }),
206
- e(n, { span: 12 }, {
207
- default: l(() => [
208
- e(m, {
209
- label: t.$t("site.address"),
210
- prop: "address"
211
- }, {
212
- default: l(() => [
213
- e(f, {
214
- modelValue: s(a).address,
215
- "onUpdate:modelValue": o[4] || (o[4] = (d) => s(a).address = d),
216
- placeholder: t.$t("site.addressRequired"),
217
- "show-word-limit": "",
218
- clearable: ""
219
- }, null, 8, ["modelValue", "placeholder"])
220
- ]),
221
- _: 1
222
- }, 8, ["label"])
223
- ]),
224
- _: 1
225
- }),
226
- e(n, { span: 12 }, {
227
- default: l(() => [
228
- e(m, {
229
- label: t.$t("site.status"),
230
- prop: "status"
231
- }, {
232
- default: l(() => [
233
- e(z, {
234
- modelValue: s(a).status,
235
- "onUpdate:modelValue": o[5] || (o[5] = (d) => s(a).status = d),
236
- size: "large"
237
- }, null, 8, ["modelValue"])
238
- ]),
239
- _: 1
240
- }, 8, ["label"])
241
- ]),
242
- _: 1
243
- }),
244
- e(n, {
245
- span: 12,
246
- style: { color: "red", "font-size": "13px", "margin-left": "45px" }
247
- }, {
248
- default: l(() => [
249
- T
250
- ]),
251
- _: 1
252
- })
253
- ]),
254
- _: 1
255
- }),
256
- G,
257
- e(w, null, {
258
- default: l(() => [
259
- e(n, { span: 12 }, {
260
- default: l(() => [
261
- e(m, {
262
- label: t.$t("site.manager"),
263
- prop: "manager"
264
- }, {
265
- default: l(() => [
266
- e(f, {
267
- modelValue: s(a).manager,
268
- "onUpdate:modelValue": o[6] || (o[6] = (d) => s(a).manager = d),
269
- placeholder: t.$t("site.managerRequired"),
270
- "show-word-limit": "",
271
- clearable: ""
272
- }, null, 8, ["modelValue", "placeholder"])
273
- ]),
274
- _: 1
275
- }, 8, ["label"])
276
- ]),
277
- _: 1
278
- }),
279
- e(n, { span: 12 }, {
280
- default: l(() => [
281
- e(m, {
282
- label: t.$t("site.mobilePhone"),
283
- prop: "mobilePhone"
284
- }, {
285
- default: l(() => [
286
- e(f, {
287
- modelValue: s(a).mobilePhone,
288
- "onUpdate:modelValue": o[7] || (o[7] = (d) => s(a).mobilePhone = d),
289
- placeholder: t.$t("site.mobilePhone"),
290
- "show-word-limit": "",
291
- clearable: ""
292
- }, null, 8, ["modelValue", "placeholder"])
293
- ]),
294
- _: 1
295
- }, 8, ["label"])
296
- ]),
297
- _: 1
298
- }),
299
- e(n, {
300
- span: 12,
301
- style: { color: "red", "font-size": "13px", "margin-left": "45px" }
302
- }, {
303
- default: l(() => [
304
- H
305
- ]),
306
- _: 1
307
- })
308
- ]),
309
- _: 1
310
- })
311
- ]),
312
- _: 1
313
- }, 8, ["model", "rules"])
314
- ]),
315
- _: 1
316
- }, 8, ["modelValue"]);
317
- };
318
- }
319
- });
320
- export {
321
- x as _
322
- };