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
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { defineComponent as A, ref as k, reactive as T, resolveComponent as s, resolveDirective as H, openBlock as r, createElementBlock as C, createVNode as m, withCtx as n, withDirectives as y, createBlock as _, createTextVNode as g, toDisplayString as d, unref as l, isRef as N, createCommentVNode as I, createElementVNode as K } from "vue";
|
|
2
|
+
import { useTableHooks as F } from "jmash-core";
|
|
3
|
+
import { useI18n as G } from "vue-i18n";
|
|
4
|
+
import { useRoute as J } from "vue-router";
|
|
5
|
+
import { s as M } from "./index-B6vJj_z6.mjs";
|
|
6
|
+
import { _ as Q } from "./edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs";
|
|
7
|
+
import { D as W } from "./index-CQ5Bo5a2.mjs";
|
|
8
|
+
const X = { class: "app-container" }, Y = ["onClick"], Z = ["onClick"], re = /* @__PURE__ */ A({
|
|
9
|
+
__name: "index",
|
|
10
|
+
setup(ee) {
|
|
11
|
+
const { t: p } = G(), V = J(), u = k({
|
|
12
|
+
orgId: V.query.entityKey
|
|
13
|
+
}), { tableHooks: a, multipleTableRef: D, listLoading: S, tableData: j, total: v } = F(p, M, u);
|
|
14
|
+
let c = k([
|
|
15
|
+
{
|
|
16
|
+
label: "sysOrgInvoice.invoiceType",
|
|
17
|
+
prop: "invoiceType",
|
|
18
|
+
width: "150",
|
|
19
|
+
isColumn: !0,
|
|
20
|
+
slotName: "invoiceType",
|
|
21
|
+
columnType: "slot"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: "sysOrgInvoice.invoiceTitle",
|
|
25
|
+
prop: "invoiceTitle",
|
|
26
|
+
width: "150",
|
|
27
|
+
isColumn: !0
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
label: "sysOrgInvoice.taxNumber",
|
|
31
|
+
prop: "taxNumber",
|
|
32
|
+
isColumn: !0
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
label: "sysOrgInvoice.bankName",
|
|
36
|
+
prop: "bankName",
|
|
37
|
+
isColumn: !0
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: "sysOrgInvoice.backNumber",
|
|
41
|
+
prop: "backNumber",
|
|
42
|
+
isColumn: !0
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: "common.operate",
|
|
46
|
+
width: "200",
|
|
47
|
+
slotName: "operation",
|
|
48
|
+
columnType: "slot",
|
|
49
|
+
fixed: "right",
|
|
50
|
+
isColumn: !0
|
|
51
|
+
}
|
|
52
|
+
]);
|
|
53
|
+
const i = k({
|
|
54
|
+
title: p("common.edit"),
|
|
55
|
+
visible: !1
|
|
56
|
+
});
|
|
57
|
+
let f = T({});
|
|
58
|
+
function R() {
|
|
59
|
+
f = T({}), i.value.title = p("common.add"), i.value.visible = !0;
|
|
60
|
+
}
|
|
61
|
+
function $(o) {
|
|
62
|
+
f.invoiceId = o.invoiceId, i.value.title = p("common.edit"), i.value.visible = !0;
|
|
63
|
+
}
|
|
64
|
+
function P(o) {
|
|
65
|
+
a.selectionRows.value = o;
|
|
66
|
+
}
|
|
67
|
+
function O(o) {
|
|
68
|
+
a.handleSort(o.prop, o.order);
|
|
69
|
+
}
|
|
70
|
+
function x(o) {
|
|
71
|
+
o && a.getList();
|
|
72
|
+
}
|
|
73
|
+
return a.getList(), (o, t) => {
|
|
74
|
+
const h = s("el-button"), w = s("el-col"), z = s("jmash-column-select"), E = s("el-row"), L = s("jmash-table"), U = s("jmash-pagination"), B = s("el-card"), b = H("hasPerm");
|
|
75
|
+
return r(), C("div", X, [
|
|
76
|
+
m(B, {
|
|
77
|
+
shadow: "never",
|
|
78
|
+
class: "table-container"
|
|
79
|
+
}, {
|
|
80
|
+
header: n(() => [
|
|
81
|
+
m(E, null, {
|
|
82
|
+
default: n(() => [
|
|
83
|
+
m(w, { span: 17 }, {
|
|
84
|
+
default: n(() => [
|
|
85
|
+
y((r(), _(h, {
|
|
86
|
+
type: "primary",
|
|
87
|
+
onClick: R
|
|
88
|
+
}, {
|
|
89
|
+
default: n(() => [
|
|
90
|
+
g(d(o.$t("common.add")), 1)
|
|
91
|
+
]),
|
|
92
|
+
_: 1
|
|
93
|
+
})), [
|
|
94
|
+
[b, ["itsmsys:sys_org_invoice:add"]]
|
|
95
|
+
]),
|
|
96
|
+
y((r(), _(h, {
|
|
97
|
+
type: "primary",
|
|
98
|
+
onClick: t[0] || (t[0] = (e) => l(a).deleteRecords())
|
|
99
|
+
}, {
|
|
100
|
+
default: n(() => [
|
|
101
|
+
g(d(o.$t("common.batchDelete")), 1)
|
|
102
|
+
]),
|
|
103
|
+
_: 1
|
|
104
|
+
})), [
|
|
105
|
+
[b, ["itsmsys:sys_org_invoice:delete"]]
|
|
106
|
+
])
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}),
|
|
110
|
+
m(w, {
|
|
111
|
+
span: 7,
|
|
112
|
+
class: "container-float"
|
|
113
|
+
}, {
|
|
114
|
+
default: n(() => [
|
|
115
|
+
m(z, {
|
|
116
|
+
modelValue: l(c),
|
|
117
|
+
"onUpdate:modelValue": t[1] || (t[1] = (e) => N(c) ? c.value = e : c = e),
|
|
118
|
+
"label-name": "jobs/job-trigger"
|
|
119
|
+
}, null, 8, ["modelValue"])
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
})
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
})
|
|
126
|
+
]),
|
|
127
|
+
footer: n(() => [
|
|
128
|
+
l(v) > 0 ? (r(), _(U, {
|
|
129
|
+
key: 0,
|
|
130
|
+
total: l(v),
|
|
131
|
+
"onUpdate:total": t[2] || (t[2] = (e) => N(v) ? v.value = e : null),
|
|
132
|
+
"current-page": u.value.curPage,
|
|
133
|
+
"onUpdate:currentPage": t[3] || (t[3] = (e) => u.value.curPage = e),
|
|
134
|
+
"page-size": u.value.pageSize,
|
|
135
|
+
"onUpdate:pageSize": t[4] || (t[4] = (e) => u.value.pageSize = e),
|
|
136
|
+
onPagination: t[5] || (t[5] = (e) => l(a).getList())
|
|
137
|
+
}, null, 8, ["total", "current-page", "page-size"])) : I("", !0)
|
|
138
|
+
]),
|
|
139
|
+
default: n(() => [
|
|
140
|
+
m(L, {
|
|
141
|
+
ref_key: "multipleTableRef",
|
|
142
|
+
ref: D,
|
|
143
|
+
"row-key": "invoiceId",
|
|
144
|
+
"list-loading": l(S),
|
|
145
|
+
data: l(j),
|
|
146
|
+
"table-label": l(c),
|
|
147
|
+
onSelectionChange: P,
|
|
148
|
+
onSortChange: O
|
|
149
|
+
}, {
|
|
150
|
+
invoiceType: n((e) => [
|
|
151
|
+
K("span", null, d(l(W).invoiceTypeDictEnum.getEnumValue(e.data.row.invoiceType)), 1)
|
|
152
|
+
]),
|
|
153
|
+
operation: n((e) => [
|
|
154
|
+
y((r(), C("span", {
|
|
155
|
+
class: "el-button-color",
|
|
156
|
+
onClick: (q) => $(e.data.row)
|
|
157
|
+
}, [
|
|
158
|
+
g(d(o.$t("common.edit")), 1)
|
|
159
|
+
], 8, Y)), [
|
|
160
|
+
[b, ["itsmsys:sys_org_invoice:update"]]
|
|
161
|
+
]),
|
|
162
|
+
y((r(), C("span", {
|
|
163
|
+
class: "el-button-color dropdown-left",
|
|
164
|
+
onClick: (q) => l(a).deleteRecord(e.data.row)
|
|
165
|
+
}, [
|
|
166
|
+
g(d(o.$t("common.delete")), 1)
|
|
167
|
+
], 8, Z)), [
|
|
168
|
+
[b, ["itsmsys:sys_org_invoice:delete"]]
|
|
169
|
+
])
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
173
|
+
]),
|
|
174
|
+
_: 1
|
|
175
|
+
}),
|
|
176
|
+
i.value.visible ? (r(), _(Q, {
|
|
177
|
+
key: 0,
|
|
178
|
+
modelValue: i.value.visible,
|
|
179
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => i.value.visible = e),
|
|
180
|
+
title: i.value.title,
|
|
181
|
+
"entity-key": l(f),
|
|
182
|
+
onRefresh: x,
|
|
183
|
+
width: "700px"
|
|
184
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : I("", !0)
|
|
185
|
+
]);
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
export {
|
|
190
|
+
re as _
|
|
191
|
+
};
|
|
@@ -2,8 +2,8 @@ import { defineComponent as C, ref as p, onBeforeMount as B, resolveComponent as
|
|
|
2
2
|
import { useRouter as j, useRoute as q } from "vue-router";
|
|
3
3
|
import { routerUtil as A } from "jmash-core";
|
|
4
4
|
import { sysOrgApi as R } from "./index.mjs";
|
|
5
|
-
import { s as S } from "./index-
|
|
6
|
-
import { D as g } from "./index-
|
|
5
|
+
import { s as S } from "./index-B6vJj_z6.mjs";
|
|
6
|
+
import { D as g } from "./index-CQ5Bo5a2.mjs";
|
|
7
7
|
const U = { class: "app-container" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
|
|
8
8
|
__name: "info",
|
|
9
9
|
setup(K) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as D, getCurrentInstance as N, ref as c, onBeforeMount as U, resolveComponent as u, openBlock as j, createElementBlock as B, createVNode as s, withCtx as e, createTextVNode as r, toDisplayString as o, createElementVNode as l, unref as d } from "vue";
|
|
2
2
|
import { useRouter as V, useRoute as C } from "vue-router";
|
|
3
|
-
import { D as p } from "./index-
|
|
3
|
+
import { D as p } from "./index-CQ5Bo5a2.mjs";
|
|
4
4
|
import { routerUtil as T } from "jmash-core";
|
|
5
5
|
import { deptApi as k, jobApi as w } from "jmash-rbac";
|
|
6
6
|
import { sysUserExtApi as S } from "./index.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as $, getCurrentInstance as D, ref as f, onBeforeMount as U, resolveComponent as d, openBlock as O, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as l, createElementVNode as t, unref as u } from "vue";
|
|
2
2
|
import { useRouter as V, useRoute as B } from "vue-router";
|
|
3
|
-
import { D as m } from "./index-
|
|
3
|
+
import { D as m } from "./index-CQ5Bo5a2.mjs";
|
|
4
4
|
import { routerUtil as C } from "jmash-core";
|
|
5
5
|
import { sysUserExtApi as M } from "./index.mjs";
|
|
6
6
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -2,8 +2,8 @@ import { defineComponent as C, ref as p, onBeforeMount as G, resolveComponent as
|
|
|
2
2
|
import { useRouter as M, useRoute as j } from "vue-router";
|
|
3
3
|
import { routerUtil as q } from "jmash-core";
|
|
4
4
|
import { sysOrgApi as A } from "./index.mjs";
|
|
5
|
-
import { s as R } from "./index-
|
|
6
|
-
import { D as g } from "./index-
|
|
5
|
+
import { s as R } from "./index-B6vJj_z6.mjs";
|
|
6
|
+
import { D as g } from "./index-CQ5Bo5a2.mjs";
|
|
7
7
|
const S = { class: "app-container" }, U = { class: "cell-item" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
|
|
8
8
|
__name: "info",
|
|
9
9
|
setup(K) {
|
|
@@ -2,8 +2,8 @@ import { defineComponent as C, ref as p, onBeforeMount as B, resolveComponent as
|
|
|
2
2
|
import { useRouter as j, useRoute as q } from "vue-router";
|
|
3
3
|
import { routerUtil as A } from "jmash-core";
|
|
4
4
|
import { sysOrgApi as R } from "./index.mjs";
|
|
5
|
-
import { s as S } from "./index-
|
|
6
|
-
import { D as g } from "./index-
|
|
5
|
+
import { s as S } from "./index-B6vJj_z6.mjs";
|
|
6
|
+
import { D as g } from "./index-CQ5Bo5a2.mjs";
|
|
7
7
|
const U = { class: "app-container" }, L = { class: "cell-item" }, z = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { class: "cell-item" }, ee = /* @__PURE__ */ C({
|
|
8
8
|
__name: "info",
|
|
9
9
|
setup(K) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as $, getCurrentInstance as D, ref as f, onBeforeMount as U, resolveComponent as d, openBlock as O, createElementBlock as T, createVNode as s, withCtx as e, createTextVNode as a, toDisplayString as t, createElementVNode as o, unref as u } from "vue";
|
|
2
2
|
import { useRouter as V, useRoute as B } from "vue-router";
|
|
3
|
-
import { D as m } from "./index-
|
|
3
|
+
import { D as m } from "./index-CQ5Bo5a2.mjs";
|
|
4
4
|
import { routerUtil as C } from "jmash-core";
|
|
5
5
|
import { sysUserExtApi as M } from "./index.mjs";
|
|
6
6
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -3,13 +3,10 @@ export interface SysOrgApi extends EntityApi {
|
|
|
3
3
|
}
|
|
4
4
|
export interface SysOrgReq extends EntityReq {
|
|
5
5
|
likeOrgName?: string;
|
|
6
|
-
contactPerson?: string;
|
|
7
6
|
status?: boolean;
|
|
8
7
|
hasStatus?: boolean;
|
|
9
8
|
orgType?: string;
|
|
10
9
|
hasOrgType?: boolean;
|
|
11
|
-
depth?: string;
|
|
12
|
-
hasDepth?: boolean;
|
|
13
10
|
}
|
|
14
11
|
export interface SysOrgModel extends EntityModel {
|
|
15
12
|
orgId?: string;
|
|
@@ -8,6 +8,7 @@ declare class SysOrgInvoiceApiImpl implements SysOrgInvoiceApi {
|
|
|
8
8
|
create(data: SysOrgInvoiceCreateReq): AxiosPromise<SysOrgInvoiceModel>;
|
|
9
9
|
update(data: SysOrgInvoiceUpdateReq): AxiosPromise<SysOrgInvoiceModel>;
|
|
10
10
|
delete(query: SysOrgInvoiceKey): AxiosPromise<SysOrgInvoiceModel>;
|
|
11
|
+
batchDelete(keys: SysOrgInvoiceKey[]): AxiosPromise<number>;
|
|
11
12
|
}
|
|
12
13
|
declare const sysOrgInvoiceApi: SysOrgInvoiceApiImpl;
|
|
13
14
|
export { sysOrgInvoiceApi };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityCreateReq, EntityUpdateReq } from "jmash-core";
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityCreateReq, EntityUpdateReq, EntityKeyList } from "jmash-core";
|
|
2
2
|
export interface SysOrgInvoiceApi extends EntityApi {
|
|
3
3
|
}
|
|
4
4
|
export interface SysOrgInvoiceReq extends EntityReq {
|
|
@@ -28,6 +28,10 @@ export interface SysOrgInvoiceKey extends EntityKey {
|
|
|
28
28
|
tenant?: string;
|
|
29
29
|
invoiceId?: string;
|
|
30
30
|
}
|
|
31
|
+
export interface SysOrgInvoiceKeyList extends EntityKeyList {
|
|
32
|
+
tenant?: string;
|
|
33
|
+
invoiceId?: Array<string>;
|
|
34
|
+
}
|
|
31
35
|
export interface SysOrgInvoiceCreateReq extends EntityCreateReq {
|
|
32
36
|
invoiceId?: string;
|
|
33
37
|
orgId?: string;
|
package/dts/src/constant.d.ts
CHANGED
|
@@ -21,5 +21,13 @@ export declare class Constant {
|
|
|
21
21
|
hall: string;
|
|
22
22
|
outsource: string;
|
|
23
23
|
};
|
|
24
|
-
static readonly
|
|
24
|
+
static readonly jobStatus: {
|
|
25
|
+
working: string;
|
|
26
|
+
leave: string;
|
|
27
|
+
};
|
|
28
|
+
static readonly userType: {
|
|
29
|
+
companyManager: string;
|
|
30
|
+
companyOps: string;
|
|
31
|
+
outsourceOps: string;
|
|
32
|
+
};
|
|
25
33
|
}
|
package/package.json
CHANGED
package/dist/index-BQRtMgmZ.mjs
DELETED
|
@@ -1,340 +0,0 @@
|
|
|
1
|
-
import { defineComponent as J, ref as P, resolveComponent as s, resolveDirective as W, openBlock as p, createElementBlock as h, createElementVNode as V, createVNode as o, withCtx as l, withKeys as g, unref as a, createTextVNode as m, toDisplayString as u, withDirectives as _, createBlock as T, isRef as X } from "vue";
|
|
2
|
-
import { useTableHooks as Y } from "jmash-core";
|
|
3
|
-
import { useI18n as Z } from "vue-i18n";
|
|
4
|
-
import { C as x, D as ee } from "./index-ChTssr8-.mjs";
|
|
5
|
-
import { sysOrgApi as oe } from "./index.mjs";
|
|
6
|
-
import { useRouter as te } from "vue-router";
|
|
7
|
-
const le = { class: "app-container" }, ne = { class: "search-container" }, se = ["onClick"], ae = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ J({
|
|
8
|
-
__name: "index",
|
|
9
|
-
setup(de) {
|
|
10
|
-
const { t: N } = Z(), w = te(), d = P({
|
|
11
|
-
orgType: x.orgType.hall
|
|
12
|
-
}), { tableHooks: r, multipleTableRef: R, queryFormRef: E, listLoading: G, tableData: I } = Y(N, oe, d);
|
|
13
|
-
let y = P([
|
|
14
|
-
{
|
|
15
|
-
label: "sysGov.orgName",
|
|
16
|
-
prop: "orgName",
|
|
17
|
-
width: "270",
|
|
18
|
-
isColumn: !0
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
label: "sysGov.address",
|
|
22
|
-
prop: "address",
|
|
23
|
-
width: "350",
|
|
24
|
-
isColumn: !0
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
label: "sysGov.contactPerson",
|
|
28
|
-
prop: "contactPerson",
|
|
29
|
-
width: "150",
|
|
30
|
-
isColumn: !0
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
label: "sysOrg.contactPersonMobile",
|
|
34
|
-
prop: "contactPersonMobile",
|
|
35
|
-
width: "150",
|
|
36
|
-
isColumn: !0,
|
|
37
|
-
slotName: "contactPersonMobile",
|
|
38
|
-
columnType: "slot"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
label: "sysGov.contactPersonTel",
|
|
42
|
-
prop: "contactPersonTel",
|
|
43
|
-
width: "150",
|
|
44
|
-
isColumn: !0
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
label: "sysGov.status",
|
|
48
|
-
prop: "status",
|
|
49
|
-
width: "100",
|
|
50
|
-
isColumn: !0,
|
|
51
|
-
slotName: "status",
|
|
52
|
-
columnType: "slot"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
label: "sysGov.orderBy",
|
|
56
|
-
prop: "orderBy",
|
|
57
|
-
width: "100",
|
|
58
|
-
isColumn: !0,
|
|
59
|
-
slotName: "orderBy",
|
|
60
|
-
columnType: "slot"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
label: "common.operate",
|
|
64
|
-
width: "200",
|
|
65
|
-
slotName: "operation",
|
|
66
|
-
columnType: "slot",
|
|
67
|
-
fixed: "right",
|
|
68
|
-
isColumn: !0
|
|
69
|
-
}
|
|
70
|
-
]);
|
|
71
|
-
function B(t) {
|
|
72
|
-
t.mobileEncrypt = !t.mobileEncrypt;
|
|
73
|
-
}
|
|
74
|
-
function j() {
|
|
75
|
-
w.push({ path: "/rawitsmsys/itsm-sys-gov/edit" });
|
|
76
|
-
}
|
|
77
|
-
function q(t) {
|
|
78
|
-
w.push({
|
|
79
|
-
path: "/rawitsmsys/itsm-sys-gov/edit",
|
|
80
|
-
query: { entityKey: t.orgId }
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
function D(t) {
|
|
84
|
-
w.push({
|
|
85
|
-
path: "/rawitsmsys/itsm-sys-gov/govInfo",
|
|
86
|
-
query: { orgId: t.orgId }
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
function M(t) {
|
|
90
|
-
r.selectionRows.value = t;
|
|
91
|
-
}
|
|
92
|
-
function S(t) {
|
|
93
|
-
r.handleSort(t.prop, t.order);
|
|
94
|
-
}
|
|
95
|
-
return r.findList(), (t, n) => {
|
|
96
|
-
const C = s("el-input"), f = s("el-form-item"), c = s("el-col"), U = s("jmash-select"), v = s("el-button"), k = s("el-row"), K = s("el-form"), O = s("jmash-column-select"), Q = s("jmash-mobileIns-component"), L = s("Bottom"), $ = s("el-icon"), z = s("Top"), A = s("el-switch"), F = s("jmash-table"), H = s("el-card"), b = W("hasPerm");
|
|
97
|
-
return p(), h("div", le, [
|
|
98
|
-
V("div", ne, [
|
|
99
|
-
o(K, {
|
|
100
|
-
ref_key: "queryFormRef",
|
|
101
|
-
ref: E,
|
|
102
|
-
model: d.value,
|
|
103
|
-
inline: !0
|
|
104
|
-
}, {
|
|
105
|
-
default: l(() => [
|
|
106
|
-
o(k, null, {
|
|
107
|
-
default: l(() => [
|
|
108
|
-
o(c, { span: 6 }, {
|
|
109
|
-
default: l(() => [
|
|
110
|
-
o(f, {
|
|
111
|
-
label: t.$t("sysGov.orgName"),
|
|
112
|
-
prop: "likeOrgName"
|
|
113
|
-
}, {
|
|
114
|
-
default: l(() => [
|
|
115
|
-
o(C, {
|
|
116
|
-
modelValue: d.value.likeOrgName,
|
|
117
|
-
"onUpdate:modelValue": n[0] || (n[0] = (e) => d.value.likeOrgName = e),
|
|
118
|
-
placeholder: t.$t("sysGov.orgNameRequired"),
|
|
119
|
-
onKeyup: n[1] || (n[1] = g((e) => a(r).handleQuery(), ["enter"])),
|
|
120
|
-
class: "!w-[203px]",
|
|
121
|
-
clearable: ""
|
|
122
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
123
|
-
]),
|
|
124
|
-
_: 1
|
|
125
|
-
}, 8, ["label"])
|
|
126
|
-
]),
|
|
127
|
-
_: 1
|
|
128
|
-
}),
|
|
129
|
-
o(c, { span: 6 }, {
|
|
130
|
-
default: l(() => [
|
|
131
|
-
o(f, {
|
|
132
|
-
label: t.$t("sysGov.contactPerson"),
|
|
133
|
-
prop: "contactPerson"
|
|
134
|
-
}, {
|
|
135
|
-
default: l(() => [
|
|
136
|
-
o(C, {
|
|
137
|
-
modelValue: d.value.contactPerson,
|
|
138
|
-
"onUpdate:modelValue": n[2] || (n[2] = (e) => d.value.contactPerson = e),
|
|
139
|
-
placeholder: t.$t("sysGov.contactPersonRequired"),
|
|
140
|
-
onKeyup: n[3] || (n[3] = g((e) => a(r).handleQuery(), ["enter"])),
|
|
141
|
-
class: "!w-[203px]",
|
|
142
|
-
clearable: ""
|
|
143
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
144
|
-
]),
|
|
145
|
-
_: 1
|
|
146
|
-
}, 8, ["label"])
|
|
147
|
-
]),
|
|
148
|
-
_: 1
|
|
149
|
-
}),
|
|
150
|
-
o(c, { span: 6 }, {
|
|
151
|
-
default: l(() => [
|
|
152
|
-
o(f, {
|
|
153
|
-
label: t.$t("sysGov.status"),
|
|
154
|
-
prop: "status"
|
|
155
|
-
}, {
|
|
156
|
-
default: l(() => [
|
|
157
|
-
o(U, {
|
|
158
|
-
modelValue: d.value.status,
|
|
159
|
-
"onUpdate:modelValue": n[4] || (n[4] = (e) => d.value.status = e),
|
|
160
|
-
placeholder: t.$t("sysGov.statusRequired"),
|
|
161
|
-
data: a(ee).hasStatusDict.values,
|
|
162
|
-
clearable: "",
|
|
163
|
-
onKeyup: n[5] || (n[5] = g((e) => a(r).handleQuery(), ["enter"]))
|
|
164
|
-
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
165
|
-
]),
|
|
166
|
-
_: 1
|
|
167
|
-
}, 8, ["label"])
|
|
168
|
-
]),
|
|
169
|
-
_: 1
|
|
170
|
-
}),
|
|
171
|
-
o(c, { span: 6 }, {
|
|
172
|
-
default: l(() => [
|
|
173
|
-
o(f, { class: "search-btn" }, {
|
|
174
|
-
default: l(() => [
|
|
175
|
-
o(v, {
|
|
176
|
-
type: "primary",
|
|
177
|
-
onClick: n[6] || (n[6] = (e) => a(r).handleQuery())
|
|
178
|
-
}, {
|
|
179
|
-
default: l(() => [
|
|
180
|
-
m(u(t.$t("common.search")), 1)
|
|
181
|
-
]),
|
|
182
|
-
_: 1
|
|
183
|
-
}),
|
|
184
|
-
o(v, {
|
|
185
|
-
onClick: n[7] || (n[7] = (e) => a(r).resetQuery())
|
|
186
|
-
}, {
|
|
187
|
-
default: l(() => [
|
|
188
|
-
m(u(t.$t("common.reset")), 1)
|
|
189
|
-
]),
|
|
190
|
-
_: 1
|
|
191
|
-
})
|
|
192
|
-
]),
|
|
193
|
-
_: 1
|
|
194
|
-
})
|
|
195
|
-
]),
|
|
196
|
-
_: 1
|
|
197
|
-
})
|
|
198
|
-
]),
|
|
199
|
-
_: 1
|
|
200
|
-
})
|
|
201
|
-
]),
|
|
202
|
-
_: 1
|
|
203
|
-
}, 8, ["model"]),
|
|
204
|
-
n[10] || (n[10] = V("div", { class: "clear" }, null, -1))
|
|
205
|
-
]),
|
|
206
|
-
o(H, {
|
|
207
|
-
shadow: "never",
|
|
208
|
-
class: "table-container"
|
|
209
|
-
}, {
|
|
210
|
-
header: l(() => [
|
|
211
|
-
o(k, null, {
|
|
212
|
-
default: l(() => [
|
|
213
|
-
o(c, { span: 17 }, {
|
|
214
|
-
default: l(() => [
|
|
215
|
-
_((p(), T(v, {
|
|
216
|
-
type: "primary",
|
|
217
|
-
onClick: j
|
|
218
|
-
}, {
|
|
219
|
-
default: l(() => [
|
|
220
|
-
m(u(t.$t("common.add")), 1)
|
|
221
|
-
]),
|
|
222
|
-
_: 1
|
|
223
|
-
})), [
|
|
224
|
-
[b, ["itsmsys:sys_gov:add"]]
|
|
225
|
-
]),
|
|
226
|
-
_((p(), T(v, {
|
|
227
|
-
type: "primary",
|
|
228
|
-
onClick: n[8] || (n[8] = (e) => a(r).deleteRecords())
|
|
229
|
-
}, {
|
|
230
|
-
default: l(() => [
|
|
231
|
-
m(u(t.$t("common.batchDelete")), 1)
|
|
232
|
-
]),
|
|
233
|
-
_: 1
|
|
234
|
-
})), [
|
|
235
|
-
[b, ["itsmsys:sys_gov:delete"]]
|
|
236
|
-
])
|
|
237
|
-
]),
|
|
238
|
-
_: 1
|
|
239
|
-
}),
|
|
240
|
-
o(c, {
|
|
241
|
-
span: 7,
|
|
242
|
-
class: "container-float"
|
|
243
|
-
}, {
|
|
244
|
-
default: l(() => [
|
|
245
|
-
o(O, {
|
|
246
|
-
modelValue: a(y),
|
|
247
|
-
"onUpdate:modelValue": n[9] || (n[9] = (e) => X(y) ? y.value = e : y = e),
|
|
248
|
-
"label-name": "itsmsys/itsm-sys-gov"
|
|
249
|
-
}, null, 8, ["modelValue"])
|
|
250
|
-
]),
|
|
251
|
-
_: 1
|
|
252
|
-
})
|
|
253
|
-
]),
|
|
254
|
-
_: 1
|
|
255
|
-
})
|
|
256
|
-
]),
|
|
257
|
-
default: l(() => [
|
|
258
|
-
o(F, {
|
|
259
|
-
ref_key: "multipleTableRef",
|
|
260
|
-
ref: R,
|
|
261
|
-
"row-key": "orgId",
|
|
262
|
-
"list-loading": a(G),
|
|
263
|
-
data: a(I),
|
|
264
|
-
"table-label": a(y),
|
|
265
|
-
onSelectionChange: M,
|
|
266
|
-
onSortChange: S
|
|
267
|
-
}, {
|
|
268
|
-
contactPersonMobile: l((e) => [
|
|
269
|
-
o(Q, {
|
|
270
|
-
mobilePhoneIns: e.data.row.contactPersonMobileIns,
|
|
271
|
-
mobilePhone: e.data.row.contactPersonMobile,
|
|
272
|
-
mobileEncrypt: e.data.row.mobileEncrypt,
|
|
273
|
-
onToggleEncrypt: (i) => B(e.data.row)
|
|
274
|
-
}, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
|
|
275
|
-
]),
|
|
276
|
-
orderBy: l((e) => [
|
|
277
|
-
o($, {
|
|
278
|
-
size: "16",
|
|
279
|
-
onClick: (i) => a(r).handleMove(e.data.row, !1)
|
|
280
|
-
}, {
|
|
281
|
-
default: l(() => [
|
|
282
|
-
o(L)
|
|
283
|
-
]),
|
|
284
|
-
_: 2
|
|
285
|
-
}, 1032, ["onClick"]),
|
|
286
|
-
o($, {
|
|
287
|
-
size: "16",
|
|
288
|
-
onClick: (i) => a(r).handleMove(e.data.row, !0)
|
|
289
|
-
}, {
|
|
290
|
-
default: l(() => [
|
|
291
|
-
o(z)
|
|
292
|
-
]),
|
|
293
|
-
_: 2
|
|
294
|
-
}, 1032, ["onClick"])
|
|
295
|
-
]),
|
|
296
|
-
status: l((e) => [
|
|
297
|
-
o(A, {
|
|
298
|
-
modelValue: e.data.row.status,
|
|
299
|
-
"onUpdate:modelValue": (i) => e.data.row.status = i,
|
|
300
|
-
onChange: (i) => a(r).enableRecord(e.data.row, e.data.row.status)
|
|
301
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
302
|
-
]),
|
|
303
|
-
operation: l((e) => [
|
|
304
|
-
_((p(), h("span", {
|
|
305
|
-
class: "el-button-color",
|
|
306
|
-
onClick: (i) => q(e.data.row)
|
|
307
|
-
}, [
|
|
308
|
-
m(u(t.$t("common.edit")), 1)
|
|
309
|
-
], 8, se)), [
|
|
310
|
-
[b, ["itsmsys:sys_gov:update"]]
|
|
311
|
-
]),
|
|
312
|
-
_((p(), h("span", {
|
|
313
|
-
class: "el-button-color dropdown-left",
|
|
314
|
-
onClick: (i) => a(r).deleteRecord(e.data.row)
|
|
315
|
-
}, [
|
|
316
|
-
m(u(t.$t("common.delete")), 1)
|
|
317
|
-
], 8, ae)), [
|
|
318
|
-
[b, ["itsmsys:sys_gov:delete"]]
|
|
319
|
-
]),
|
|
320
|
-
_((p(), h("span", {
|
|
321
|
-
class: "el-button-color dropdown-left",
|
|
322
|
-
onClick: (i) => D(e.data.row)
|
|
323
|
-
}, [
|
|
324
|
-
m(u(t.$t("common.view")), 1)
|
|
325
|
-
], 8, re)), [
|
|
326
|
-
[b, ["itsmsys:sys_gov:view"]]
|
|
327
|
-
])
|
|
328
|
-
]),
|
|
329
|
-
_: 1
|
|
330
|
-
}, 8, ["list-loading", "data", "table-label"])
|
|
331
|
-
]),
|
|
332
|
-
_: 1
|
|
333
|
-
})
|
|
334
|
-
]);
|
|
335
|
-
};
|
|
336
|
-
}
|
|
337
|
-
});
|
|
338
|
-
export {
|
|
339
|
-
be as default
|
|
340
|
-
};
|