xyvcard-settle 0.0.33 → 0.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/{history-B7h6umTa.mjs → history-DppKTWsM.mjs} +1 -1
  2. package/dist/{history-DJpkp996.mjs → history-Dv2zWu7t.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-C4SLSoNL.mjs → history.vue_vue_type_script_setup_true_lang-CtVDXjpp.mjs} +115 -108
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-fBUUTlwi.mjs → history.vue_vue_type_script_setup_true_lang-DGMNlepq.mjs} +108 -101
  5. package/dist/{index-BPjsSQ9z.mjs → index--ePSl3VP.mjs} +187 -175
  6. package/dist/{index-DzwVe4IZ.mjs → index-B1T6GA_X.mjs} +73 -66
  7. package/dist/{index-C2xcDRi4.mjs → index-B7xd6ock.mjs} +2 -2
  8. package/dist/{index-Dh5YzY21.mjs → index-B81N3bxj.mjs} +6 -6
  9. package/dist/{index-BMu6LbUO.mjs → index-BV7Yx1ZN.mjs} +166 -159
  10. package/dist/{index-OPVnNYaE.mjs → index-C4I9aQCw.mjs} +2 -2
  11. package/dist/{index-DOkDturn.mjs → index-CFBavxqo.mjs} +1 -1
  12. package/dist/{index-D0TmvQVF.mjs → index-CTi-ETJs.mjs} +75 -68
  13. package/dist/{index-zsIaZMNT.mjs → index-D9OMutL6.mjs} +2 -1
  14. package/dist/{index-DwKRJ0NX.mjs → index-DHS0CvTn.mjs} +113 -106
  15. package/dist/{index-CjnGDPpK.mjs → index-Zo3QX_fX.mjs} +1 -1
  16. package/dist/{index-CQ4exNe-.mjs → index-ydbomkpG.mjs} +419 -418
  17. package/dist/index.mjs +1 -1
  18. package/dist/{merchant-DgUIa-Xb.mjs → merchant-BENZD2R4.mjs} +1 -1
  19. package/dist/{merchant.vue_vue_type_script_setup_true_lang-D5q7svQ3.mjs → merchant.vue_vue_type_script_setup_true_lang-BH_Fe-pn.mjs} +1 -1
  20. package/dist/{pay-ChPqdw_2.mjs → pay-DabqR8eb.mjs} +1 -1
  21. package/dist/{payPal-BaaqnTEd.mjs → payPal-C7Ttt6mf.mjs} +1 -1
  22. package/dist/{sale-DRffAw0b.mjs → sale-Cki0rZ6-.mjs} +1 -1
  23. package/dist/{sale.vue_vue_type_script_setup_true_lang-B9XpAinA.mjs → sale.vue_vue_type_script_setup_true_lang-C1gJAEgg.mjs} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{today-BCH2VB3u.mjs → today-zzTtFFaz.mjs} +1 -1
  26. package/dist/{today.vue_vue_type_script_setup_true_lang-C8tQ6YOQ.mjs → today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs} +28 -28
  27. package/dist/{trend-DMpZSOlJ.mjs → trend-3ibJo3lK.mjs} +1 -1
  28. package/package.json +11 -11
@@ -1,8 +1,8 @@
1
- import { defineComponent as J, getCurrentInstance as X, ref as A, resolveComponent as r, resolveDirective as Z, createElementBlock as N, openBlock as h, createElementVNode as f, createVNode as t, withCtx as a, unref as o, withKeys as w, createTextVNode as d, toDisplayString as m, withDirectives as ee, createBlock as te, createCommentVNode as le, isRef as R } from "vue";
1
+ import { defineComponent as J, getCurrentInstance as X, ref as h, resolveComponent as r, resolveDirective as Z, createElementBlock as N, openBlock as V, createElementVNode as f, createVNode as t, withCtx as n, unref as o, withKeys as k, createTextVNode as d, toDisplayString as m, withDirectives as ee, createBlock as te, createCommentVNode as le, isRef as R } from "vue";
2
2
  import { useI18n as ae } from "vue-i18n";
