xyvcard-asset 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assign-CbKUuMPJ.mjs +1603 -0
- package/dist/{edit-DR-WgdT5.mjs → edit-BMiwAU2V.mjs} +1 -1
- package/dist/{edit-C4aYV45m.mjs → edit-CX2z9EYu.mjs} +2 -2
- package/dist/{edit-BD4l4cZV.mjs → edit-D6NV2pb2.mjs} +1 -1
- package/dist/{edit-BIE_CJlr.mjs → edit-DfLSODib.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs → edit.vue_vue_type_script_setup_true_lang-B_2yu4sv.mjs} +96 -96
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs → edit.vue_vue_type_script_setup_true_lang-C8EJ4xOS.mjs} +57 -57
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs → edit.vue_vue_type_script_setup_true_lang-DnsSFyiS.mjs} +73 -73
- package/dist/{index-Bqv9_BYL.mjs → index--YY_lyB7.mjs} +51 -49
- package/dist/{index-Cz4CVX5Y.mjs → index-BQ16pRTg.mjs} +33 -33
- package/dist/{index-DfOZUIkb.mjs → index-BWZKXQRi.mjs} +9 -7
- package/dist/{index-rSyUfdXn.mjs → index-BiBCzEqz.mjs} +1 -1
- package/dist/{index-CKF69gMl.mjs → index-BqLh2sg0.mjs} +20 -20
- package/dist/{index-BzUXtBGU.mjs → index-Btpx1Vf2.mjs} +17 -17
- package/dist/{index-8j66ouA1.mjs → index-C4xJg5F_.mjs} +54 -54
- package/dist/{index-C9FfnHCZ.mjs → index-C5OQhStx.mjs} +6 -4
- package/dist/{index-CHaJu5hs.mjs → index-CFUAQG0g.mjs} +64 -69
- package/dist/{index-CuDcmifl.mjs → index-CMtqB1MP.mjs} +47 -47
- package/dist/{index-BxeGNuSx.mjs → index-D4T2vouF.mjs} +18 -15
- package/dist/{index-CJhQRbHt.mjs → index-DrajJZ20.mjs} +39 -39
- package/dist/{index-CGds22-2.mjs → index-Dw9AQlSo.mjs} +418 -399
- package/dist/{index-Ds5MwEwr.mjs → index-XlZKwbCX.mjs} +76 -76
- package/dist/index.mjs +2 -2
- package/dist/style.css +1 -1
- package/dts/App.vue.d.ts +1 -1
- package/dts/components/Upload/ImageUpload.vue.d.ts +6 -6
- package/dts/components/Upload/MultiUpload.vue.d.ts +6 -6
- package/dts/constant.d.ts +12 -0
- package/dts/views/asset/asset-asset/assign.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-asset/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-asset-detail/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-inventory-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-site/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site/info/index.vue.d.ts +1 -1
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +5 -5
- package/dts/views/asset/asset-site-service/index.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/assign-4SD6S-Fb.mjs +0 -1626
- package/dts/src/App.vue.d.ts +0 -2
- package/dts/src/api/asset/asset-asset/index.d.ts +0 -27
- package/dts/src/api/asset/asset-asset/types.d.ts +0 -115
- package/dts/src/api/asset/asset-asset-detail/index.d.ts +0 -20
- package/dts/src/api/asset/asset-asset-detail/types.d.ts +0 -65
- package/dts/src/api/asset/asset-inventory-record/index.d.ts +0 -15
- package/dts/src/api/asset/asset-inventory-record/types.d.ts +0 -63
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +0 -20
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +0 -71
- package/dts/src/api/asset/asset-service-appt-record/index.d.ts +0 -9
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +0 -37
- package/dts/src/api/asset/asset-site/index.d.ts +0 -15
- package/dts/src/api/asset/asset-site/types.d.ts +0 -71
- package/dts/src/api/asset/asset-site-service/index.d.ts +0 -14
- package/dts/src/api/asset/asset-site-service/types.d.ts +0 -81
- package/dts/src/api/dict.d.ts +0 -19
- package/dts/src/api/index.d.ts +0 -16
- package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
- package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +0 -38
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -24
- package/dts/src/constant.d.ts +0 -19
- package/dts/src/index.d.ts +0 -6
- package/dts/src/lang/asset/en.d.ts +0 -2
- package/dts/src/lang/asset/zh-cn.d.ts +0 -117
- package/dts/src/lang/index.d.ts +0 -1
- package/dts/src/main.d.ts +0 -4
- package/dts/src/permission.d.ts +0 -1
- package/dts/src/router/page.d.ts +0 -6
- package/dts/src/utils/common.d.ts +0 -51
- package/dts/src/utils/index.d.ts +0 -24
- package/dts/src/utils/momentPlugin.d.ts +0 -5
- package/dts/src/views/asset/asset-asset/assign.vue.d.ts +0 -29
- package/dts/src/views/asset/asset-asset/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-asset/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-site/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +0 -22
- package/dts/src/views/asset/asset-site-service/index.vue.d.ts +0 -2
- package/dts/tsconfig.tsbuildinfo +0 -1
@@ -1,11 +1,11 @@
|
|
1
|
-
import { defineComponent as O, getCurrentInstance as G, ref as b, resolveComponent as s, resolveDirective as J, openBlock as
|
1
|
+
import { defineComponent as O, getCurrentInstance as G, ref as b, resolveComponent as s, resolveDirective as J, openBlock as _, createElementBlock as V, createElementVNode as d, createVNode as n, withCtx as o, unref as r, withKeys as R, createTextVNode as N, toDisplayString as u, isRef as S, createBlock as W, createCommentVNode as X, withDirectives as Z } from "vue";
|
2
2
|
import { useTableHooks as x } from "jmash-core";
|
3
3
|
import { useI18n as ee } from "vue-i18n";
|
4
|
-
import { c as
|
4
|
+
import { c as k } from "./common-CshrwPyx.mjs";
|
5
5
|
import { i as te } from "./index-Dyo7je0Z.mjs";
|
6
|
-
import { D as y } from "./index-
|
6
|
+
import { D as y } from "./index-Dw9AQlSo.mjs";
|
7
7
|
import { useRouter as oe } from "vue-router";
|
8
|
-
const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
8
|
+
const ne = { class: "app-container" }, le = { class: "search-container" }, ae = ["onClick"], ye = /* @__PURE__ */ O({
|
9
9
|
__name: "index",
|
10
10
|
setup(re) {
|
11
11
|
const { proxy: D } = G(), T = oe(), { t: C } = ee();
|
@@ -15,7 +15,7 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
15
15
|
multipleTableRef: $,
|
16
16
|
queryFormRef: I,
|
17
17
|
listLoading: j,
|
18
|
-
tableData:
|
18
|
+
tableData: P,
|
19
19
|
total: f
|
20
20
|
} = x(C, te, a);
|
21
21
|
let p = b([
|
@@ -71,19 +71,19 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
71
71
|
}
|
72
72
|
]);
|
73
73
|
const c = b([]);
|
74
|
-
function
|
74
|
+
function z(l) {
|
75
75
|
if (l) {
|
76
76
|
if (c.value = l, c.value.length !== 2) return;
|
77
|
-
a.value.inventoryStartTime =
|
77
|
+
a.value.inventoryStartTime = k(
|
78
78
|
l[0]
|
79
|
-
).getFullDate(), a.value.inventoryEndTime =
|
79
|
+
).getFullDate(), a.value.inventoryEndTime = k(l[1]).getFullDate(), i.handleQuery();
|
80
80
|
} else
|
81
|
-
|
81
|
+
h();
|
82
82
|
}
|
83
83
|
function U(l) {
|
84
84
|
i.selectionRows.value = l;
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function h() {
|
87
87
|
c.value = [], a.value.inventoryStartTime = "", a.value.inventoryEndTime = "", i.resetQuery();
|
88
88
|
}
|
89
89
|
function Y(l) {
|
@@ -92,9 +92,9 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
92
92
|
query: { inventoryId: l.inventoryId }
|
93
93
|
});
|
94
94
|
}
|
95
|
-
return i.getList(), (l,
|
96
|
-
const L = s("el-tree-select"), v = s("el-form-item"), m = s("el-col"), Q = s("el-input"), B = s("jmash-select"), g = s("el-row"), E = s("el-date-picker"),
|
97
|
-
return
|
95
|
+
return i.getList(), (l, t) => {
|
96
|
+
const L = s("el-tree-select"), v = s("el-form-item"), m = s("el-col"), Q = s("el-input"), B = s("jmash-select"), g = s("el-row"), E = s("el-date-picker"), w = s("el-button"), q = s("el-form"), A = s("jmash-column-select"), F = s("jmash-table"), H = s("jmash-pagination"), K = s("el-card"), M = J("hasPerm");
|
97
|
+
return _(), V("div", ne, [
|
98
98
|
d("div", le, [
|
99
99
|
n(q, {
|
100
100
|
ref_key: "queryFormRef",
|
@@ -102,19 +102,19 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
102
102
|
model: a.value,
|
103
103
|
inline: !0
|
104
104
|
}, {
|
105
|
-
default:
|
105
|
+
default: o(() => [
|
106
106
|
n(g, null, {
|
107
|
-
default:
|
107
|
+
default: o(() => [
|
108
108
|
n(m, { span: 8 }, {
|
109
|
-
default:
|
109
|
+
default: o(() => [
|
110
110
|
n(v, {
|
111
111
|
label: l.$t("inventoryRecord.orgId"),
|
112
112
|
prop: "orgId"
|
113
113
|
}, {
|
114
|
-
default:
|
114
|
+
default: o(() => [
|
115
115
|
n(L, {
|
116
116
|
modelValue: a.value.orgId,
|
117
|
-
"onUpdate:modelValue":
|
117
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => a.value.orgId = e),
|
118
118
|
data: r(y).unionOrgBizLayDict.values,
|
119
119
|
filterable: "",
|
120
120
|
clearable: "",
|
@@ -122,7 +122,7 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
122
122
|
"render-after-expand": !1,
|
123
123
|
placeholder: l.$t("inventoryRecord.orgIdPlaceholder"),
|
124
124
|
style: { width: "203px" },
|
125
|
-
onKeyup:
|
125
|
+
onKeyup: t[1] || (t[1] = R((e) => r(i).handleQuery(), ["enter"]))
|
126
126
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
127
127
|
]),
|
128
128
|
_: 1
|
@@ -131,17 +131,17 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
131
131
|
_: 1
|
132
132
|
}),
|
133
133
|
n(m, { span: 8 }, {
|
134
|
-
default:
|
134
|
+
default: o(() => [
|
135
135
|
n(v, {
|
136
136
|
label: l.$t("inventoryRecord.siteName"),
|
137
137
|
prop: "likeSiteName"
|
138
138
|
}, {
|
139
|
-
default:
|
139
|
+
default: o(() => [
|
140
140
|
n(Q, {
|
141
141
|
modelValue: a.value.likeSiteName,
|
142
|
-
"onUpdate:modelValue":
|
142
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => a.value.likeSiteName = e),
|
143
143
|
placeholder: l.$t("inventoryRecord.siteNamePlaceholder"),
|
144
|
-
onKeyup:
|
144
|
+
onKeyup: t[3] || (t[3] = R((e) => r(i).handleQuery(), ["enter"]))
|
145
145
|
}, null, 8, ["modelValue", "placeholder"])
|
146
146
|
]),
|
147
147
|
_: 1
|
@@ -150,18 +150,18 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
150
150
|
_: 1
|
151
151
|
}),
|
152
152
|
n(m, { span: 8 }, {
|
153
|
-
default:
|
153
|
+
default: o(() => [
|
154
154
|
n(v, {
|
155
155
|
label: l.$t("inventoryRecord.inventoryStatus"),
|
156
156
|
prop: "inventoryStatus"
|
157
157
|
}, {
|
158
|
-
default:
|
158
|
+
default: o(() => [
|
159
159
|
n(B, {
|
160
160
|
modelValue: a.value.inventoryStatus,
|
161
|
-
"onUpdate:modelValue":
|
161
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => a.value.inventoryStatus = e),
|
162
162
|
placeholder: l.$t("inventoryRecord.inventoryStatus"),
|
163
163
|
data: r(y).inventoryResults.values,
|
164
|
-
onKeyup:
|
164
|
+
onKeyup: t[5] || (t[5] = R((e) => r(i).handleQuery(), ["enter"]))
|
165
165
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
166
166
|
]),
|
167
167
|
_: 1
|
@@ -173,23 +173,23 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
173
173
|
_: 1
|
174
174
|
}),
|
175
175
|
n(g, null, {
|
176
|
-
default:
|
176
|
+
default: o(() => [
|
177
177
|
n(m, { span: 8 }, {
|
178
|
-
default:
|
178
|
+
default: o(() => [
|
179
179
|
n(v, {
|
180
180
|
label: l.$t("inventoryRecord.inventoryTime"),
|
181
181
|
prop: "inventoryTime"
|
182
182
|
}, {
|
183
|
-
default:
|
183
|
+
default: o(() => [
|
184
184
|
n(E, {
|
185
185
|
modelValue: c.value,
|
186
|
-
"onUpdate:modelValue":
|
186
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => c.value = e),
|
187
187
|
class: "dropdown-left",
|
188
188
|
type: "daterange",
|
189
189
|
"start-placeholder": l.$t("serviceApptRecord.startDate"),
|
190
190
|
"end-placeholder": l.$t("serviceApptRecord.endDate"),
|
191
191
|
format: "YYYY-MM-DD",
|
192
|
-
onChange:
|
192
|
+
onChange: z
|
193
193
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
194
194
|
]),
|
195
195
|
_: 1
|
@@ -198,20 +198,20 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
198
198
|
_: 1
|
199
199
|
}),
|
200
200
|
n(m, { span: 16 }, {
|
201
|
-
default:
|
201
|
+
default: o(() => [
|
202
202
|
n(v, { class: "search-btn" }, {
|
203
|
-
default:
|
204
|
-
n(
|
203
|
+
default: o(() => [
|
204
|
+
n(w, {
|
205
205
|
type: "primary",
|
206
|
-
onClick:
|
206
|
+
onClick: t[7] || (t[7] = (e) => r(i).handleQuery())
|
207
207
|
}, {
|
208
|
-
default:
|
208
|
+
default: o(() => [
|
209
209
|
N(u(l.$t("common.search")), 1)
|
210
210
|
]),
|
211
211
|
_: 1
|
212
212
|
}),
|
213
|
-
n(
|
214
|
-
default:
|
213
|
+
n(w, { onClick: h }, {
|
214
|
+
default: o(() => [
|
215
215
|
N(u(l.$t("common.reset")), 1)
|
216
216
|
]),
|
217
217
|
_: 1
|
@@ -228,26 +228,26 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
228
228
|
]),
|
229
229
|
_: 1
|
230
230
|
}, 8, ["model"]),
|
231
|
-
|
231
|
+
t[13] || (t[13] = d("div", { class: "clear" }, null, -1))
|
232
232
|
]),
|
233
233
|
n(K, {
|
234
234
|
shadow: "never",
|
235
235
|
class: "table-container"
|
236
236
|
}, {
|
237
|
-
header:
|
237
|
+
header: o(() => [
|
238
238
|
n(g, {
|
239
239
|
justify: "space-between",
|
240
240
|
span: 20
|
241
241
|
}, {
|
242
|
-
default:
|
242
|
+
default: o(() => [
|
243
243
|
n(m, {
|
244
244
|
span: 24,
|
245
245
|
class: "container-float"
|
246
246
|
}, {
|
247
|
-
default:
|
247
|
+
default: o(() => [
|
248
248
|
n(A, {
|
249
249
|
modelValue: r(p),
|
250
|
-
"onUpdate:modelValue":
|
250
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => S(p) ? p.value = e : p = e),
|
251
251
|
"label-name": "asset/asset-inventory-record"
|
252
252
|
}, null, 8, ["modelValue"])
|
253
253
|
]),
|
@@ -257,62 +257,57 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
257
257
|
_: 1
|
258
258
|
})
|
259
259
|
]),
|
260
|
-
footer:
|
261
|
-
r(f) > 0 ? (
|
260
|
+
footer: o(() => [
|
261
|
+
r(f) > 0 ? (_(), W(H, {
|
262
262
|
key: 0,
|
263
263
|
total: r(f),
|
264
|
-
"onUpdate:total":
|
264
|
+
"onUpdate:total": t[9] || (t[9] = (e) => S(f) ? f.value = e : null),
|
265
265
|
"current-page": a.value.curPage,
|
266
|
-
"onUpdate:currentPage":
|
266
|
+
"onUpdate:currentPage": t[10] || (t[10] = (e) => a.value.curPage = e),
|
267
267
|
"page-size": a.value.pageSize,
|
268
|
-
"onUpdate:pageSize":
|
269
|
-
onPagination:
|
268
|
+
"onUpdate:pageSize": t[11] || (t[11] = (e) => a.value.pageSize = e),
|
269
|
+
onPagination: t[12] || (t[12] = (e) => r(i).getList())
|
270
270
|
}, null, 8, ["total", "current-page", "page-size"])) : X("", !0)
|
271
271
|
]),
|
272
|
-
default:
|
272
|
+
default: o(() => [
|
273
273
|
n(F, {
|
274
274
|
ref_key: "multipleTableRef",
|
275
275
|
ref: $,
|
276
276
|
class: "table-top",
|
277
277
|
"row-key": "inventoryId",
|
278
278
|
"list-loading": r(j),
|
279
|
-
data: r(
|
279
|
+
data: r(P),
|
280
280
|
"table-label": r(p),
|
281
281
|
onSelectionChange: U
|
282
282
|
}, {
|
283
|
-
orgId:
|
283
|
+
orgId: o((e) => [
|
284
284
|
d("span", null, u(r(y).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
|
285
285
|
]),
|
286
|
-
siteName:
|
286
|
+
siteName: o((e) => [
|
287
287
|
d("span", null, u(e.data.row.siteName), 1)
|
288
288
|
]),
|
289
|
-
inventoryTime:
|
289
|
+
inventoryTime: o((e) => [
|
290
290
|
d("span", null, u(r(D).$moment.formatDate(
|
291
291
|
e.data.row.inventoryTime,
|
292
292
|
"YYYY-MM-DD HH:mm"
|
293
293
|
)), 1)
|
294
294
|
]),
|
295
|
-
userName:
|
295
|
+
userName: o((e) => [
|
296
296
|
d("span", null, u(e.data.row.userName), 1)
|
297
297
|
]),
|
298
|
-
inventoryStatus:
|
298
|
+
inventoryStatus: o((e) => [
|
299
299
|
d("span", null, u(r(y).inventoryResults.getEnumValue(e.data.row.inventoryStatus)), 1)
|
300
300
|
]),
|
301
|
-
inventoryNote:
|
301
|
+
inventoryNote: o((e) => [
|
302
302
|
d("span", null, u(e.data.row.inventoryNote), 1)
|
303
303
|
]),
|
304
|
-
operation:
|
305
|
-
Z((
|
306
|
-
|
307
|
-
size: "small",
|
308
|
-
link: "",
|
304
|
+
operation: o((e) => [
|
305
|
+
Z((_(), V("span", {
|
306
|
+
class: "el-button-color",
|
309
307
|
onClick: (se) => Y(e.data.row)
|
310
|
-
},
|
311
|
-
|
312
|
-
|
313
|
-
]),
|
314
|
-
_: 2
|
315
|
-
}, 1032, ["onClick"])), [
|
308
|
+
}, [
|
309
|
+
N(u(l.$t("common.view")), 1)
|
310
|
+
], 8, ae)), [
|
316
311
|
[M, ["asset:inventory_record:view"]]
|
317
312
|
])
|
318
313
|
]),
|
@@ -1,27 +1,27 @@
|
|
1
|
-
import { defineComponent as O, ref as $, resolveComponent as
|
1
|
+
import { defineComponent as O, ref as $, resolveComponent as r, openBlock as m, createElementBlock as _, createVNode as t, withCtx as e, createTextVNode as d, toDisplayString as o, createElementVNode as i, unref as n, withDirectives as D, vShow as w, createCommentVNode as q } from "vue";
|
2
2
|
import { useRouter as z, useRoute as K } from "vue-router";
|
3
|
-
import { D as C, s as L } from "./index-
|
3
|
+
import { D as C, s as L } from "./index-Dw9AQlSo.mjs";
|
4
4
|
import { routerUtil as R } from "jmash-core";
|
5
|
-
const S = { class: "app-container" }, T =
|
5
|
+
const S = { class: "app-container" }, T = { class: "cell-item" }, j = { class: "cell-item" }, A = { class: "cell-item" }, U = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = { class: "cell-item" }, J = { key: 0 }, M = { key: 1 }, Q = {
|
6
6
|
key: 2,
|
7
7
|
class: "distance-left"
|
8
|
-
},
|
8
|
+
}, ee = /* @__PURE__ */ O({
|
9
9
|
__name: "index",
|
10
|
-
setup(
|
10
|
+
setup(W) {
|
11
11
|
C.unionOrgBizLayDict.useValues();
|
12
|
-
const V = z(), p = K(),
|
12
|
+
const V = z(), p = K(), u = $([!1]), s = $({});
|
13
13
|
p.query.entityKey && L.findById({ siteId: p.query.entityKey }).then(({ data: l }) => {
|
14
14
|
console.log(l), s.value = Object.assign(s, l);
|
15
15
|
});
|
16
16
|
function f(l) {
|
17
|
-
|
17
|
+
u.value[l] = !u.value[l];
|
18
18
|
}
|
19
19
|
function B() {
|
20
20
|
R.closeTagView(p.fullPath, V, !1);
|
21
21
|
}
|
22
|
-
return (l,
|
23
|
-
const I =
|
24
|
-
return
|
22
|
+
return (l, a) => {
|
23
|
+
const I = r("el-button"), c = r("el-descriptions-item"), v = r("el-descriptions"), b = r("el-col"), y = r("svg-icon"), E = r("el-row"), P = r("el-card");
|
24
|
+
return m(), _("div", S, [
|
25
25
|
t(P, { shadow: "never" }, {
|
26
26
|
header: e(() => [
|
27
27
|
t(I, {
|
@@ -29,7 +29,7 @@ const S = { class: "app-container" }, T = /* @__PURE__ */ i("div", { class: "tit
|
|
29
29
|
onClick: B
|
30
30
|
}, {
|
31
31
|
default: e(() => [
|
32
|
-
|
32
|
+
d(o(l.$t("common.back")), 1)
|
33
33
|
]),
|
34
34
|
_: 1
|
35
35
|
})
|
@@ -40,57 +40,57 @@ const S = { class: "app-container" }, T = /* @__PURE__ */ i("div", { class: "tit
|
|
40
40
|
style: { width: "100%" }
|
41
41
|
}, {
|
42
42
|
default: e(() => [
|
43
|
-
t(
|
43
|
+
t(b, { span: 24 }, {
|
44
44
|
default: e(() => [
|
45
|
-
|
46
|
-
t(
|
45
|
+
a[2] || (a[2] = i("div", { class: "title-content" }, "场地信息", -1)),
|
46
|
+
t(v, {
|
47
47
|
class: "margin-top",
|
48
48
|
column: 2,
|
49
49
|
border: ""
|
50
50
|
}, {
|
51
51
|
default: e(() => [
|
52
|
-
t(
|
52
|
+
t(c, null, {
|
53
53
|
label: e(() => [
|
54
|
-
i("div",
|
54
|
+
i("div", T, o(l.$t("site.orgId")), 1)
|
55
55
|
]),
|
56
56
|
default: e(() => [
|
57
|
-
|
57
|
+
d(" " + o(n(C).unionOrgBizLayDict.getValue(n(s).orgId)), 1)
|
58
58
|
]),
|
59
59
|
_: 1
|
60
60
|
}),
|
61
|
-
t(
|
61
|
+
t(c, null, {
|
62
62
|
label: e(() => [
|
63
|
-
i("div",
|
63
|
+
i("div", j, o(l.$t("site.name")), 1)
|
64
64
|
]),
|
65
65
|
default: e(() => [
|
66
|
-
|
66
|
+
d(" " + o(n(s).name), 1)
|
67
67
|
]),
|
68
68
|
_: 1
|
69
69
|
}),
|
70
|
-
t(
|
70
|
+
t(c, null, {
|
71
71
|
label: e(() => [
|
72
|
-
i("div",
|
72
|
+
i("div", A, o(l.$t("site.buildDate")), 1)
|
73
73
|
]),
|
74
74
|
default: e(() => [
|
75
|
-
|
75
|
+
d(" " + o(n(s).buildDate), 1)
|
76
76
|
]),
|
77
77
|
_: 1
|
78
78
|
}),
|
79
|
-
t(
|
79
|
+
t(c, null, {
|
80
80
|
label: e(() => [
|
81
|
-
i("div",
|
81
|
+
i("div", U, o(l.$t("site.area")), 1)
|
82
82
|
]),
|
83
83
|
default: e(() => [
|
84
|
-
|
84
|
+
d(" " + o(n(s).area), 1)
|
85
85
|
]),
|
86
86
|
_: 1
|
87
87
|
}),
|
88
|
-
t(
|
88
|
+
t(c, null, {
|
89
89
|
label: e(() => [
|
90
|
-
i("div",
|
90
|
+
i("div", F, o(l.$t("site.address")), 1)
|
91
91
|
]),
|
92
92
|
default: e(() => [
|
93
|
-
|
93
|
+
d(" " + o(n(s).name), 1)
|
94
94
|
]),
|
95
95
|
_: 1
|
96
96
|
})
|
@@ -100,44 +100,44 @@ const S = { class: "app-container" }, T = /* @__PURE__ */ i("div", { class: "tit
|
|
100
100
|
]),
|
101
101
|
_: 1
|
102
102
|
}),
|
103
|
-
t(
|
103
|
+
t(b, { span: 24 }, {
|
104
104
|
default: e(() => [
|
105
|
-
|
106
|
-
t(
|
105
|
+
a[3] || (a[3] = i("div", { class: "title-content" }, "管理员信息", -1)),
|
106
|
+
t(v, {
|
107
107
|
class: "margin-top",
|
108
108
|
column: 2,
|
109
109
|
border: ""
|
110
110
|
}, {
|
111
111
|
default: e(() => [
|
112
|
-
t(
|
112
|
+
t(c, null, {
|
113
113
|
label: e(() => [
|
114
|
-
i("div",
|
114
|
+
i("div", G, o(l.$t("site.manager")), 1)
|
115
115
|
]),
|
116
116
|
default: e(() => [
|
117
|
-
|
117
|
+
d(" " + o(n(s).manager), 1)
|
118
118
|
]),
|
119
119
|
_: 1
|
120
120
|
}),
|
121
|
-
t(
|
121
|
+
t(c, null, {
|
122
122
|
label: e(() => [
|
123
|
-
i("div",
|
123
|
+
i("div", H, o(l.$t("site.mobilePhone")), 1)
|
124
124
|
]),
|
125
125
|
default: e(() => {
|
126
|
-
var
|
126
|
+
var g, h, k;
|
127
127
|
return [
|
128
|
-
n(
|
129
|
-
(k = n(s)) != null && k.mobilePhoneIns ? (
|
130
|
-
D(t(
|
128
|
+
n(u)[0] ? (m(), _("span", M, o((h = n(s)) == null ? void 0 : h.mobilePhone), 1)) : (m(), _("span", J, o((g = n(s)) == null ? void 0 : g.mobilePhoneIns), 1)),
|
129
|
+
(k = n(s)) != null && k.mobilePhoneIns ? (m(), _("span", Q, [
|
130
|
+
D(t(y, {
|
131
131
|
"icon-class": "close-eye",
|
132
|
-
onClick:
|
132
|
+
onClick: a[0] || (a[0] = (N) => f(0))
|
133
133
|
}, null, 512), [
|
134
|
-
[w, !n(
|
134
|
+
[w, !n(u)[0]]
|
135
135
|
]),
|
136
|
-
D(t(
|
136
|
+
D(t(y, {
|
137
137
|
"icon-class": "eye-open",
|
138
|
-
onClick:
|
138
|
+
onClick: a[1] || (a[1] = (N) => f(0))
|
139
139
|
}, null, 512), [
|
140
|
-
[w, n(
|
140
|
+
[w, n(u)[0]]
|
141
141
|
])
|
142
142
|
])) : q("", !0)
|
143
143
|
];
|
@@ -161,5 +161,5 @@ const S = { class: "app-container" }, T = /* @__PURE__ */ i("div", { class: "tit
|
|
161
161
|
}
|
162
162
|
});
|
163
163
|
export {
|
164
|
-
|
164
|
+
ee as default
|
165
165
|
};
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import { defineComponent as W, ref as b, resolveComponent as n, resolveDirective as X, openBlock as f, createElementBlock as I, createElementVNode as u, createVNode as l, withCtx as o, unref as s, withKeys as R, toDisplayString as p, Fragment as Z, renderList as x, createBlock as A, createTextVNode as h, isRef as k, createCommentVNode as ee, withDirectives as te } from "vue";
|
2
|
-
import { D as _, s as le } from "./index-
|
2
|
+
import { D as _, s as le } from "./index-Dw9AQlSo.mjs";
|
3
3
|
import { useI18n as oe } from "vue-i18n";
|
4
4
|
import { s as ae } from "./index-BwbnYpa1.mjs";
|
5
5
|
import { useTableHooks as re } from "jmash-core";
|
6
6
|
import { useRouter as ne } from "vue-router";
|
7
7
|
import { c as C } from "./common-CshrwPyx.mjs";
|
8
|
-
const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
8
|
+
const se = { class: "app-container" }, ie = { class: "search-container" }, pe = ["onClick"], ye = /* @__PURE__ */ W({
|
9
9
|
__name: "index",
|
10
|
-
setup(
|
10
|
+
setup(de) {
|
11
11
|
_.unionOrgBizLayDict.useValues(), _.siteDict.useValues();
|
12
12
|
const $ = ne(), { t: N } = oe();
|
13
|
-
let
|
13
|
+
let w = b();
|
14
14
|
const c = b([]), r = b({
|
15
15
|
curPage: 1,
|
16
16
|
pageSize: 10
|
@@ -26,6 +26,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
26
26
|
{
|
27
27
|
label: "serviceApptRecord.orgId",
|
28
28
|
prop: "orgId",
|
29
|
+
width: "260",
|
29
30
|
slotName: "orgId",
|
30
31
|
columnType: "slot",
|
31
32
|
isColumn: !0
|
@@ -33,6 +34,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
33
34
|
{
|
34
35
|
label: "serviceApptRecord.siteId",
|
35
36
|
prop: "siteId",
|
37
|
+
width: "200",
|
36
38
|
slotName: "siteId",
|
37
39
|
columnType: "slot",
|
38
40
|
isColumn: !0
|
@@ -41,13 +43,14 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
41
43
|
{
|
42
44
|
label: "serviceApptRecord.serviceName",
|
43
45
|
prop: "serviceName",
|
46
|
+
width: "200",
|
44
47
|
isColumn: !0
|
45
48
|
},
|
46
49
|
// 预约日期
|
47
50
|
{
|
48
51
|
label: "serviceApptRecord.appointmentDate",
|
49
52
|
prop: "appointmentDate",
|
50
|
-
width: "
|
53
|
+
width: "150",
|
51
54
|
isColumn: !0
|
52
55
|
},
|
53
56
|
// 预约时间段
|
@@ -86,12 +89,12 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
86
89
|
columnType: "slot",
|
87
90
|
fixed: "right",
|
88
91
|
isColumn: !0,
|
89
|
-
width: "
|
92
|
+
width: "100"
|
90
93
|
}
|
91
94
|
]);
|
92
95
|
function S(a) {
|
93
96
|
r.value.siteId = "", le.findList({ orgId: a }).then(({ data: { results: t } }) => {
|
94
|
-
|
97
|
+
w.value = t;
|
95
98
|
});
|
96
99
|
}
|
97
100
|
function U(a) {
|
@@ -99,7 +102,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
99
102
|
if (c.value = a, c.value.length !== 2) return;
|
100
103
|
r.value.startDate = C(a[0]).getFullDate(), r.value.endDate = C(a[1]).getFullDate(), i.handleQuery();
|
101
104
|
} else
|
102
|
-
|
105
|
+
D();
|
103
106
|
}
|
104
107
|
function j(a) {
|
105
108
|
$.push({
|
@@ -107,7 +110,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
107
110
|
query: { entityKey: a.recordId }
|
108
111
|
});
|
109
112
|
}
|
110
|
-
function
|
113
|
+
function D() {
|
111
114
|
c.value = [], r.value.startDate = "", r.value.endDate = "", i.resetQuery();
|
112
115
|
}
|
113
116
|
return i.getList(), (a, t) => {
|
@@ -183,7 +186,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
183
186
|
onKeyup: t[3] || (t[3] = R((e) => s(i).handleQuery(), ["enter"]))
|
184
187
|
}, {
|
185
188
|
default: o(() => [
|
186
|
-
(f(!0), I(Z, null, x(s(
|
189
|
+
(f(!0), I(Z, null, x(s(w), (e) => (f(), A(Q, {
|
187
190
|
key: e.siteId,
|
188
191
|
label: e.name,
|
189
192
|
value: e.siteId
|
@@ -257,7 +260,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
257
260
|
]),
|
258
261
|
_: 1
|
259
262
|
}),
|
260
|
-
l(V, { onClick:
|
263
|
+
l(V, { onClick: D }, {
|
261
264
|
default: o(() => [
|
262
265
|
h(p(a.$t("common.reset")), 1)
|
263
266
|
]),
|
@@ -275,7 +278,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
275
278
|
]),
|
276
279
|
_: 1
|
277
280
|
}, 8, ["model"]),
|
278
|
-
|
281
|
+
t[13] || (t[13] = u("div", { class: "clear" }, null, -1))
|
279
282
|
]),
|
280
283
|
l(G, {
|
281
284
|
shadow: "never",
|
@@ -334,10 +337,10 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
334
337
|
operation: o((e) => [
|
335
338
|
te((f(), I("span", {
|
336
339
|
class: "el-button-color",
|
337
|
-
onClick: (
|
340
|
+
onClick: (ue) => j(e.data.row)
|
338
341
|
}, [
|
339
342
|
h(p(a.$t("common.view")), 1)
|
340
|
-
], 8,
|
343
|
+
], 8, pe)), [
|
341
344
|
[J, ["asset:service_appt_record:view"]]
|
342
345
|
])
|
343
346
|
]),
|
@@ -351,5 +354,5 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, pe =
|
|
351
354
|
}
|
352
355
|
});
|
353
356
|
export {
|
354
|
-
|
357
|
+
ye as default
|
355
358
|
};
|