xyvcard-asset 0.0.23 → 0.0.25
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/{assign-D4YB344H.mjs → assign-Cx16U6jb.mjs} +7 -5
- package/dist/{edit-yvYhMo5N.mjs → edit-B49ygJbc.mjs} +1 -1
- package/dist/{edit-Bwq5Vg9D.mjs → edit-Ds7g0sBn.mjs} +1 -1
- package/dist/{edit-D3zlqt11.mjs → edit-DuHNKz_4.mjs} +1 -1
- package/dist/{edit-DxvSeH5Y.mjs → edit-JbjxRp1e.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CA2vVvh7.mjs → edit.vue_vue_type_script_setup_true_lang-BKhYm0-l.mjs} +28 -24
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CK2dpk1z.mjs → edit.vue_vue_type_script_setup_true_lang-C06QNWoO.mjs} +120 -115
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DnzT146Q.mjs → edit.vue_vue_type_script_setup_true_lang-DCQmjaPp.mjs} +10 -8
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D59t05Ec.mjs → edit.vue_vue_type_script_setup_true_lang-mrDURO_L.mjs} +14 -13
- package/dist/{index-4gYJADQ3.mjs → index-5OS9ZzQf.mjs} +1 -1
- package/dist/index-BI8iDWzU.mjs +117 -0
- package/dist/index-BPuC76hs.mjs +338 -0
- package/dist/index-BQdGP1ah.mjs +152 -0
- package/dist/{index-DZAvRhPJ.mjs → index-BTfwEQad.mjs} +18 -16
- package/dist/index-BTvHsKHc.mjs +48286 -0
- package/dist/{index-CVU2G5rZ.mjs → index-B_EEJeEN.mjs} +1 -1
- package/dist/{index-CQE1DdOZ.mjs → index-C0Rd9wWv.mjs} +30 -27
- package/dist/{index-e_AlnW3A.mjs → index-C0cy2lYz.mjs} +37 -35
- package/dist/{index-BmxQiLjm.mjs → index-C33SaJIu.mjs} +48 -46
- package/dist/{index-DxQzN9_F.mjs → index-ColX0w7n.mjs} +17 -14
- package/dist/{index-Bx1vPk7S.mjs → index-D13F64qL.mjs} +142 -152
- package/dist/{index-vfIgwaoQ.mjs → index-DGHhDZ-w.mjs} +24 -22
- package/dist/{index-DmX4B8mf.mjs → index-DTHatck1.mjs} +61 -59
- package/dist/{index-eTof-sqF.mjs → index-DwPSpT78.mjs} +22 -20
- package/dist/index-U4WVV44p.mjs +1412 -0
- package/dist/{index-hCldWS2K.mjs → index-yjFsDfGI.mjs} +48 -45
- package/dist/index.mjs +2 -2
- package/dist/style.css +1 -1
- package/dts/api/asset/asset-asset/index.d.ts +1 -8
- package/dts/api/asset/asset-site-service/index.d.ts +2 -2
- package/dts/api/asset/asset-site-service/types.d.ts +1 -5
- package/dts/api/dict.d.ts +1 -4
- package/dts/api/index.d.ts +2 -1
- package/dts/constant.d.ts +3 -3
- package/dts/main.d.ts +1 -0
- package/dts/utils/common.d.ts +0 -41
- package/dts/views/asset/asset-site/edit.vue.d.ts +1 -1
- package/package.json +11 -13
- package/dist/index-0_FQdBCk.mjs +0 -322
- package/dist/index-BOS2gtjd.mjs +0 -165
- package/dist/index-eassrLOa.mjs +0 -1673
- package/dts/api/asset/text/index.d.ts +0 -140
- package/dts/api/asset/text/types.d.ts +0 -179
- package/dts/components/Upload/ImageUpload.vue.d.ts +0 -38
- package/dts/components/Upload/MultiUpload.vue.d.ts +0 -24
- package/dts/utils/index.d.ts +0 -24
@@ -0,0 +1,152 @@
|
|
1
|
+
import { defineComponent as D, ref as p, resolveComponent as a, createElementBlock as E, openBlock as P, createVNode as t, withCtx as e, createElementVNode as s, createTextVNode as c, toDisplayString as l, unref as w } from "vue";
|
2
|
+
import { useRouter as B, useRoute as V } from "vue-router";
|
3
|
+
import { D as f, s as k } from "./index-BTvHsKHc.mjs";
|
4
|
+
import { routerUtil as C } from "jmash-core";
|
5
|
+
const O = { class: "app-container" }, j = { class: "cell-item" }, N = { class: "cell-item" }, T = { class: "cell-item" }, q = { class: "cell-item" }, z = { class: "cell-item" }, K = { class: "cell-item" }, L = { class: "cell-item" }, H = /* @__PURE__ */ D({
|
6
|
+
__name: "index",
|
7
|
+
setup(R) {
|
8
|
+
f.unionOrgBizLayDict.useValues();
|
9
|
+
const b = B(), u = V(), m = p([!1]), n = p({});
|
10
|
+
u.query.entityKey && k.findById({ siteId: u.query.entityKey }).then(({ data: o }) => {
|
11
|
+
n.value = Object.assign(n, o);
|
12
|
+
});
|
13
|
+
function v(o) {
|
14
|
+
m.value[o] = !m.value[o];
|
15
|
+
}
|
16
|
+
function h() {
|
17
|
+
C.closeTagView(u.fullPath, b, !1);
|
18
|
+
}
|
19
|
+
return (o, r) => {
|
20
|
+
const y = a("el-button"), i = a("el-descriptions-item"), d = a("el-descriptions"), _ = a("el-col"), g = a("jmash-mobileIns-component"), I = a("el-row"), $ = a("el-card");
|
21
|
+
return P(), E("div", O, [
|
22
|
+
t($, { shadow: "never" }, {
|
23
|
+
header: e(() => [
|
24
|
+
t(y, {
|
25
|
+
type: "primary",
|
26
|
+
onClick: h
|
27
|
+
}, {
|
28
|
+
default: e(() => [
|
29
|
+
c(l(o.$t("common.back")), 1)
|
30
|
+
]),
|
31
|
+
_: 1
|
32
|
+
})
|
33
|
+
]),
|
34
|
+
default: e(() => [
|
35
|
+
t(I, {
|
36
|
+
gutter: 20,
|
37
|
+
style: { width: "100%" }
|
38
|
+
}, {
|
39
|
+
default: e(() => [
|
40
|
+
t(_, { span: 24 }, {
|
41
|
+
default: e(() => [
|
42
|
+
r[1] || (r[1] = s("div", { class: "title-content" }, "场地信息", -1)),
|
43
|
+
t(d, {
|
44
|
+
class: "margin-top",
|
45
|
+
column: 2,
|
46
|
+
border: ""
|
47
|
+
}, {
|
48
|
+
default: e(() => [
|
49
|
+
t(i, null, {
|
50
|
+
label: e(() => [
|
51
|
+
s("div", j, l(o.$t("site.orgId")), 1)
|
52
|
+
]),
|
53
|
+
default: e(() => [
|
54
|
+
c(" " + l(w(f).unionOrgBizLayDict.getValue(n.value.orgId)), 1)
|
55
|
+
]),
|
56
|
+
_: 1
|
57
|
+
}),
|
58
|
+
t(i, null, {
|
59
|
+
label: e(() => [
|
60
|
+
s("div", N, l(o.$t("site.name")), 1)
|
61
|
+
]),
|
62
|
+
default: e(() => [
|
63
|
+
c(" " + l(n.value.name), 1)
|
64
|
+
]),
|
65
|
+
_: 1
|
66
|
+
}),
|
67
|
+
t(i, null, {
|
68
|
+
label: e(() => [
|
69
|
+
s("div", T, l(o.$t("site.buildDate")), 1)
|
70
|
+
]),
|
71
|
+
default: e(() => [
|
72
|
+
c(" " + l(n.value.buildDate), 1)
|
73
|
+
]),
|
74
|
+
_: 1
|
75
|
+
}),
|
76
|
+
t(i, null, {
|
77
|
+
label: e(() => [
|
78
|
+
s("div", q, l(o.$t("site.area")), 1)
|
79
|
+
]),
|
80
|
+
default: e(() => [
|
81
|
+
c(" " + l(n.value.area), 1)
|
82
|
+
]),
|
83
|
+
_: 1
|
84
|
+
}),
|
85
|
+
t(i, null, {
|
86
|
+
label: e(() => [
|
87
|
+
s("div", z, l(o.$t("site.address")), 1)
|
88
|
+
]),
|
89
|
+
default: e(() => [
|
90
|
+
c(" " + l(n.value.name), 1)
|
91
|
+
]),
|
92
|
+
_: 1
|
93
|
+
})
|
94
|
+
]),
|
95
|
+
_: 1
|
96
|
+
})
|
97
|
+
]),
|
98
|
+
_: 1,
|
99
|
+
__: [1]
|
100
|
+
}),
|
101
|
+
t(_, { span: 24 }, {
|
102
|
+
default: e(() => [
|
103
|
+
r[2] || (r[2] = s("div", { class: "title-content" }, "管理员信息", -1)),
|
104
|
+
t(d, {
|
105
|
+
class: "margin-top",
|
106
|
+
column: 2,
|
107
|
+
border: ""
|
108
|
+
}, {
|
109
|
+
default: e(() => [
|
110
|
+
t(i, null, {
|
111
|
+
label: e(() => [
|
112
|
+
s("div", K, l(o.$t("site.manager")), 1)
|
113
|
+
]),
|
114
|
+
default: e(() => [
|
115
|
+
c(" " + l(n.value.manager), 1)
|
116
|
+
]),
|
117
|
+
_: 1
|
118
|
+
}),
|
119
|
+
t(i, null, {
|
120
|
+
label: e(() => [
|
121
|
+
s("div", L, l(o.$t("site.mobilePhone")), 1)
|
122
|
+
]),
|
123
|
+
default: e(() => [
|
124
|
+
t(g, {
|
125
|
+
mobileEncrypt: m.value[0],
|
126
|
+
mobilePhoneIns: n.value.mobilePhoneIns,
|
127
|
+
mobilePhone: n.value.mobilePhone,
|
128
|
+
onToggleEncrypt: r[0] || (r[0] = (A) => v(0))
|
129
|
+
}, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone"])
|
130
|
+
]),
|
131
|
+
_: 1
|
132
|
+
})
|
133
|
+
]),
|
134
|
+
_: 1
|
135
|
+
})
|
136
|
+
]),
|
137
|
+
_: 1,
|
138
|
+
__: [2]
|
139
|
+
})
|
140
|
+
]),
|
141
|
+
_: 1
|
142
|
+
})
|
143
|
+
]),
|
144
|
+
_: 1
|
145
|
+
})
|
146
|
+
]);
|
147
|
+
};
|
148
|
+
}
|
149
|
+
});
|
150
|
+
export {
|
151
|
+
H as default
|
152
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { defineComponent as U, ref as y, resolveComponent as c,
|
1
|
+
import { defineComponent as U, ref as y, resolveComponent as c, createElementBlock as j, openBlock as A, createVNode as a, withCtx as e, createElementVNode as o, createTextVNode as i, toDisplayString as t, unref as u, createBlock as M, createCommentVNode as K, isRef as O } from "vue";
|
2
2
|
import { useRouter as q, useRoute as H } from "vue-router";
|
3
|
-
import { D as
|
3
|
+
import { D as v } from "./index-BTvHsKHc.mjs";
|
4
4
|
import { useUserStore as I, clearEmpty as R, request as D, useTableHooks as F, routerUtil as G } from "jmash-core";
|
5
5
|
import { s as J } from "./index-BwbnYpa1.mjs";
|
6
6
|
import { useI18n as Q } from "vue-i18n";
|
@@ -33,12 +33,12 @@ class W {
|
|
33
33
|
const X = new W(), Y = { class: "app-container" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ee = { class: "cell-item" }, te = { class: "cell-item" }, le = { class: "cell-item" }, ae = { class: "cell-item" }, oe = { class: "cell-item" }, ce = /* @__PURE__ */ U({
|
34
34
|
__name: "index",
|
35
35
|
setup(P) {
|
36
|
-
|
37
|
-
const { t: n } = Q(), m = q(), f = H(),
|
36
|
+
v.unionOrgBizLayDict.useValues(), v.serviceNameDict.useValues();
|
37
|
+
const { t: n } = Q(), m = q(), f = H(), _ = y({
|
38
38
|
curPage: 1,
|
39
39
|
pageSize: 10,
|
40
40
|
recordId: f.query.entityKey
|
41
|
-
}), { tableHooks: b, multipleTableRef: k, listLoading: N, tableData: w, total: g } = F(n, X,
|
41
|
+
}), { tableHooks: b, multipleTableRef: k, listLoading: N, tableData: w, total: g } = F(n, X, _);
|
42
42
|
let V = y([
|
43
43
|
{
|
44
44
|
label: "serviceApptMember.realName",
|
@@ -82,13 +82,13 @@ const X = new W(), Y = { class: "app-container" }, Z = { class: "cell-item" }, x
|
|
82
82
|
u(g) > 0 ? (A(), M(L, {
|
83
83
|
key: 0,
|
84
84
|
total: u(g),
|
85
|
-
"onUpdate:total": l[0] || (l[0] = (p) =>
|
86
|
-
"current-page":
|
87
|
-
"onUpdate:currentPage": l[1] || (l[1] = (p) =>
|
88
|
-
"page-size":
|
89
|
-
"onUpdate:pageSize": l[2] || (l[2] = (p) =>
|
85
|
+
"onUpdate:total": l[0] || (l[0] = (p) => O(g) ? g.value = p : null),
|
86
|
+
"current-page": _.value.curPage,
|
87
|
+
"onUpdate:currentPage": l[1] || (l[1] = (p) => _.value.curPage = p),
|
88
|
+
"page-size": _.value.pageSize,
|
89
|
+
"onUpdate:pageSize": l[2] || (l[2] = (p) => _.value.pageSize = p),
|
90
90
|
onPagination: l[3] || (l[3] = (p) => u(b).getList())
|
91
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
91
|
+
}, null, 8, ["total", "current-page", "page-size"])) : K("", !0),
|
92
92
|
l[5] || (l[5] = i(" "))
|
93
93
|
]),
|
94
94
|
default: e(() => [
|
@@ -111,7 +111,7 @@ const X = new W(), Y = { class: "app-container" }, Z = { class: "cell-item" }, x
|
|
111
111
|
o("div", Z, t(s.$t("serviceApptRecord.orgId")), 1)
|
112
112
|
]),
|
113
113
|
default: e(() => [
|
114
|
-
i(" " + t(u(
|
114
|
+
i(" " + t(u(v).unionOrgBizLayDict.getValue(r.value.orgId)), 1)
|
115
115
|
]),
|
116
116
|
_: 1
|
117
117
|
}),
|
@@ -120,7 +120,7 @@ const X = new W(), Y = { class: "app-container" }, Z = { class: "cell-item" }, x
|
|
120
120
|
o("div", x, t(s.$t("serviceApptRecord.siteId")), 1)
|
121
121
|
]),
|
122
122
|
default: e(() => [
|
123
|
-
i(" " + t(u(
|
123
|
+
i(" " + t(u(v).serviceNameDict.getValue(r.value.siteId)), 1)
|
124
124
|
]),
|
125
125
|
_: 1
|
126
126
|
}),
|
@@ -179,7 +179,8 @@ const X = new W(), Y = { class: "app-container" }, Z = { class: "cell-item" }, x
|
|
179
179
|
_: 1
|
180
180
|
})
|
181
181
|
]),
|
182
|
-
_: 1
|
182
|
+
_: 1,
|
183
|
+
__: [4]
|
183
184
|
})
|
184
185
|
]),
|
185
186
|
_: 1
|
@@ -197,12 +198,13 @@ const X = new W(), Y = { class: "app-container" }, Z = { class: "cell-item" }, x
|
|
197
198
|
onSelectionChange: S
|
198
199
|
}, {
|
199
200
|
status: e((p) => [
|
200
|
-
o("span", null, t(u(
|
201
|
+
o("span", null, t(u(v).statusDictEnum.getEnumValue(p.data.row.status)), 1)
|
201
202
|
]),
|
202
203
|
_: 1
|
203
204
|
}, 8, ["list-loading", "data", "table-label"])
|
204
205
|
]),
|
205
|
-
_: 1
|
206
|
+
_: 1,
|
207
|
+
__: [6]
|
206
208
|
})
|
207
209
|
]);
|
208
210
|
};
|