jmash-core 0.0.108 → 0.0.110

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 (44) hide show
  1. package/dist/{401-Cje8e0iQ.mjs → 401-Uu9uc5AZ.mjs} +1 -1
  2. package/dist/{404-Dcy7ErNt.mjs → 404-Bv4HWETa.mjs} +1 -1
  3. package/dist/{BarChart-oW-R1RXw.mjs → BarChart-CYiicJy4.mjs} +1 -1
  4. package/dist/{index-BnPTCkJp.mjs → index-BLFj1FIB.mjs} +6855 -6559
  5. package/dist/{index-C1KAa9PO.mjs → index-CSpzpS5Q.mjs} +3 -3
  6. package/dist/index-CyDktxrD.mjs +45 -0
  7. package/dist/{index-CAh0BAJl.mjs → index-Ywpo9w9-.mjs} +15 -15
  8. package/dist/index-yDhj6f4D.mjs +227 -0
  9. package/dist/index.mjs +55 -51
  10. package/dist/{profile-DSyIwcjT.mjs → profile-DLMrjX4f.mjs} +6 -6
  11. package/dist/{runAs-ByT2IRUb.mjs → runAs-CLd5eBdV.mjs} +1 -1
  12. package/dist/runAs.vue_vue_type_script_setup_true_lang-Chc0acxM.mjs +141 -0
  13. package/dist/style.css +1 -1
  14. package/dist/{types-DaRQE9AI.mjs → types-BEVVO8kD.mjs} +79 -63
  15. package/dist/{updatePwd-BW1ZcKeg.mjs → updatePwd-BggDYrPh.mjs} +1 -1
  16. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CASn5sxv.mjs → updatePwd.vue_vue_type_script_setup_true_lang-473g6F8e.mjs} +9 -9
  17. package/dts/src/api/auth/index.d.ts +5 -1
  18. package/dts/src/api/auth/types.d.ts +54 -4
  19. package/dts/src/components/{DictRadio → JmashAMap}/index.vue.d.ts +17 -11
  20. package/dts/src/components/{Upload → JmashTMaps}/index.vue.d.ts +7 -5
  21. package/dts/src/components/SvgIcon/index.vue.d.ts +1 -1
  22. package/dts/src/index.d.ts +4 -4
  23. package/dts/src/lang/package/zh-cn.d.ts +1 -0
  24. package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +1 -1
  25. package/dts/src/router/index.d.ts +1 -0
  26. package/dts/src/types/index.d.ts +12 -0
  27. package/dts/src/utils/AMap.d.ts +4 -0
  28. package/dts/src/utils/TMap.d.ts +1 -0
  29. package/dts/src/utils/common.d.ts +8 -5
  30. package/dts/src/views/change-organ/index.vue.d.ts +2 -0
  31. package/dts/src/views/dashboard/components/BarChart.vue.d.ts +1 -1
  32. package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +1 -1
  33. package/dts/src/views/dashboard/components/PieChart.vue.d.ts +1 -1
  34. package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +1 -1
  35. package/package.json +85 -85
  36. package/dist/index-pfRSPpqI.mjs +0 -268
  37. package/dist/picture-CBRsHLZl.mjs +0 -22
  38. package/dist/runAs.vue_vue_type_script_setup_true_lang-CKnm9qB3.mjs +0 -140
  39. package/dts/src/components/DictSelect/index.vue.d.ts +0 -50
  40. package/dts/src/components/Pagination/index.vue.d.ts +0 -88
  41. package/dts/src/components/Table/index.vue.d.ts +0 -64
  42. package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -65
  43. package/dts/src/components/Upload/SingleUpload.vue.d.ts +0 -18
  44. package/dts/src/components/Upload/importUpload.vue.d.ts +0 -31
