xyvcard-paper-buyer 0.0.19 → 0.0.20

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.
@@ -5,7 +5,7 @@ import { routerUtil as E } from "jmash-core";
5
5
  import { useRouter as Q, useRoute as W } from "vue-router";
6
6
  import { D as F } from "./index-BGqp7CRm.mjs";
7
7
  import { l as X } from "./index-TclOpCe_.mjs";
8
- import { o as Y } from "./index-1iQKY0yJ.mjs";
8
+ import { o as Y } from "./index-CT0KG-ax.mjs";
9
9
  import { _ as Z } from "./userInvoice.vue_vue_type_script_setup_true_lang-cUHb_KPE.mjs";
10
10
  import { E as x } from "./el-message-D5NtBelf.mjs";
11
11
  import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -2,7 +2,7 @@ import { defineComponent as V, ref as z, onMounted as U, onActivated as q, resol
2
2
  import { useTableHooks as F, fileApi as Q } from "jmash-core";
3
3
  import { useI18n as j } from "vue-i18n";
4
4
  import { useRouter as E } from "vue-router";
5
- import { o as H } from "./index-CVIGK7Zc.mjs";
5
+ import { o as H } from "./index-C8xOGCSg.mjs";
6
6
  import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const M = { class: "app-container" }, T = { class: "search-container" }, G = { class: "subscription-container" }, J = ["onClick"], O = { class: "newspaper-image" }, W = { class: "dummy-text" }, X = { class: "subscription-info" }, Y = { class: "subscription-title" }, Z = { class: "subscription-price" }, ee = /* @__PURE__ */ V({
8
8
  __name: "index",
@@ -1,4 +1,4 @@
1
- import { useUserStore as r, clearEmpty as t, request as n } from "jmash-core";
1
+ import { useUserStore as t, clearEmpty as n, request as o } from "jmash-core";
2
2
  class s {
3
3
  getKey(e) {
4
4
  return {};
@@ -6,9 +6,9 @@ class s {
6
6
  // 查询翻页信息用户地址
7
7
  findPage(e) {
8
8
  e.curPage || (e.curPage = 1);
9
- const o = r().user.tenant;
10
- return t(e), n({
11
- url: "/v1/front/goods/goods_page/" + o,
9
+ const r = t().user.tenant;
10
+ return n(e), o({
11
+ url: "/v1/front/goods/goods_page/" + r,
12
12
  method: "get",
13
13
  params: e
14
14
  });
@@ -19,15 +19,15 @@ class s {
19
19
  * @returns 返回一个AxiosPromise对象,解析为商品SPU模型
20
20
  */
21
21
  findById(e) {
22
- const o = r().user.tenant;
23
- return t(e), n({
24
- url: "/v1/goods/goods_spu/id/" + o + "/" + e.spuId,
22
+ const r = t().user.tenant;
23
+ return n(e), o({
24
+ url: "/v1/goods/goods_spu/id/" + r + "/" + e.spuId,
25
25
  method: "get"
26
26
  });
27
27
  }
28
28
  // 创建报刊订单
29
29
  create(e) {
30
- return e.tenant = r().user.tenant, t(e), n({
30
+ return e.tenant = t().user.tenant, n(e), o({
31
31
  url: "/v1/front/order/order_info",
32
32
  method: "post",
33
33
  data: e
@@ -35,28 +35,37 @@ class s {
35
35
  }
36
36
  // 订单支付结果查询
37
37
  queryPayResult(e) {
38
- const o = r().user.tenant;
39
- return t(e), n({
40
- url: "/v1/front/order/pay_query/" + o,
38
+ const r = t().user.tenant;
39
+ return n(e), o({
40
+ url: "/v1/front/order/pay_query/" + r,
41
41
  method: "get",
42
42
  params: e
43
43
  });
44
44
  }
45
45
  // 查询订单管理
46
46
  findOrderInfoById(e) {
47
- return e.tenant = r().user.tenant, t(e), n({
47
+ return e.tenant = t().user.tenant, n(e), o({
48
48
  url: "/v1/front/order/order_info/id/" + e.tenant + "/" + e.orderId,
49
49
  method: "GET"
50
50
  });
51
51
  }
52
52
  // 创建实体订单收货地址
53
53
  createOrderAddress(e) {
54
- return e.tenant = r().user.tenant, t(e), n({
54
+ return e.tenant = t().user.tenant, n(e), o({
55
55
  url: "/v1/order/order_address",
56
56
  method: "post",
57
57
  data: e
58
58
  });
59
59
  }
60
+ // 查工会名称
61
+ findUnionName(e) {
62
+ const r = t().user.tenant;
63
+ return n(e), o({
64
+ url: "/v1/union/union_org/user/" + r,
65
+ method: "get",
66
+ params: e
67
+ });
68
+ }
60
69
  }
61
70
  const a = new s();
62
71
  export {