xyvcard-paper-buyer 0.0.19 → 0.0.21

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,6 +1,6 @@
1
1
  import { defineComponent as fe, ref as V, onActivated as ye, resolveComponent as i, resolveDirective as ve, createElementBlock as f, openBlock as p, createElementVNode as c, createVNode as n, withCtx as r, withKeys as P, unref as a, createTextVNode as u, toDisplayString as l, withDirectives as w, createCommentVNode as v, vShow as W, createBlock as E, isRef as j } from "vue";
2
2
  import { D as m, C as h } from "./index-BGqp7CRm.mjs";
3
- import { o as Q } from "./index-1iQKY0yJ.mjs";
3
+ import { o as Q } from "./index-CT0KG-ax.mjs";
4
4
  import { vueMetaEnv as be, useTableHooks as _e } from "jmash-core";
5
5
  import { useI18n as Ie } from "vue-i18n";
6
6
  import { useRoute as we, useRouter as he } from "vue-router";
@@ -177,7 +177,7 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
177
177
  tenant: K.query.tenant
178
178
  });
179
179
  console.log(o.data, "=>res "), B.value = o.data.counterUrl, console.log(o.data.counterUrl, "=>counterUrl "), C.push({
180
- path: "/buyer/order-newspaper/payment",
180
+ path: "/buyer/order-newspaper/orderAddress",
181
181
  query: { orderId: t.orderId, counterUrl: B.value }
182
182
  });
183
183
  } catch (o) {
@@ -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 {