@@ -1,85 +1,101 @@
1
- import { _ as D } from "./picture-CBRsHLZl.mjs";
2
- import { defineComponent as E, ref as V, reactive as p, resolveComponent as c, openBlock as N, createElementBlock as $, Fragment as B, createVNode as e, withCtx as l, createTextVNode as u, toDisplayString as f, createElementVNode as _ } from "vue";
3
- import { t as R, c as w, v as S, w as q, x as z } from "./index-BnPTCkJp.mjs";
4
- const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dialog-footer" }, H = /* @__PURE__ */ E({
1
+ import { openBlock as I, createElementBlock as y, createElementVNode as p, defineComponent as B, ref as V, reactive as u, resolveComponent as r, Fragment as D, createVNode as e, withCtx as l, createTextVNode as _, toDisplayString as h } from "vue";
2
+ import { v as E, b as w, w as N, x as q, y as R } from "./index-BLFj1FIB.mjs";
3
+ const S = {
4
+ viewBox: "0 0 1024 1024",
5
+ width: "1.2em",
6
+ height: "1.2em"
7
+ }, A = /* @__PURE__ */ p("path", {
8
+ fill: "currentColor",
9
+ d: "M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"
10
+ }, null, -1), L = /* @__PURE__ */ p("path", {
11
+ fill: "currentColor",
12
+ d: "M384 288q64 0 64 64t-64 64t-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472l122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888l49.92 39.936l-215.808 269.824l-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072l-.64-.512a32 32 0 0 0-44.8 5.952z"
13
+ }, null, -1), P = [
14
+ A,
15
+ L
16
+ ];
17
+ function T(k, f) {
18
+ return I(), y("svg", S, [...P]);
19
+ }
20
+ const j = { name: "ep-picture", render: T }, H = { class: "h-[40px]" }, G = { class: "image-slot" }, J = { class: "dialog-footer" }, Q = /* @__PURE__ */ B({
5
21
  __name: "types",
6
- setup(T) {
7
- const g = V(), i = p({
22
+ setup(k) {
23
+ const f = V(), i = u({
8
24
  title: "",
9
25
  visible: !1
10
- }), n = p({
26
+ }), n = u({
11
27
  content: "获取验证码",
12
28
  timers: 60,
13
29
  disabled: !1
14
- }), o = p({
30
+ }), t = u({
15
31
  name: "",
16
32
  captchaId: "",
17
33
  captchaCode: "",
18
34
  validCode: ""
19
- }), v = V(), C = p({
35
+ }), v = V(), g = u({
20
36
  captchaCode: [{ required: !0, message: "请输入验证码", trigger: "blur" }],
21
37
  name: [{ required: !0, message: "请输入邮箱或手机号", trigger: "blur" }]
22
38
  // validCode: [
23
39
  // { required: true, message: "请输入6位数字的验证码", trigger: "blur" },
24
40
  // ],
25
41
  });
26
- function h() {
27
- R().then(({ data: a }) => {
28
- o.captchaId = a.captchaId, g.value = a.base64Image, i.visible = !0, o.captchaCode = "";
42
+ function C() {
43
+ E().then(({ data: a }) => {
44
+ t.captchaId = a.captchaId, f.value = a.base64Image, i.visible = !0, t.captchaCode = "";
29
45
  });
30
46
  }
31
- function I() {
32
- h();
47
+ function x() {
48
+ C();
33
49
  }
34
- const y = async () => {
50
+ const $ = async () => {
35
51
  var a;
36
- await ((a = v.value) == null ? void 0 : a.validate((t) => {
37
- if (t) {
52
+ await ((a = v.value) == null ? void 0 : a.validate((o) => {
53
+ if (o) {
38
54
  i.visible = !1;
39
55
  const m = {
40
56
  tenant: w().user.tenant,
41
- name: o.name,
42
- captchaId: o.captchaId,
43
- captchaCode: o.captchaCode
57
+ name: t.name,
58
+ captchaId: t.captchaId,
59
+ captchaCode: t.captchaCode
44
60
  };
45
- S(m).then(({ data: s }) => {
61
+ N(m).then(({ data: s }) => {
46
62
  console.log(s);
47
- const r = window.setInterval(() => {
48
- n.content = n.timers + "s后重新发送", n.timers--, n.disabled = !0, n.timers < 0 && (n.timers = 60, n.disabled = !1, n.content = "重新发送验证码", window.clearInterval(r));
63
+ const c = window.setInterval(() => {
64
+ n.content = n.timers + "s后重新发送", n.timers--, n.disabled = !0, n.timers < 0 && (n.timers = 60, n.disabled = !1, n.content = "重新发送验证码", window.clearInterval(c));
49
65
  }, 1e3);
50
66
  });
51
67
  }
52
68
  }));
53
69
  };
54
- function k() {
70
+ function F() {
55
71
  const a = {
56
72
  tenant: w().user.tenant,
57
73
  directoryId: "jmash",
58
- name: o.name,
59
- validCode: o.validCode,
74
+ name: t.name,
75
+ validCode: t.validCode,
60
76
  clientId: q.APP_CLIENT_ID,
61
77
  scope: ""
62
78
  };
63
- z(a).then((t) => {
64
- console.log(t);
79
+ R(a).then((o) => {
80
+ console.log(o);
65
81
  });
66
82
  }
67
- return (a, t) => {
68
- const m = c("el-input"), s = c("el-form-item"), r = c("el-button"), b = c("el-form"), x = D, F = c("el-image"), U = c("el-dialog");
69
- return N(), $(B, null, [
83
+ return (a, o) => {
84
+ const m = r("el-input"), s = r("el-form-item"), c = r("el-button"), b = r("el-form"), M = j, U = r("el-image"), z = r("el-dialog");
85
+ return I(), y(D, null, [
70
86
  e(b, {
71
87
  ref_key: "ruleFormRef",
72
88
  ref: v,
73
89
  size: "large",
74
- model: o,
75
- rules: C
90
+ model: t,
91
+ rules: g
76
92
  }, {
77
93
  default: l(() => [
78
94
  e(s, { prop: "name" }, {
79
95
  default: l(() => [
80
96
  e(m, {
81
- modelValue: o.name,
82
- "onUpdate:modelValue": t[0] || (t[0] = (d) => o.name = d),
97
+ modelValue: t.name,
98
+ "onUpdate:modelValue": o[0] || (o[0] = (d) => t.name = d),
83
99
  clearable: "",
84
100
  placeholder: "请输入邮箱/已验证手机号"
85
101
  }, null, 8, ["modelValue"])
@@ -89,18 +105,18 @@ const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dial
89
105
  e(s, { prop: "validCode" }, {
90
106
  default: l(() => [
91
107
  e(m, {
92
- modelValue: o.validCode,
93
- "onUpdate:modelValue": t[1] || (t[1] = (d) => o.validCode = d),
108
+ modelValue: t.validCode,
109
+ "onUpdate:modelValue": o[1] || (o[1] = (d) => t.validCode = d),
94
110
  placeholder: "请输入验证码",
95
111
  clearable: ""
96
112
  }, {
97
113
  append: l(() => [
98
- e(r, {
114
+ e(c, {
99
115
  disabled: n.disabled,
100
- onClick: I
116
+ onClick: x
101
117
  }, {
102
118
  default: l(() => [
103
- u(f(n.content), 1)
119
+ _(h(n.content), 1)
104
120
  ]),
105
121
  _: 1
106
122
  }, 8, ["disabled"])
@@ -112,13 +128,13 @@ const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dial
112
128
  }),
113
129
  e(s, null, {
114
130
  default: l(() => [
115
- e(r, {
131
+ e(c, {
116
132
  type: "primary",
117
133
  class: "w-full",
118
- onClick: k
134
+ onClick: F
119
135
  }, {
120
136
  default: l(() => [
121
- u(" 登录 ")
137
+ _(" 登录 ")
122
138
  ]),
123
139
  _: 1
124
140
  })
@@ -128,28 +144,28 @@ const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dial
128
144
  ]),
129
145
  _: 1
130
146
  }, 8, ["model", "rules"]),
131
- e(U, {
147
+ e(z, {
132
148
  title: "提示",
133
149
  modelValue: i.visible,
134
- "onUpdate:modelValue": t[4] || (t[4] = (d) => i.visible = d),
150
+ "onUpdate:modelValue": o[4] || (o[4] = (d) => i.visible = d),
135
151
  width: "500px"
136
152
  }, {
137
153
  footer: l(() => [
138
- _("div", P, [
139
- e(r, {
140
- onClick: t[3] || (t[3] = (d) => i.visible = !1)
154
+ p("div", J, [
155
+ e(c, {
156
+ onClick: o[3] || (o[3] = (d) => i.visible = !1)
141
157
  }, {
142
158
  default: l(() => [
143
- u(f(a.$t("common.cancel")), 1)
159
+ _(h(a.$t("common.cancel")), 1)
144
160
  ]),
145
161
  _: 1
146
162
  }),
147
- e(r, {
163
+ e(c, {
148
164
  type: "primary",
149
- onClick: y
165
+ onClick: $
150
166
  }, {
151
167
  default: l(() => [
152
- u(f(a.$t("common.confirm")), 1)
168
+ _(h(a.$t("common.confirm")), 1)
153
169
  ]),
154
170
  _: 1
155
171
  })
@@ -159,28 +175,28 @@ const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dial
159
175
  e(b, {
160
176
  ref: "pwdFormRef",
161
177
  size: "large",
162
- model: o,
163
- rules: C
178
+ model: t,
179
+ rules: g
164
180
  }, {
165
181
  default: l(() => [
166
182
  e(s, { prop: "captchaCode" }, {
167
183
  default: l(() => [
168
184
  e(m, {
169
- modelValue: o.captchaCode,
170
- "onUpdate:modelValue": t[2] || (t[2] = (d) => o.captchaCode = d),
185
+ modelValue: t.captchaCode,
186
+ "onUpdate:modelValue": o[2] || (o[2] = (d) => t.captchaCode = d),
171
187
  "auto-complete": "off",
172
188
  placeholder: a.$t("login.captchaCode"),
173
189
  class: "w-[60%]"
174
190
  }, null, 8, ["modelValue", "placeholder"]),
175
- _("div", A, [
176
- e(F, {
177
- src: g.value,
178
- onClick: h,
191
+ p("div", H, [
192
+ e(U, {
193
+ src: f.value,
194
+ onClick: C,
179
195
  class: "w-[130px] h-[40px] cursor-pointer"
180
196
  }, {
181
197
  error: l(() => [
182
- _("div", M, [
183
- e(x)
198
+ p("div", G, [
199
+ e(M)
184
200
  ])
185
201
  ]),
186
202
  _: 1
@@ -200,5 +216,5 @@ const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dial
200
216
  }
201
217
  });
202
218
  export {
203
- H as default
219
+ Q as default
204
220
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-CASn5sxv.mjs";
1
+ import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-473g6F8e.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, openBlock as O, createBlock as A, unref as t, isRef as U, withCtx as n, createElementVNode as B, createVNode as r, createTextVNode as g, toDisplayString as _ } from "vue";
2
- import { ElMessage as D } from "element-plus";
3
- import { A as b, J as I } from "./index-BnPTCkJp.mjs";
4
- import { useI18n as S } from "vue-i18n";
5
- const z = { class: "dialog-footer" }, k = /* @__PURE__ */ q({
1
+ import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, openBlock as O, createBlock as A, unref as t, isRef as U, withCtx as n, createElementVNode as z, createVNode as r, createTextVNode as g, toDisplayString as _ } from "vue";
2
+ import { ElMessage as B } from "element-plus";
3
+ import { z as b, K as D } from "./index-BLFj1FIB.mjs";
4
+ import { useI18n as I } from "vue-i18n";
5
+ const S = { class: "dialog-footer" }, k = /* @__PURE__ */ q({
6
6
  __name: "updatePwd",
7
7
  props: {
8
8
  pwdVisible: {
@@ -12,7 +12,7 @@ const z = { class: "dialog-footer" }, k = /* @__PURE__ */ q({
12
12
  },
13
13
  emits: ["dialogActionChange"],
14
14
  setup(R, { emit: y }) {
15
- const { t: a } = S(), p = v(), N = R, { pwdVisible: u } = E(N), c = y;
15
+ const { t: a } = I(), p = v(), N = R, { pwdVisible: u } = E(N), c = y;
16
16
  let l = V({
17
17
  encodeOldPwd: "",
18
18
  encodeNewPwd: "",
@@ -33,8 +33,8 @@ const z = { class: "dialog-footer" }, k = /* @__PURE__ */ q({
33
33
  await ((o = p.value) == null ? void 0 : o.validate((e) => {
34
34
  if (e) {
35
35
  let d = b(l.encodeOldPwd), w = b(l.encodeNewPwd);
36
- I(d, w).then((m) => {
37
- m.status === 200 && (D({
36
+ D(d, w).then((m) => {
37
+ m.status === 200 && (B({
38
38
  message: a("password.successResetPwd"),
39
39
  type: "success"
40
40
  }), c("dialogActionChange", !1));
@@ -57,7 +57,7 @@ const z = { class: "dialog-footer" }, k = /* @__PURE__ */ q({
57
57
  onClose: f
58
58
  }, {
59
59
  footer: n(() => [
60
- B("div", z, [
60
+ z("div", S, [
61
61
  r(P, { onClick: f }, {
62
62
  default: n(() => [
63
63
  g(_(o.$t("common.cancel")), 1)
@@ -1,5 +1,5 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { CaptchaResult, LoginData, LoginResult, UserInfo, RolesPerms } from "./types";
2
+ import type { CaptchaResult, LoginData, LoginResult, UserInfo, RolesPerms, LoginQrcodeResp, LoginQrcodeReq, CoreBaseOrganList } from "./types";
3
3
  /**
4
4
  * 登录API
5
5
  *
@@ -64,3 +64,7 @@ export declare function treelistDept(deptId?: string): Promise<import("axios").A
64
64
  * @returns 返回请求结果
65
65
  */
66
66
  export declare function treelistJob(): Promise<import("axios").AxiosResponse<any, any>>;
67
+ export declare function createLoginQrcode(): AxiosPromise<LoginQrcodeResp>;
68
+ export declare function loginQrcode(data: LoginQrcodeReq): AxiosPromise<LoginResult>;
69
+ export declare function loginOrgan(): AxiosPromise<LoginResult>;
70
+ export declare function myorganList(): AxiosPromise<CoreBaseOrganList>;
@@ -66,19 +66,21 @@ export interface LoginResult {
66
66
  /**
67
67
  * 访问token
68
68
  */
69
- accessToken?: string;
69
+ accessToken: string;
70
70
  /**
71
71
  * 过期时间(单位:毫秒)
72
72
  */
73
- expires?: number;
73
+ expiresIn: number;
74
74
  /**
75
75
  * 刷新token
76
76
  */
77
- refreshToken?: string;
77
+ refreshToken: string;
78
78
  /**
79
79
  * token 类型
80
80
  */
81
- tokenType?: string;
81
+ tokenType: string;
82
+ /**过期时间. */
83
+ expiresDate?: number;
82
84
  }
83
85
  /**
84
86
  * 验证码响应
@@ -202,4 +204,52 @@ export interface RolesPerms {
202
204
  roleCodes: string[];
203
205
  permCodes: string[];
204
206
  }
207
+ export interface LoginQrcodeCreate {
208
+ tenant: string;
209
+ authorizerAppid: string;
210
+ }
211
+ export interface LoginQrcodeResp {
212
+ ticket?: string;
213
+ qrcodeUrl?: string;
214
+ }
215
+ /**
216
+ * 扫码登录参数
217
+ */
218
+ export interface LoginQrcodeReq {
219
+ tenant?: string;
220
+ /** 目录ID */
221
+ directoryId?: string;
222
+ authorizerAppid?: string;
223
+ ticket: string;
224
+ /** 客户端ID */
225
+ clientId?: string;
226
+ /** 互斥角色 */
227
+ scope?: string;
228
+ }
229
+ export interface CoreBaseOrganList {
230
+ results: CoreBaseOrganModel[];
231
+ }
232
+ export interface CoreBaseOrganModel {
233
+ organId: string;
234
+ organName: string;
235
+ organCode: string;
236
+ pinYin: string;
237
+ shortName: string;
238
+ organType: string;
239
+ parentId: string;
240
+ logoUrl: string;
241
+ industry: string;
242
+ address: string;
243
+ geoLongitude: string;
244
+ geoLatitude: string;
245
+ contactPerson: string;
246
+ contactPersonMobile: string;
247
+ contactPersonMobileIns: string;
248
+ perfectStatus: boolean;
249
+ status: string;
250
+ tenant: string;
251
+ appId: string;
252
+ appName: string;
253
+ appQrcodeUrl: string;
254
+ }
205
255
  export {};
@@ -1,32 +1,38 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- currentInterface: {
2
+ address: {
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
- dictType: {
6
+ apiKey: {
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
- dictValue: {
10
+ securityJsCode: {
11
11
  type: StringConstructor;
12
12
  default: string;
13
13
  };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
- currentInterface: {
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ getAddress: (...args: any[]) => void;
16
+ getLatLng: (...args: any[]) => void;
17
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
+ address: {
16
19
  type: StringConstructor;
17
20
  default: string;
18
21
  };
19
- dictType: {
22
+ apiKey: {
20
23
  type: StringConstructor;
21
24
  default: string;
22
25
  };
23
- dictValue: {
26
+ securityJsCode: {
24
27
  type: StringConstructor;
25
28
  default: string;
26
29
  };
27
- }>>, {
28
- currentInterface: string;
29
- dictValue: string;
30
- dictType: string;
30
+ }>> & {
31
+ onGetAddress?: ((...args: any[]) => any) | undefined;
32
+ onGetLatLng?: ((...args: any[]) => any) | undefined;
33
+ }, {
34
+ address: string;
35
+ apiKey: string;
36
+ securityJsCode: string;
31
37
  }, {}>;
32
38
  export default _default;
@@ -1,18 +1,20 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- pictureUrl: {
2
+ address: {
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
6
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- imageSrc: (...args: any[]) => void;
7
+ getAddress: (...args: any[]) => void;
8
+ getLatLng: (...args: any[]) => void;
8
9
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
9
- pictureUrl: {
10
+ address: {
10
11
  type: StringConstructor;
11
12
  default: string;
12
13
  };
13
14
  }>> & {
14
- onImageSrc?: ((...args: any[]) => any) | undefined;
15
+ onGetAddress?: ((...args: any[]) => any) | undefined;
16
+ onGetLatLng?: ((...args: any[]) => any) | undefined;
15
17
  }, {
16
- pictureUrl: string;
18
+ address: string;
17
19
  }, {}>;
18
20
  export default _default;
@@ -36,8 +36,8 @@ declare const _default: import("vue").DefineComponent<{
36
36
  };
37
37
  }>>, {
38
38
  size: string;
39
+ color: string;
39
40
  prefix: string;
40
41
  iconClass: string;
41
- color: string;
42
42
  }, {}>;
43
43
  export default _default;
@@ -1,14 +1,14 @@
1
1
  export type { VueMetaEnv, TableColumn, TableSort, DialogRef, AppSettings, FileResponseReq, FilesReq } from "./types";
2
2
  export type { EntityApi, EnumEntryReq, Entry, LayEntry, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityFormReq, EntityExportReq, EntityImportReq } from "./api/types";
3
- export type { LoginData } from "./api/auth/types";
3
+ export type { LoginData, LoginQrcodeResp, CoreBaseOrganList, CoreBaseOrganModel } from "./api/auth/types";
4
4
  import type { App } from "vue";
5
5
  export { menus, vueMetaEnv, defaultSettings, addViteMenus, addWebpackMenus, updateMetaEnv, updateViteMetaEnv, updateWebpackMetaEnv, addDynamicRoute, updateSettings } from "./settings";
6
6
  export { getQueryParams, clearEmpty, deepMerge } from "./utils/grpc";
7
7
  import request, { axiosConfig } from "./utils/request";
8
8
  export { request, axiosConfig };
9
- export { useDictionary } from "./utils/common";
9
+ export { generateRandomKey, handlePreview } from "./utils/common";
10
10
  export { BizDict, BizLayDict, CustomBizDict, EnumDict, enumMapCache, EnableBizDict } from "./api/index";
11
- export { getCaptchaApi, selectDsdRoles, runAsUser } from "./api/auth";
11
+ export { getCaptchaApi, createLoginQrcode, selectDsdRoles, runAsUser, myorganList } from "./api/auth";
12
12
  export { netEncrypt } from "./utils/netsecret";
13
13
  export { fileApi } from "./api/file/index";
14
14
  export { routerUtil } from "./utils/route";
@@ -26,7 +26,7 @@ import routerRef from "./router";
26
26
  export { routerRef };
27
27
  import directive from "./directive";
28
28
  export { directive };
29
- export { Layout, LoginPage, MultiFactorLoginPage, ProfilePage, Error401Page, Error404Page, DashboardPage, RedirectPage } from "./router";
29
+ export { Layout, LoginPage, MultiFactorLoginPage, ProfilePage, Error401Page, Error404Page, DashboardPage, RedirectPage, ChangeOrgan } from "./router";
30
30
  import i18n from "./lang/index";
31
31
  export { i18n };
32
32
  import "element-plus/theme-chalk/dark/css-vars.css";
@@ -87,6 +87,7 @@ declare const _default: {
87
87
  resetPwd: string;
88
88
  switch: string;
89
89
  operate: string;
90
+ status: string;
90
91
  view: string;
91
92
  show: string;
92
93
  hide: string;
@@ -25,8 +25,8 @@ declare const _default: import("vue").DefineComponent<{
25
25
  default: string;
26
26
  };
27
27
  }>>, {
28
- icon: string;
29
28
  title: string;
30
29
  name: string;
30
+ icon: string;
31
31
  }, {}>;
32
32
  export default _default;
@@ -8,6 +8,7 @@ export declare const Error401Page: () => Promise<typeof import("@/views/error-pa
8
8
  export declare const Error404Page: () => Promise<typeof import("@/views/error-page/404.vue")>;
9
9
  export declare const DashboardPage: () => Promise<typeof import("@/views/dashboard/index.vue")>;
10
10
  export declare const RedirectPage: () => Promise<typeof import("@/views/redirect/index.vue")>;
11
+ export declare const ChangeOrgan: () => Promise<typeof import("@/views/change-organ/index.vue")>;
11
12
  export declare const constantRoutes: RouteRecordRaw[];
12
13
  export declare const testRoutes: RouteRecordRaw[];
13
14
  /**
@@ -12,6 +12,18 @@ export interface VueMetaEnv {
12
12
  APP_API_URL: string;
13
13
  /** 应用客户端地址 */
14
14
  APP_CLIENT_ID: string;
15
+ /** 微信AppID */
16
+ APP_WECHAT_APPID: string;
17
+ /** 目录ID */
18
+ APP_DIRECTORY_ID?: "xyvcard" | "jmash";
19
+ /** 租户 */
20
+ APP_TENANT?: string;
21
+ /** 登录页默认登录方式 */
22
+ APP_ACTIVE?: "user" | "qrCode";
23
+ /** 登录后默认跳转地址 */
24
+ APP_REDIRECT?: string;
25
+ /** 二维码登录超时时间 */
26
+ APP_TIMEOUT?: number;
15
27
  }
16
28
  export interface TableColumn {
17
29
  label: string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ 异步加载原生高德地图
3
+ **********/
4
+ export default function MapLoader(apiKey: string): Promise<unknown>;
@@ -0,0 +1 @@
1
+ export default function loadScript(): Promise<unknown>;
@@ -1,10 +1,13 @@
1
1
  import type { FileResponseReq } from "@/types";
2
- export declare function generateRandomKey(): string;
3
- export declare function getDaysInMonth(val?: any): string[];
4
2
  /**
5
- * 枚举数据回显
6
- * ******* */
7
- export declare function useDictionary(datas: any, key: string): string;
3
+ * 生成随机密钥
4
+ * 该函数生成一个包含大写字母、小写字母、数字和特殊字符的随机密钥
5
+ * 密钥的长度是随机的,在8到20个字符之间
6
+ * 保证密钥中至少包含一个大写字母、一个小写字母、一个数字和一个特殊字符
7
+ *
8
+ * @returns {string} 生成的随机密钥
9
+ */
10
+ export declare function generateRandomKey(): string;
8
11
  /**
9
12
  * 预览附件
10
13
  * @param {FileResponseReq} row - 附件实体
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<{
37
37
  required: true;
38
38
  };
39
39
  }>>, {
40
- id: string;
41
40
  width: string;
41
+ id: string;
42
42
  height: string;
43
43
  className: string;
44
44
  }, {}>;
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<{
37
37
  required: true;
38
38
  };
39
39
  }>>, {
40
- id: string;
41
40
  width: string;
41
+ id: string;
42
42
  height: string;
43
43
  className: string;
44
44
  }, {}>;
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<{
37
37
  required: true;
38
38
  };
39
39
  }>>, {
40
- id: string;
41
40
  width: string;
41
+ id: string;
42
42
  height: string;
43
43
  className: string;
44
44
  }, {}>;
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<{
37
37
  required: true;
38
38
  };
39
39
  }>>, {
40
- id: string;
41
40
  width: string;
41
+ id: string;
42
42
  height: string;
43
43
  className: string;
44
44
  }, {}>;