xyvcard-itsmsys 0.0.2 → 0.0.4
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/common-B2PCBCJ2.mjs +13 -0
- package/dist/edit-BhRXuYku.mjs +342 -0
- package/dist/edit-CIm8Y0Be.mjs +4 -0
- package/dist/edit-CWVYUzgf.mjs +369 -0
- package/dist/edit-CkaU_6vk.mjs +342 -0
- package/dist/edit-D82hX9if.mjs +4 -0
- package/dist/edit-DPM0jGQT.mjs +4 -0
- package/dist/edit-DZJU5ZPt.mjs +4 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs +437 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs +439 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs +248 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs +439 -0
- package/dist/index-BRupqW34.mjs +96 -0
- package/dist/index-B_cot8iN.mjs +439 -0
- package/dist/index-BkHGzL0R.mjs +358 -0
- package/dist/index-C6KvLUoL.mjs +4 -0
- package/dist/index-CEUyLrKg.mjs +404 -0
- package/dist/index-ChTssr8-.mjs +123 -0
- package/dist/index-ClU157bA.mjs +324 -0
- package/dist/index-CogdeN09.mjs +331 -0
- package/dist/{index-B-FkgFqA.mjs → index-DOXuGEyW.mjs} +6 -6
- package/dist/index-i7X9N_rj.mjs +341 -0
- package/dist/index.mjs +2903 -70
- package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +180 -0
- package/dist/info-70H0sycC.mjs +187 -0
- package/dist/info-BWgVN2mJ.mjs +176 -0
- package/dist/info-CE-ZnFj5.mjs +179 -0
- package/dist/info-Kf11Ye-N.mjs +187 -0
- package/dist/info-MYJGcyMX.mjs +179 -0
- package/dist/info-Z5LuCRmr.mjs +187 -0
- package/dist/style.css +1 -1
- package/dts/src/api/dict.d.ts +9 -1
- package/dts/src/api/index.d.ts +8 -1
- package/dts/src/api/itsm-sys-org/index.d.ts +2 -0
- package/dts/src/api/itsm-sys-org/types.d.ts +14 -6
- package/dts/src/api/itsm-sys-user-ext/index.d.ts +14 -0
- package/dts/src/api/itsm-sys-user-ext/types.d.ts +91 -0
- package/dts/src/constant.d.ts +11 -0
- package/dts/src/index.d.ts +2 -0
- package/dts/src/lang/itsmsys/zh-cn.d.ts +87 -10
- package/dts/src/router/index.d.ts +8 -1
- package/dts/src/utils/common.d.ts +1 -0
- package/dts/src/utils/momentPlugin.d.ts +5 -0
- package/dts/src/views/itsmsys/itsm-sys-gov/edit.vue.d.ts +1 -21
- package/dts/src/views/itsmsys/itsm-sys-gov/info.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/{itsm-sys-org/invoiceEdit.vue.d.ts → itsm-sys-org-invoice/edit.vue.d.ts} +3 -12
- package/dts/src/views/itsmsys/itsm-sys-org-invoice/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-out/edit.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-out/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-out/info.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +22 -0
- package/dts/src/views/itsmsys/itsm-sys-user-man/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-man/info.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +22 -0
- package/dts/src/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +22 -0
- package/dts/src/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +2 -0
- package/dts/src/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +2 -0
- package/package.json +3 -3
- package/dist/edit-BKMLirl4.mjs +0 -602
- package/dist/edit-ccGk5679.mjs +0 -610
- package/dist/index-BGwm5W6z.mjs +0 -343
- package/dist/index-CSDhKMEP.mjs +0 -332
- package/dist/info-CSOdbuvm.mjs +0 -192
- package/dist/invoiceEdit-D9zxwIoM.mjs +0 -288
- package/dts/src/api/itsm-sys-gov/index.d.ts +0 -15
- package/dts/src/api/itsm-sys-gov/types.d.ts +0 -87
- package/dts/src/api/itsm-sys-gov-invoice/index.d.ts +0 -13
- package/dts/src/api/itsm-sys-gov-invoice/types.d.ts +0 -48
package/dist/edit-BKMLirl4.mjs
DELETED
|
@@ -1,602 +0,0 @@
|
|
|
1
|
-
import { defineComponent as W, watch as de, onMounted as ue, openBlock as L, createElementBlock as C, ref as w, reactive as T, resolveComponent as g, resolveDirective as ce, createVNode as t, withCtx as n, unref as r, createTextVNode as R, toDisplayString as q, createBlock as x, withDirectives as U, isRef as me, createCommentVNode as G } from "vue";
|
|
2
|
-
import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
3
|
-
import { ElMessage as B, ElMessageBox as pe } from "element-plus";
|
|
4
|
-
import { useI18n as fe } from "vue-i18n";
|
|
5
|
-
import { useRoute as be } from "vue-router";
|
|
6
|
-
import { sysOrgApi as E } from "./index.mjs";
|
|
7
|
-
import { useTableHooks as ye } from "jmash-core";
|
|
8
|
-
import { s as j } from "./index-B-FkgFqA.mjs";
|
|
9
|
-
import ve from "./invoiceEdit-D9zxwIoM.mjs";
|
|
10
|
-
async function _e() {
|
|
11
|
-
return new Promise((k, s) => {
|
|
12
|
-
const m = document.createElement("script");
|
|
13
|
-
m.type = "text/javascript", m.src = "https://map.qq.com/api/gljs?v=1.exp&key=OBWBZ-L62CW-2B7RQ-YKOOO-P4LR3-4PFXQ&callback=initMap&libraries=service", m.onload = () => {
|
|
14
|
-
k(!0);
|
|
15
|
-
}, m.onerror = (_) => {
|
|
16
|
-
s(_);
|
|
17
|
-
}, document.head.appendChild(m);
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
const he = {
|
|
21
|
-
id: "container",
|
|
22
|
-
class: "container"
|
|
23
|
-
}, we = /* @__PURE__ */ W({
|
|
24
|
-
__name: "index",
|
|
25
|
-
props: {
|
|
26
|
-
address: {
|
|
27
|
-
type: String,
|
|
28
|
-
default: ""
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
emits: ["getAddress", "getLatLng"],
|
|
32
|
-
setup(k, { emit: s }) {
|
|
33
|
-
const m = k, _ = s;
|
|
34
|
-
let h, f;
|
|
35
|
-
de(
|
|
36
|
-
() => m.address,
|
|
37
|
-
(e) => {
|
|
38
|
-
y(e);
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
async function I() {
|
|
42
|
-
const e = new TMap.LatLng(37.870451, 112.549656), p = {
|
|
43
|
-
zoom: 16,
|
|
44
|
-
center: e
|
|
45
|
-
};
|
|
46
|
-
h = new TMap.Map(document.getElementById("container"), p), P(e);
|
|
47
|
-
}
|
|
48
|
-
function P(e) {
|
|
49
|
-
console.log("center.....", e), f = new TMap.MultiMarker({
|
|
50
|
-
map: h,
|
|
51
|
-
styles: {
|
|
52
|
-
// 点标记样式
|
|
53
|
-
marker: new TMap.MarkerStyle({
|
|
54
|
-
width: 20,
|
|
55
|
-
// 样式宽
|
|
56
|
-
height: 30,
|
|
57
|
-
// 样式高
|
|
58
|
-
anchor: { x: 10, y: 30 }
|
|
59
|
-
// 描点位置
|
|
60
|
-
})
|
|
61
|
-
},
|
|
62
|
-
geometries: [
|
|
63
|
-
// 点标记数据数组
|
|
64
|
-
{
|
|
65
|
-
// 标记位置(纬度,经度,高度)
|
|
66
|
-
position: e,
|
|
67
|
-
styleId: "marker"
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}), V();
|
|
71
|
-
}
|
|
72
|
-
function V() {
|
|
73
|
-
h.on("click", (e) => {
|
|
74
|
-
console.log("evt.....", e), f.add({
|
|
75
|
-
position: e.latLng,
|
|
76
|
-
styleId: "marker"
|
|
77
|
-
}), new TMap.service.Geocoder().getAddress({ location: new TMap.LatLng(e.latLng.lat, e.latLng.lng) }).then((c) => {
|
|
78
|
-
console.log(c), c.status === 0 && (_("getLatLng", [e.latLng.lat, e.latLng.lng]), _("getAddress", c.result.address));
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
function b() {
|
|
83
|
-
f && (console.log("......", f), f.setMap(null), f = null);
|
|
84
|
-
}
|
|
85
|
-
function y(e) {
|
|
86
|
-
const p = new TMap.service.Geocoder();
|
|
87
|
-
console.log(p, e), p.getLocation({ address: e }).then((c) => {
|
|
88
|
-
console.log(c), c.status === 0 && (b(), P(
|
|
89
|
-
new TMap.LatLng(c.result.location.lat, c.result.location.lng)
|
|
90
|
-
), $(c.result.location.lat, c.result.location.lng), _("getLatLng", [c.result.location.lat, c.result.location.lng]));
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
function $(e, p) {
|
|
94
|
-
h.setCenter(new TMap.LatLng(e, p));
|
|
95
|
-
}
|
|
96
|
-
return ue(async () => {
|
|
97
|
-
await _e(), await I();
|
|
98
|
-
}), (e, p) => (L(), C("div", he));
|
|
99
|
-
}
|
|
100
|
-
}), Le = /* @__PURE__ */ ge(we, [["__scopeId", "data-v-a3650af5"]]), Pe = { class: "app-container" }, Oe = ["onClick"], Me = ["onClick"], Se = /* @__PURE__ */ W({
|
|
101
|
-
__name: "edit",
|
|
102
|
-
setup(k) {
|
|
103
|
-
const { t: s } = fe(), m = be(), _ = w({}), { tableHooks: h, multipleTableRef: f, listLoading: I } = ye(
|
|
104
|
-
s,
|
|
105
|
-
j,
|
|
106
|
-
_
|
|
107
|
-
), P = w(), V = w([]), b = w("first"), y = w("");
|
|
108
|
-
y.value = m.query.entityKey;
|
|
109
|
-
function $(o) {
|
|
110
|
-
b.value = o.props.name, b.value === "second" ? M() : e.requestId = Math.random() * 10 + "";
|
|
111
|
-
}
|
|
112
|
-
let e = T({
|
|
113
|
-
requestId: Math.random() * 10 + "",
|
|
114
|
-
updateMask: "orgName,address",
|
|
115
|
-
orgType: "CLOUD"
|
|
116
|
-
});
|
|
117
|
-
const p = (o, l, i) => {
|
|
118
|
-
(l === void 0 || l === "") && i(new Error(s("sysOrg.contactPersonTelRequired"))), /^0\d{2,3}-\d{7,8}$/.test(l) || i(new Error(s("sysOrg.contactPersonTelRequireds"))), i();
|
|
119
|
-
}, c = (o, l, i) => {
|
|
120
|
-
l === void 0 && i(new Error(s("sysOrg.contactPersonMobileRequired"))), /^1[3-9]\d{9}$/.test(l) || i(new Error(s("sysOrg.contactPersonMobileRequireds"))), i();
|
|
121
|
-
}, H = T({
|
|
122
|
-
orgName: [
|
|
123
|
-
{
|
|
124
|
-
required: !0,
|
|
125
|
-
message: s("sysOrg.orgNameRequired"),
|
|
126
|
-
trigger: "blur"
|
|
127
|
-
}
|
|
128
|
-
],
|
|
129
|
-
address: [
|
|
130
|
-
{
|
|
131
|
-
required: !0,
|
|
132
|
-
message: s("sysOrg.addressRequired"),
|
|
133
|
-
trigger: "blur"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
contactPerson: [
|
|
137
|
-
{
|
|
138
|
-
required: !0,
|
|
139
|
-
message: s("sysOrg.contactPersonRequired"),
|
|
140
|
-
trigger: "blur"
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
contactPersonPosi: [
|
|
144
|
-
{
|
|
145
|
-
required: !0,
|
|
146
|
-
message: s("sysOrg.contactPersonPosiRequired"),
|
|
147
|
-
trigger: "blur"
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
contactPersonMobile: [
|
|
151
|
-
{
|
|
152
|
-
required: !0,
|
|
153
|
-
trigger: "blur",
|
|
154
|
-
validator: c
|
|
155
|
-
}
|
|
156
|
-
],
|
|
157
|
-
contactPersonTel: [
|
|
158
|
-
{
|
|
159
|
-
required: !0,
|
|
160
|
-
trigger: "blur",
|
|
161
|
-
validator: p
|
|
162
|
-
}
|
|
163
|
-
]
|
|
164
|
-
});
|
|
165
|
-
function Q(o) {
|
|
166
|
-
e.geoLatitude = o[0], e.geoLongitude = o[1];
|
|
167
|
-
}
|
|
168
|
-
function z(o) {
|
|
169
|
-
e.address = o;
|
|
170
|
-
}
|
|
171
|
-
m.query.entityKey && E.findById({ orgId: m.query.entityKey }).then(({ data: o }) => {
|
|
172
|
-
Object.assign(e, o);
|
|
173
|
-
});
|
|
174
|
-
const X = async () => {
|
|
175
|
-
var o;
|
|
176
|
-
await ((o = P.value) == null ? void 0 : o.validate((l) => {
|
|
177
|
-
var i, u;
|
|
178
|
-
l && (e.geoLongitude = (i = e.geoLongitude) == null ? void 0 : i.toString(), e.geoLatitude = (u = e.geoLatitude) == null ? void 0 : u.toString(), e.orgId = y.value, e.orgId ? E.update(e).then((d) => {
|
|
179
|
-
d.status === 200 && (B({
|
|
180
|
-
message: s("common.submitSuccess"),
|
|
181
|
-
type: "success"
|
|
182
|
-
}), b.value = "second", M());
|
|
183
|
-
}) : E.create(e).then((d) => {
|
|
184
|
-
d.status === 200 && (B({
|
|
185
|
-
message: s("common.submitSuccess"),
|
|
186
|
-
type: "success"
|
|
187
|
-
}), y.value = d.data.orgId, b.value = "second", M());
|
|
188
|
-
}));
|
|
189
|
-
}));
|
|
190
|
-
};
|
|
191
|
-
let O = w([
|
|
192
|
-
{
|
|
193
|
-
label: "sysOrgInvoice.invoiceType",
|
|
194
|
-
prop: "invoiceType",
|
|
195
|
-
width: "150",
|
|
196
|
-
isColumn: !0
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
label: "sysOrgInvoice.invoiceTitle",
|
|
200
|
-
prop: "invoiceTitle",
|
|
201
|
-
width: "150",
|
|
202
|
-
isColumn: !0
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
label: "sysOrgInvoice.taxNumber",
|
|
206
|
-
prop: "taxNumber",
|
|
207
|
-
isColumn: !0
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
label: "sysOrgInvoice.bankName",
|
|
211
|
-
prop: "bankName",
|
|
212
|
-
isColumn: !0
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
label: "sysOrgInvoice.backNumber",
|
|
216
|
-
prop: "backNumber",
|
|
217
|
-
isColumn: !0
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
label: "common.operate",
|
|
221
|
-
width: "200",
|
|
222
|
-
slotName: "operation",
|
|
223
|
-
columnType: "slot",
|
|
224
|
-
fixed: "right",
|
|
225
|
-
isColumn: !0
|
|
226
|
-
}
|
|
227
|
-
]);
|
|
228
|
-
const v = w({
|
|
229
|
-
title: s("common.edit"),
|
|
230
|
-
visible: !1
|
|
231
|
-
});
|
|
232
|
-
let N = T({});
|
|
233
|
-
function Y() {
|
|
234
|
-
N = T({}), v.value.title = s("common.add"), v.value.visible = !0;
|
|
235
|
-
}
|
|
236
|
-
function Z(o) {
|
|
237
|
-
N.invoiceId = o.invoiceId, v.value.title = s("common.edit"), v.value.visible = !0;
|
|
238
|
-
}
|
|
239
|
-
function J(o) {
|
|
240
|
-
pe.confirm(s("common.confirmDelete"), s("common.delete"), {
|
|
241
|
-
cancelButtonText: s("common.cancel"),
|
|
242
|
-
confirmButtonText: s("common.confirm"),
|
|
243
|
-
type: "warning"
|
|
244
|
-
}).then(() => {
|
|
245
|
-
j.delete(o).then((l) => {
|
|
246
|
-
l.status === 200 && (B({
|
|
247
|
-
message: s("common.deleteSuccess"),
|
|
248
|
-
type: "success"
|
|
249
|
-
}), M());
|
|
250
|
-
});
|
|
251
|
-
}).catch(() => {
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
function M() {
|
|
255
|
-
j.findList({ orgId: y.value }).then(({ data: o }) => {
|
|
256
|
-
V.value = o.results;
|
|
257
|
-
});
|
|
258
|
-
}
|
|
259
|
-
function ee(o) {
|
|
260
|
-
o && M();
|
|
261
|
-
}
|
|
262
|
-
function oe(o) {
|
|
263
|
-
h.selectionRows.value = o;
|
|
264
|
-
}
|
|
265
|
-
function te(o) {
|
|
266
|
-
h.handleSort(o.prop, o.order);
|
|
267
|
-
}
|
|
268
|
-
return (o, l) => {
|
|
269
|
-
const i = g("el-input"), u = g("el-form-item"), d = g("el-col"), le = Le, A = g("el-row"), D = g("el-button"), ne = g("el-form"), F = g("el-tab-pane"), ae = g("jmash-column-select"), se = g("jmash-table"), K = g("el-card"), re = g("el-tabs"), S = ce("hasPerm");
|
|
270
|
-
return L(), C("div", Pe, [
|
|
271
|
-
t(K, { shadow: "never" }, {
|
|
272
|
-
default: n(() => [
|
|
273
|
-
t(re, {
|
|
274
|
-
modelValue: b.value,
|
|
275
|
-
"onUpdate:modelValue": l[10] || (l[10] = (a) => b.value = a),
|
|
276
|
-
onTabClick: $
|
|
277
|
-
}, {
|
|
278
|
-
default: n(() => [
|
|
279
|
-
t(F, {
|
|
280
|
-
label: "公司信息",
|
|
281
|
-
name: "first"
|
|
282
|
-
}, {
|
|
283
|
-
default: n(() => [
|
|
284
|
-
t(ne, {
|
|
285
|
-
ref_key: "sysOrgFormRef",
|
|
286
|
-
ref: P,
|
|
287
|
-
model: r(e),
|
|
288
|
-
"label-width": "120px",
|
|
289
|
-
rules: H
|
|
290
|
-
}, {
|
|
291
|
-
default: n(() => [
|
|
292
|
-
t(A, null, {
|
|
293
|
-
default: n(() => [
|
|
294
|
-
t(d, { span: 24 }, {
|
|
295
|
-
default: n(() => [
|
|
296
|
-
t(u, {
|
|
297
|
-
label: o.$t("sysOrg.orgName"),
|
|
298
|
-
prop: "orgName"
|
|
299
|
-
}, {
|
|
300
|
-
default: n(() => [
|
|
301
|
-
t(i, {
|
|
302
|
-
modelValue: r(e).orgName,
|
|
303
|
-
"onUpdate:modelValue": l[0] || (l[0] = (a) => r(e).orgName = a),
|
|
304
|
-
placeholder: o.$t("sysOrg.orgNameRequired"),
|
|
305
|
-
maxlength: "50",
|
|
306
|
-
"show-word-limit": "",
|
|
307
|
-
clearable: ""
|
|
308
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
309
|
-
]),
|
|
310
|
-
_: 1
|
|
311
|
-
}, 8, ["label"])
|
|
312
|
-
]),
|
|
313
|
-
_: 1
|
|
314
|
-
}),
|
|
315
|
-
t(d, { span: 24 }, {
|
|
316
|
-
default: n(() => [
|
|
317
|
-
t(u, {
|
|
318
|
-
label: o.$t("sysOrg.address"),
|
|
319
|
-
prop: "address"
|
|
320
|
-
}, {
|
|
321
|
-
default: n(() => [
|
|
322
|
-
t(i, {
|
|
323
|
-
modelValue: r(e).address,
|
|
324
|
-
"onUpdate:modelValue": l[1] || (l[1] = (a) => r(e).address = a),
|
|
325
|
-
placeholder: o.$t("sysOrg.addressRequired"),
|
|
326
|
-
maxlength: "120",
|
|
327
|
-
"show-word-limit": "",
|
|
328
|
-
clearable: ""
|
|
329
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
330
|
-
]),
|
|
331
|
-
_: 1
|
|
332
|
-
}, 8, ["label"])
|
|
333
|
-
]),
|
|
334
|
-
_: 1
|
|
335
|
-
}),
|
|
336
|
-
t(d, { span: 24 }, {
|
|
337
|
-
default: n(() => [
|
|
338
|
-
t(u, null, {
|
|
339
|
-
default: n(() => [
|
|
340
|
-
t(le, {
|
|
341
|
-
address: r(e).address,
|
|
342
|
-
onGetLatLng: Q,
|
|
343
|
-
onGetAddress: z
|
|
344
|
-
}, null, 8, ["address"])
|
|
345
|
-
]),
|
|
346
|
-
_: 1
|
|
347
|
-
})
|
|
348
|
-
]),
|
|
349
|
-
_: 1
|
|
350
|
-
}),
|
|
351
|
-
t(d, { span: 12 }, {
|
|
352
|
-
default: n(() => [
|
|
353
|
-
t(u, {
|
|
354
|
-
label: o.$t("sysOrg.geoLongitude"),
|
|
355
|
-
prop: "geoLongitude"
|
|
356
|
-
}, {
|
|
357
|
-
default: n(() => [
|
|
358
|
-
t(i, {
|
|
359
|
-
modelValue: r(e).geoLongitude,
|
|
360
|
-
"onUpdate:modelValue": l[2] || (l[2] = (a) => r(e).geoLongitude = a),
|
|
361
|
-
clearable: "",
|
|
362
|
-
disabled: !0
|
|
363
|
-
}, null, 8, ["modelValue"])
|
|
364
|
-
]),
|
|
365
|
-
_: 1
|
|
366
|
-
}, 8, ["label"])
|
|
367
|
-
]),
|
|
368
|
-
_: 1
|
|
369
|
-
}),
|
|
370
|
-
t(d, { span: 12 }, {
|
|
371
|
-
default: n(() => [
|
|
372
|
-
t(u, {
|
|
373
|
-
label: o.$t("sysOrg.geoLatitude"),
|
|
374
|
-
prop: "geoLatitude"
|
|
375
|
-
}, {
|
|
376
|
-
default: n(() => [
|
|
377
|
-
t(i, {
|
|
378
|
-
modelValue: r(e).geoLatitude,
|
|
379
|
-
"onUpdate:modelValue": l[3] || (l[3] = (a) => r(e).geoLatitude = a),
|
|
380
|
-
clearable: "",
|
|
381
|
-
disabled: !0
|
|
382
|
-
}, null, 8, ["modelValue"])
|
|
383
|
-
]),
|
|
384
|
-
_: 1
|
|
385
|
-
}, 8, ["label"])
|
|
386
|
-
]),
|
|
387
|
-
_: 1
|
|
388
|
-
}),
|
|
389
|
-
t(d, { span: 12 }, {
|
|
390
|
-
default: n(() => [
|
|
391
|
-
t(u, {
|
|
392
|
-
label: o.$t("sysOrg.contactPerson"),
|
|
393
|
-
prop: "contactPerson"
|
|
394
|
-
}, {
|
|
395
|
-
default: n(() => [
|
|
396
|
-
t(i, {
|
|
397
|
-
modelValue: r(e).contactPerson,
|
|
398
|
-
"onUpdate:modelValue": l[4] || (l[4] = (a) => r(e).contactPerson = a),
|
|
399
|
-
placeholder: o.$t("sysOrg.contactPersonRequired"),
|
|
400
|
-
maxlength: "20",
|
|
401
|
-
"show-word-limit": "",
|
|
402
|
-
clearable: ""
|
|
403
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
404
|
-
]),
|
|
405
|
-
_: 1
|
|
406
|
-
}, 8, ["label"])
|
|
407
|
-
]),
|
|
408
|
-
_: 1
|
|
409
|
-
}),
|
|
410
|
-
t(d, { span: 12 }, {
|
|
411
|
-
default: n(() => [
|
|
412
|
-
t(u, {
|
|
413
|
-
label: o.$t("sysOrg.contactPersonPosi"),
|
|
414
|
-
prop: "contactPersonPosi"
|
|
415
|
-
}, {
|
|
416
|
-
default: n(() => [
|
|
417
|
-
t(i, {
|
|
418
|
-
modelValue: r(e).contactPersonPosi,
|
|
419
|
-
"onUpdate:modelValue": l[5] || (l[5] = (a) => r(e).contactPersonPosi = a),
|
|
420
|
-
placeholder: o.$t("sysOrg.contactPersonPosiRequired"),
|
|
421
|
-
maxlength: "30",
|
|
422
|
-
"show-word-limit": "",
|
|
423
|
-
clearable: ""
|
|
424
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
425
|
-
]),
|
|
426
|
-
_: 1
|
|
427
|
-
}, 8, ["label"])
|
|
428
|
-
]),
|
|
429
|
-
_: 1
|
|
430
|
-
}),
|
|
431
|
-
t(d, { span: 12 }, {
|
|
432
|
-
default: n(() => [
|
|
433
|
-
t(u, {
|
|
434
|
-
label: o.$t("sysOrg.contactPersonTel"),
|
|
435
|
-
prop: "contactPersonTel"
|
|
436
|
-
}, {
|
|
437
|
-
default: n(() => [
|
|
438
|
-
t(i, {
|
|
439
|
-
modelValue: r(e).contactPersonTel,
|
|
440
|
-
"onUpdate:modelValue": l[6] || (l[6] = (a) => r(e).contactPersonTel = a),
|
|
441
|
-
placeholder: o.$t("sysOrg.contactPersonTels"),
|
|
442
|
-
maxlength: "15",
|
|
443
|
-
"show-word-limit": "",
|
|
444
|
-
clearable: ""
|
|
445
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
446
|
-
]),
|
|
447
|
-
_: 1
|
|
448
|
-
}, 8, ["label"])
|
|
449
|
-
]),
|
|
450
|
-
_: 1
|
|
451
|
-
}),
|
|
452
|
-
t(d, { span: 12 }, {
|
|
453
|
-
default: n(() => [
|
|
454
|
-
t(u, {
|
|
455
|
-
label: o.$t("sysOrg.contactPersonMobile"),
|
|
456
|
-
prop: "contactPersonMobile"
|
|
457
|
-
}, {
|
|
458
|
-
default: n(() => [
|
|
459
|
-
t(i, {
|
|
460
|
-
modelValue: r(e).contactPersonMobile,
|
|
461
|
-
"onUpdate:modelValue": l[7] || (l[7] = (a) => r(e).contactPersonMobile = a),
|
|
462
|
-
placeholder: o.$t("sysOrg.contactPersonMobileRequired"),
|
|
463
|
-
maxlength: "11",
|
|
464
|
-
"show-word-limit": "",
|
|
465
|
-
clearable: ""
|
|
466
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
467
|
-
]),
|
|
468
|
-
_: 1
|
|
469
|
-
}, 8, ["label"])
|
|
470
|
-
]),
|
|
471
|
-
_: 1
|
|
472
|
-
})
|
|
473
|
-
]),
|
|
474
|
-
_: 1
|
|
475
|
-
}),
|
|
476
|
-
t(u, null, {
|
|
477
|
-
default: n(() => [
|
|
478
|
-
t(D, {
|
|
479
|
-
type: "primary",
|
|
480
|
-
onClick: X
|
|
481
|
-
}, {
|
|
482
|
-
default: n(() => [
|
|
483
|
-
R(q(o.$t("common.save")), 1)
|
|
484
|
-
]),
|
|
485
|
-
_: 1
|
|
486
|
-
})
|
|
487
|
-
]),
|
|
488
|
-
_: 1
|
|
489
|
-
})
|
|
490
|
-
]),
|
|
491
|
-
_: 1
|
|
492
|
-
}, 8, ["model", "rules"])
|
|
493
|
-
]),
|
|
494
|
-
_: 1
|
|
495
|
-
}),
|
|
496
|
-
y.value ? (L(), x(F, {
|
|
497
|
-
key: 0,
|
|
498
|
-
label: "发票信息",
|
|
499
|
-
name: "second"
|
|
500
|
-
}, {
|
|
501
|
-
default: n(() => [
|
|
502
|
-
t(K, {
|
|
503
|
-
shadow: "never",
|
|
504
|
-
class: "table-container"
|
|
505
|
-
}, {
|
|
506
|
-
header: n(() => [
|
|
507
|
-
t(A, null, {
|
|
508
|
-
default: n(() => [
|
|
509
|
-
t(d, { span: 17 }, {
|
|
510
|
-
default: n(() => [
|
|
511
|
-
U((L(), x(D, {
|
|
512
|
-
type: "primary",
|
|
513
|
-
onClick: Y
|
|
514
|
-
}, {
|
|
515
|
-
default: n(() => [
|
|
516
|
-
R(q(o.$t("common.add")), 1)
|
|
517
|
-
]),
|
|
518
|
-
_: 1
|
|
519
|
-
})), [
|
|
520
|
-
[S, ["itsmsys:sys_org_invoice:add"]]
|
|
521
|
-
])
|
|
522
|
-
]),
|
|
523
|
-
_: 1
|
|
524
|
-
}),
|
|
525
|
-
t(d, {
|
|
526
|
-
span: 7,
|
|
527
|
-
class: "container-float"
|
|
528
|
-
}, {
|
|
529
|
-
default: n(() => [
|
|
530
|
-
t(ae, {
|
|
531
|
-
modelValue: r(O),
|
|
532
|
-
"onUpdate:modelValue": l[8] || (l[8] = (a) => me(O) ? O.value = a : O = a),
|
|
533
|
-
"label-name": "jobs/job-trigger"
|
|
534
|
-
}, null, 8, ["modelValue"])
|
|
535
|
-
]),
|
|
536
|
-
_: 1
|
|
537
|
-
})
|
|
538
|
-
]),
|
|
539
|
-
_: 1
|
|
540
|
-
})
|
|
541
|
-
]),
|
|
542
|
-
default: n(() => [
|
|
543
|
-
t(se, {
|
|
544
|
-
ref_key: "multipleTableRef",
|
|
545
|
-
ref: f,
|
|
546
|
-
class: "table-top",
|
|
547
|
-
"row-key": "triggerId",
|
|
548
|
-
"list-loading": r(I),
|
|
549
|
-
data: V.value,
|
|
550
|
-
"table-label": r(O),
|
|
551
|
-
onSelectionChange: oe,
|
|
552
|
-
onSortChange: te
|
|
553
|
-
}, {
|
|
554
|
-
operation: n((a) => [
|
|
555
|
-
U((L(), C("span", {
|
|
556
|
-
class: "el-button-color",
|
|
557
|
-
onClick: (ie) => Z(a.data.row)
|
|
558
|
-
}, [
|
|
559
|
-
R(q(o.$t("common.edit")), 1)
|
|
560
|
-
], 8, Oe)), [
|
|
561
|
-
[S, ["itsmsys:sys_org_invoice:update"]]
|
|
562
|
-
]),
|
|
563
|
-
U((L(), C("span", {
|
|
564
|
-
class: "el-button-color dropdown-left",
|
|
565
|
-
onClick: (ie) => J(a.data.row)
|
|
566
|
-
}, [
|
|
567
|
-
R(q(o.$t("common.delete")), 1)
|
|
568
|
-
], 8, Me)), [
|
|
569
|
-
[S, ["itsmsys:sys_org_invoice:delete"]]
|
|
570
|
-
])
|
|
571
|
-
]),
|
|
572
|
-
_: 1
|
|
573
|
-
}, 8, ["list-loading", "data", "table-label"])
|
|
574
|
-
]),
|
|
575
|
-
_: 1
|
|
576
|
-
}),
|
|
577
|
-
v.value.visible ? (L(), x(ve, {
|
|
578
|
-
key: 0,
|
|
579
|
-
modelValue: v.value.visible,
|
|
580
|
-
"onUpdate:modelValue": l[9] || (l[9] = (a) => v.value.visible = a),
|
|
581
|
-
title: v.value.title,
|
|
582
|
-
"org-key": y.value,
|
|
583
|
-
"invoice-key": r(N),
|
|
584
|
-
onRefresh: ee,
|
|
585
|
-
width: "700px"
|
|
586
|
-
}, null, 8, ["modelValue", "title", "org-key", "invoice-key"])) : G("", !0)
|
|
587
|
-
]),
|
|
588
|
-
_: 1
|
|
589
|
-
})) : G("", !0)
|
|
590
|
-
]),
|
|
591
|
-
_: 1
|
|
592
|
-
}, 8, ["modelValue"])
|
|
593
|
-
]),
|
|
594
|
-
_: 1
|
|
595
|
-
})
|
|
596
|
-
]);
|
|
597
|
-
};
|
|
598
|
-
}
|
|
599
|
-
});
|
|
600
|
-
export {
|
|
601
|
-
Se as default
|
|
602
|
-
};
|