xyvcard-itsmsys 0.0.24 → 0.0.26
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/{FileSaver.min-BeKvLuyk.mjs → FileSaver.min-5d27MsC6.mjs} +12 -12
- package/dist/{edit-CNEVornb.mjs → edit-3Y_XpZxY.mjs} +3 -3
- package/dist/{edit-CfbonHOl.mjs → edit-4Z-ZnpFy.mjs} +1 -1
- package/dist/{edit-BrHOGUbU.mjs → edit-8-gDtIOz.mjs} +1 -1
- package/dist/{edit-DybO5r3p.mjs → edit-BlkaYTGl.mjs} +1 -1
- package/dist/{edit-COKceKzl.mjs → edit-BuYTlsXr.mjs} +3 -3
- package/dist/{edit-_QJnKCdq.mjs → edit-CEYAvHd3.mjs} +1 -1
- package/dist/{edit-DYqAdRsK.mjs → edit-diNsokNw.mjs} +3 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CaZa7PUh.mjs → edit.vue_vue_type_script_setup_true_lang-CFG4x85k.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BOvUiQbv.mjs → edit.vue_vue_type_script_setup_true_lang-DeduEUOD.mjs} +6 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BfQVspxd.mjs → edit.vue_vue_type_script_setup_true_lang-T6aiep4s.mjs} +74 -72
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D2j1brBX.mjs → edit.vue_vue_type_script_setup_true_lang-g81nThyI.mjs} +59 -57
- package/dist/{import-upload-CC1Ho43e.mjs → import-upload-BxVBkr7-.mjs} +2 -2
- package/dist/{import-upload-BaJGVcNb.mjs → import-upload-CtJh5u39.mjs} +2 -2
- package/dist/{index-igV06vtf.mjs → index-C2od41K0.mjs} +161 -153
- package/dist/{index-BV5uRZXE.mjs → index-CNmDTZ5s.mjs} +64 -58
- package/dist/{index-cpyRUYdS.mjs → index-CR3fzc4o.mjs} +79 -73
- package/dist/{index-Di1yx94g.mjs → index-Cgq1M4Qb.mjs} +120 -112
- package/dist/{index-CAzxJ_Vp.mjs → index-CuCoE8rm.mjs} +104 -98
- package/dist/{index-B2xwBTw-.mjs → index-RF4VErgF.mjs} +8 -8
- package/dist/{index-IpHv0Vzi.mjs → index-Trc70jRt.mjs} +1 -1
- package/dist/{index-WHNNztBg.mjs → index-XMaINj6l.mjs} +207 -194
- package/dist/index.mjs +2 -2
- package/dist/index.vue_vue_type_script_setup_true_lang-B2_RWC8z.mjs +199 -0
- package/dist/{info-G1z1-aeX.mjs → info-0SKOqQd1.mjs} +2 -2
- package/dist/{info-DttXGxP3.mjs → info-BLmEh_qP.mjs} +2 -2
- package/dist/{info-BUKhtcuu.mjs → info-BVo8clC4.mjs} +2 -2
- package/dist/{info-AE3ch4Zw.mjs → info-Bbkgb1XC.mjs} +2 -2
- package/dist/{info-EodyqiPm.mjs → info-CSazWjOe.mjs} +2 -2
- package/dist/{info-6E3wqxd6.mjs → info-DPpTceEz.mjs} +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-BnhxjAOt.mjs +0 -198
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-itsmsys",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/index.d.ts",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"vue": "^3.5.13",
|
|
16
16
|
"vue-i18n": "^9.14.4",
|
|
17
17
|
"vue-router": "^4.5.1",
|
|
18
|
-
"jmash-core": "^0.1.
|
|
19
|
-
"jmash-dict": "^0.1.
|
|
20
|
-
"jmash-rbac": "^0.1.
|
|
18
|
+
"jmash-core": "^0.1.33",
|
|
19
|
+
"jmash-dict": "^0.1.5",
|
|
20
|
+
"jmash-rbac": "^0.1.23"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@eslint/js": "^9.14.0",
|
|
@@ -1,198 +0,0 @@
|
|
|
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 b, createBlock as _, createTextVNode as g, toDisplayString as d, unref as l, isRef as I, createCommentVNode as N, 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-CaZa7PUh.mjs";
|
|
7
|
-
import { D as W } from "./index-dIcRC4jE.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: R, listLoading: D, tableData: S, total: v } = F(p, M, u);
|
|
14
|
-
let c = k([
|
|
15
|
-
{
|
|
16
|
-
label: "sysOrgInvoice.invoiceType",
|
|
17
|
-
prop: "invoiceType",
|
|
18
|
-
width: "100",
|
|
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
|
-
width: "150"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
label: "sysOrgInvoice.backNumber",
|
|
42
|
-
prop: "backNumber",
|
|
43
|
-
isColumn: !0
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
label: "sysOrgInvoice.taxRate",
|
|
47
|
-
prop: "taxRate",
|
|
48
|
-
isColumn: !0,
|
|
49
|
-
width: "100"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
label: "common.operate",
|
|
53
|
-
width: "200",
|
|
54
|
-
slotName: "operation",
|
|
55
|
-
columnType: "slot",
|
|
56
|
-
fixed: "right",
|
|
57
|
-
isColumn: !0
|
|
58
|
-
}
|
|
59
|
-
]);
|
|
60
|
-
const i = k({
|
|
61
|
-
title: p("common.edit"),
|
|
62
|
-
visible: !1
|
|
63
|
-
});
|
|
64
|
-
let f = T({});
|
|
65
|
-
function $() {
|
|
66
|
-
f = T({}), i.value.title = p("common.add"), i.value.visible = !0;
|
|
67
|
-
}
|
|
68
|
-
function x(o) {
|
|
69
|
-
f.invoiceId = o.invoiceId, i.value.title = p("common.edit"), i.value.visible = !0;
|
|
70
|
-
}
|
|
71
|
-
function O(o) {
|
|
72
|
-
a.selectionRows.value = o;
|
|
73
|
-
}
|
|
74
|
-
function P(o) {
|
|
75
|
-
a.handleSort(o.prop, o.order);
|
|
76
|
-
}
|
|
77
|
-
function j(o) {
|
|
78
|
-
o && a.getList();
|
|
79
|
-
}
|
|
80
|
-
return a.getList(), (o, t) => {
|
|
81
|
-
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"), y = H("hasPerm");
|
|
82
|
-
return r(), C("div", X, [
|
|
83
|
-
m(B, {
|
|
84
|
-
shadow: "never",
|
|
85
|
-
class: "table-container"
|
|
86
|
-
}, {
|
|
87
|
-
header: n(() => [
|
|
88
|
-
m(E, null, {
|
|
89
|
-
default: n(() => [
|
|
90
|
-
m(w, { span: 17 }, {
|
|
91
|
-
default: n(() => [
|
|
92
|
-
b((r(), _(h, {
|
|
93
|
-
type: "primary",
|
|
94
|
-
onClick: $
|
|
95
|
-
}, {
|
|
96
|
-
default: n(() => [
|
|
97
|
-
g(d(o.$t("common.add")), 1)
|
|
98
|
-
]),
|
|
99
|
-
_: 1
|
|
100
|
-
})), [
|
|
101
|
-
[y, ["itsmsys:sys_org_invoice:add"]]
|
|
102
|
-
]),
|
|
103
|
-
b((r(), _(h, {
|
|
104
|
-
type: "primary",
|
|
105
|
-
onClick: t[0] || (t[0] = (e) => l(a).deleteRecords())
|
|
106
|
-
}, {
|
|
107
|
-
default: n(() => [
|
|
108
|
-
g(d(o.$t("common.batchDelete")), 1)
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
})), [
|
|
112
|
-
[y, ["itsmsys:sys_org_invoice:delete"]]
|
|
113
|
-
])
|
|
114
|
-
]),
|
|
115
|
-
_: 1
|
|
116
|
-
}),
|
|
117
|
-
m(w, {
|
|
118
|
-
span: 7,
|
|
119
|
-
class: "container-float"
|
|
120
|
-
}, {
|
|
121
|
-
default: n(() => [
|
|
122
|
-
m(z, {
|
|
123
|
-
modelValue: l(c),
|
|
124
|
-
"onUpdate:modelValue": t[1] || (t[1] = (e) => I(c) ? c.value = e : c = e),
|
|
125
|
-
"label-name": "itsmsys/itsm-sys-org-invoice"
|
|
126
|
-
}, null, 8, ["modelValue"])
|
|
127
|
-
]),
|
|
128
|
-
_: 1
|
|
129
|
-
})
|
|
130
|
-
]),
|
|
131
|
-
_: 1
|
|
132
|
-
})
|
|
133
|
-
]),
|
|
134
|
-
footer: n(() => [
|
|
135
|
-
l(v) > 0 ? (r(), _(U, {
|
|
136
|
-
key: 0,
|
|
137
|
-
total: l(v),
|
|
138
|
-
"onUpdate:total": t[2] || (t[2] = (e) => I(v) ? v.value = e : null),
|
|
139
|
-
"current-page": u.value.curPage,
|
|
140
|
-
"onUpdate:currentPage": t[3] || (t[3] = (e) => u.value.curPage = e),
|
|
141
|
-
"page-size": u.value.pageSize,
|
|
142
|
-
"onUpdate:pageSize": t[4] || (t[4] = (e) => u.value.pageSize = e),
|
|
143
|
-
onPagination: t[5] || (t[5] = (e) => l(a).getList())
|
|
144
|
-
}, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
|
|
145
|
-
]),
|
|
146
|
-
default: n(() => [
|
|
147
|
-
m(L, {
|
|
148
|
-
ref_key: "multipleTableRef",
|
|
149
|
-
ref: R,
|
|
150
|
-
"row-key": "invoiceId",
|
|
151
|
-
"list-loading": l(D),
|
|
152
|
-
data: l(S),
|
|
153
|
-
"table-label": l(c),
|
|
154
|
-
onSelectionChange: O,
|
|
155
|
-
onSortChange: P
|
|
156
|
-
}, {
|
|
157
|
-
invoiceType: n((e) => [
|
|
158
|
-
K("span", null, d(l(W).invoiceTypeDictEnum.getEnumValue(e.data.row.invoiceType)), 1)
|
|
159
|
-
]),
|
|
160
|
-
operation: n((e) => [
|
|
161
|
-
b((r(), C("span", {
|
|
162
|
-
class: "el-button-color",
|
|
163
|
-
onClick: (q) => x(e.data.row)
|
|
164
|
-
}, [
|
|
165
|
-
g(d(o.$t("common.edit")), 1)
|
|
166
|
-
], 8, Y)), [
|
|
167
|
-
[y, ["itsmsys:sys_org_invoice:update"]]
|
|
168
|
-
]),
|
|
169
|
-
b((r(), C("span", {
|
|
170
|
-
class: "el-button-color dropdown-left",
|
|
171
|
-
onClick: (q) => l(a).deleteRecord(e.data.row)
|
|
172
|
-
}, [
|
|
173
|
-
g(d(o.$t("common.delete")), 1)
|
|
174
|
-
], 8, Z)), [
|
|
175
|
-
[y, ["itsmsys:sys_org_invoice:delete"]]
|
|
176
|
-
])
|
|
177
|
-
]),
|
|
178
|
-
_: 1
|
|
179
|
-
}, 8, ["list-loading", "data", "table-label"])
|
|
180
|
-
]),
|
|
181
|
-
_: 1
|
|
182
|
-
}),
|
|
183
|
-
i.value.visible ? (r(), _(Q, {
|
|
184
|
-
key: 0,
|
|
185
|
-
modelValue: i.value.visible,
|
|
186
|
-
"onUpdate:modelValue": t[6] || (t[6] = (e) => i.value.visible = e),
|
|
187
|
-
title: i.value.title,
|
|
188
|
-
"entity-key": l(f),
|
|
189
|
-
onRefresh: j,
|
|
190
|
-
width: "900px"
|
|
191
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) : N("", !0)
|
|
192
|
-
]);
|
|
193
|
-
};
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
export {
|
|
197
|
-
re as _
|
|
198
|
-
};
|