xyvcard-asset 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{edit-BWhOgMw-.mjs → edit-BD4l4cZV.mjs} +1 -1
- package/dist/{edit-CZujIURb.mjs → edit-BIE_CJlr.mjs} +1 -1
- package/dist/{edit-DPssVAky.mjs → edit-DR-WgdT5.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-6j8bVbef.mjs → edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs} +110 -98
- package/dist/edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs +446 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CjH6sYw4.mjs → edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs} +0 -1
- package/dist/{index-Bz6eEggE.mjs → index-Bqv9_BYL.mjs} +1 -1
- package/dist/{index-DIKzzLQ2.mjs → index-BxeGNuSx.mjs} +55 -45
- package/dist/{index-4vX1fgzo.mjs → index-BzUXtBGU.mjs} +111 -108
- package/dist/{index-BxfpD3CM.mjs → index-C9FfnHCZ.mjs} +1 -1
- package/dist/{index-CDYXKnyU.mjs → index-CHaJu5hs.mjs} +90 -80
- package/dist/{index-C1U7BVdL.mjs → index-CJhQRbHt.mjs} +1 -1
- package/dist/index-CuDcmifl.mjs +165 -0
- package/dist/index.mjs +10 -7
- package/dts/api/asset/asset-site-service/types.d.ts +5 -0
- package/dts/lang/asset/zh-cn.d.ts +3 -0
- package/dts/src/api/asset/asset-asset/index.d.ts +3 -1
- package/dts/src/api/asset/asset-asset/types.d.ts +23 -17
- package/dts/src/api/asset/asset-asset-detail/index.d.ts +10 -2
- package/dts/src/api/asset/asset-asset-detail/types.d.ts +22 -13
- package/dts/src/api/asset/asset-inventory-record/index.d.ts +7 -2
- package/dts/src/api/asset/asset-inventory-record/types.d.ts +1 -0
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +12 -1
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +44 -1
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +1 -1
- package/dts/src/api/asset/asset-site/index.d.ts +2 -1
- package/dts/src/api/asset/asset-site-service/index.d.ts +2 -1
- package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/src/index.d.ts +1 -1
- package/dts/src/lang/asset/zh-cn.d.ts +6 -38
- package/dts/src/router/page.d.ts +0 -2
- package/dts/src/views/asset/{asset-asset-detail → asset-service-appt-member}/edit.vue.d.ts +7 -5
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/edit.vue_vue_type_script_setup_true_lang-CrrY9V5d.mjs +0 -394
- package/dist/index-_uK0Hvab.mjs +0 -91
- package/dts/components/PeopleSelectAsset/index.vue.d.ts +0 -18
- package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +0 -14
- package/dts/src/api/asset/asset-depreciation-record/index.d.ts +0 -11
- package/dts/src/api/asset/asset-depreciation-record/types.d.ts +0 -38
- package/dts/src/api/asset/text/index.d.ts +0 -0
- package/dts/src/api/asset/text/types.d.ts +0 -0
- package/dts/src/components/PeopleSelect/index.vue.d.ts +0 -18
- package/dts/src/components/deptPeopleSelect/index.vue.d.ts +0 -2
- package/dts/src/components copy/PeopleSelect/index.vue.d.ts +0 -18
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +0 -34
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +0 -18
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +0 -34
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index/345/215/225/351/200/211/346/241/206/346/234/200/346/226/260.vue.d.ts" +0 -34
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/tree/351/200/211/346/213/251/346/241/206/344/270/215/345/261/225/347/244/272/346/225/260/346/215/256,/344/270/213/346/226/271/351/242/204/350/247/210/346/225/260/346/215/256.vue.d.ts" +0 -18
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//345/217/214/351/200/211/346/213/251.vue.d.ts" +0 -42
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//351/200/211/346/213/251/344/272/272/345/221/230/index.vue.d.ts" +0 -34
- package/dts/src/components copy/Upload/ImageUpload.vue.d.ts +0 -38
- package/dts/src/components copy/Upload/MultiUpload.vue.d.ts +0 -24
- package/dts/src/views/asset/asset-asset-detail/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-depreciation-record/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-depreciation-record/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +0 -6
- package/dts/src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/info/index.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +0 -2
- package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +0 -6
- package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +0 -2
- package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +0 -2
- /package/dts/src/{components copy/deptPeopleSelect → views/asset/asset-service-appt-member}/index.vue.d.ts +0 -0
@@ -1,4 +1,4 @@
|
|
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 h, createElementBlock as W, createElementVNode as d, createVNode as n, withCtx as t, unref as r, withKeys as R, createTextVNode as N, toDisplayString as u, isRef as V, createBlock as k, 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
4
|
import { c as S } from "./common-CshrwPyx.mjs";
|
@@ -18,7 +18,7 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
18
18
|
tableData: z,
|
19
19
|
total: f
|
20
20
|
} = x(C, te, a);
|
21
|
-
let
|
21
|
+
let p = b([
|
22
22
|
// 所属工会
|
23
23
|
{
|
24
24
|
label: "inventoryRecord.orgId",
|
@@ -70,21 +70,21 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
70
70
|
isColumn: !0
|
71
71
|
}
|
72
72
|
]);
|
73
|
-
const
|
73
|
+
const c = b([]);
|
74
74
|
function P(l) {
|
75
75
|
if (l) {
|
76
|
-
if (
|
76
|
+
if (c.value = l, c.value.length !== 2) return;
|
77
77
|
a.value.inventoryStartTime = S(
|
78
78
|
l[0]
|
79
79
|
).getFullDate(), a.value.inventoryEndTime = S(l[1]).getFullDate(), i.handleQuery();
|
80
80
|
} else
|
81
|
-
|
81
|
+
w();
|
82
82
|
}
|
83
83
|
function U(l) {
|
84
84
|
i.selectionRows.value = l;
|
85
85
|
}
|
86
|
-
function
|
87
|
-
|
86
|
+
function w() {
|
87
|
+
c.value = [], a.value.inventoryStartTime = "", a.value.inventoryEndTime = "", i.resetQuery();
|
88
88
|
}
|
89
89
|
function Y(l) {
|
90
90
|
T.push({
|
@@ -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"),
|
97
|
-
return
|
95
|
+
return i.getList(), (l, o) => {
|
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"), _ = 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 h(), W("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:
|
106
|
-
n(
|
107
|
-
default:
|
108
|
-
n(
|
109
|
-
default:
|
110
|
-
n(
|
105
|
+
default: t(() => [
|
106
|
+
n(g, null, {
|
107
|
+
default: t(() => [
|
108
|
+
n(m, { span: 8 }, {
|
109
|
+
default: t(() => [
|
110
|
+
n(v, {
|
111
111
|
label: l.$t("inventoryRecord.orgId"),
|
112
112
|
prop: "orgId"
|
113
113
|
}, {
|
114
|
-
default:
|
114
|
+
default: t(() => [
|
115
115
|
n(L, {
|
116
116
|
modelValue: a.value.orgId,
|
117
|
-
"onUpdate:modelValue":
|
117
|
+
"onUpdate:modelValue": o[0] || (o[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: o[1] || (o[1] = R((e) => r(i).handleQuery(), ["enter"]))
|
126
126
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
127
127
|
]),
|
128
128
|
_: 1
|
@@ -130,18 +130,18 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
130
130
|
]),
|
131
131
|
_: 1
|
132
132
|
}),
|
133
|
-
n(
|
134
|
-
default:
|
135
|
-
n(
|
133
|
+
n(m, { span: 8 }, {
|
134
|
+
default: t(() => [
|
135
|
+
n(v, {
|
136
136
|
label: l.$t("inventoryRecord.siteName"),
|
137
137
|
prop: "likeSiteName"
|
138
138
|
}, {
|
139
|
-
default:
|
139
|
+
default: t(() => [
|
140
140
|
n(Q, {
|
141
141
|
modelValue: a.value.likeSiteName,
|
142
|
-
"onUpdate:modelValue":
|
142
|
+
"onUpdate:modelValue": o[2] || (o[2] = (e) => a.value.likeSiteName = e),
|
143
143
|
placeholder: l.$t("inventoryRecord.siteNamePlaceholder"),
|
144
|
-
onKeyup:
|
144
|
+
onKeyup: o[3] || (o[3] = R((e) => r(i).handleQuery(), ["enter"]))
|
145
145
|
}, null, 8, ["modelValue", "placeholder"])
|
146
146
|
]),
|
147
147
|
_: 1
|
@@ -149,36 +149,41 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
149
149
|
]),
|
150
150
|
_: 1
|
151
151
|
}),
|
152
|
-
n(
|
153
|
-
default:
|
154
|
-
n(
|
152
|
+
n(m, { span: 8 }, {
|
153
|
+
default: t(() => [
|
154
|
+
n(v, {
|
155
155
|
label: l.$t("inventoryRecord.inventoryStatus"),
|
156
156
|
prop: "inventoryStatus"
|
157
157
|
}, {
|
158
|
-
default:
|
158
|
+
default: t(() => [
|
159
159
|
n(B, {
|
160
160
|
modelValue: a.value.inventoryStatus,
|
161
|
-
"onUpdate:modelValue":
|
161
|
+
"onUpdate:modelValue": o[4] || (o[4] = (e) => a.value.inventoryStatus = e),
|
162
162
|
placeholder: l.$t("inventoryRecord.inventoryStatus"),
|
163
163
|
data: r(y).inventoryResults.values,
|
164
|
-
onKeyup:
|
164
|
+
onKeyup: o[5] || (o[5] = R((e) => r(i).handleQuery(), ["enter"]))
|
165
165
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
166
166
|
]),
|
167
167
|
_: 1
|
168
168
|
}, 8, ["label"])
|
169
169
|
]),
|
170
170
|
_: 1
|
171
|
-
})
|
172
|
-
|
173
|
-
|
174
|
-
|
171
|
+
})
|
172
|
+
]),
|
173
|
+
_: 1
|
174
|
+
}),
|
175
|
+
n(g, null, {
|
176
|
+
default: t(() => [
|
177
|
+
n(m, { span: 8 }, {
|
178
|
+
default: t(() => [
|
179
|
+
n(v, {
|
175
180
|
label: l.$t("inventoryRecord.inventoryTime"),
|
176
181
|
prop: "inventoryTime"
|
177
182
|
}, {
|
178
|
-
default:
|
183
|
+
default: t(() => [
|
179
184
|
n(E, {
|
180
|
-
modelValue:
|
181
|
-
"onUpdate:modelValue":
|
185
|
+
modelValue: c.value,
|
186
|
+
"onUpdate:modelValue": o[6] || (o[6] = (e) => c.value = e),
|
182
187
|
class: "dropdown-left",
|
183
188
|
type: "daterange",
|
184
189
|
"start-placeholder": l.$t("serviceApptRecord.startDate"),
|
@@ -191,24 +196,29 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
191
196
|
}, 8, ["label"])
|
192
197
|
]),
|
193
198
|
_: 1
|
194
|
-
})
|
195
|
-
]),
|
196
|
-
_: 1
|
197
|
-
}),
|
198
|
-
n(c, { class: "search-btn" }, {
|
199
|
-
default: o(() => [
|
200
|
-
n(g, {
|
201
|
-
type: "primary",
|
202
|
-
onClick: t[7] || (t[7] = (e) => r(i).handleQuery())
|
203
|
-
}, {
|
204
|
-
default: o(() => [
|
205
|
-
R(u(l.$t("common.search")), 1)
|
206
|
-
]),
|
207
|
-
_: 1
|
208
199
|
}),
|
209
|
-
n(
|
210
|
-
default:
|
211
|
-
|
200
|
+
n(m, { span: 16 }, {
|
201
|
+
default: t(() => [
|
202
|
+
n(v, { class: "search-btn" }, {
|
203
|
+
default: t(() => [
|
204
|
+
n(_, {
|
205
|
+
type: "primary",
|
206
|
+
onClick: o[7] || (o[7] = (e) => r(i).handleQuery())
|
207
|
+
}, {
|
208
|
+
default: t(() => [
|
209
|
+
N(u(l.$t("common.search")), 1)
|
210
|
+
]),
|
211
|
+
_: 1
|
212
|
+
}),
|
213
|
+
n(_, { onClick: w }, {
|
214
|
+
default: t(() => [
|
215
|
+
N(u(l.$t("common.reset")), 1)
|
216
|
+
]),
|
217
|
+
_: 1
|
218
|
+
})
|
219
|
+
]),
|
220
|
+
_: 1
|
221
|
+
})
|
212
222
|
]),
|
213
223
|
_: 1
|
214
224
|
})
|
@@ -224,20 +234,20 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
224
234
|
shadow: "never",
|
225
235
|
class: "table-container"
|
226
236
|
}, {
|
227
|
-
header:
|
228
|
-
n(
|
237
|
+
header: t(() => [
|
238
|
+
n(g, {
|
229
239
|
justify: "space-between",
|
230
240
|
span: 20
|
231
241
|
}, {
|
232
|
-
default:
|
233
|
-
n(
|
242
|
+
default: t(() => [
|
243
|
+
n(m, {
|
234
244
|
span: 24,
|
235
245
|
class: "container-float"
|
236
246
|
}, {
|
237
|
-
default:
|
247
|
+
default: t(() => [
|
238
248
|
n(A, {
|
239
|
-
modelValue: r(
|
240
|
-
"onUpdate:modelValue":
|
249
|
+
modelValue: r(p),
|
250
|
+
"onUpdate:modelValue": o[8] || (o[8] = (e) => V(p) ? p.value = e : p = e),
|
241
251
|
"label-name": "asset/asset-inventory-record"
|
242
252
|
}, null, 8, ["modelValue"])
|
243
253
|
]),
|
@@ -247,19 +257,19 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
247
257
|
_: 1
|
248
258
|
})
|
249
259
|
]),
|
250
|
-
footer:
|
251
|
-
r(f) > 0 ? (
|
260
|
+
footer: t(() => [
|
261
|
+
r(f) > 0 ? (h(), k(H, {
|
252
262
|
key: 0,
|
253
263
|
total: r(f),
|
254
|
-
"onUpdate:total":
|
264
|
+
"onUpdate:total": o[9] || (o[9] = (e) => V(f) ? f.value = e : null),
|
255
265
|
"current-page": a.value.curPage,
|
256
|
-
"onUpdate:currentPage":
|
266
|
+
"onUpdate:currentPage": o[10] || (o[10] = (e) => a.value.curPage = e),
|
257
267
|
"page-size": a.value.pageSize,
|
258
|
-
"onUpdate:pageSize":
|
259
|
-
onPagination:
|
268
|
+
"onUpdate:pageSize": o[11] || (o[11] = (e) => a.value.pageSize = e),
|
269
|
+
onPagination: o[12] || (o[12] = (e) => r(i).getList())
|
260
270
|
}, null, 8, ["total", "current-page", "page-size"])) : X("", !0)
|
261
271
|
]),
|
262
|
-
default:
|
272
|
+
default: t(() => [
|
263
273
|
n(F, {
|
264
274
|
ref_key: "multipleTableRef",
|
265
275
|
ref: $,
|
@@ -267,39 +277,39 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
267
277
|
"row-key": "inventoryId",
|
268
278
|
"list-loading": r(j),
|
269
279
|
data: r(z),
|
270
|
-
"table-label": r(
|
280
|
+
"table-label": r(p),
|
271
281
|
onSelectionChange: U
|
272
282
|
}, {
|
273
|
-
orgId:
|
283
|
+
orgId: t((e) => [
|
274
284
|
d("span", null, u(r(y).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
|
275
285
|
]),
|
276
|
-
siteName:
|
286
|
+
siteName: t((e) => [
|
277
287
|
d("span", null, u(e.data.row.siteName), 1)
|
278
288
|
]),
|
279
|
-
inventoryTime:
|
289
|
+
inventoryTime: t((e) => [
|
280
290
|
d("span", null, u(r(D).$moment.formatDate(
|
281
291
|
e.data.row.inventoryTime,
|
282
292
|
"YYYY-MM-DD HH:mm"
|
283
293
|
)), 1)
|
284
294
|
]),
|
285
|
-
userName:
|
295
|
+
userName: t((e) => [
|
286
296
|
d("span", null, u(e.data.row.userName), 1)
|
287
297
|
]),
|
288
|
-
inventoryStatus:
|
298
|
+
inventoryStatus: t((e) => [
|
289
299
|
d("span", null, u(r(y).inventoryResults.getEnumValue(e.data.row.inventoryStatus)), 1)
|
290
300
|
]),
|
291
|
-
inventoryNote:
|
301
|
+
inventoryNote: t((e) => [
|
292
302
|
d("span", null, u(e.data.row.inventoryNote), 1)
|
293
303
|
]),
|
294
|
-
operation:
|
295
|
-
Z((
|
304
|
+
operation: t((e) => [
|
305
|
+
Z((h(), k(_, {
|
296
306
|
type: "primary",
|
297
307
|
size: "small",
|
298
308
|
link: "",
|
299
309
|
onClick: (se) => Y(e.data.row)
|
300
310
|
}, {
|
301
|
-
default:
|
302
|
-
|
311
|
+
default: t(() => [
|
312
|
+
N(u(l.$t("common.view")), 1)
|
303
313
|
]),
|
304
314
|
_: 2
|
305
315
|
}, 1032, ["onClick"])), [
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as le, ref as b, reactive as R, resolveComponent as i, resolveDirective as ae, openBlock as d, createElementBlock as S, createElementVNode as m, createVNode as o, withCtx as l, unref as s, toDisplayString as r, Fragment as oe, renderList as se, createBlock as I, withKeys as L, createTextVNode as g, withDirectives as $, isRef as z, createCommentVNode as j } from "vue";
|
2
2
|
import { D as c, b as ne, S as ie } from "./index-CGds22-2.mjs";
|
3
3
|
import { useI18n as re } from "vue-i18n";
|
4
|
-
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-
|
4
|
+
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-DoD-08Fj.mjs";
|
5
5
|
import { useTableHooks as de } from "jmash-core";
|
6
6
|
const me = { class: "app-container" }, ce = { class: "search-container" }, pe = /* @__PURE__ */ m("div", { class: "clear" }, null, -1), ve = ["onClick"], fe = ["onClick"], Ve = /* @__PURE__ */ le({
|
7
7
|
__name: "index",
|
@@ -0,0 +1,165 @@
|
|
1
|
+
import { defineComponent as O, ref as $, resolveComponent as c, openBlock as _, createElementBlock as m, createVNode as t, withCtx as e, createTextVNode as r, toDisplayString as o, createElementVNode as i, unref as n, withDirectives as D, vShow as w, createCommentVNode as q } from "vue";
|
2
|
+
import { useRouter as z, useRoute as K } from "vue-router";
|
3
|
+
import { D as C, s as L } from "./index-CGds22-2.mjs";
|
4
|
+
import { routerUtil as R } from "jmash-core";
|
5
|
+
const S = { class: "app-container" }, T = /* @__PURE__ */ i("div", { class: "title-content" }, "场地信息", -1), j = { class: "cell-item" }, A = { class: "cell-item" }, U = { class: "cell-item" }, F = { class: "cell-item" }, G = { class: "cell-item" }, H = /* @__PURE__ */ i("div", { class: "title-content" }, "管理员信息", -1), J = { class: "cell-item" }, M = { class: "cell-item" }, Q = { key: 0 }, W = { key: 1 }, X = {
|
6
|
+
key: 2,
|
7
|
+
class: "distance-left"
|
8
|
+
}, oe = /* @__PURE__ */ O({
|
9
|
+
__name: "index",
|
10
|
+
setup(Y) {
|
11
|
+
C.unionOrgBizLayDict.useValues();
|
12
|
+
const V = z(), p = K(), d = $([!1]), s = $({});
|
13
|
+
p.query.entityKey && L.findById({ siteId: p.query.entityKey }).then(({ data: l }) => {
|
14
|
+
console.log(l), s.value = Object.assign(s, l);
|
15
|
+
});
|
16
|
+
function f(l) {
|
17
|
+
d.value[l] = !d.value[l];
|
18
|
+
}
|
19
|
+
function B() {
|
20
|
+
R.closeTagView(p.fullPath, V, !1);
|
21
|
+
}
|
22
|
+
return (l, u) => {
|
23
|
+
const I = c("el-button"), a = c("el-descriptions-item"), h = c("el-descriptions"), v = c("el-col"), b = c("svg-icon"), E = c("el-row"), P = c("el-card");
|
24
|
+
return _(), m("div", S, [
|
25
|
+
t(P, { shadow: "never" }, {
|
26
|
+
header: e(() => [
|
27
|
+
t(I, {
|
28
|
+
type: "primary",
|
29
|
+
onClick: B
|
30
|
+
}, {
|
31
|
+
default: e(() => [
|
32
|
+
r(o(l.$t("common.back")), 1)
|
33
|
+
]),
|
34
|
+
_: 1
|
35
|
+
})
|
36
|
+
]),
|
37
|
+
default: e(() => [
|
38
|
+
t(E, {
|
39
|
+
gutter: 20,
|
40
|
+
style: { width: "100%" }
|
41
|
+
}, {
|
42
|
+
default: e(() => [
|
43
|
+
t(v, { span: 24 }, {
|
44
|
+
default: e(() => [
|
45
|
+
T,
|
46
|
+
t(h, {
|
47
|
+
class: "margin-top",
|
48
|
+
column: 2,
|
49
|
+
border: ""
|
50
|
+
}, {
|
51
|
+
default: e(() => [
|
52
|
+
t(a, null, {
|
53
|
+
label: e(() => [
|
54
|
+
i("div", j, o(l.$t("site.orgId")), 1)
|
55
|
+
]),
|
56
|
+
default: e(() => [
|
57
|
+
r(" " + o(n(C).unionOrgBizLayDict.getValue(n(s).orgId)), 1)
|
58
|
+
]),
|
59
|
+
_: 1
|
60
|
+
}),
|
61
|
+
t(a, null, {
|
62
|
+
label: e(() => [
|
63
|
+
i("div", A, o(l.$t("site.name")), 1)
|
64
|
+
]),
|
65
|
+
default: e(() => [
|
66
|
+
r(" " + o(n(s).name), 1)
|
67
|
+
]),
|
68
|
+
_: 1
|
69
|
+
}),
|
70
|
+
t(a, null, {
|
71
|
+
label: e(() => [
|
72
|
+
i("div", U, o(l.$t("site.buildDate")), 1)
|
73
|
+
]),
|
74
|
+
default: e(() => [
|
75
|
+
r(" " + o(n(s).buildDate), 1)
|
76
|
+
]),
|
77
|
+
_: 1
|
78
|
+
}),
|
79
|
+
t(a, null, {
|
80
|
+
label: e(() => [
|
81
|
+
i("div", F, o(l.$t("site.area")), 1)
|
82
|
+
]),
|
83
|
+
default: e(() => [
|
84
|
+
r(" " + o(n(s).area), 1)
|
85
|
+
]),
|
86
|
+
_: 1
|
87
|
+
}),
|
88
|
+
t(a, null, {
|
89
|
+
label: e(() => [
|
90
|
+
i("div", G, o(l.$t("site.address")), 1)
|
91
|
+
]),
|
92
|
+
default: e(() => [
|
93
|
+
r(" " + o(n(s).name), 1)
|
94
|
+
]),
|
95
|
+
_: 1
|
96
|
+
})
|
97
|
+
]),
|
98
|
+
_: 1
|
99
|
+
})
|
100
|
+
]),
|
101
|
+
_: 1
|
102
|
+
}),
|
103
|
+
t(v, { span: 24 }, {
|
104
|
+
default: e(() => [
|
105
|
+
H,
|
106
|
+
t(h, {
|
107
|
+
class: "margin-top",
|
108
|
+
column: 2,
|
109
|
+
border: ""
|
110
|
+
}, {
|
111
|
+
default: e(() => [
|
112
|
+
t(a, null, {
|
113
|
+
label: e(() => [
|
114
|
+
i("div", J, o(l.$t("site.manager")), 1)
|
115
|
+
]),
|
116
|
+
default: e(() => [
|
117
|
+
r(" " + o(n(s).manager), 1)
|
118
|
+
]),
|
119
|
+
_: 1
|
120
|
+
}),
|
121
|
+
t(a, null, {
|
122
|
+
label: e(() => [
|
123
|
+
i("div", M, o(l.$t("site.mobilePhone")), 1)
|
124
|
+
]),
|
125
|
+
default: e(() => {
|
126
|
+
var y, g, k;
|
127
|
+
return [
|
128
|
+
n(d)[0] ? (_(), m("span", W, o((g = n(s)) == null ? void 0 : g.mobilePhone), 1)) : (_(), m("span", Q, o((y = n(s)) == null ? void 0 : y.mobilePhoneIns), 1)),
|
129
|
+
(k = n(s)) != null && k.mobilePhoneIns ? (_(), m("span", X, [
|
130
|
+
D(t(b, {
|
131
|
+
"icon-class": "close-eye",
|
132
|
+
onClick: u[0] || (u[0] = (N) => f(0))
|
133
|
+
}, null, 512), [
|
134
|
+
[w, !n(d)[0]]
|
135
|
+
]),
|
136
|
+
D(t(b, {
|
137
|
+
"icon-class": "eye-open",
|
138
|
+
onClick: u[1] || (u[1] = (N) => f(0))
|
139
|
+
}, null, 512), [
|
140
|
+
[w, n(d)[0]]
|
141
|
+
])
|
142
|
+
])) : q("", !0)
|
143
|
+
];
|
144
|
+
}),
|
145
|
+
_: 1
|
146
|
+
})
|
147
|
+
]),
|
148
|
+
_: 1
|
149
|
+
})
|
150
|
+
]),
|
151
|
+
_: 1
|
152
|
+
})
|
153
|
+
]),
|
154
|
+
_: 1
|
155
|
+
})
|
156
|
+
]),
|
157
|
+
_: 1
|
158
|
+
})
|
159
|
+
]);
|
160
|
+
};
|
161
|
+
}
|
162
|
+
});
|
163
|
+
export {
|
164
|
+
oe as default
|
165
|
+
};
|
package/dist/index.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Layout as ce, addViteMenus as Ss, addDynamicRoute as Ms, i18n as Ds } from "jmash-core";
|
2
|
-
const Ys = () => import("./index-
|
2
|
+
const Ys = () => import("./index-CuDcmifl.mjs"), Os = () => import("./index-Ds5MwEwr.mjs"), Ts = () => import("./index-Cz4CVX5Y.mjs"), bs = () => import("./index-8j66ouA1.mjs"), xs = () => import("./index-BzUXtBGU.mjs"), Rs = [
|
3
3
|
// 场地管理
|
4
4
|
{
|
5
5
|
path: "/asset/asset-site",
|
@@ -112,20 +112,21 @@ const Ys = () => import("./index-_uK0Hvab.mjs"), Os = () => import("./index-Ds5M
|
|
112
112
|
address: "场地地址",
|
113
113
|
addressRequired: "请输入场地地址",
|
114
114
|
buildDate: "建成时间",
|
115
|
-
buildDateRequired: "
|
115
|
+
buildDateRequired: "建成时间",
|
116
116
|
area: "面积/㎡",
|
117
117
|
areaRequired: "请输入面积/㎡",
|
118
118
|
manager: "管理员姓名",
|
119
119
|
managerRequired: "请输入管理员姓名",
|
120
120
|
mobilePhone: "手机号",
|
121
|
-
mobilePhoneRequired: "请输入手机号"
|
121
|
+
mobilePhoneRequired: "请输入手机号",
|
122
|
+
mobilePhoneRight: "请输入格式正确的手机号"
|
122
123
|
},
|
123
124
|
// 预约项目
|
124
125
|
siteService: {
|
125
126
|
orgId: "所属工会",
|
126
127
|
orgIdRequired: "请选择所属工会",
|
127
128
|
siteId: "场地名称",
|
128
|
-
siteIdRequired: "
|
129
|
+
siteIdRequired: "请选择场地名称",
|
129
130
|
serviceName: "预约项目",
|
130
131
|
serviceNameRequired: "请输入预约项目",
|
131
132
|
status: "项目状态",
|
@@ -135,7 +136,9 @@ const Ys = () => import("./index-_uK0Hvab.mjs"), Os = () => import("./index-Ds5M
|
|
135
136
|
manager: "项目管理员",
|
136
137
|
managerRequired: "请选择管理员姓名",
|
137
138
|
day: "可预约天数",
|
139
|
+
dayRequired: "请输入可预约天数",
|
138
140
|
time: "可预约时间段",
|
141
|
+
timeRequired: "请选择可预约时间段",
|
139
142
|
note: "预约规则说明",
|
140
143
|
noteRequired: "请输入预约规则说明",
|
141
144
|
startTime: "开始时间",
|
@@ -256,11 +259,11 @@ const Ys = () => import("./index-_uK0Hvab.mjs"), Os = () => import("./index-Ds5M
|
|
256
259
|
number: "数量及单位",
|
257
260
|
buyDate: "购买日期",
|
258
261
|
netAssetValue: "资产净值",
|
259
|
-
year: "
|
262
|
+
year: "折旧年份",
|
260
263
|
// Placeholder
|
261
264
|
assetSortPlaceholder: "请选择资产属性",
|
262
265
|
namePlaceholder: "请输入资产名称",
|
263
|
-
yearPlaceholder: "
|
266
|
+
yearPlaceholder: "请选择折旧年份"
|
264
267
|
}
|
265
268
|
};
|
266
269
|
function Ws(e) {
|
@@ -2852,7 +2855,7 @@ const Fn = {
|
|
2852
2855
|
}
|
2853
2856
|
};
|
2854
2857
|
}
|
2855
|
-
}, Cn = /* @__PURE__ */ Object.assign({ "./views/asset/asset-asset-detail/edit.vue": () => import("./edit-C4aYV45m.mjs"), "./views/asset/asset-asset-detail/index.vue": () => import("./index-CKF69gMl.mjs"), "./views/asset/asset-asset/assign.vue": () => import("./assign-4SD6S-Fb.mjs"), "./views/asset/asset-asset/edit.vue": () => import("./edit-
|
2858
|
+
}, Cn = /* @__PURE__ */ Object.assign({ "./views/asset/asset-asset-detail/edit.vue": () => import("./edit-C4aYV45m.mjs"), "./views/asset/asset-asset-detail/index.vue": () => import("./index-CKF69gMl.mjs"), "./views/asset/asset-asset/assign.vue": () => import("./assign-4SD6S-Fb.mjs"), "./views/asset/asset-asset/edit.vue": () => import("./edit-DR-WgdT5.mjs"), "./views/asset/asset-asset/index.vue": () => import("./index-Bqv9_BYL.mjs"), "./views/asset/asset-asset/info/index.vue": () => import("./index-Cz4CVX5Y.mjs"), "./views/asset/asset-depreciation-record/index.vue": () => import("./index-DfOZUIkb.mjs"), "./views/asset/asset-depreciation-record/info/index.vue": () => import("./index-BzUXtBGU.mjs"), "./views/asset/asset-inventory-record/index.vue": () => import("./index-CHaJu5hs.mjs"), "./views/asset/asset-inventory-record/info/index.vue": () => import("./index-8j66ouA1.mjs"), "./views/asset/asset-service-appt-record/index.vue": () => import("./index-BxeGNuSx.mjs"), "./views/asset/asset-service-appt-record/info/index.vue": () => import("./index-Ds5MwEwr.mjs"), "./views/asset/asset-site-service/edit.vue": () => import("./edit-BD4l4cZV.mjs"), "./views/asset/asset-site-service/index.vue": () => import("./index-CJhQRbHt.mjs"), "./views/asset/asset-site/edit.vue": () => import("./edit-BIE_CJlr.mjs"), "./views/asset/asset-site/index.vue": () => import("./index-C9FfnHCZ.mjs"), "./views/asset/asset-site/info/index.vue": () => import("./index-CuDcmifl.mjs") }), Un = {
|
2856
2859
|
install(e) {
|
2857
2860
|
e.use(Fn), Ss(Cn, 7), Ms(Rs), Ws(Ds);
|
2858
2861
|
}
|
@@ -11,6 +11,7 @@ export interface SiteServiceReq extends EntityReq {
|
|
11
11
|
export interface SiteServiceModel extends EntityModel {
|
12
12
|
serviceId?: string;
|
13
13
|
siteId?: string;
|
14
|
+
name?: string;
|
14
15
|
serviceName?: string;
|
15
16
|
minDay?: number;
|
16
17
|
maxDay?: number;
|
@@ -54,6 +55,8 @@ export interface SiteServiceCreateReq extends EntityCreateReq {
|
|
54
55
|
orgId: string;
|
55
56
|
limitInfo: Array<LimitInfo>;
|
56
57
|
serviceId?: string;
|
58
|
+
day?: string;
|
59
|
+
time?: [];
|
57
60
|
}
|
58
61
|
export interface LimitInfo {
|
59
62
|
time?: Date[];
|
@@ -77,6 +80,8 @@ export interface SiteServiceUpdateReq extends EntityUpdateReq {
|
|
77
80
|
manager?: string;
|
78
81
|
orgId?: string;
|
79
82
|
limitInfo: Array<LimitInfo>;
|
83
|
+
day?: string;
|
84
|
+
time?: string;
|
80
85
|
}
|
81
86
|
export interface SiteServiceAppointmentModel {
|
82
87
|
limitId?: string;
|
@@ -17,6 +17,7 @@ declare const _default: {
|
|
17
17
|
managerRequired: string;
|
18
18
|
mobilePhone: string;
|
19
19
|
mobilePhoneRequired: string;
|
20
|
+
mobilePhoneRight: string;
|
20
21
|
};
|
21
22
|
siteService: {
|
22
23
|
orgId: string;
|
@@ -32,7 +33,9 @@ declare const _default: {
|
|
32
33
|
manager: string;
|
33
34
|
managerRequired: string;
|
34
35
|
day: string;
|
36
|
+
dayRequired: string;
|
35
37
|
time: string;
|
38
|
+
timeRequired: string;
|
36
39
|
note: string;
|
37
40
|
noteRequired: string;
|
38
41
|
startTime: string;
|
@@ -6,7 +6,9 @@ declare class AssetApiImpl implements AssetApi {
|
|
6
6
|
findList(query?: AssetReq): AxiosPromise<AssetList>;
|
7
7
|
findById(query: AssetKey): AxiosPromise<AssetModel>;
|
8
8
|
create(data: AssetCreateReq): AxiosPromise<AssetModel>;
|
9
|
-
update(data: AssetUpdateReq)
|
9
|
+
update: (data: AssetUpdateReq) => AxiosPromise<AssetModel>;
|
10
|
+
move(key: AssetKey, up: boolean): AxiosPromise<boolean>;
|
11
|
+
enable(key: AssetKey, enable: boolean): AxiosPromise<boolean>;
|
10
12
|
delete(query: AssetKey): AxiosPromise<AssetModel>;
|
11
13
|
batchDelete(keys: AssetKey[]): AxiosPromise<number>;
|
12
14
|
downloadTemplate(): AxiosPromise;
|