xyvcard-itsmsys 0.0.1 → 0.0.2
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-fXXtfBvE.mjs → edit-BKMLirl4.mjs} +1 -1
- package/dist/edit-ccGk5679.mjs +610 -0
- package/dist/{index-CYDoTcm0.mjs → index-BGwm5W6z.mjs} +1 -1
- package/dist/{index-CH_cX9Q6.mjs → index-CSDhKMEP.mjs} +3 -4
- package/dist/index.mjs +41 -41
- package/dist/{info-CQFqsSxq.mjs → info-CSOdbuvm.mjs} +1 -1
- package/dts/src/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/edit-C_5Inal_.mjs +0 -527
- package/dist/index-CkQkOd7U.mjs +0 -83
|
@@ -3,7 +3,7 @@ import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
|
3
3
|
import { ElMessage as B, ElMessageBox as pe } from "element-plus";
|
|
4
4
|
import { useI18n as fe } from "vue-i18n";
|
|
5
5
|
import { useRoute as be } from "vue-router";
|
|
6
|
-
import {
|
|
6
|
+
import { sysOrgApi as E } from "./index.mjs";
|
|
7
7
|
import { useTableHooks as ye } from "jmash-core";
|
|
8
8
|
import { s as j } from "./index-B-FkgFqA.mjs";
|
|
9
9
|
import ve from "./invoiceEdit-D9zxwIoM.mjs";
|
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
import { defineComponent as O, mergeModels as I, ref as M, reactive as T, useModel as j, resolveComponent as h, openBlock as E, createBlock as K, withCtx as t, createElementVNode as D, createVNode as e, createTextVNode as U, toDisplayString as N, unref as r } from "vue";
|
|
2
|
+
import { ElMessage as L } from "element-plus";
|
|
3
|
+
import { useI18n as F } from "vue-i18n";
|
|
4
|
+
import { useUserStore as c, clearEmpty as y, request as f } from "jmash-core";
|
|
5
|
+
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
+
class R {
|
|
7
|
+
getKey(n) {
|
|
8
|
+
return {
|
|
9
|
+
orgId: n.orgId
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
// 查询列表信息厅局单位信息
|
|
13
|
+
findList(n) {
|
|
14
|
+
const d = c().user.tenant;
|
|
15
|
+
return n && (n.hasStatus = n.status != null, n.hasOrgType = n.orgType != null), y(n), f({
|
|
16
|
+
url: "/v1/itsmsys/sys_org/list/" + d,
|
|
17
|
+
method: "get",
|
|
18
|
+
params: n
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
// 查询厅局单位信息
|
|
22
|
+
findById(n) {
|
|
23
|
+
const d = c().user.tenant;
|
|
24
|
+
return y(n), f({
|
|
25
|
+
url: "/v1/itsmsys/sys_org/id/" + d + "/" + n.orgId,
|
|
26
|
+
method: "get"
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
// 创建实体厅局单位信息
|
|
30
|
+
create(n) {
|
|
31
|
+
return n.tenant = c().user.tenant, y(n), f({
|
|
32
|
+
url: "/v1/itsmsys/sys_org",
|
|
33
|
+
method: "post",
|
|
34
|
+
data: n
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
// 修改实体厅局单位信息
|
|
38
|
+
update(n) {
|
|
39
|
+
return n.tenant = c().user.tenant, y(n), f({
|
|
40
|
+
url: "/v1/itsmsys/sys_org",
|
|
41
|
+
method: "patch",
|
|
42
|
+
data: n
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
// 上移下移
|
|
46
|
+
move(n, d) {
|
|
47
|
+
const p = { ...n };
|
|
48
|
+
return p.tenant = c().user.tenant, p.up = d, y(p), f({
|
|
49
|
+
url: "/v1/itsmsys/sys_org/move",
|
|
50
|
+
method: "put",
|
|
51
|
+
data: p
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
// 启用/禁用
|
|
55
|
+
enable(n, d) {
|
|
56
|
+
const p = { ...n };
|
|
57
|
+
return p.tenant = c().user.tenant, p.enable = d, y(p), f({
|
|
58
|
+
url: "/v1/itsmsys/sys_org/enable",
|
|
59
|
+
method: "put",
|
|
60
|
+
data: p
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
// 删除厅局单位信息
|
|
64
|
+
delete(n) {
|
|
65
|
+
return n.tenant = c().user.tenant, y(n), f({
|
|
66
|
+
url: "/v1/itsmsys/sys_org/id",
|
|
67
|
+
method: "delete",
|
|
68
|
+
params: n
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
// 批量删除厅局单位信息
|
|
72
|
+
batchDelete(n) {
|
|
73
|
+
const d = n.map((l) => l.orgId), p = {
|
|
74
|
+
tenant: c().user.tenant,
|
|
75
|
+
orgId: d
|
|
76
|
+
};
|
|
77
|
+
return y(p), f({
|
|
78
|
+
url: "/v1/itsmsys/sys_org/batch",
|
|
79
|
+
method: "put",
|
|
80
|
+
data: p
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
const b = new R(), z = { class: "dialog-footer" }, H = /* @__PURE__ */ O({
|
|
85
|
+
__name: "edit",
|
|
86
|
+
props: /* @__PURE__ */ I({
|
|
87
|
+
entityKey: {
|
|
88
|
+
type: Object,
|
|
89
|
+
default: () => {
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}, {
|
|
93
|
+
modelValue: { type: Boolean },
|
|
94
|
+
modelModifiers: {}
|
|
95
|
+
}),
|
|
96
|
+
emits: /* @__PURE__ */ I(["refresh"], ["update:modelValue"]),
|
|
97
|
+
setup(v, { emit: n }) {
|
|
98
|
+
const { t: d } = F(), p = M();
|
|
99
|
+
let l = T({
|
|
100
|
+
requestId: Math.random() * 10 + "",
|
|
101
|
+
updateMask: ""
|
|
102
|
+
});
|
|
103
|
+
const _ = T({
|
|
104
|
+
orgId: [
|
|
105
|
+
{
|
|
106
|
+
required: !0,
|
|
107
|
+
message: d("sysGov.orgId"),
|
|
108
|
+
trigger: "change"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
orgName: [
|
|
112
|
+
{
|
|
113
|
+
required: !0,
|
|
114
|
+
message: d("sysGov.orgName"),
|
|
115
|
+
trigger: "change"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
shortName: [
|
|
119
|
+
{
|
|
120
|
+
required: !0,
|
|
121
|
+
message: d("sysGov.shortName"),
|
|
122
|
+
trigger: "change"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
orgType: [
|
|
126
|
+
{
|
|
127
|
+
required: !0,
|
|
128
|
+
message: d("sysGov.orgType"),
|
|
129
|
+
trigger: "change"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
address: [
|
|
133
|
+
{
|
|
134
|
+
required: !0,
|
|
135
|
+
message: d("sysGov.address"),
|
|
136
|
+
trigger: "change"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
geoLongitude: [
|
|
140
|
+
{
|
|
141
|
+
required: !0,
|
|
142
|
+
message: d("sysGov.geoLongitude"),
|
|
143
|
+
trigger: "change"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
geoLatitude: [
|
|
147
|
+
{
|
|
148
|
+
required: !0,
|
|
149
|
+
message: d("sysGov.geoLatitude"),
|
|
150
|
+
trigger: "change"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
contactPerson: [
|
|
154
|
+
{
|
|
155
|
+
required: !0,
|
|
156
|
+
message: d("sysGov.contactPerson"),
|
|
157
|
+
trigger: "change"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
contactPersonPosi: [
|
|
161
|
+
{
|
|
162
|
+
required: !0,
|
|
163
|
+
message: d("sysGov.contactPersonPosi"),
|
|
164
|
+
trigger: "change"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
contactPersonMobile: [
|
|
168
|
+
{
|
|
169
|
+
required: !0,
|
|
170
|
+
message: d("sysGov.contactPersonMobile"),
|
|
171
|
+
trigger: "change"
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
contactPersonTel: [
|
|
175
|
+
{
|
|
176
|
+
required: !0,
|
|
177
|
+
message: d("sysGov.contactPersonTel"),
|
|
178
|
+
trigger: "change"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
status: [
|
|
182
|
+
{
|
|
183
|
+
required: !0,
|
|
184
|
+
message: d("sysGov.status"),
|
|
185
|
+
trigger: "change"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
parentId: [
|
|
189
|
+
{
|
|
190
|
+
required: !0,
|
|
191
|
+
message: d("sysGov.parentId"),
|
|
192
|
+
trigger: "change"
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
}), g = j(v, "modelValue"), V = v, G = n, B = Object.keys(V.entityKey), P = M(B.length >= 1);
|
|
196
|
+
P.value && b.findById(V.entityKey).then(({ data: o }) => {
|
|
197
|
+
Object.assign(l, o);
|
|
198
|
+
});
|
|
199
|
+
const k = async () => {
|
|
200
|
+
var o;
|
|
201
|
+
await ((o = p.value) == null ? void 0 : o.validate((a) => {
|
|
202
|
+
a && (P.value ? b.update(l).then((u) => {
|
|
203
|
+
console.log(u), u.status === 200 && (L({
|
|
204
|
+
message: d("common.submitSuccess"),
|
|
205
|
+
type: "success"
|
|
206
|
+
}), g.value && (g.value = !1), G("refresh", u.status === 200));
|
|
207
|
+
}) : b.create(l).then((u) => {
|
|
208
|
+
console.log(u), u.status === 200 && (L({
|
|
209
|
+
message: d("common.submitSuccess"),
|
|
210
|
+
type: "success"
|
|
211
|
+
}), g.value && (g.value = !1), G("refresh", u.status === 200));
|
|
212
|
+
}));
|
|
213
|
+
}));
|
|
214
|
+
};
|
|
215
|
+
function w() {
|
|
216
|
+
g.value && (g.value = !1);
|
|
217
|
+
}
|
|
218
|
+
return (o, a) => {
|
|
219
|
+
const u = h("el-input"), m = h("el-form-item"), i = h("el-col"), S = h("el-row"), q = h("el-form"), $ = h("el-button"), C = h("el-dialog");
|
|
220
|
+
return E(), K(C, {
|
|
221
|
+
modelValue: g.value,
|
|
222
|
+
"onUpdate:modelValue": a[16] || (a[16] = (s) => g.value = s),
|
|
223
|
+
onClose: w
|
|
224
|
+
}, {
|
|
225
|
+
footer: t(() => [
|
|
226
|
+
D("div", z, [
|
|
227
|
+
e($, { onClick: w }, {
|
|
228
|
+
default: t(() => [
|
|
229
|
+
U(N(o.$t("common.cancel")), 1)
|
|
230
|
+
]),
|
|
231
|
+
_: 1
|
|
232
|
+
}),
|
|
233
|
+
e($, {
|
|
234
|
+
type: "primary",
|
|
235
|
+
onClick: k
|
|
236
|
+
}, {
|
|
237
|
+
default: t(() => [
|
|
238
|
+
U(N(o.$t("common.confirm")), 1)
|
|
239
|
+
]),
|
|
240
|
+
_: 1
|
|
241
|
+
})
|
|
242
|
+
])
|
|
243
|
+
]),
|
|
244
|
+
default: t(() => [
|
|
245
|
+
e(q, {
|
|
246
|
+
ref_key: "sysGovFormRef",
|
|
247
|
+
ref: p,
|
|
248
|
+
model: r(l),
|
|
249
|
+
"label-width": "120px",
|
|
250
|
+
rules: _
|
|
251
|
+
}, {
|
|
252
|
+
default: t(() => [
|
|
253
|
+
e(S, null, {
|
|
254
|
+
default: t(() => [
|
|
255
|
+
e(i, { span: 12 }, {
|
|
256
|
+
default: t(() => [
|
|
257
|
+
e(m, {
|
|
258
|
+
label: o.$t("sysGov.orgId"),
|
|
259
|
+
prop: "orgId"
|
|
260
|
+
}, {
|
|
261
|
+
default: t(() => [
|
|
262
|
+
e(u, {
|
|
263
|
+
modelValue: r(l).orgId,
|
|
264
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => r(l).orgId = s),
|
|
265
|
+
placeholder: o.$t("sysGov.orgId"),
|
|
266
|
+
maxlength: "8",
|
|
267
|
+
"show-word-limit": "",
|
|
268
|
+
clearable: ""
|
|
269
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
270
|
+
]),
|
|
271
|
+
_: 1
|
|
272
|
+
}, 8, ["label"])
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
}),
|
|
276
|
+
e(i, { span: 12 }, {
|
|
277
|
+
default: t(() => [
|
|
278
|
+
e(m, {
|
|
279
|
+
label: o.$t("sysGov.orgName"),
|
|
280
|
+
prop: "orgName"
|
|
281
|
+
}, {
|
|
282
|
+
default: t(() => [
|
|
283
|
+
e(u, {
|
|
284
|
+
modelValue: r(l).orgName,
|
|
285
|
+
"onUpdate:modelValue": a[1] || (a[1] = (s) => r(l).orgName = s),
|
|
286
|
+
placeholder: o.$t("sysGov.orgName"),
|
|
287
|
+
maxlength: "50",
|
|
288
|
+
"show-word-limit": "",
|
|
289
|
+
clearable: ""
|
|
290
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
291
|
+
]),
|
|
292
|
+
_: 1
|
|
293
|
+
}, 8, ["label"])
|
|
294
|
+
]),
|
|
295
|
+
_: 1
|
|
296
|
+
}),
|
|
297
|
+
e(i, { span: 12 }, {
|
|
298
|
+
default: t(() => [
|
|
299
|
+
e(m, {
|
|
300
|
+
label: o.$t("sysGov.shortName"),
|
|
301
|
+
prop: "shortName"
|
|
302
|
+
}, {
|
|
303
|
+
default: t(() => [
|
|
304
|
+
e(u, {
|
|
305
|
+
modelValue: r(l).shortName,
|
|
306
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => r(l).shortName = s),
|
|
307
|
+
placeholder: o.$t("sysGov.shortName"),
|
|
308
|
+
maxlength: "30",
|
|
309
|
+
"show-word-limit": "",
|
|
310
|
+
clearable: ""
|
|
311
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
312
|
+
]),
|
|
313
|
+
_: 1
|
|
314
|
+
}, 8, ["label"])
|
|
315
|
+
]),
|
|
316
|
+
_: 1
|
|
317
|
+
}),
|
|
318
|
+
e(i, { span: 12 }, {
|
|
319
|
+
default: t(() => [
|
|
320
|
+
e(m, {
|
|
321
|
+
label: o.$t("sysGov.orgType"),
|
|
322
|
+
prop: "orgType"
|
|
323
|
+
}, {
|
|
324
|
+
default: t(() => [
|
|
325
|
+
e(u, {
|
|
326
|
+
modelValue: r(l).orgType,
|
|
327
|
+
"onUpdate:modelValue": a[3] || (a[3] = (s) => r(l).orgType = s),
|
|
328
|
+
placeholder: o.$t("sysGov.orgType"),
|
|
329
|
+
maxlength: "15",
|
|
330
|
+
"show-word-limit": "",
|
|
331
|
+
clearable: ""
|
|
332
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
333
|
+
]),
|
|
334
|
+
_: 1
|
|
335
|
+
}, 8, ["label"])
|
|
336
|
+
]),
|
|
337
|
+
_: 1
|
|
338
|
+
}),
|
|
339
|
+
e(i, { span: 12 }, {
|
|
340
|
+
default: t(() => [
|
|
341
|
+
e(m, {
|
|
342
|
+
label: o.$t("sysGov.address"),
|
|
343
|
+
prop: "address"
|
|
344
|
+
}, {
|
|
345
|
+
default: t(() => [
|
|
346
|
+
e(u, {
|
|
347
|
+
modelValue: r(l).address,
|
|
348
|
+
"onUpdate:modelValue": a[4] || (a[4] = (s) => r(l).address = s),
|
|
349
|
+
placeholder: o.$t("sysGov.address"),
|
|
350
|
+
maxlength: "127",
|
|
351
|
+
"show-word-limit": "",
|
|
352
|
+
clearable: ""
|
|
353
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
354
|
+
]),
|
|
355
|
+
_: 1
|
|
356
|
+
}, 8, ["label"])
|
|
357
|
+
]),
|
|
358
|
+
_: 1
|
|
359
|
+
}),
|
|
360
|
+
e(i, { span: 12 }, {
|
|
361
|
+
default: t(() => [
|
|
362
|
+
e(m, {
|
|
363
|
+
label: o.$t("sysGov.geoLongitude"),
|
|
364
|
+
prop: "geoLongitude"
|
|
365
|
+
}, {
|
|
366
|
+
default: t(() => [
|
|
367
|
+
e(u, {
|
|
368
|
+
modelValue: r(l).geoLongitude,
|
|
369
|
+
"onUpdate:modelValue": a[5] || (a[5] = (s) => r(l).geoLongitude = s),
|
|
370
|
+
placeholder: o.$t("sysGov.geoLongitude"),
|
|
371
|
+
maxlength: "30",
|
|
372
|
+
"show-word-limit": "",
|
|
373
|
+
clearable: ""
|
|
374
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
375
|
+
]),
|
|
376
|
+
_: 1
|
|
377
|
+
}, 8, ["label"])
|
|
378
|
+
]),
|
|
379
|
+
_: 1
|
|
380
|
+
}),
|
|
381
|
+
e(i, { span: 12 }, {
|
|
382
|
+
default: t(() => [
|
|
383
|
+
e(m, {
|
|
384
|
+
label: o.$t("sysGov.geoLatitude"),
|
|
385
|
+
prop: "geoLatitude"
|
|
386
|
+
}, {
|
|
387
|
+
default: t(() => [
|
|
388
|
+
e(u, {
|
|
389
|
+
modelValue: r(l).geoLatitude,
|
|
390
|
+
"onUpdate:modelValue": a[6] || (a[6] = (s) => r(l).geoLatitude = s),
|
|
391
|
+
placeholder: o.$t("sysGov.geoLatitude"),
|
|
392
|
+
maxlength: "30",
|
|
393
|
+
"show-word-limit": "",
|
|
394
|
+
clearable: ""
|
|
395
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
396
|
+
]),
|
|
397
|
+
_: 1
|
|
398
|
+
}, 8, ["label"])
|
|
399
|
+
]),
|
|
400
|
+
_: 1
|
|
401
|
+
}),
|
|
402
|
+
e(i, { span: 12 }, {
|
|
403
|
+
default: t(() => [
|
|
404
|
+
e(m, {
|
|
405
|
+
label: o.$t("sysGov.contactPerson"),
|
|
406
|
+
prop: "contactPerson"
|
|
407
|
+
}, {
|
|
408
|
+
default: t(() => [
|
|
409
|
+
e(u, {
|
|
410
|
+
modelValue: r(l).contactPerson,
|
|
411
|
+
"onUpdate:modelValue": a[7] || (a[7] = (s) => r(l).contactPerson = s),
|
|
412
|
+
placeholder: o.$t("sysGov.contactPerson"),
|
|
413
|
+
maxlength: "30",
|
|
414
|
+
"show-word-limit": "",
|
|
415
|
+
clearable: ""
|
|
416
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
417
|
+
]),
|
|
418
|
+
_: 1
|
|
419
|
+
}, 8, ["label"])
|
|
420
|
+
]),
|
|
421
|
+
_: 1
|
|
422
|
+
}),
|
|
423
|
+
e(i, { span: 12 }, {
|
|
424
|
+
default: t(() => [
|
|
425
|
+
e(m, {
|
|
426
|
+
label: o.$t("sysGov.contactPersonPosi"),
|
|
427
|
+
prop: "contactPersonPosi"
|
|
428
|
+
}, {
|
|
429
|
+
default: t(() => [
|
|
430
|
+
e(u, {
|
|
431
|
+
modelValue: r(l).contactPersonPosi,
|
|
432
|
+
"onUpdate:modelValue": a[8] || (a[8] = (s) => r(l).contactPersonPosi = s),
|
|
433
|
+
placeholder: o.$t("sysGov.contactPersonPosi"),
|
|
434
|
+
maxlength: "50",
|
|
435
|
+
"show-word-limit": "",
|
|
436
|
+
clearable: ""
|
|
437
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
438
|
+
]),
|
|
439
|
+
_: 1
|
|
440
|
+
}, 8, ["label"])
|
|
441
|
+
]),
|
|
442
|
+
_: 1
|
|
443
|
+
}),
|
|
444
|
+
e(i, { span: 12 }, {
|
|
445
|
+
default: t(() => [
|
|
446
|
+
e(m, {
|
|
447
|
+
label: o.$t("sysGov.contactPersonMobile"),
|
|
448
|
+
prop: "contactPersonMobile"
|
|
449
|
+
}, {
|
|
450
|
+
default: t(() => [
|
|
451
|
+
e(u, {
|
|
452
|
+
modelValue: r(l).contactPersonMobile,
|
|
453
|
+
"onUpdate:modelValue": a[9] || (a[9] = (s) => r(l).contactPersonMobile = s),
|
|
454
|
+
placeholder: o.$t("sysGov.contactPersonMobile"),
|
|
455
|
+
maxlength: "127",
|
|
456
|
+
"show-word-limit": "",
|
|
457
|
+
clearable: ""
|
|
458
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
459
|
+
]),
|
|
460
|
+
_: 1
|
|
461
|
+
}, 8, ["label"])
|
|
462
|
+
]),
|
|
463
|
+
_: 1
|
|
464
|
+
}),
|
|
465
|
+
e(i, { span: 12 }, {
|
|
466
|
+
default: t(() => [
|
|
467
|
+
e(m, {
|
|
468
|
+
label: o.$t("sysGov.contactPersonMobileIns"),
|
|
469
|
+
prop: "contactPersonMobileIns"
|
|
470
|
+
}, {
|
|
471
|
+
default: t(() => [
|
|
472
|
+
e(u, {
|
|
473
|
+
modelValue: r(l).contactPersonMobileIns,
|
|
474
|
+
"onUpdate:modelValue": a[10] || (a[10] = (s) => r(l).contactPersonMobileIns = s),
|
|
475
|
+
placeholder: o.$t("sysGov.contactPersonMobileIns"),
|
|
476
|
+
maxlength: "15",
|
|
477
|
+
"show-word-limit": "",
|
|
478
|
+
clearable: ""
|
|
479
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
480
|
+
]),
|
|
481
|
+
_: 1
|
|
482
|
+
}, 8, ["label"])
|
|
483
|
+
]),
|
|
484
|
+
_: 1
|
|
485
|
+
}),
|
|
486
|
+
e(i, { span: 12 }, {
|
|
487
|
+
default: t(() => [
|
|
488
|
+
e(m, {
|
|
489
|
+
label: o.$t("sysGov.contactPersonTel"),
|
|
490
|
+
prop: "contactPersonTel"
|
|
491
|
+
}, {
|
|
492
|
+
default: t(() => [
|
|
493
|
+
e(u, {
|
|
494
|
+
modelValue: r(l).contactPersonTel,
|
|
495
|
+
"onUpdate:modelValue": a[11] || (a[11] = (s) => r(l).contactPersonTel = s),
|
|
496
|
+
placeholder: o.$t("sysGov.contactPersonTel"),
|
|
497
|
+
maxlength: "15",
|
|
498
|
+
"show-word-limit": "",
|
|
499
|
+
clearable: ""
|
|
500
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
501
|
+
]),
|
|
502
|
+
_: 1
|
|
503
|
+
}, 8, ["label"])
|
|
504
|
+
]),
|
|
505
|
+
_: 1
|
|
506
|
+
}),
|
|
507
|
+
e(i, { span: 12 }, {
|
|
508
|
+
default: t(() => [
|
|
509
|
+
e(m, {
|
|
510
|
+
label: o.$t("sysGov.status"),
|
|
511
|
+
prop: "status"
|
|
512
|
+
}, {
|
|
513
|
+
default: t(() => [
|
|
514
|
+
e(u, {
|
|
515
|
+
modelValue: r(l).status,
|
|
516
|
+
"onUpdate:modelValue": a[12] || (a[12] = (s) => r(l).status = s),
|
|
517
|
+
placeholder: o.$t("sysGov.status"),
|
|
518
|
+
maxlength: "1",
|
|
519
|
+
"show-word-limit": "",
|
|
520
|
+
clearable: ""
|
|
521
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
522
|
+
]),
|
|
523
|
+
_: 1
|
|
524
|
+
}, 8, ["label"])
|
|
525
|
+
]),
|
|
526
|
+
_: 1
|
|
527
|
+
}),
|
|
528
|
+
e(i, { span: 12 }, {
|
|
529
|
+
default: t(() => [
|
|
530
|
+
e(m, {
|
|
531
|
+
label: o.$t("sysGov.parentId"),
|
|
532
|
+
prop: "parentId"
|
|
533
|
+
}, {
|
|
534
|
+
default: t(() => [
|
|
535
|
+
e(u, {
|
|
536
|
+
modelValue: r(l).parentId,
|
|
537
|
+
"onUpdate:modelValue": a[13] || (a[13] = (s) => r(l).parentId = s),
|
|
538
|
+
placeholder: o.$t("sysGov.parentId"),
|
|
539
|
+
maxlength: "8",
|
|
540
|
+
"show-word-limit": "",
|
|
541
|
+
clearable: ""
|
|
542
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
543
|
+
]),
|
|
544
|
+
_: 1
|
|
545
|
+
}, 8, ["label"])
|
|
546
|
+
]),
|
|
547
|
+
_: 1
|
|
548
|
+
}),
|
|
549
|
+
e(i, { span: 12 }, {
|
|
550
|
+
default: t(() => [
|
|
551
|
+
e(m, {
|
|
552
|
+
label: o.$t("sysGov.depth"),
|
|
553
|
+
prop: "depth"
|
|
554
|
+
}, {
|
|
555
|
+
default: t(() => [
|
|
556
|
+
e(u, {
|
|
557
|
+
modelValue: r(l).depth,
|
|
558
|
+
"onUpdate:modelValue": a[14] || (a[14] = (s) => r(l).depth = s),
|
|
559
|
+
placeholder: o.$t("sysGov.depth"),
|
|
560
|
+
maxlength: "5",
|
|
561
|
+
"show-word-limit": "",
|
|
562
|
+
clearable: ""
|
|
563
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
564
|
+
]),
|
|
565
|
+
_: 1
|
|
566
|
+
}, 8, ["label"])
|
|
567
|
+
]),
|
|
568
|
+
_: 1
|
|
569
|
+
}),
|
|
570
|
+
e(i, { span: 12 }, {
|
|
571
|
+
default: t(() => [
|
|
572
|
+
e(m, {
|
|
573
|
+
label: o.$t("sysGov.orderBy"),
|
|
574
|
+
prop: "orderBy"
|
|
575
|
+
}, {
|
|
576
|
+
default: t(() => [
|
|
577
|
+
e(u, {
|
|
578
|
+
modelValue: r(l).orderBy,
|
|
579
|
+
"onUpdate:modelValue": a[15] || (a[15] = (s) => r(l).orderBy = s),
|
|
580
|
+
placeholder: o.$t("sysGov.orderBy"),
|
|
581
|
+
maxlength: "5",
|
|
582
|
+
"show-word-limit": "",
|
|
583
|
+
clearable: ""
|
|
584
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
585
|
+
]),
|
|
586
|
+
_: 1
|
|
587
|
+
}, 8, ["label"])
|
|
588
|
+
]),
|
|
589
|
+
_: 1
|
|
590
|
+
})
|
|
591
|
+
]),
|
|
592
|
+
_: 1
|
|
593
|
+
})
|
|
594
|
+
]),
|
|
595
|
+
_: 1
|
|
596
|
+
}, 8, ["model", "rules"])
|
|
597
|
+
]),
|
|
598
|
+
_: 1
|
|
599
|
+
}, 8, ["modelValue"]);
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
}), J = /* @__PURE__ */ A(H, [["__scopeId", "data-v-a7fd2233"]]), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
603
|
+
__proto__: null,
|
|
604
|
+
default: J
|
|
605
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
606
|
+
export {
|
|
607
|
+
J as a,
|
|
608
|
+
x as e,
|
|
609
|
+
b as s
|
|
610
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as W, ref as O, resolveComponent as i, resolveDirective as X, openBlock as u, createElementBlock as p, createElementVNode as R, createVNode as n, withCtx as l, withKeys as C, unref as s, createTextVNode as c, toDisplayString as d, withDirectives as y, createBlock as k, isRef as M, createCommentVNode as I, vShow as T } from "vue";
|
|
2
2
|
import { useTableHooks as Y } from "jmash-core";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
|
-
import {
|
|
4
|
+
import { sysOrgApi as x } from "./index.mjs";
|
|
5
5
|
import { useRouter as ee } from "vue-router";
|
|
6
6
|
const te = { class: "app-container" }, oe = { class: "search-container" }, ne = { key: 0 }, le = { key: 1 }, se = {
|
|
7
7
|
key: 2,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { defineComponent as J, ref as w, reactive as R, resolveComponent as r, resolveDirective as O, openBlock as p, createElementBlock as V, createElementVNode as T, createVNode as o, withCtx as l, withKeys as $, unref as a, createTextVNode as c, toDisplayString as v, withDirectives as C, createBlock as G, isRef as W, createCommentVNode as X } from "vue";
|
|
2
2
|
import { useTableHooks as Y } from "jmash-core";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const oe = { class: "app-container" }, te = { class: "search-container" }, le = ["onClick"], ne = ["onClick"], me = /* @__PURE__ */ J({
|
|
4
|
+
import { s as x, a as ee } from "./edit-ccGk5679.mjs";
|
|
5
|
+
const oe = { class: "app-container" }, te = { class: "search-container" }, le = ["onClick"], ne = ["onClick"], ue = /* @__PURE__ */ J({
|
|
7
6
|
__name: "index",
|
|
8
7
|
setup(ae) {
|
|
9
8
|
const { t: f } = Z(), d = w({}), { tableHooks: s, multipleTableRef: B, queryFormRef: U, listLoading: q, tableData: D } = Y(f, x, d);
|
|
@@ -329,5 +328,5 @@ const oe = { class: "app-container" }, te = { class: "search-container" }, le =
|
|
|
329
328
|
}
|
|
330
329
|
});
|
|
331
330
|
export {
|
|
332
|
-
|
|
331
|
+
ue as default
|
|
333
332
|
};
|