3
3
  import { useRouter as ne } from "vue-router";
4
4
  import { useUserStore as S, clearEmpty as oe, request as se, useTableHooks as re } from "jmash-core";
5
- import { D as b, C as D } from "./index-CxsNyMdg.mjs";
5
+ import { D as b, C as M } from "./index-CxsNyMdg.mjs";
6
6
  import { tokenExt as de } from "xyvcard-agent";
7
7
  class ie {
8
8
  getKey(p) {
@@ -13,9 +13,9 @@ class ie {
13
13
  }
14
14
  // 查询翻页信息支付交易汇总统计;
15
15
  findPage(p) {
16
- const _ = S().user.tenant;
16
+ const A = S().user.tenant;
17
17
  return oe(p), se({
18
- url: "/v1/settle/analysis/agent/page/" + _,
18
+ url: "/v1/settle/analysis/agent/page/" + A,
19
19
  method: "get",
20
20
  params: p
21
21
  });
@@ -23,31 +23,38 @@ class ie {
23
23
  }
24
24
  const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-container" }, fe = { class: "total-num" }, ye = { class: "blue_color" }, ge = { class: "blue_color" }, ce = { class: "blue_color" }, be = { class: "blue_color" }, Te = ["onClick"], ke = /* @__PURE__ */ J({
25
25
  __name: "index",
26
- setup(M) {
26
+ setup(I) {
27
27
  const { t: p } = ae();
28
28
  b.agentBizDict.useValues(), b.instsBizDict.useValues();
29
- const _ = ne(), { proxy: V } = X(), s = A({
29
+ const A = ne(), { proxy: w } = X(), s = h({
30
30
  tokenExt: de.getTokenExt(S().user.tenant)
31
31
  }), {
32
32
  tableHooks: u,
33
- multipleTableRef: I,
34
- queryFormRef: E,
35
- listLoading: P,
36
- tableData: z,
33
+ multipleTableRef: E,
34
+ queryFormRef: P,
35
+ listLoading: z,
36
+ tableData: U,
37
37
  total: T
38
38
  } = re(p, ue, s);
39
39
  let C = u.totalRecord;
40
- const g = A([]);
41
- function U(n) {
42
- g.value = n, g.value.length === 2 && (s.value.analysisTimeStart = V.$moment.formatDate(
43
- n[0],
44
- D.RPC_FORMAT_TIME
45
- ), s.value.analysisTimeEnd = V.$moment.formatDate(
46
- n[1],
47
- D.RPC_FORMAT_TIME
48
- ));
40
+ const g = h([]);
41
+ function Y(l) {
42
+ if (!l || l.length !== 2) return;
43
+ g.value = l;
44
+ const e = new Date(l[0]), _ = new Date(l[1]);
45
+ if (e.getMonth() !== _.getMonth() || e.getFullYear() !== _.getFullYear()) {
46
+ g.value = [], w.$message.warning("开始时间和结束时间必须在同一个月");
47
+ return;
48
+ }
49
+ s.value.analysisTimeStart = w.$moment.formatDate(
50
+ l[0],
51
+ M.RPC_FORMAT_TIME
52
+ ), s.value.analysisTimeEnd = w.$moment.formatDate(
53
+ l[1],
54
+ M.RPC_FORMAT_TIME
55
+ );
49
56
  }
50
- let c = A([
57
+ let c = h([
51
58
  // 序号
52
59
  {
53
60
  label: "序号",
@@ -130,53 +137,53 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
130
137
  isColumn: !0
131
138
  }
132
139
  ]);
133
- function j(n) {
134
- _.push({
140
+ function j(l) {
141
+ A.push({
135
142
  path: "/payment/pay-trade",
136
143
  query: {
137
- agentCode: n.agentCode,
138
- analysisTime: n.analysisTime
144
+ agentCode: l.agentCode,
145
+ analysisTime: l.analysisTime
139
146
  }
140
147
  });
141
148
  }
142
149
  function B() {
143
150
  g.value = [], u.resetQuery();
144
151
  }
145
- function Y(n) {
146
- u.selectionRows.value = n;
152
+ function F(l) {
153
+ u.selectionRows.value = l;
147
154
  }
148
- function Q(n) {
149
- u.handleSort(n.prop, n.order);
155
+ function Q(l) {
156
+ u.handleSort(l.prop, l.order);
150
157
  }
151
- return u.getList(), (n, e) => {
152
- const F = r("el-tree-select"), y = r("el-form-item"), i = r("el-col"), k = r("el-input"), K = r("jmash-select"), v = r("el-row"), q = r("el-date-picker"), $ = r("el-button"), L = r("el-form"), O = r("jmash-column-select"), H = r("jmash-table"), x = r("jmash-pagination"), W = r("el-card"), G = Z("hasPerm");
153
- return h(), N("div", me, [
158
+ return u.getList(), (l, e) => {
159
+ const _ = r("el-tree-select"), y = r("el-form-item"), i = r("el-col"), $ = r("el-input"), K = r("jmash-select"), v = r("el-row"), q = r("el-date-picker"), D = r("el-button"), L = r("el-form"), O = r("jmash-column-select"), H = r("jmash-table"), x = r("jmash-pagination"), W = r("el-card"), G = Z("hasPerm");
160
+ return V(), N("div", me, [
154
161
  f("div", pe, [
155
162
  t(L, {
156
163
  ref_key: "queryFormRef",
157
- ref: E,
164
+ ref: P,
158
165
  model: s.value,
159
166
  inline: !0,
160
167
  "label-width": "6em"
161
168
  }, {
162
- default: a(() => [
169
+ default: n(() => [
163
170
  t(v, null, {
164
- default: a(() => [
171
+ default: n(() => [
165
172
  t(i, { span: 6 }, {
166
- default: a(() => [
173
+ default: n(() => [
167
174
  t(y, {
168
- label: n.$t("settleTradeAnalysis.agentName"),
175
+ label: l.$t("settleTradeAnalysis.agentName"),
169
176
  prop: "agentCode"
170
177
  }, {
171
- default: a(() => [
172
- t(F, {
178
+ default: n(() => [
179
+ t(_, {
173
180
  modelValue: s.value.agentCode,
174
- "onUpdate:modelValue": e[0] || (e[0] = (l) => s.value.agentCode = l),
181
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => s.value.agentCode = a),
175
182
  data: o(b).agentBizDict.values,
176
183
  "node-key": "value",
177
184
  filterable: "",
178
185
  clearable: "",
179
- placeholder: n.$t("settleTradeAnalysis.agentCodeRead"),
186
+ placeholder: l.$t("settleTradeAnalysis.agentCodeRead"),
180
187
  class: "!w-[203px]"
181
188
  }, null, 8, ["modelValue", "data", "placeholder"])
182
189
  ]),
@@ -186,17 +193,17 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
186
193
  _: 1
187
194
  }),
188
195
  t(i, { span: 6 }, {
189
- default: a(() => [
196
+ default: n(() => [
190
197
  t(y, {
191
- label: n.$t("settleTradeAnalysis.agentCodes"),
198
+ label: l.$t("settleTradeAnalysis.agentCodes"),
192
199
  prop: "agentCode"
193
200
  }, {
194
- default: a(() => [
195
- t(k, {
201
+ default: n(() => [
202
+ t($, {
196
203
  modelValue: s.value.agentCode,
197
- "onUpdate:modelValue": e[1] || (e[1] = (l) => s.value.agentCode = l),
198
- placeholder: n.$t("settleTradeAnalysis.agentCodesRead"),
199
- onKeyup: e[2] || (e[2] = w((l) => o(u).handleQuery(), ["enter"])),
204
+ "onUpdate:modelValue": e[1] || (e[1] = (a) => s.value.agentCode = a),
205
+ placeholder: l.$t("settleTradeAnalysis.agentCodesRead"),
206
+ onKeyup: e[2] || (e[2] = k((a) => o(u).handleQuery(), ["enter"])),
200
207
  class: "!w-[203px]"
201
208
  }, null, 8, ["modelValue", "placeholder"])
202
209
  ]),
@@ -206,18 +213,18 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
206
213
  _: 1
207
214
  }),
208
215
  t(i, { span: 6 }, {
209
- default: a(() => [
216
+ default: n(() => [
210
217
  t(y, {
211
- label: n.$t("payTrade.instsId"),
218
+ label: l.$t("payTrade.instsId"),
212
219
  prop: "instsId"
213
220
  }, {
214
- default: a(() => [
221
+ default: n(() => [
215
222
  t(K, {
216
223
  modelValue: s.value.instsId,
217
- "onUpdate:modelValue": e[3] || (e[3] = (l) => s.value.instsId = l),
218
- placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
224
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => s.value.instsId = a),
225
+ placeholder: l.$t("settleTradeAnalysis.channelIdRead"),
219
226
  data: o(b).instsBizDict.values,
220
- onKeyup: e[4] || (e[4] = w((l) => o(u).handleQuery(), ["enter"])),
227
+ onKeyup: e[4] || (e[4] = k((a) => o(u).handleQuery(), ["enter"])),
221
228
  class: "!w-[203px]",
222
229
  filterable: "",
223
230
  clearable: ""
@@ -229,17 +236,17 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
229
236
  _: 1
230
237
  }),
231
238
  t(i, { span: 6 }, {
232
- default: a(() => [
239
+ default: n(() => [
233
240
  t(y, {
234
- label: n.$t("settleTradeAnalysis.likeMerchantNo"),
241
+ label: l.$t("settleTradeAnalysis.likeMerchantNo"),
235
242
  prop: "likeMerchantNo"
236
243
  }, {
237
- default: a(() => [
238
- t(k, {
244
+ default: n(() => [
245
+ t($, {
239
246
  modelValue: s.value.likeMerchantNo,
240
- "onUpdate:modelValue": e[5] || (e[5] = (l) => s.value.likeMerchantNo = l),
241
- placeholder: n.$t("settleTradeAnalysis.likeMerchantNoRead"),
242
- onKeyup: e[6] || (e[6] = w((l) => o(u).handleQuery(), ["enter"])),
247
+ "onUpdate:modelValue": e[5] || (e[5] = (a) => s.value.likeMerchantNo = a),
248
+ placeholder: l.$t("settleTradeAnalysis.likeMerchantNoRead"),
249
+ onKeyup: e[6] || (e[6] = k((a) => o(u).handleQuery(), ["enter"])),
243
250
  class: "!w-[203px]"
244
251
  }, null, 8, ["modelValue", "placeholder"])
245
252
  ]),
@@ -252,24 +259,24 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
252
259
  _: 1
253
260
  }),
254
261
  t(v, null, {
255
- default: a(() => [
262
+ default: n(() => [
256
263
  t(i, { span: 8 }, {
257
- default: a(() => [
264
+ default: n(() => [
258
265
  t(y, {
259
- label: n.$t("settleTradeAnalysis.createTime"),
266
+ label: l.$t("settleTradeAnalysis.createTime"),
260
267
  prop: "analysisTimeStart"
261
268
  }, {
262
- default: a(() => [
269
+ default: n(() => [
263
270
  t(q, {
264
271
  modelValue: g.value,
265
- "onUpdate:modelValue": e[7] || (e[7] = (l) => g.value = l),
272
+ "onUpdate:modelValue": e[7] || (e[7] = (a) => g.value = a),
266
273
  type: "daterange",
267
274
  format: "YYYY-MM-DD",
268
275
  "value-format": "YYYY-MM-DD",
269
276
  "range-separator": "-",
270
- "start-placeholder": n.$t("settleTradeAnalysis.analysisTimeStart"),
271
- "end-placeholder": n.$t("settleTradeAnalysis.analysisTimeEnd"),
272
- onChange: U
277
+ "start-placeholder": l.$t("settleTradeAnalysis.analysisTimeStart"),
278
+ "end-placeholder": l.$t("settleTradeAnalysis.analysisTimeEnd"),
279
+ onChange: Y
273
280
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
274
281
  ]),
275
282
  _: 1
@@ -278,23 +285,23 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
278
285
  _: 1
279
286
  }),
280
287
  t(i, { span: 16 }, {
281
- default: a(() => [
288
+ default: n(() => [
282
289
  t(y, { class: "search-btn" }, {
283
- default: a(() => [
284
- t($, {
290
+ default: n(() => [
291
+ t(D, {
285
292
  type: "primary",
286
- onClick: e[8] || (e[8] = (l) => o(u).handleQuery())
293
+ onClick: e[8] || (e[8] = (a) => o(u).handleQuery())
287
294
  }, {
288
- default: a(() => [
289
- d(m(n.$t("common.search")), 1)
295
+ default: n(() => [
296
+ d(m(l.$t("common.search")), 1)
290
297
  ]),
291
298
  _: 1
292
299
  }),
293
- t($, {
294
- onClick: e[9] || (e[9] = (l) => B())
300
+ t(D, {
301
+ onClick: e[9] || (e[9] = (a) => B())
295
302
  }, {
296
- default: a(() => [
297
- d(m(n.$t("common.reset")), 1)
303
+ default: n(() => [
304
+ d(m(l.$t("common.reset")), 1)
298
305
  ]),
299
306
  _: 1
300
307
  })
@@ -316,17 +323,17 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
316
323
  shadow: "never",
317
324
  class: "table-container"
318
325
  }, {
319
- header: a(() => [
326
+ header: n(() => [
320
327
  t(v, null, {
321
- default: a(() => [
328
+ default: n(() => [
322
329
  t(i, {
323
330
  span: 24,
324
331
  class: "container-float"
325
332
  }, {
326
- default: a(() => [
333
+ default: n(() => [
327
334
  t(O, {
328
335
  modelValue: o(c),
329
- "onUpdate:modelValue": e[10] || (e[10] = (l) => R(c) ? c.value = l : c = l),
336
+ "onUpdate:modelValue": e[10] || (e[10] = (a) => R(c) ? c.value = a : c = a),
330
337
  "label-name": "settle/settle-trade-analysis"
331
338
  }, null, 8, ["modelValue"])
332
339
  ]),
@@ -336,24 +343,24 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
336
343
  _: 1
337
344
  })
338
345
  ]),
339
- footer: a(() => [
340
- o(T) > 0 ? (h(), te(x, {
346
+ footer: n(() => [
347
+ o(T) > 0 ? (V(), te(x, {
341
348
  key: 0,
342
349
  total: o(T),
343
- "onUpdate:total": e[11] || (e[11] = (l) => R(T) ? T.value = l : null),
350
+ "onUpdate:total": e[11] || (e[11] = (a) => R(T) ? T.value = a : null),
344
351
  "current-page": s.value.curPage,
345
- "onUpdate:currentPage": e[12] || (e[12] = (l) => s.value.curPage = l),
352
+ "onUpdate:currentPage": e[12] || (e[12] = (a) => s.value.curPage = a),
346
353
  "page-size": s.value.pageSize,
347
- "onUpdate:pageSize": e[13] || (e[13] = (l) => s.value.pageSize = l),
348
- onPagination: e[14] || (e[14] = (l) => o(u).getList())
354
+ "onUpdate:pageSize": e[13] || (e[13] = (a) => s.value.pageSize = a),
355
+ onPagination: e[14] || (e[14] = (a) => o(u).getList())
349
356
  }, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
350
357
  ]),
351
- default: a(() => [
358
+ default: n(() => [
352
359
  f("div", fe, [
353
360
  t(v, { gutter: 20 }, {
354
- default: a(() => [
361
+ default: n(() => [
355
362
  t(i, { span: 5 }, {
356
- default: a(() => [
363
+ default: n(() => [
357
364
  e[16] || (e[16] = d(" 订单笔数: ")),
358
365
  f("span", ye, m(o(C).totalOrderCount), 1),
359
366
  e[17] || (e[17] = d(" 笔 "))
@@ -361,7 +368,7 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
361
368
  _: 1
362
369
  }),
363
370
  t(i, { span: 5 }, {
364
- default: a(() => [
371
+ default: n(() => [
365
372
  e[18] || (e[18] = d(" 订单金额: ")),
366
373
  f("span", ge, m(o(C).totalOrderAmount), 1),
367
374
  e[19] || (e[19] = d(" 元 "))
@@ -369,7 +376,7 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
369
376
  _: 1
370
377
  }),
371
378
  t(i, { span: 5 }, {
372
- default: a(() => [
379
+ default: n(() => [
373
380
  e[20] || (e[20] = d(" 交易金额: ")),
374
381
  f("span", ce, m(o(C).totalTradeAmount), 1),
375
382
  e[21] || (e[21] = d(" 元 "))
@@ -377,7 +384,7 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
377
384
  _: 1
378
385
  }),
379
386
  t(i, { span: 5 }, {
380
- default: a(() => [
387
+ default: n(() => [
381
388
  e[22] || (e[22] = d(" 手续费: ")),
382
389
  f("span", be, m(o(C).totalFeeAmt), 1),
383
390
  e[23] || (e[23] = d(" 元 "))
@@ -390,27 +397,27 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
390
397
  ]),
391
398
  t(H, {
392
399
  ref_key: "multipleTableRef",
393
- ref: I,
400
+ ref: E,
394
401
  "row-key": "settleTradeAnalysisPk",
395
402
  isSelection: !1,
396
- "list-loading": o(P),
397
- data: o(z),
403
+ "list-loading": o(z),
404
+ data: o(U),
398
405
  "table-label": o(c),
399
- onSelectionChange: Y,
406
+ onSelectionChange: F,
400
407
  onSortChange: Q
401
408
  }, {
402
- agentName: a((l) => [
403
- d(m(o(b).agentBizDict.getValue(l.data.row.agentCode)), 1)
409
+ agentName: n((a) => [
410
+ d(m(o(b).agentBizDict.getValue(a.data.row.agentCode)), 1)
404
411
  ]),
405
- agentCode: a((l) => [
406
- d(m(l.data.row.agentCode), 1)
412
+ agentCode: n((a) => [
413
+ d(m(a.data.row.agentCode), 1)
407
414
  ]),
408
- operation: a((l) => [
409
- ee((h(), N("span", {
415
+ operation: n((a) => [
416
+ ee((V(), N("span", {
410
417
  class: "el-button-color",
411
- onClick: (Ce) => j(l.data.row)
418
+ onClick: (Ce) => j(a.data.row)
412
419
  }, [
413
- d(m(n.$t("settleTradeAnalysis.view")), 1)
420
+ d(m(l.$t("settleTradeAnalysis.view")), 1)
414
421
  ], 8, Te)), [
415
422
  [G, ["settle:settle_trade_analysis:view"]]
416
423
  ])
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, ref as p, resolveComponent as s, createElementBlock as i, openBlock as d, createElementVNode as u, createVNode as e, withCtx as n } from "vue";
2
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-fBUUTlwi.mjs";
2
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DGMNlepq.mjs";
3
3
  import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-DhaJRJsJ.mjs";
4
4
  const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
5
5
  __name: "index",