xyvcard-asset 0.0.11 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{assign-DzQUNp-Y.mjs → assign-4SD6S-Fb.mjs} +1 -1
- package/dist/common-CshrwPyx.mjs +26 -0
- package/dist/{edit-O1D_xFra.mjs → edit-BD4l4cZV.mjs} +1 -1
- package/dist/{edit-CCrekeeb.mjs → edit-BIE_CJlr.mjs} +1 -1
- package/dist/{edit-FdqpKRgF.mjs → edit-C4aYV45m.mjs} +2 -2
- package/dist/{edit-Dn-QMuy6.mjs → edit-DR-WgdT5.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs → edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs} +112 -101
- 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-CkBAP9Bk.mjs → edit.vue_vue_type_script_setup_true_lang-Dv2cJTUD.mjs} +1 -2
- package/dist/{index-B4vUTwSW.mjs → index-8j66ouA1.mjs} +1 -1
- package/dist/{index-CSMEsPcN.mjs → index-Bqv9_BYL.mjs} +3 -3
- package/dist/{index-BvKWLFdr.mjs → index-BxeGNuSx.mjs} +57 -47
- package/dist/{index-De4u-LEl.mjs → index-BzUXtBGU.mjs} +111 -108
- package/dist/{index-DElPNxc7.mjs → index-C9FfnHCZ.mjs} +2 -2
- package/dist/{index-BK24yagy.mjs → index-CGds22-2.mjs} +145 -136
- package/dist/{index-BWwU9hSp.mjs → index-CHaJu5hs.mjs} +92 -82
- package/dist/{index-BpYjnXUI.mjs → index-CJhQRbHt.mjs} +2 -2
- package/dist/{index-axEqTssj.mjs → index-CKF69gMl.mjs} +3 -3
- package/dist/index-CuDcmifl.mjs +165 -0
- package/dist/{index-jOcS7tqC.mjs → index-Cz4CVX5Y.mjs} +2 -2
- package/dist/{index-CgAq70-p.mjs → index-DfOZUIkb.mjs} +1 -1
- package/dist/{index-C5_f5Lce.mjs → index-Ds5MwEwr.mjs} +1 -1
- package/dist/{index-FUnFB7nG.mjs → index-rSyUfdXn.mjs} +1 -1
- package/dist/index.mjs +110 -107
- package/dts/api/asset/asset-site-service/index.d.ts +2 -1
- package/dts/api/asset/asset-site-service/types.d.ts +19 -1
- package/dts/components/Upload/ImageUpload.vue.d.ts +1 -1
- 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/dts/utils/common.d.ts +4 -0
- package/package.json +3 -3
- package/dist/common-kbgEWG-E.mjs +0 -24
- package/dist/edit.vue_vue_type_script_setup_true_lang-sE0fN_pL.mjs +0 -385
- package/dist/index copy-CxTCJcvX.mjs +0 -75
- package/dist/index-BW-5IuVN.mjs +0 -91
- package/dist/index-GhvyIwc3.mjs +0 -4
- package/dist/index-pfeu6d82.mjs +0 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +0 -110
- package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +0 -54
- package/dist/index/345/244/207/344/273/275-BfKo5eBT.mjs +0 -323
- 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,9 +1,9 @@
|
|
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
|
-
import { c as S } from "./common-
|
4
|
+
import { c as S } 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-CGds22-2.mjs";
|
7
7
|
import { useRouter as oe } from "vue-router";
|
8
8
|
const ne = { class: "app-container" }, le = { class: "search-container" }, ae = /* @__PURE__ */ d("div", { class: "clear" }, null, -1), ye = /* @__PURE__ */ O({
|
9
9
|
__name: "index",
|
@@ -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
|
-
import { D as c, b as ne, S as ie } from "./index-
|
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",
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as X, getCurrentInstance as Z, ref as v, reactive as ee, resolveComponent as r, resolveDirective as te, openBlock as p, createElementBlock as P, createElementVNode as d, createVNode as o, withCtx as l, unref as s, withKeys as _, toDisplayString as i, createBlock as N, createTextVNode as V, withDirectives as T, isRef as Q, createCommentVNode as z } from "vue";
|
2
2
|
import { useI18n as le } from "vue-i18n";
|
3
|
-
import { a as ae } from "./index-
|
3
|
+
import { a as ae } from "./index-rSyUfdXn.mjs";
|
4
4
|
import { useTableHooks as oe } from "jmash-core";
|
5
|
-
import { D as m, S as se } from "./index-
|
6
|
-
import ne from "./edit-
|
5
|
+
import { D as m, S as se } from "./index-CGds22-2.mjs";
|
6
|
+
import ne from "./edit-C4aYV45m.mjs";
|
7
7
|
const re = { class: "app-container" }, ue = { class: "search-container" }, ie = /* @__PURE__ */ d("div", { class: "clear" }, null, -1), de = ["onClick"], De = /* @__PURE__ */ X({
|
8
8
|
__name: "index",
|
9
9
|
setup(me) {
|
@@ -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
|
+
};
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as M, ref as v, onBeforeMount as j, resolveComponent as c, openBlock as f, createElementBlock as k, createVNode as o, withCtx as e, createTextVNode as i, toDisplayString as l, unref as t, createBlock as h, isRef as K, createCommentVNode as g, createElementVNode as s } from "vue";
|
2
2
|
import { useRouter as U, useRoute as O } from "vue-router";
|
3
|
-
import { D as p, a as A, C as H } from "./index-
|
3
|
+
import { D as p, a as A, C as H } from "./index-CGds22-2.mjs";
|
4
4
|
import { useTableHooks as Q, routerUtil as F } from "jmash-core";
|
5
5
|
import { useI18n as G } from "vue-i18n";
|
6
|
-
import { a as C } from "./index-
|
6
|
+
import { a as C } from "./index-rSyUfdXn.mjs";
|
7
7
|
const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "title-content" }, "资产信息", -1), X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ee = { class: "cell-item" }, te = { class: "cell-item" }, le = { class: "cell-item" }, se = { class: "cell-item" }, ae = /* @__PURE__ */ s("div", { class: "title-content" }, "折旧信息", -1), oe = { class: "cell-item" }, ne = { class: "cell-item" }, ie = { class: "cell-item" }, ue = { class: "cell-item" }, de = { class: "cell-item" }, re = {
|
8
8
|
key: 1,
|
9
9
|
class: "title-content"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as K, ref as S, resolveComponent as r, resolveDirective as F, openBlock as c, createElementBlock as k, createElementVNode as y, createVNode as a, withCtx as o, unref as l, withKeys as V, createTextVNode as d, toDisplayString as u, withDirectives as g, createBlock as w, isRef as $, createCommentVNode as H } from "vue";
|
2
2
|
import { useTableHooks as M } from "jmash-core";
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
4
|
-
import { D as R, a as G } from "./index-
|
4
|
+
import { D as R, a as G } from "./index-CGds22-2.mjs";
|
5
5
|
import { useRouter as J } from "vue-router";
|
6
6
|
const O = { class: "app-container" }, W = { class: "search-container" }, X = ["onClick"], ne = /* @__PURE__ */ K({
|
7
7
|
__name: "index",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as U, ref as y, resolveComponent as u, openBlock as h, createElementBlock as j, createVNode as l, withCtx as e, createTextVNode as i, toDisplayString as o, unref as t, createBlock as M, isRef as K, createCommentVNode as O, createElementVNode as s } from "vue";
|
2
2
|
import { useRouter as q, useRoute as H } from "vue-router";
|
3
|
-
import { D as g } from "./index-
|
3
|
+
import { D as g } from "./index-CGds22-2.mjs";
|
4
4
|
import { useUserStore as A, clearEmpty as I, request as R, 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";
|