xyvcard-itsmsys 0.0.5 → 0.0.6
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-DLAiwJjs.mjs → edit-BNe0hNw4.mjs} +4 -3
- package/dist/{edit-DPM0jGQT.mjs → edit-BqPZHwxi.mjs} +1 -1
- package/dist/{edit-CIm8Y0Be.mjs → edit-CwV1OVfe.mjs} +1 -1
- package/dist/{edit-BhRXuYku.mjs → edit-CyM6IuLb.mjs} +30 -29
- package/dist/{edit-DZJU5ZPt.mjs → edit-DG_Iw1-J.mjs} +1 -1
- package/dist/{edit-D82hX9if.mjs → edit-DdUUCXSa.mjs} +1 -1
- package/dist/{edit-CWVYUzgf.mjs → edit-RSO388mB.mjs} +10 -9
- package/dist/{edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs → edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs} +13 -12
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs → edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs} +36 -35
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs → edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs → edit.vue_vue_type_script_setup_true_lang-DsN204D0.mjs} +21 -20
- package/dist/index-B6vJj_z6.mjs +74 -0
- package/dist/{index-CogdeN09.mjs → index-CI8Z4rNf.mjs} +101 -122
- package/dist/{index-B_cot8iN.mjs → index-CMBtB1kH.mjs} +126 -133
- package/dist/{index-BkHGzL0R.mjs → index-CNGaGeE7.mjs} +130 -137
- package/dist/{index-ChTssr8-.mjs → index-CQ5Bo5a2.mjs} +30 -18
- package/dist/{index-C6KvLUoL.mjs → index-DirPUdCN.mjs} +1 -1
- package/dist/{index-ClU157bA.mjs → index-DxILUznW.mjs} +113 -127
- package/dist/index-NugT80P7.mjs +364 -0
- package/dist/{index-CEUyLrKg.mjs → index-w2SWNZRB.mjs} +101 -108
- package/dist/index.mjs +16 -16
- package/dist/index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs +191 -0
- package/dist/{info-Z5LuCRmr.mjs → info-BFZTqoY3.mjs} +2 -2
- package/dist/{info-BWgVN2mJ.mjs → info-C0OHjgoS.mjs} +1 -1
- package/dist/{info-MYJGcyMX.mjs → info-CXx2899k.mjs} +1 -1
- package/dist/{info-Kf11Ye-N.mjs → info-DReeRuaA.mjs} +2 -2
- package/dist/{info-70H0sycC.mjs → info-Dilg-bji.mjs} +2 -2
- package/dist/{info-CE-ZnFj5.mjs → info-DvYUiSRY.mjs} +1 -1
- package/dts/src/api/itsm-sys-org/types.d.ts +0 -3
- package/dts/src/api/itsm-sys-org-invoice/index.d.ts +1 -0
- package/dts/src/api/itsm-sys-org-invoice/types.d.ts +5 -1
- package/dts/src/constant.d.ts +9 -1
- package/package.json +1 -1
- package/dist/index-BQRtMgmZ.mjs +0 -340
- package/dist/index-DOXuGEyW.mjs +0 -62
- package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +0 -180
|
@@ -3,8 +3,8 @@ import { ElMessage as I } from "element-plus";
|
|
|
3
3
|
import { useI18n as X } from "vue-i18n";
|
|
4
4
|
import { sysUserExtApi as w } from "./index.mjs";
|
|
5
5
|
import { g as Q } from "./common-B2PCBCJ2.mjs";
|
|
6
|
-
import { D as
|
|
7
|
-
const
|
|
6
|
+
import { D as y, C as W } from "./index-CQ5Bo5a2.mjs";
|
|
7
|
+
const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ M({
|
|
10
10
|
entityKey: {
|
|
@@ -17,16 +17,17 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
17
17
|
modelModifiers: {}
|
|
18
18
|
}),
|
|
19
19
|
emits: /* @__PURE__ */ M(["refresh"], ["update:modelValue"]),
|
|
20
|
-
setup(q, { emit:
|
|
21
|
-
const { t: n } = X(), R = V(), m = G(q, "modelValue"), $ =
|
|
22
|
-
|
|
20
|
+
setup(q, { emit: T }) {
|
|
21
|
+
const { t: n } = X(), R = V(), m = G(q, "modelValue"), $ = T, f = V(!1);
|
|
22
|
+
y.sysOrgBizDict.useValues();
|
|
23
23
|
let o = S({
|
|
24
24
|
requestId: Math.random() * 10 + "",
|
|
25
|
-
updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,engineeType,engineeJobMode,engineeSpecialty"
|
|
25
|
+
updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,engineeType,engineeJobMode,engineeSpecialty",
|
|
26
|
+
userType: W.userType.companyOps
|
|
26
27
|
});
|
|
27
|
-
const
|
|
28
|
+
const k = (s, a, d) => {
|
|
28
29
|
a === void 0 && d(new Error(n("sysUserOps.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(a) || d(new Error(n("sysUserOps.mobilePhoneRequireds"))), d();
|
|
29
|
-
},
|
|
30
|
+
}, C = S({
|
|
30
31
|
realName: [
|
|
31
32
|
{
|
|
32
33
|
required: !0,
|
|
@@ -45,7 +46,7 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
45
46
|
{
|
|
46
47
|
required: !0,
|
|
47
48
|
trigger: "blur",
|
|
48
|
-
validator:
|
|
49
|
+
validator: k
|
|
49
50
|
}
|
|
50
51
|
],
|
|
51
52
|
email: [
|
|
@@ -97,7 +98,7 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
97
98
|
trigger: "blur"
|
|
98
99
|
}
|
|
99
100
|
]
|
|
100
|
-
}), _ = q,
|
|
101
|
+
}), _ = q, E = Object.keys(_.entityKey), v = V(E.length >= 1);
|
|
101
102
|
v.value && w.findById(_.entityKey).then(({ data: s }) => {
|
|
102
103
|
Object.assign(o, s);
|
|
103
104
|
});
|
|
@@ -131,7 +132,7 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
131
132
|
onClose: N
|
|
132
133
|
}, {
|
|
133
134
|
footer: l(() => [
|
|
134
|
-
j("div",
|
|
135
|
+
j("div", Y, [
|
|
135
136
|
e(U, { onClick: N }, {
|
|
136
137
|
default: l(() => [
|
|
137
138
|
h(O(s.$t("common.cancel")), 1)
|
|
@@ -155,7 +156,7 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
155
156
|
ref: R,
|
|
156
157
|
model: r(o),
|
|
157
158
|
"label-width": "100px",
|
|
158
|
-
rules:
|
|
159
|
+
rules: C
|
|
159
160
|
}, {
|
|
160
161
|
default: l(() => [
|
|
161
162
|
e(K, null, {
|
|
@@ -171,7 +172,7 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
171
172
|
modelValue: r(o).orgId,
|
|
172
173
|
"onUpdate:modelValue": a[0] || (a[0] = (t) => r(o).orgId = t),
|
|
173
174
|
placeholder: s.$t("sysUserOps.orgIdRequired"),
|
|
174
|
-
data: r(
|
|
175
|
+
data: r(y).sysOrgBizDict.values,
|
|
175
176
|
clearable: "",
|
|
176
177
|
class: "w-full"
|
|
177
178
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -297,7 +298,7 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
297
298
|
modelValue: r(o).engineeType,
|
|
298
299
|
"onUpdate:modelValue": a[6] || (a[6] = (t) => r(o).engineeType = t),
|
|
299
300
|
placeholder: s.$t("sysUserOps.engineeTypeRequired"),
|
|
300
|
-
data: r(
|
|
301
|
+
data: r(y).engineeTypeDictEnum.values,
|
|
301
302
|
clearable: "",
|
|
302
303
|
class: "w-full"
|
|
303
304
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -318,7 +319,7 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
318
319
|
modelValue: r(o).engineeJobMode,
|
|
319
320
|
"onUpdate:modelValue": a[7] || (a[7] = (t) => r(o).engineeJobMode = t),
|
|
320
321
|
placeholder: s.$t("sysUserOps.engineeJobModeRequired"),
|
|
321
|
-
data: r(
|
|
322
|
+
data: r(y).engineeJobModeDictEnum.values,
|
|
322
323
|
clearable: "",
|
|
323
324
|
class: "w-full"
|
|
324
325
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -339,7 +340,7 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
339
340
|
modelValue: r(o).jobStatus,
|
|
340
341
|
"onUpdate:modelValue": a[8] || (a[8] = (t) => r(o).jobStatus = t),
|
|
341
342
|
placeholder: s.$t("sysUserOps.jobStatusRequired"),
|
|
342
|
-
data: r(
|
|
343
|
+
data: r(y).jobStatusDictEnum.values,
|
|
343
344
|
clearable: "",
|
|
344
345
|
class: "w-full"
|
|
345
346
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -363,7 +364,7 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
363
364
|
modelValue: r(o).userPassword,
|
|
364
365
|
"onUpdate:modelValue": a[10] || (a[10] = (t) => r(o).userPassword = t),
|
|
365
366
|
clearable: "",
|
|
366
|
-
type:
|
|
367
|
+
type: f.value ? "text" : "password",
|
|
367
368
|
placeholder: s.$t("sysUserOps.userPasswordRequired")
|
|
368
369
|
}, {
|
|
369
370
|
append: l(() => [
|
|
@@ -376,9 +377,9 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
376
377
|
]),
|
|
377
378
|
suffix: l(() => [
|
|
378
379
|
j("span", {
|
|
379
|
-
onClick: a[9] || (a[9] = (t) =>
|
|
380
|
+
onClick: a[9] || (a[9] = (t) => f.value = !f.value)
|
|
380
381
|
}, [
|
|
381
|
-
|
|
382
|
+
f.value ? (b(), c(P, { key: 0 }, {
|
|
382
383
|
default: l(() => [
|
|
383
384
|
e(B)
|
|
384
385
|
]),
|
|
@@ -435,5 +436,5 @@ const W = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
435
436
|
}
|
|
436
437
|
});
|
|
437
438
|
export {
|
|
438
|
-
|
|
439
|
+
re as _
|
|
439
440
|
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { useUserStore as s, clearEmpty as n, request as r } from "jmash-core";
|
|
2
|
+
class c {
|
|
3
|
+
getKey(t) {
|
|
4
|
+
return {
|
|
5
|
+
invoiceId: t.invoiceId
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
// 查询翻页信息机构发票信息
|
|
9
|
+
findPage(t) {
|
|
10
|
+
const e = s().user.tenant;
|
|
11
|
+
return n(t), r({
|
|
12
|
+
url: "/v1/itsmsys/sys_org_invoice/page/" + e,
|
|
13
|
+
method: "get",
|
|
14
|
+
params: t
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
// 查询列表信息机构发票信息
|
|
18
|
+
findList(t) {
|
|
19
|
+
const e = s().user.tenant;
|
|
20
|
+
return n(t), r({
|
|
21
|
+
url: "/v1/itsmsys/sys_org_invoice/list/" + e,
|
|
22
|
+
method: "get",
|
|
23
|
+
params: t
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
// 查询机构发票信息
|
|
27
|
+
findById(t) {
|
|
28
|
+
const e = s().user.tenant;
|
|
29
|
+
return n(t), r({
|
|
30
|
+
url: "/v1/itsmsys/sys_org_invoice/id/" + e + "/" + t.invoiceId,
|
|
31
|
+
method: "get"
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
// 创建实体机构发票信息
|
|
35
|
+
create(t) {
|
|
36
|
+
return t.tenant = s().user.tenant, n(t), r({
|
|
37
|
+
url: "/v1/itsmsys/sys_org_invoice",
|
|
38
|
+
method: "post",
|
|
39
|
+
data: t
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
// 修改实体机构发票信息
|
|
43
|
+
update(t) {
|
|
44
|
+
return t.tenant = s().user.tenant, n(t), r({
|
|
45
|
+
url: "/v1/itsmsys/sys_org_invoice",
|
|
46
|
+
method: "patch",
|
|
47
|
+
data: t
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
// 删除机构发票信息
|
|
51
|
+
delete(t) {
|
|
52
|
+
return t.tenant = s().user.tenant, n(t), r({
|
|
53
|
+
url: "/v1/itsmsys/sys_org_invoice/id",
|
|
54
|
+
method: "delete",
|
|
55
|
+
params: t
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
// 批量删除机构发票信息
|
|
59
|
+
batchDelete(t) {
|
|
60
|
+
const e = t.map((o) => o.invoiceId), i = {
|
|
61
|
+
tenant: s().user.tenant,
|
|
62
|
+
invoiceId: e
|
|
63
|
+
};
|
|
64
|
+
return n(i), r({
|
|
65
|
+
url: "/v1/itsmsys/sys_org_invoice/batch",
|
|
66
|
+
method: "put",
|
|
67
|
+
data: i
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
const u = new c();
|
|
72
|
+
export {
|
|
73
|
+
u as s
|
|
74
|
+
};
|
|
@@ -1,35 +1,29 @@
|
|
|
1
|
-
import { defineComponent as J, ref as
|
|
1
|
+
import { defineComponent as J, ref as P, resolveComponent as s, resolveDirective as W, openBlock as i, createElementBlock as h, createElementVNode as $, createVNode as n, withCtx as l, withKeys as V, unref as a, createTextVNode as m, toDisplayString as d, withDirectives as f, createBlock as C, isRef as N, createCommentVNode as X } from "vue";
|
|
2
2
|
import { useTableHooks as Y } from "jmash-core";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
4
|
import { useRouter as x } from "vue-router";
|
|
5
|
-
import { C as ee, D as te } from "./index-
|
|
5
|
+
import { C as ee, D as te } from "./index-CQ5Bo5a2.mjs";
|
|
6
6
|
import { sysOrgApi as oe } from "./index.mjs";
|
|
7
7
|
const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ J({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ue) {
|
|
10
|
-
const { t:
|
|
10
|
+
const { t: O } = Z(), v = x(), u = P({
|
|
11
11
|
orgType: ee.orgType.outsource
|
|
12
12
|
}), {
|
|
13
|
-
tableHooks:
|
|
13
|
+
tableHooks: r,
|
|
14
14
|
multipleTableRef: T,
|
|
15
15
|
queryFormRef: E,
|
|
16
16
|
listLoading: I,
|
|
17
|
-
tableData:
|
|
17
|
+
tableData: R,
|
|
18
18
|
total: _
|
|
19
|
-
} = Y(
|
|
20
|
-
let
|
|
19
|
+
} = Y(O, oe, u);
|
|
20
|
+
let c = P([
|
|
21
21
|
{
|
|
22
22
|
label: "sysOut.orgName",
|
|
23
23
|
prop: "orgName",
|
|
24
24
|
width: "270",
|
|
25
25
|
isColumn: !0
|
|
26
26
|
},
|
|
27
|
-
{
|
|
28
|
-
label: "sysOut.address",
|
|
29
|
-
prop: "address",
|
|
30
|
-
width: "350",
|
|
31
|
-
isColumn: !0
|
|
32
|
-
},
|
|
33
27
|
{
|
|
34
28
|
label: "sysOut.contactPerson",
|
|
35
29
|
prop: "contactPerson",
|
|
@@ -50,6 +44,12 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
50
44
|
width: "200",
|
|
51
45
|
isColumn: !0
|
|
52
46
|
},
|
|
47
|
+
{
|
|
48
|
+
label: "sysOut.address",
|
|
49
|
+
prop: "address",
|
|
50
|
+
width: "350",
|
|
51
|
+
isColumn: !0
|
|
52
|
+
},
|
|
53
53
|
{
|
|
54
54
|
label: "sysOut.status",
|
|
55
55
|
prop: "status",
|
|
@@ -67,76 +67,55 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
67
67
|
isColumn: !0
|
|
68
68
|
}
|
|
69
69
|
]);
|
|
70
|
-
function
|
|
70
|
+
function j(o) {
|
|
71
71
|
o.mobileEncrypt = !o.mobileEncrypt;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
|
|
73
|
+
function S() {
|
|
74
|
+
v.push({ path: "/rawitsmsys/itsm-sys-out/edit" });
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
|
|
76
|
+
function D(o) {
|
|
77
|
+
v.push({
|
|
78
78
|
path: "/rawitsmsys/itsm-sys-out/edit",
|
|
79
79
|
query: { entityKey: o.orgId }
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
82
|
+
function U(o) {
|
|
83
|
+
v.push({
|
|
84
84
|
path: "/rawitsmsys/itsm-sys-out/outInfo",
|
|
85
85
|
query: { orgId: o.orgId }
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
|
|
88
|
+
function q(o) {
|
|
89
|
+
r.selectionRows.value = o;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
|
|
91
|
+
function M(o) {
|
|
92
|
+
r.handleSort(o.prop, o.order);
|
|
93
93
|
}
|
|
94
|
-
return
|
|
95
|
-
const
|
|
94
|
+
return r.getList(), (o, t) => {
|
|
95
|
+
const z = s("el-input"), w = s("el-form-item"), y = s("el-col"), K = s("jmash-select"), g = s("el-button"), k = s("el-row"), L = s("el-form"), Q = s("jmash-column-select"), B = s("jmash-mobileIns-component"), A = s("el-switch"), F = s("jmash-table"), H = s("jmash-pagination"), G = s("el-card"), b = W("hasPerm");
|
|
96
96
|
return i(), h("div", le, [
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
$("div", ne, [
|
|
98
|
+
n(L, {
|
|
99
99
|
ref_key: "queryFormRef",
|
|
100
100
|
ref: E,
|
|
101
|
-
model:
|
|
101
|
+
model: u.value,
|
|
102
102
|
inline: !0
|
|
103
103
|
}, {
|
|
104
|
-
default:
|
|
105
|
-
|
|
106
|
-
default:
|
|
107
|
-
|
|
108
|
-
default:
|
|
109
|
-
|
|
104
|
+
default: l(() => [
|
|
105
|
+
n(k, null, {
|
|
106
|
+
default: l(() => [
|
|
107
|
+
n(y, { span: 6 }, {
|
|
108
|
+
default: l(() => [
|
|
109
|
+
n(w, {
|
|
110
110
|
label: o.$t("sysOut.orgName"),
|
|
111
111
|
prop: "likeOrgName"
|
|
112
112
|
}, {
|
|
113
|
-
default:
|
|
114
|
-
|
|
115
|
-
modelValue:
|
|
116
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) =>
|
|
113
|
+
default: l(() => [
|
|
114
|
+
n(z, {
|
|
115
|
+
modelValue: u.value.likeOrgName,
|
|
116
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.likeOrgName = e),
|
|
117
117
|
placeholder: o.$t("sysOut.orgNameRequired"),
|
|
118
|
-
onKeyup: t[1] || (t[1] =
|
|
119
|
-
class: "!w-[203px]",
|
|
120
|
-
clearable: ""
|
|
121
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
122
|
-
]),
|
|
123
|
-
_: 1
|
|
124
|
-
}, 8, ["label"])
|
|
125
|
-
]),
|
|
126
|
-
_: 1
|
|
127
|
-
}),
|
|
128
|
-
l(p, { span: 6 }, {
|
|
129
|
-
default: n(() => [
|
|
130
|
-
l(g, {
|
|
131
|
-
label: o.$t("sysOut.contactPerson"),
|
|
132
|
-
prop: "contactPerson"
|
|
133
|
-
}, {
|
|
134
|
-
default: n(() => [
|
|
135
|
-
l($, {
|
|
136
|
-
modelValue: r.value.contactPerson,
|
|
137
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.contactPerson = e),
|
|
138
|
-
placeholder: o.$t("sysOut.contactPersonRequired"),
|
|
139
|
-
onKeyup: t[3] || (t[3] = C((e) => a(u).handleQuery(), ["enter"])),
|
|
118
|
+
onKeyup: t[1] || (t[1] = V((e) => a(r).handleQuery(), ["enter"])),
|
|
140
119
|
class: "!w-[203px]",
|
|
141
120
|
clearable: ""
|
|
142
121
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -146,20 +125,20 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
146
125
|
]),
|
|
147
126
|
_: 1
|
|
148
127
|
}),
|
|
149
|
-
|
|
150
|
-
default:
|
|
151
|
-
|
|
128
|
+
n(y, { span: 6 }, {
|
|
129
|
+
default: l(() => [
|
|
130
|
+
n(w, {
|
|
152
131
|
label: o.$t("sysOut.status"),
|
|
153
132
|
prop: "status"
|
|
154
133
|
}, {
|
|
155
|
-
default:
|
|
156
|
-
|
|
157
|
-
modelValue:
|
|
158
|
-
"onUpdate:modelValue": t[
|
|
134
|
+
default: l(() => [
|
|
135
|
+
n(K, {
|
|
136
|
+
modelValue: u.value.status,
|
|
137
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.status = e),
|
|
159
138
|
placeholder: o.$t("sysOut.statusRequired"),
|
|
160
139
|
data: a(te).hasStatusDict.values,
|
|
161
140
|
clearable: "",
|
|
162
|
-
onKeyup: t[
|
|
141
|
+
onKeyup: t[3] || (t[3] = V((e) => a(r).handleQuery(), ["enter"]))
|
|
163
142
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
164
143
|
]),
|
|
165
144
|
_: 1
|
|
@@ -167,23 +146,23 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
167
146
|
]),
|
|
168
147
|
_: 1
|
|
169
148
|
}),
|
|
170
|
-
|
|
171
|
-
default:
|
|
172
|
-
|
|
173
|
-
default:
|
|
174
|
-
|
|
149
|
+
n(y, { span: 12 }, {
|
|
150
|
+
default: l(() => [
|
|
151
|
+
n(w, { class: "search-btn" }, {
|
|
152
|
+
default: l(() => [
|
|
153
|
+
n(g, {
|
|
175
154
|
type: "primary",
|
|
176
|
-
onClick: t[
|
|
155
|
+
onClick: t[4] || (t[4] = (e) => a(r).handleQuery())
|
|
177
156
|
}, {
|
|
178
|
-
default:
|
|
157
|
+
default: l(() => [
|
|
179
158
|
m(d(o.$t("common.search")), 1)
|
|
180
159
|
]),
|
|
181
160
|
_: 1
|
|
182
161
|
}),
|
|
183
|
-
|
|
184
|
-
onClick: t[
|
|
162
|
+
n(g, {
|
|
163
|
+
onClick: t[5] || (t[5] = (e) => a(r).resetQuery())
|
|
185
164
|
}, {
|
|
186
|
-
default:
|
|
165
|
+
default: l(() => [
|
|
187
166
|
m(d(o.$t("common.reset")), 1)
|
|
188
167
|
]),
|
|
189
168
|
_: 1
|
|
@@ -200,33 +179,33 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
200
179
|
]),
|
|
201
180
|
_: 1
|
|
202
181
|
}, 8, ["model"]),
|
|
203
|
-
t[
|
|
182
|
+
t[12] || (t[12] = $("div", { class: "clear" }, null, -1))
|
|
204
183
|
]),
|
|
205
|
-
|
|
184
|
+
n(G, {
|
|
206
185
|
shadow: "never",
|
|
207
186
|
class: "table-container"
|
|
208
187
|
}, {
|
|
209
|
-
header:
|
|
210
|
-
|
|
211
|
-
default:
|
|
212
|
-
|
|
213
|
-
default:
|
|
214
|
-
f((i(),
|
|
188
|
+
header: l(() => [
|
|
189
|
+
n(k, null, {
|
|
190
|
+
default: l(() => [
|
|
191
|
+
n(y, { span: 17 }, {
|
|
192
|
+
default: l(() => [
|
|
193
|
+
f((i(), C(g, {
|
|
215
194
|
type: "primary",
|
|
216
|
-
onClick:
|
|
195
|
+
onClick: S
|
|
217
196
|
}, {
|
|
218
|
-
default:
|
|
197
|
+
default: l(() => [
|
|
219
198
|
m(d(o.$t("common.add")), 1)
|
|
220
199
|
]),
|
|
221
200
|
_: 1
|
|
222
201
|
})), [
|
|
223
202
|
[b, ["itsmsys:sys_out:add"]]
|
|
224
203
|
]),
|
|
225
|
-
f((i(),
|
|
204
|
+
f((i(), C(g, {
|
|
226
205
|
type: "primary",
|
|
227
|
-
onClick: t[
|
|
206
|
+
onClick: t[6] || (t[6] = (e) => a(r).deleteRecords())
|
|
228
207
|
}, {
|
|
229
|
-
default:
|
|
208
|
+
default: l(() => [
|
|
230
209
|
m(d(o.$t("common.batchDelete")), 1)
|
|
231
210
|
]),
|
|
232
211
|
_: 1
|
|
@@ -236,14 +215,14 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
236
215
|
]),
|
|
237
216
|
_: 1
|
|
238
217
|
}),
|
|
239
|
-
|
|
218
|
+
n(y, {
|
|
240
219
|
span: 7,
|
|
241
220
|
class: "container-float"
|
|
242
221
|
}, {
|
|
243
|
-
default:
|
|
244
|
-
|
|
245
|
-
modelValue: a(
|
|
246
|
-
"onUpdate:modelValue": t[
|
|
222
|
+
default: l(() => [
|
|
223
|
+
n(Q, {
|
|
224
|
+
modelValue: a(c),
|
|
225
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => N(c) ? c.value = e : c = e),
|
|
247
226
|
"label-name": "itsmsys/itsm-sys-out"
|
|
248
227
|
}, null, 8, ["modelValue"])
|
|
249
228
|
]),
|
|
@@ -253,48 +232,48 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
253
232
|
_: 1
|
|
254
233
|
})
|
|
255
234
|
]),
|
|
256
|
-
footer:
|
|
257
|
-
a(_) > 0 ? (i(),
|
|
235
|
+
footer: l(() => [
|
|
236
|
+
a(_) > 0 ? (i(), C(H, {
|
|
258
237
|
key: 0,
|
|
259
238
|
total: a(_),
|
|
260
|
-
"onUpdate:total": t[
|
|
261
|
-
"current-page":
|
|
262
|
-
"onUpdate:currentPage": t[
|
|
263
|
-
"page-size":
|
|
264
|
-
"onUpdate:pageSize": t[
|
|
265
|
-
onPagination: t[
|
|
239
|
+
"onUpdate:total": t[8] || (t[8] = (e) => N(_) ? _.value = e : null),
|
|
240
|
+
"current-page": u.value.curPage,
|
|
241
|
+
"onUpdate:currentPage": t[9] || (t[9] = (e) => u.value.curPage = e),
|
|
242
|
+
"page-size": u.value.pageSize,
|
|
243
|
+
"onUpdate:pageSize": t[10] || (t[10] = (e) => u.value.pageSize = e),
|
|
244
|
+
onPagination: t[11] || (t[11] = (e) => a(r).getList())
|
|
266
245
|
}, null, 8, ["total", "current-page", "page-size"])) : X("", !0)
|
|
267
246
|
]),
|
|
268
|
-
default:
|
|
269
|
-
|
|
247
|
+
default: l(() => [
|
|
248
|
+
n(F, {
|
|
270
249
|
ref_key: "multipleTableRef",
|
|
271
250
|
ref: T,
|
|
272
251
|
"row-key": "orgId",
|
|
273
252
|
"list-loading": a(I),
|
|
274
|
-
data: a(
|
|
275
|
-
"table-label": a(
|
|
276
|
-
onSelectionChange:
|
|
277
|
-
onSortChange:
|
|
253
|
+
data: a(R),
|
|
254
|
+
"table-label": a(c),
|
|
255
|
+
onSelectionChange: q,
|
|
256
|
+
onSortChange: M
|
|
278
257
|
}, {
|
|
279
|
-
contactPersonMobile:
|
|
280
|
-
|
|
258
|
+
contactPersonMobile: l((e) => [
|
|
259
|
+
n(B, {
|
|
281
260
|
mobilePhoneIns: e.data.row.contactPersonMobileIns,
|
|
282
261
|
mobilePhone: e.data.row.contactPersonMobile,
|
|
283
262
|
mobileEncrypt: e.data.row.mobileEncrypt,
|
|
284
|
-
onToggleEncrypt: (
|
|
263
|
+
onToggleEncrypt: (p) => j(e.data.row)
|
|
285
264
|
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
286
265
|
]),
|
|
287
|
-
status:
|
|
288
|
-
|
|
266
|
+
status: l((e) => [
|
|
267
|
+
n(A, {
|
|
289
268
|
modelValue: e.data.row.status,
|
|
290
|
-
"onUpdate:modelValue": (
|
|
291
|
-
onChange: (
|
|
269
|
+
"onUpdate:modelValue": (p) => e.data.row.status = p,
|
|
270
|
+
onChange: (p) => a(r).enableRecord(e.data.row, e.data.row.status)
|
|
292
271
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
293
272
|
]),
|
|
294
|
-
operation:
|
|
273
|
+
operation: l((e) => [
|
|
295
274
|
f((i(), h("span", {
|
|
296
275
|
class: "el-button-color",
|
|
297
|
-
onClick: (
|
|
276
|
+
onClick: (p) => D(e.data.row)
|
|
298
277
|
}, [
|
|
299
278
|
m(d(o.$t("common.edit")), 1)
|
|
300
279
|
], 8, ae)), [
|
|
@@ -302,7 +281,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
302
281
|
]),
|
|
303
282
|
f((i(), h("span", {
|
|
304
283
|
class: "el-button-color dropdown-left",
|
|
305
|
-
onClick: (
|
|
284
|
+
onClick: (p) => a(r).deleteRecord(e.data.row)
|
|
306
285
|
}, [
|
|
307
286
|
m(d(o.$t("common.delete")), 1)
|
|
308
287
|
], 8, se)), [
|
|
@@ -310,7 +289,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
|
|
|
310
289
|
]),
|
|
311
290
|
f((i(), h("span", {
|
|
312
291
|
class: "el-button-color dropdown-left",
|
|
313
|
-
onClick: (
|
|
292
|
+
onClick: (p) => U(e.data.row)
|
|
314
293
|
}, [
|
|
315
294
|
m(d(o.$t("common.view")), 1)
|
|
316
295
|
], 8, re)), [
|