xyvcard-asset 0.0.14 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. package/dist/assign-CbKUuMPJ.mjs +1603 -0
  2. package/dist/{edit-DR-WgdT5.mjs → edit-BMiwAU2V.mjs} +1 -1
  3. package/dist/{edit-C4aYV45m.mjs → edit-CX2z9EYu.mjs} +2 -2
  4. package/dist/{edit-BD4l4cZV.mjs → edit-D6NV2pb2.mjs} +1 -1
  5. package/dist/{edit-BIE_CJlr.mjs → edit-DfLSODib.mjs} +1 -1
  6. 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
  7. 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
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-CmaI0KId.mjs → edit.vue_vue_type_script_setup_true_lang-DnsSFyiS.mjs} +73 -73
  9. package/dist/{index-Bqv9_BYL.mjs → index-B1wxTvDR.mjs} +50 -48
  10. package/dist/{index-Cz4CVX5Y.mjs → index-BQ16pRTg.mjs} +33 -33
  11. package/dist/{index-DfOZUIkb.mjs → index-BWZKXQRi.mjs} +9 -7
  12. package/dist/{index-rSyUfdXn.mjs → index-BiBCzEqz.mjs} +1 -1
  13. package/dist/{index-CKF69gMl.mjs → index-BqLh2sg0.mjs} +20 -20
  14. package/dist/{index-BzUXtBGU.mjs → index-Btpx1Vf2.mjs} +17 -17
  15. package/dist/{index-8j66ouA1.mjs → index-C4xJg5F_.mjs} +54 -54
  16. package/dist/{index-C9FfnHCZ.mjs → index-C5OQhStx.mjs} +6 -4
  17. package/dist/{index-CHaJu5hs.mjs → index-CFUAQG0g.mjs} +64 -69
  18. package/dist/{index-CuDcmifl.mjs → index-CMtqB1MP.mjs} +47 -47
  19. package/dist/{index-BxeGNuSx.mjs → index-D4T2vouF.mjs} +18 -15
  20. package/dist/{index-CJhQRbHt.mjs → index-DrajJZ20.mjs} +39 -39
  21. package/dist/{index-CGds22-2.mjs → index-Dw9AQlSo.mjs} +418 -399
  22. package/dist/{index-Ds5MwEwr.mjs → index-XlZKwbCX.mjs} +76 -76
  23. package/dist/index.mjs +2 -2
  24. package/dist/style.css +1 -1
  25. package/dts/App.vue.d.ts +1 -1
  26. package/dts/components/Upload/ImageUpload.vue.d.ts +6 -6
  27. package/dts/components/Upload/MultiUpload.vue.d.ts +6 -6
  28. package/dts/constant.d.ts +12 -0
  29. package/dts/views/asset/asset-asset/assign.vue.d.ts +5 -5
  30. package/dts/views/asset/asset-asset/edit.vue.d.ts +5 -5
  31. package/dts/views/asset/asset-asset/index.vue.d.ts +1 -1
  32. package/dts/views/asset/asset-asset/info/index.vue.d.ts +1 -1
  33. package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +5 -5
  34. package/dts/views/asset/asset-asset-detail/index.vue.d.ts +1 -1
  35. package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +1 -1
  36. package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +1 -1
  37. package/dts/views/asset/asset-inventory-record/index.vue.d.ts +1 -1
  38. package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +1 -1
  39. package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +1 -1
  40. package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +1 -1
  41. package/dts/views/asset/asset-site/edit.vue.d.ts +5 -5
  42. package/dts/views/asset/asset-site/index.vue.d.ts +1 -1
  43. package/dts/views/asset/asset-site/info/index.vue.d.ts +1 -1
  44. package/dts/views/asset/asset-site-service/edit.vue.d.ts +5 -5
  45. package/dts/views/asset/asset-site-service/index.vue.d.ts +1 -1
  46. package/package.json +1 -1
  47. package/dist/assign-4SD6S-Fb.mjs +0 -1626
  48. package/dts/src/App.vue.d.ts +0 -2
  49. package/dts/src/api/asset/asset-asset/index.d.ts +0 -27
  50. package/dts/src/api/asset/asset-asset/types.d.ts +0 -115
  51. package/dts/src/api/asset/asset-asset-detail/index.d.ts +0 -20
  52. package/dts/src/api/asset/asset-asset-detail/types.d.ts +0 -65
  53. package/dts/src/api/asset/asset-inventory-record/index.d.ts +0 -15
  54. package/dts/src/api/asset/asset-inventory-record/types.d.ts +0 -63
  55. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +0 -20
  56. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +0 -71
  57. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +0 -9
  58. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +0 -37
  59. package/dts/src/api/asset/asset-site/index.d.ts +0 -15
  60. package/dts/src/api/asset/asset-site/types.d.ts +0 -71
  61. package/dts/src/api/asset/asset-site-service/index.d.ts +0 -14
  62. package/dts/src/api/asset/asset-site-service/types.d.ts +0 -81
  63. package/dts/src/api/dict.d.ts +0 -19
  64. package/dts/src/api/index.d.ts +0 -16
  65. package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
  66. package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
  67. package/dts/src/components/Upload/ImageUpload.vue.d.ts +0 -38
  68. package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -24
  69. package/dts/src/constant.d.ts +0 -19
  70. package/dts/src/index.d.ts +0 -6
  71. package/dts/src/lang/asset/en.d.ts +0 -2
  72. package/dts/src/lang/asset/zh-cn.d.ts +0 -117
  73. package/dts/src/lang/index.d.ts +0 -1
  74. package/dts/src/main.d.ts +0 -4
  75. package/dts/src/permission.d.ts +0 -1
  76. package/dts/src/router/page.d.ts +0 -6
  77. package/dts/src/utils/common.d.ts +0 -51
  78. package/dts/src/utils/index.d.ts +0 -24
  79. package/dts/src/utils/momentPlugin.d.ts +0 -5
  80. package/dts/src/views/asset/asset-asset/assign.vue.d.ts +0 -29
  81. package/dts/src/views/asset/asset-asset/edit.vue.d.ts +0 -22
  82. package/dts/src/views/asset/asset-asset/index.vue.d.ts +0 -2
  83. package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +0 -2
  84. package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +0 -2
  85. package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +0 -22
  86. package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +0 -2
  87. package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +0 -2
  88. package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +0 -2
  89. package/dts/src/views/asset/asset-site/edit.vue.d.ts +0 -22
  90. package/dts/src/views/asset/asset-site/index.vue.d.ts +0 -2
  91. package/dts/src/views/asset/asset-site/info/index.vue.d.ts +0 -2
  92. package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +0 -22
  93. package/dts/src/views/asset/asset-site-service/index.vue.d.ts +0 -2
  94. 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 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";
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 S } from "./common-CshrwPyx.mjs";
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-CGds22-2.mjs";
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 = /* @__PURE__ */ d("div", { class: "clear" }, null, -1), ye = /* @__PURE__ */ O({
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: z,
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 P(l) {
74
+ function z(l) {
75
75
  if (l) {
76
76
  if (c.value = l, c.value.length !== 2) return;
77
- a.value.inventoryStartTime = S(
77
+ a.value.inventoryStartTime = k(
78
78
  l[0]
79
- ).getFullDate(), a.value.inventoryEndTime = S(l[1]).getFullDate(), i.handleQuery();
79
+ ).getFullDate(), a.value.inventoryEndTime = k(l[1]).getFullDate(), i.handleQuery();
80
80
  } else
81
- w();
81
+ h();
82
82
  }
83
83
  function U(l) {
84
84
  i.selectionRows.value = l;
85
85
  }
86
- function w() {
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, 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, [
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: t(() => [
105
+ default: o(() => [
106
106
  n(g, null, {
107
- default: t(() => [
107
+ default: o(() => [
108
108
  n(m, { span: 8 }, {
109
- default: t(() => [
109
+ default: o(() => [
110
110
  n(v, {
111
111
  label: l.$t("inventoryRecord.orgId"),
112
112
  prop: "orgId"
113
113
  }, {
114
- default: t(() => [
114
+ default: o(() => [
115
115
  n(L, {
116
116
  modelValue: a.value.orgId,
117
- "onUpdate:modelValue": o[0] || (o[0] = (e) => a.value.orgId = e),
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: o[1] || (o[1] = R((e) => r(i).handleQuery(), ["enter"]))
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: t(() => [
134
+ default: o(() => [
135
135
  n(v, {
136
136
  label: l.$t("inventoryRecord.siteName"),
137
137
  prop: "likeSiteName"
138
138
  }, {
139
- default: t(() => [
139
+ default: o(() => [
140
140
  n(Q, {
141
141
  modelValue: a.value.likeSiteName,
142
- "onUpdate:modelValue": o[2] || (o[2] = (e) => a.value.likeSiteName = e),
142
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => a.value.likeSiteName = e),
143
143
  placeholder: l.$t("inventoryRecord.siteNamePlaceholder"),
144
- onKeyup: o[3] || (o[3] = R((e) => r(i).handleQuery(), ["enter"]))
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: t(() => [
153
+ default: o(() => [
154
154
  n(v, {
155
155
  label: l.$t("inventoryRecord.inventoryStatus"),
156
156
  prop: "inventoryStatus"
157
157
  }, {
158
- default: t(() => [
158
+ default: o(() => [
159
159
  n(B, {
160
160
  modelValue: a.value.inventoryStatus,
161
- "onUpdate:modelValue": o[4] || (o[4] = (e) => a.value.inventoryStatus = e),
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: o[5] || (o[5] = R((e) => r(i).handleQuery(), ["enter"]))
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: t(() => [
176
+ default: o(() => [
177
177
  n(m, { span: 8 }, {
178
- default: t(() => [
178
+ default: o(() => [
179
179
  n(v, {
180
180
  label: l.$t("inventoryRecord.inventoryTime"),
181
181
  prop: "inventoryTime"
182
182
  }, {
183
- default: t(() => [
183
+ default: o(() => [
184
184
  n(E, {
185
185
  modelValue: c.value,
186
- "onUpdate:modelValue": o[6] || (o[6] = (e) => c.value = e),
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: P
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: t(() => [
201
+ default: o(() => [
202
202
  n(v, { class: "search-btn" }, {
203
- default: t(() => [
204
- n(_, {
203
+ default: o(() => [
204
+ n(w, {
205
205
  type: "primary",
206
- onClick: o[7] || (o[7] = (e) => r(i).handleQuery())
206
+ onClick: t[7] || (t[7] = (e) => r(i).handleQuery())
207
207
  }, {
208
- default: t(() => [
208
+ default: o(() => [
209
209
  N(u(l.$t("common.search")), 1)
210
210
  ]),
211
211
  _: 1
212
212
  }),
213
- n(_, { onClick: w }, {
214
- default: t(() => [
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
- ae
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: t(() => [
237
+ header: o(() => [
238
238
  n(g, {
239
239
  justify: "space-between",
240
240
  span: 20
241
241
  }, {
242
- default: t(() => [
242
+ default: o(() => [
243
243
  n(m, {
244
244
  span: 24,
245
245
  class: "container-float"
246
246
  }, {
247
- default: t(() => [
247
+ default: o(() => [
248
248
  n(A, {
249
249
  modelValue: r(p),
250
- "onUpdate:modelValue": o[8] || (o[8] = (e) => V(p) ? p.value = e : p = e),
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: t(() => [
261
- r(f) > 0 ? (h(), k(H, {
260
+ footer: o(() => [
261
+ r(f) > 0 ? (_(), W(H, {
262
262
  key: 0,
263
263
  total: r(f),
264
- "onUpdate:total": o[9] || (o[9] = (e) => V(f) ? f.value = e : null),
264
+ "onUpdate:total": t[9] || (t[9] = (e) => S(f) ? f.value = e : null),
265
265
  "current-page": a.value.curPage,
266
- "onUpdate:currentPage": o[10] || (o[10] = (e) => a.value.curPage = e),
266
+ "onUpdate:currentPage": t[10] || (t[10] = (e) => a.value.curPage = e),
267
267
  "page-size": a.value.pageSize,
268
- "onUpdate:pageSize": o[11] || (o[11] = (e) => a.value.pageSize = e),
269
- onPagination: o[12] || (o[12] = (e) => r(i).getList())
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: t(() => [
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(z),
279
+ data: r(P),
280
280
  "table-label": r(p),
281
281
  onSelectionChange: U
282
282
  }, {
283
- orgId: t((e) => [
283
+ orgId: o((e) => [
284
284
  d("span", null, u(r(y).unionOrgBizLayDict.getValue(e.data.row.orgId)), 1)
285
285
  ]),
286
- siteName: t((e) => [
286
+ siteName: o((e) => [
287
287
  d("span", null, u(e.data.row.siteName), 1)
288
288
  ]),
289
- inventoryTime: t((e) => [
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: t((e) => [
295
+ userName: o((e) => [
296
296
  d("span", null, u(e.data.row.userName), 1)
297
297
  ]),
298
- inventoryStatus: t((e) => [
298
+ inventoryStatus: o((e) => [
299
299
  d("span", null, u(r(y).inventoryResults.getEnumValue(e.data.row.inventoryStatus)), 1)
300
300
  ]),
301
- inventoryNote: t((e) => [
301
+ inventoryNote: o((e) => [
302
302
  d("span", null, u(e.data.row.inventoryNote), 1)
303
303
  ]),
304
- operation: t((e) => [
305
- Z((h(), k(_, {
306
- type: "primary",
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
- default: t(() => [
312
- N(u(l.$t("common.view")), 1)
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 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";
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-CGds22-2.mjs";
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 = /* @__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 = {
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
- }, oe = /* @__PURE__ */ O({
8
+ }, ee = /* @__PURE__ */ O({
9
9
  __name: "index",
10
- setup(Y) {
10
+ setup(W) {
11
11
  C.unionOrgBizLayDict.useValues();
12
- const V = z(), p = K(), d = $([!1]), s = $({});
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
- d.value[l] = !d.value[l];
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, 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, [
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
- r(o(l.$t("common.back")), 1)
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(v, { span: 24 }, {
43
+ t(b, { span: 24 }, {
44
44
  default: e(() => [
45
- T,
46
- t(h, {
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(a, null, {
52
+ t(c, null, {
53
53
  label: e(() => [
54
- i("div", j, o(l.$t("site.orgId")), 1)
54
+ i("div", T, o(l.$t("site.orgId")), 1)
55
55
  ]),
56
56
  default: e(() => [
57
- r(" " + o(n(C).unionOrgBizLayDict.getValue(n(s).orgId)), 1)
57
+ d(" " + o(n(C).unionOrgBizLayDict.getValue(n(s).orgId)), 1)
58
58
  ]),
59
59
  _: 1
60
60
  }),
61
- t(a, null, {
61
+ t(c, null, {
62
62
  label: e(() => [
63
- i("div", A, o(l.$t("site.name")), 1)
63
+ i("div", j, o(l.$t("site.name")), 1)
64
64
  ]),
65
65
  default: e(() => [
66
- r(" " + o(n(s).name), 1)
66
+ d(" " + o(n(s).name), 1)
67
67
  ]),
68
68
  _: 1
69
69
  }),
70
- t(a, null, {
70
+ t(c, null, {
71
71
  label: e(() => [
72
- i("div", U, o(l.$t("site.buildDate")), 1)
72
+ i("div", A, o(l.$t("site.buildDate")), 1)
73
73
  ]),
74
74
  default: e(() => [
75
- r(" " + o(n(s).buildDate), 1)
75
+ d(" " + o(n(s).buildDate), 1)
76
76
  ]),
77
77
  _: 1
78
78
  }),
79
- t(a, null, {
79
+ t(c, null, {
80
80
  label: e(() => [
81
- i("div", F, o(l.$t("site.area")), 1)
81
+ i("div", U, o(l.$t("site.area")), 1)
82
82
  ]),
83
83
  default: e(() => [
84
- r(" " + o(n(s).area), 1)
84
+ d(" " + o(n(s).area), 1)
85
85
  ]),
86
86
  _: 1
87
87
  }),
88
- t(a, null, {
88
+ t(c, null, {
89
89
  label: e(() => [
90
- i("div", G, o(l.$t("site.address")), 1)
90
+ i("div", F, o(l.$t("site.address")), 1)
91
91
  ]),
92
92
  default: e(() => [
93
- r(" " + o(n(s).name), 1)
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(v, { span: 24 }, {
103
+ t(b, { span: 24 }, {
104
104
  default: e(() => [
105
- H,
106
- t(h, {
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(a, null, {
112
+ t(c, null, {
113
113
  label: e(() => [
114
- i("div", J, o(l.$t("site.manager")), 1)
114
+ i("div", G, o(l.$t("site.manager")), 1)
115
115
  ]),
116
116
  default: e(() => [
117
- r(" " + o(n(s).manager), 1)
117
+ d(" " + o(n(s).manager), 1)
118
118
  ]),
119
119
  _: 1
120
120
  }),
121
- t(a, null, {
121
+ t(c, null, {
122
122
  label: e(() => [
123
- i("div", M, o(l.$t("site.mobilePhone")), 1)
123
+ i("div", H, o(l.$t("site.mobilePhone")), 1)
124
124
  ]),
125
125
  default: e(() => {
126
- var y, g, k;
126
+ var g, h, k;
127
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, {
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: u[0] || (u[0] = (N) => f(0))
132
+ onClick: a[0] || (a[0] = (N) => f(0))
133
133
  }, null, 512), [
134
- [w, !n(d)[0]]
134
+ [w, !n(u)[0]]
135
135
  ]),
136
- D(t(b, {
136
+ D(t(y, {
137
137
  "icon-class": "eye-open",
138
- onClick: u[1] || (u[1] = (N) => f(0))
138
+ onClick: a[1] || (a[1] = (N) => f(0))
139
139
  }, null, 512), [
140
- [w, n(d)[0]]
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
- oe as default
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-CGds22-2.mjs";
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 = /* @__PURE__ */ u("div", { class: "clear" }, null, -1), de = ["onClick"], Ie = /* @__PURE__ */ W({
8
+ const se = { class: "app-container" }, ie = { class: "search-container" }, pe = ["onClick"], ye = /* @__PURE__ */ W({
9
9
  __name: "index",
10
- setup(ue) {
10
+ setup(de) {
11
11
  _.unionOrgBizLayDict.useValues(), _.siteDict.useValues();
12
12
  const $ = ne(), { t: N } = oe();
13
- let D = b();
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: "180",
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: "80"
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
- D.value = t;
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
- w();
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 w() {
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(D), (e) => (f(), A(Q, {
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: w }, {
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
- pe
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: (ce) => j(e.data.row)
340
+ onClick: (ue) => j(e.data.row)
338
341
  }, [
339
342
  h(p(a.$t("common.view")), 1)
340
- ], 8, de)), [
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
- Ie as default
357
+ ye as default
355
358
  };