jmash-core 0.1.6 → 0.1.7

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.
@@ -1,26 +1,26 @@
1
- import { defineComponent as v, ref as y, resolveComponent as d, createElementBlock as c, openBlock as i, createElementVNode as s, Fragment as x, renderList as k, unref as _, createVNode as g, toDisplayString as C, withCtx as w } from "vue";
2
- import { b as p, p as B, f as R, i as b } from "./index-CQ2l7VZS.mjs";
1
+ import { defineComponent as v, ref as y, resolveComponent as d, createElementBlock as c, openBlock as l, createElementVNode as s, Fragment as x, renderList as k, unref as _, createVNode as g, toDisplayString as C, withCtx as w } from "vue";
2
+ import { b as p, o as B, f as R, h as b } from "./index-C2PAWF-x.mjs";
3
3
  import { useRoute as q, useRouter as A } from "vue-router";
4
4
  const L = { class: "organ-container" }, N = { class: "organ-content" }, O = ["onClick"], S = ["src"], U = { style: { "margin-right": "auto" } }, E = /* @__PURE__ */ v({
5
5
  __name: "index",
6
6
  setup(I) {
7
- const m = q(), h = A(), f = p(), l = y([]);
7
+ const h = q(), m = A(), f = p(), i = y([]);
8
8
  B().then((t) => {
9
- t.data.results.length === 1 && u(t.data.results[0]), l.value = t.data.results;
9
+ t.data.results.length === 1 && u(t.data.results[0]), i.value = t.data.results;
10
10
  });
11
11
  const u = (t) => {
12
12
  f.loginOrgan(t.tenant).then(() => {
13
13
  p().user.tenant = t.tenant;
14
- const n = m.query, a = n.redirect ?? "/", o = Object.keys(n).reduce((e, r) => (r !== "redirect" && (e[r] = n[r]), e), {});
15
- o.tenant = t.tenant, h.push({ path: a, query: o });
14
+ const n = h.query, a = n.redirect ?? "/", o = Object.keys(n).reduce((e, r) => (r !== "redirect" && (e[r] = n[r]), e), {});
15
+ o.tenant = t.tenant, m.push({ path: a, query: o });
16
16
  });
17
17
  };
18
18
  return (t, n) => {
19
19
  const a = d("ArrowRightBold"), o = d("el-icon");
20
- return i(), c("div", L, [
20
+ return l(), c("div", L, [
21
21
  n[0] || (n[0] = s("h1", null, "请选择一个组织进入", -1)),
22
22
  s("div", N, [
23
- (i(!0), c(x, null, k(_(l), (e) => (i(), c("div", {
23
+ (l(!0), c(x, null, k(_(i), (e) => (l(), c("div", {
24
24
  class: "organ-content_item",
25
25
  key: e.organId,
26
26
  onClick: (r) => u(e)
@@ -1,7 +1,7 @@
1
1
  import { _ as A } from "./RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs";
2
2
  import { _ as Z } from "./PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs";
3
- import q from "./BarChart-Cnl4OiG9.mjs";
4
- import { i as B, f as F, b as G, q as f, t as p, _ as H } from "./index-CQ2l7VZS.mjs";
3
+ import q from "./BarChart-BQWgIFf1.mjs";
4
+ import { h as B, f as F, b as G, p as f, q as p, _ as H } from "./index-C2PAWF-x.mjs";
5
5
  import { createElementBlock as b, openBlock as C, createElementVNode as t, defineComponent as R, computed as k, ref as x, resolveComponent as c, createVNode as s, withCtx as n, unref as l, toDisplayString as r, createTextVNode as u } from "vue";
6
6
  const J = {}, K = {
7
7
  href: "https://github.com/haoxianrui",