jmash-core 0.0.4 → 0.0.6
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.
- package/dist/{401-DoLCxv3l.mjs → 401-C_qkauQu.mjs} +3 -3
- package/dist/{BarChart-C1VgkGMN.mjs → BarChart-CsSnWnk0.mjs} +3 -3
- package/dist/{FileSaver.min-CbZYb_R2.mjs → FileSaver.min-S6m_zlDZ.mjs} +1 -1
- package/dist/{PieChart-D4hXD0SH.mjs → PieChart-BXbsYR-1.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-BzbbPmOh.mjs → PieChart.vue_vue_type_script_setup_true_lang-DtwPlpFC.mjs} +2 -2
- package/dist/{RadarChart-BIL7VT1H.mjs → RadarChart-zNAewKa0.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DcuctIiI.mjs → RadarChart.vue_vue_type_script_setup_true_lang-Dtxsf7KP.mjs} +2 -2
- package/dist/{caret-bottom-Cm1qBSrY.mjs → caret-bottom-B5kASNne.mjs} +8 -8
- package/dist/{debounce-C0G0JMal.mjs → debounce-DVtCzWbd.mjs} +18 -18
- package/dist/{dropdown2-BiRFTrOq.mjs → dropdown2-CMOWvf0C.mjs} +13 -13
- package/dist/{edit-Bpt21Eir.mjs → edit-BcboAnwn.mjs} +74 -75
- package/dist/{edit-D3-EslTs.mjs → edit-BhzWgtiu.mjs} +1 -1
- package/dist/{edit-CYWeo3RE.mjs → edit-Bv8DZG6p.mjs} +1 -1
- package/dist/{edit-Cde8RIRN.mjs → edit-BvWmAEHc.mjs} +1 -1
- package/dist/{edit-NICINRFG.mjs → edit-Cyd9eTU2.mjs} +1 -1
- package/dist/{edit-DLx0iRHQ.mjs → edit-DBR41rYO.mjs} +49 -50
- package/dist/edit-DnXU0M0C.mjs +4 -0
- package/dist/edit-DywfQnD6.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-_tHqd9tg.mjs → edit.vue_vue_type_script_setup_true_lang-BVTIqMtE.mjs} +47 -48
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DBxZMZyS.mjs → edit.vue_vue_type_script_setup_true_lang-Bz1hLu9y.mjs} +19 -20
- package/dist/{edit.vue_vue_type_script_setup_true_lang-mM66jf9N.mjs → edit.vue_vue_type_script_setup_true_lang-CHTaDBkI.mjs} +20 -21
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CFHGaytm.mjs → edit.vue_vue_type_script_setup_true_lang-CaR3fD9U.mjs} +13 -14
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BYoUZaYJ.mjs → edit.vue_vue_type_script_setup_true_lang-DiK3ksvS.mjs} +17 -18
- package/dist/{edit.vue_vue_type_script_setup_true_lang-C_NNjRjK.mjs → edit.vue_vue_type_script_setup_true_lang-fqt8wb5O.mjs} +45 -46
- package/dist/{el-card-BIRVdEQY.mjs → el-card-miLDnNw5.mjs} +4 -4
- package/dist/{el-checkbox-miY6QbQ8.mjs → el-checkbox-CFMqu9KB.mjs} +70 -70
- package/dist/{el-col-BOgRUJYE.mjs → el-col-BEJD7GD1.mjs} +19 -19
- package/dist/{el-date-picker-D9yvdcj2.mjs → el-date-picker-Cr-cX8DW.mjs} +5 -5
- package/dist/{el-dialog-BSTwker5.mjs → el-dialog-DsSLDdfQ.mjs} +72 -72
- package/dist/{el-dropdown-item-YDb2-w9y.mjs → el-dropdown-item-BCmwAt2w.mjs} +68 -68
- package/dist/{el-form-item-BzKoZc6I.mjs → el-form-item-SADwyANR.mjs} +118 -118
- package/dist/{el-popover-DuRdut0P.mjs → el-popover-m-Jq-5BK.mjs} +24 -24
- package/dist/{el-popper-AjIjI4wK.mjs → el-popper-1E2gbMai.mjs} +1 -1
- package/dist/{el-progress-BPv5gfee.mjs → el-progress-BxHkbtFE.mjs} +35 -35
- package/dist/{el-radio-NC-gfUsx.mjs → el-radio-Dx1x2IhO.mjs} +52 -52
- package/dist/{el-scrollbar-p0O6uID0.mjs → el-scrollbar-COsAm83d.mjs} +75 -75
- package/dist/{el-select-DAMII7lv.mjs → el-select-Cge53X_a.mjs} +102 -102
- package/dist/{el-switch-C2AFgHGW.mjs → el-switch-3lruHxge.mjs} +40 -40
- package/dist/{el-table-IQFrP3zv.mjs → el-table-CP25j4nH.mjs} +143 -143
- package/dist/{el-tree-select-CyDKS6nF.mjs → el-tree-select-FIDKYIa1.mjs} +99 -99
- package/dist/{importUpload.vue_vue_type_script_setup_true_lang-DWWbxFGH.mjs → importUpload.vue_vue_type_script_setup_true_lang-CZUq7ixU.mjs} +30 -31
- package/dist/{index-BpAihYhN.mjs → index-82f92F0U.mjs} +35 -36
- package/dist/{index-C0UgbyoZ.mjs → index-BETVnAE-.mjs} +46 -46
- package/dist/{index-CCFtIl_h.mjs → index-BNcw4iMa.mjs} +49 -50
- package/dist/{index-CgNPGcHv.mjs → index-BWHVnG9T.mjs} +58 -59
- package/dist/index-BjNf6_G4.mjs +13179 -0
- package/dist/{index-CBB_r4G5.mjs → index-CPIcbKz7.mjs} +34 -35
- package/dist/{index-Cd3TOW5i.mjs → index-ClV6eGK1.mjs} +9 -9
- package/dist/{index-BWyb1bu2.mjs → index-CtL1ATi2.mjs} +95 -96
- package/dist/{index-A3UILhe-.mjs → index-DCQmWDX4.mjs} +35 -36
- package/dist/{index-C0vV2_4K.mjs → index-DYY5todd.mjs} +7 -7
- package/dist/{index-eT2JltVa.mjs → index-DcpN2fWF.mjs} +8 -8
- package/dist/{index-BWx4KWAY.mjs → index-DfFxhIWV.mjs} +24 -25
- package/dist/{index-mkT_dTWL.mjs → index-DhAGdVI6.mjs} +1 -1
- package/dist/{index-B46NFfoE.mjs → index-Dmv6CYeS.mjs} +27 -28
- package/dist/{index-BnbEfNmI.mjs → index-DpuuXN_M.mjs} +5 -5
- package/dist/{index-BvixCbHl.mjs → index-DuQBVGRw.mjs} +17 -18
- package/dist/{index-Bs3AcT6R.mjs → index-Dx53f_Sb.mjs} +18 -18
- package/dist/{index-CoOFKDgw.mjs → index-FaDQHwL2.mjs} +5 -5
- package/dist/{index-CurzO9C6.mjs → index-FrT5yP_Z.mjs} +26 -27
- package/dist/{index-Url6hMpl.mjs → index-ffGccmy3.mjs} +78 -79
- package/dist/index-g0t1RwR3.mjs +2589 -0
- package/dist/{index-xtDIXRPY.mjs → index-knvasjd6.mjs} +65 -65
- package/dist/index.mjs +16 -11
- package/dist/{index.vue_vue_type_script_setup_true_lang-C6yk_vUt.mjs → index.vue_vue_type_script_setup_true_lang-f_JnHVJD.mjs} +20 -20
- package/dist/{index.vue_vue_type_script_setup_true_lang-BoxqootF.mjs → index.vue_vue_type_script_setup_true_lang-rl_flY13.mjs} +5 -5
- package/dist/{picture-kPnmHaoS.mjs → picture-Cnt3kRRp.mjs} +18 -18
- package/dist/{profile-RVQuIwXg.mjs → profile-DGSkxplm.mjs} +23 -23
- package/dist/{refs-S3PYDmaW.mjs → refs-DQyMCCl7.mjs} +1 -1
- package/dist/{types-CCG3Dvqs.mjs → types-CzUG0yyM.mjs} +16 -16
- package/dist/{updatePwd-2UsTmJa5.mjs → updatePwd-BMZQn7mh.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-_Uadc2g3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Dp-E7ZUt.mjs} +5 -5
- package/dist/{useColumnToggleTable-D_QF8Uy9.mjs → useColumnToggleTable-EJRdhTaG.mjs} +5 -5
- package/dts/src/App.vue.d.ts +1 -1
- package/dts/src/api/auth/index.d.ts +41 -0
- package/dts/src/api/auth/types.d.ts +180 -0
- package/dts/src/api/file/index.d.ts +14 -0
- package/dts/src/api/file/types.d.ts +7 -0
- package/dts/src/api/system/dept/index.d.ts +91 -0
- package/dts/src/api/system/dept/types.d.ts +63 -0
- package/dts/src/api/system/index.d.ts +7 -0
- package/dts/src/api/system/job/index.d.ts +42 -0
- package/dts/src/api/system/job/types.d.ts +60 -0
- package/dts/src/api/system/log/index.d.ts +29 -0
- package/dts/src/api/system/log/types.d.ts +42 -0
- package/dts/src/api/system/menu/index.d.ts +103 -0
- package/dts/src/api/system/menu/types.d.ts +96 -0
- package/dts/src/api/system/module/index.d.ts +57 -0
- package/dts/src/api/system/module/types.d.ts +13 -0
- package/dts/src/api/system/operation/index.d.ts +51 -0
- package/dts/src/api/system/operation/types.d.ts +12 -0
- package/dts/src/api/system/permission/index.d.ts +50 -0
- package/dts/src/api/system/permission/types.d.ts +12 -0
- package/dts/src/api/system/role/index.d.ts +77 -0
- package/dts/src/api/system/role/types.d.ts +26 -0
- package/dts/src/api/system/user/index.d.ts +133 -0
- package/dts/src/api/system/user/types.d.ts +53 -0
- package/dts/src/api/system/userLog/index.d.ts +29 -0
- package/dts/src/api/system/userLog/types.d.ts +22 -0
- package/dts/src/assets/icons/index.d.ts +0 -0
- package/dts/src/components/{TheWelcome.vue.d.ts → Breadcrumb/index.vue.d.ts} +1 -1
- package/dts/src/components/DictRadio/index.vue.d.ts +23 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +41 -0
- package/dts/src/components/Dictionary/index.vue.d.ts +47 -0
- package/dts/src/components/{icons/IconEcosystem.vue.d.ts → GithubCorner/index.vue.d.ts} +1 -1
- package/dts/src/components/Hamburger/index.vue.d.ts +18 -0
- package/dts/src/components/IconSelect/index.vue.d.ts +20 -0
- package/dts/src/components/IconSelect/requireIcons.d.ts +2 -0
- package/dts/src/components/{icons/IconCommunity.vue.d.ts → LangSelect/index.vue.d.ts} +1 -1
- package/dts/src/components/Pagination/index.vue.d.ts +88 -0
- package/dts/src/components/RightPanel/index.vue.d.ts +21 -0
- package/dts/src/components/{icons/IconDocumentation.vue.d.ts → SizeSelect/index.vue.d.ts} +1 -1
- package/dts/src/components/SvgIcon/index.vue.d.ts +43 -0
- package/dts/src/components/Table/index.vue.d.ts +73 -0
- package/dts/src/components/TableSet/index.vue.d.ts +29 -0
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +65 -0
- package/dts/src/components/Upload/SingleUpload.vue.d.ts +18 -0
- package/dts/src/components/Upload/importUpload.vue.d.ts +31 -0
- package/dts/src/components/Upload/index.vue.d.ts +18 -0
- package/dts/src/components/WangEditor/index.vue.d.ts +18 -0
- package/dts/src/directive/index.d.ts +5 -0
- package/dts/src/directive/permission/index.d.ts +9 -0
- package/dts/src/enums/MenuTypeEnum.d.ts +18 -0
- package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
- package/dts/src/index.d.ts +30 -3
- package/dts/src/lang/index.d.ts +534 -0
- package/dts/src/lang/package/en.d.ts +261 -0
- package/dts/src/lang/package/zh-cn.d.ts +275 -0
- package/dts/src/layout/components/AppMain.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/NavRight.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/index.vue.d.ts +2 -0
- package/dts/src/layout/components/Settings/index.vue.d.ts +2 -0
- package/dts/src/layout/components/Sidebar/Item.vue.d.ts +23 -0
- package/dts/src/layout/components/Sidebar/LeftMenu.vue.d.ts +24 -0
- package/dts/src/layout/components/Sidebar/Link.vue.d.ts +19 -0
- package/dts/src/layout/components/Sidebar/Logo.vue.d.ts +12 -0
- package/dts/src/layout/components/Sidebar/SidebarItem.vue.d.ts +42 -0
- package/dts/src/layout/components/Sidebar/TopMenu.vue.d.ts +2 -0
- package/dts/src/layout/components/Sidebar/index.vue.d.ts +2 -0
- package/dts/src/layout/components/TagsView/ScrollPane.vue.d.ts +16 -0
- package/dts/src/layout/components/TagsView/index.vue.d.ts +2 -0
- package/dts/src/layout/components/index.d.ts +4 -0
- package/dts/src/layout/index.vue.d.ts +2 -0
- package/dts/src/layout/main.vue.d.ts +2 -0
- package/dts/src/main.d.ts +5 -1
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/index.d.ts +10 -0
- package/dts/src/settings.d.ts +13 -0
- package/dts/src/stores/index.d.ts +2 -0
- package/dts/src/stores/modules/tagsView.d.ts +82 -0
- package/dts/src/utils/common.d.ts +6 -0
- package/dts/src/utils/grpc.d.ts +2 -0
- package/dts/src/utils/i18n.d.ts +1 -0
- package/dts/src/utils/index.d.ts +24 -0
- package/dts/src/utils/request.d.ts +2 -0
- package/dts/src/utils/resize.d.ts +1 -0
- package/dts/src/utils/scroll-to.d.ts +6 -0
- package/dts/src/views/dashboard/components/BarChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/PieChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/index.vue.d.ts +2 -0
- package/dts/src/views/error-page/401.vue.d.ts +2 -0
- package/dts/src/views/error-page/404.vue.d.ts +2 -0
- package/dts/src/views/login/components/types.vue.d.ts +2 -0
- package/dts/src/views/login/index.vue.d.ts +2 -0
- package/dts/src/views/my/profile.vue.d.ts +2 -0
- package/dts/src/views/my/updatePwd.vue.d.ts +18 -0
- package/dts/src/views/redirect/index.vue.d.ts +2 -0
- package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
- package/dts/src/views/system/dept/index.vue.d.ts +2 -0
- package/dts/src/views/system/job/edit.vue.d.ts +30 -0
- package/dts/src/views/system/job/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
- package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
- package/dts/src/views/system/menu/index.vue.d.ts +2 -0
- package/dts/src/views/system/module/edit.vue.d.ts +31 -0
- package/dts/src/views/system/module/index.vue.d.ts +2 -0
- package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
- package/dts/src/views/system/operation/index.vue.d.ts +2 -0
- package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
- package/dts/src/views/system/permission/index.vue.d.ts +2 -0
- package/dts/src/views/system/role/edit.vue.d.ts +31 -0
- package/dts/src/views/system/role/index.vue.d.ts +2 -0
- package/dts/src/views/system/user/edit.vue.d.ts +31 -0
- package/dts/src/views/system/user/index.vue.d.ts +2 -0
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/edit-Vk23bJyE.mjs +0 -4
- package/dist/edit-sqzPOfBX.mjs +0 -4
- package/dist/index-Ax_8ZsXK.mjs +0 -3163
- package/dist/index-CrNYgyNm.mjs +0 -8800
- package/dist/vue-i18n-CE6tUbcO.mjs +0 -3808
- package/dts/src/components/HelloWorld.vue.d.ts +0 -15
- package/dts/src/components/WelcomeItem.vue.d.ts +0 -11
- package/dts/src/components/icons/IconSupport.vue.d.ts +0 -2
- package/dts/src/components/icons/IconTooling.vue.d.ts +0 -2
- package/dts/src/stores/counter.d.ts +0 -13
- package/dts/src/views/AboutView.vue.d.ts +0 -2
- package/dts/src/views/HomeView.vue.d.ts +0 -2
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { v as q,
|
|
2
|
-
import { a as
|
|
3
|
-
import { E as X } from "./el-date-picker-
|
|
4
|
-
import "./el-scrollbar-
|
|
5
|
-
import "./el-popper-
|
|
6
|
-
import { _ as Z } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { E as x, a as ee } from "./el-col-
|
|
1
|
+
import { v as q, R, S as L, E as A, z as P, d as T, T as G, U as H, f as O, h as K } from "./index-BjNf6_G4.mjs";
|
|
2
|
+
import { a as Q, E as W } from "./el-form-item-SADwyANR.mjs";
|
|
3
|
+
import { E as X } from "./el-date-picker-Cr-cX8DW.mjs";
|
|
4
|
+
import "./el-scrollbar-COsAm83d.mjs";
|
|
5
|
+
import "./el-popper-1E2gbMai.mjs";
|
|
6
|
+
import { _ as Z } from "./index.vue_vue_type_script_setup_true_lang-rl_flY13.mjs";
|
|
7
|
+
import { E as x, a as ee } from "./el-col-BEJD7GD1.mjs";
|
|
8
8
|
import "./el-icon-l0sNRNKZ.mjs";
|
|
9
9
|
import "./el-tag-l0sNRNKZ.mjs";
|
|
10
|
-
import "./el-select-
|
|
11
|
-
import { E as te } from "./el-tree-select-
|
|
12
|
-
import "./el-checkbox-
|
|
13
|
-
import { E as oe } from "./el-progress-
|
|
10
|
+
import "./el-select-Cge53X_a.mjs";
|
|
11
|
+
import { E as te } from "./el-tree-select-FIDKYIa1.mjs";
|
|
12
|
+
import "./el-checkbox-CFMqu9KB.mjs";
|
|
13
|
+
import { E as oe } from "./el-progress-BxHkbtFE.mjs";
|
|
14
14
|
import { defineComponent as $, ref as c, toRefs as le, openBlock as d, createBlock as v, unref as o, withCtx as s, createElementBlock as I, createVNode as t, reactive as se, resolveComponent as C, createElementVNode as h, toDisplayString as D, Fragment as ae, renderList as re, createCommentVNode as ne, createTextVNode as ue } from "vue";
|
|
15
|
-
import { t as pe } from "./index-
|
|
16
|
-
import { t as de } from "./index-
|
|
15
|
+
import { t as pe } from "./index-DpuuXN_M.mjs";
|
|
16
|
+
import { t as de } from "./index-DYY5todd.mjs";
|
|
17
17
|
import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
18
18
|
const ie = ["src"], me = /* @__PURE__ */ $({
|
|
19
19
|
__name: "index",
|
|
@@ -30,20 +30,20 @@ const ie = ["src"], me = /* @__PURE__ */ $({
|
|
|
30
30
|
), _ = c({ Authorization: "Bearer " + R().token }), e = E, { pictureUrl: f } = le(e), p = c("");
|
|
31
31
|
console.log(f), p.value = f.value;
|
|
32
32
|
const g = y;
|
|
33
|
-
function
|
|
33
|
+
function U(i) {
|
|
34
34
|
i.fileSrc && (A({
|
|
35
35
|
message: "上传成功",
|
|
36
36
|
type: "success"
|
|
37
37
|
}), p.value = process.env.VUE_APP_API_URL + "/v1/file/image/resize/0/0/" + i.fileSrc, g("imageSrc", p.value));
|
|
38
38
|
}
|
|
39
39
|
return (i, l) => {
|
|
40
|
-
const a = P,
|
|
41
|
-
return d(), v(
|
|
40
|
+
const a = P, V = oe;
|
|
41
|
+
return d(), v(V, {
|
|
42
42
|
class: "avatar-uploader",
|
|
43
43
|
action: o(m),
|
|
44
44
|
headers: o(_),
|
|
45
45
|
"show-file-list": !1,
|
|
46
|
-
"on-success":
|
|
46
|
+
"on-success": U
|
|
47
47
|
}, {
|
|
48
48
|
default: s(() => [
|
|
49
49
|
o(p) ? (d(), I("img", {
|
|
@@ -107,7 +107,7 @@ const ie = ["src"], me = /* @__PURE__ */ $({
|
|
|
107
107
|
var a;
|
|
108
108
|
(a = e.user.userJobs) == null || a.splice(l, 1);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function U(l) {
|
|
111
111
|
e.user.avatar = l;
|
|
112
112
|
}
|
|
113
113
|
const i = () => {
|
|
@@ -119,7 +119,7 @@ const ie = ["src"], me = /* @__PURE__ */ $({
|
|
|
119
119
|
});
|
|
120
120
|
};
|
|
121
121
|
return f(), (l, a) => {
|
|
122
|
-
const
|
|
122
|
+
const V = me, r = Q, J = te, k = x, j = C("Remove"), S = P, w = ee, M = C("CirclePlus"), N = O, Y = Z, z = X, B = K, F = W;
|
|
123
123
|
return d(), I("div", _e, [
|
|
124
124
|
t(F, {
|
|
125
125
|
ref_key: "userInfoRef",
|
|
@@ -130,9 +130,9 @@ const ie = ["src"], me = /* @__PURE__ */ $({
|
|
|
130
130
|
default: s(() => [
|
|
131
131
|
t(r, null, {
|
|
132
132
|
default: s(() => [
|
|
133
|
-
t(
|
|
133
|
+
t(V, {
|
|
134
134
|
"picture-url": o(e).user.avatar,
|
|
135
|
-
onImageSrc:
|
|
135
|
+
onImageSrc: U
|
|
136
136
|
}, null, 8, ["picture-url"])
|
|
137
137
|
]),
|
|
138
138
|
_: 1
|
|
@@ -281,7 +281,7 @@ const ie = ["src"], me = /* @__PURE__ */ $({
|
|
|
281
281
|
prop: "birthDate"
|
|
282
282
|
}, {
|
|
283
283
|
default: s(() => [
|
|
284
|
-
t(
|
|
284
|
+
t(z, {
|
|
285
285
|
modelValue: o(e).user.birthDate,
|
|
286
286
|
"onUpdate:modelValue": a[3] || (a[3] = (u) => o(e).user.birthDate = u),
|
|
287
287
|
type: "date",
|
|
@@ -295,7 +295,7 @@ const ie = ["src"], me = /* @__PURE__ */ $({
|
|
|
295
295
|
}),
|
|
296
296
|
t(r, null, {
|
|
297
297
|
default: s(() => [
|
|
298
|
-
t(
|
|
298
|
+
t(B, {
|
|
299
299
|
type: "primary",
|
|
300
300
|
onClick: i
|
|
301
301
|
}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as x,
|
|
2
|
-
import { E as R } from "./el-dialog-
|
|
3
|
-
import { _ as S, E as q } from "./picture-
|
|
4
|
-
import { a as z, E as A } from "./el-form-item-
|
|
1
|
+
import { g as x, d as b, i as D, v as U, l as B, f as N, h as $ } from "./index-BjNf6_G4.mjs";
|
|
2
|
+
import { E as R } from "./el-dialog-DsSLDdfQ.mjs";
|
|
3
|
+
import { _ as S, E as q } from "./picture-Cnt3kRRp.mjs";
|
|
4
|
+
import { a as z, E as A } from "./el-form-item-SADwyANR.mjs";
|
|
5
5
|
import { defineComponent as M, ref as I, reactive as m, openBlock as P, createElementBlock as T, Fragment as j, createVNode as e, withCtx as a, createTextVNode as p, toDisplayString as u, createElementVNode as f } from "vue";
|
|
6
6
|
const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dialog-footer" }, Y = /* @__PURE__ */ M({
|
|
7
7
|
__name: "types",
|
|
@@ -43,8 +43,8 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
43
43
|
captchaId: o.captchaId,
|
|
44
44
|
captchaCode: o.captchaCode
|
|
45
45
|
};
|
|
46
|
-
D(i).then(({ data:
|
|
47
|
-
console.log(
|
|
46
|
+
D(i).then(({ data: s }) => {
|
|
47
|
+
console.log(s);
|
|
48
48
|
const r = window.setInterval(() => {
|
|
49
49
|
n.content = n.timers + "s后重新发送", n.timers--, n.disabled = !0, n.timers < 0 && (n.timers = 60, n.disabled = !1, n.content = "重新发送验证码", window.clearInterval(r));
|
|
50
50
|
}, 1e3);
|
|
@@ -66,7 +66,7 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
return (l, t) => {
|
|
69
|
-
const i = N,
|
|
69
|
+
const i = N, s = z, r = $, h = A, y = S, k = q, F = R;
|
|
70
70
|
return P(), T(j, null, [
|
|
71
71
|
e(h, {
|
|
72
72
|
ref_key: "ruleFormRef",
|
|
@@ -76,22 +76,22 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
76
76
|
rules: v
|
|
77
77
|
}, {
|
|
78
78
|
default: a(() => [
|
|
79
|
-
e(
|
|
79
|
+
e(s, { prop: "name" }, {
|
|
80
80
|
default: a(() => [
|
|
81
81
|
e(i, {
|
|
82
82
|
modelValue: o.name,
|
|
83
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
83
|
+
"onUpdate:modelValue": t[0] || (t[0] = (d) => o.name = d),
|
|
84
84
|
clearable: "",
|
|
85
85
|
placeholder: "请输入邮箱/已验证手机号"
|
|
86
86
|
}, null, 8, ["modelValue"])
|
|
87
87
|
]),
|
|
88
88
|
_: 1
|
|
89
89
|
}),
|
|
90
|
-
e(
|
|
90
|
+
e(s, { prop: "validCode" }, {
|
|
91
91
|
default: a(() => [
|
|
92
92
|
e(i, {
|
|
93
93
|
modelValue: o.validCode,
|
|
94
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
94
|
+
"onUpdate:modelValue": t[1] || (t[1] = (d) => o.validCode = d),
|
|
95
95
|
placeholder: "请输入验证码",
|
|
96
96
|
clearable: ""
|
|
97
97
|
}, {
|
|
@@ -111,7 +111,7 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
111
111
|
]),
|
|
112
112
|
_: 1
|
|
113
113
|
}),
|
|
114
|
-
e(
|
|
114
|
+
e(s, null, {
|
|
115
115
|
default: a(() => [
|
|
116
116
|
e(r, {
|
|
117
117
|
type: "primary",
|
|
@@ -132,13 +132,13 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
132
132
|
e(F, {
|
|
133
133
|
title: "提示",
|
|
134
134
|
modelValue: c.visible,
|
|
135
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
135
|
+
"onUpdate:modelValue": t[4] || (t[4] = (d) => c.visible = d),
|
|
136
136
|
width: "500px"
|
|
137
137
|
}, {
|
|
138
138
|
footer: a(() => [
|
|
139
139
|
f("div", H, [
|
|
140
140
|
e(r, {
|
|
141
|
-
onClick: t[3] || (t[3] = (
|
|
141
|
+
onClick: t[3] || (t[3] = (d) => c.visible = !1)
|
|
142
142
|
}, {
|
|
143
143
|
default: a(() => [
|
|
144
144
|
p(u(l.$t("common.cancel")), 1)
|
|
@@ -164,11 +164,11 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
164
164
|
rules: v
|
|
165
165
|
}, {
|
|
166
166
|
default: a(() => [
|
|
167
|
-
e(
|
|
167
|
+
e(s, { prop: "captchaCode" }, {
|
|
168
168
|
default: a(() => [
|
|
169
169
|
e(i, {
|
|
170
170
|
modelValue: o.captchaCode,
|
|
171
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
171
|
+
"onUpdate:modelValue": t[2] || (t[2] = (d) => o.captchaCode = d),
|
|
172
172
|
"auto-complete": "off",
|
|
173
173
|
placeholder: l.$t("login.captchaCode"),
|
|
174
174
|
class: "w-[60%]"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as x } from "./el-dialog-
|
|
3
|
-
import { a as O, E as A } from "./el-form-item-
|
|
1
|
+
import { am as y, E as C, f as h, h as v } from "./index-BjNf6_G4.mjs";
|
|
2
|
+
import { E as x } from "./el-dialog-DsSLDdfQ.mjs";
|
|
3
|
+
import { a as O, E as A } from "./el-form-item-SADwyANR.mjs";
|
|
4
4
|
import { defineComponent as B, ref as F, toRefs as I, reactive as f, openBlock as R, createBlock as U, unref as r, isRef as q, withCtx as a, createElementVNode as D, createVNode as t, createTextVNode as c } from "vue";
|
|
5
|
-
const $ = { class: "dialog-footer" },
|
|
5
|
+
const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ B({
|
|
6
6
|
__name: "updatePwd",
|
|
7
7
|
props: {
|
|
8
8
|
pwdVisible: {
|
|
@@ -147,5 +147,5 @@ const $ = { class: "dialog-footer" }, j = /* @__PURE__ */ B({
|
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
149
|
export {
|
|
150
|
-
|
|
150
|
+
k as _
|
|
151
151
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./el-popper-
|
|
3
|
-
import { E as M } from "./el-popover-
|
|
4
|
-
import { E as P } from "./el-switch-
|
|
1
|
+
import { f as R, h as $, af as I, E as D, b as A } from "./index-BjNf6_G4.mjs";
|
|
2
|
+
import "./el-popper-1E2gbMai.mjs";
|
|
3
|
+
import { E as M } from "./el-popover-m-Jq-5BK.mjs";
|
|
4
|
+
import { E as P } from "./el-switch-3lruHxge.mjs";
|
|
5
5
|
import { openBlock as x, createElementBlock as L, createElementVNode as b, defineComponent as z, ref as u, toRefs as F, watchEffect as N, createBlock as j, withCtx as C, createVNode as _, createTextVNode as k, toDisplayString as T, unref as B, isRef as U, Fragment as q, renderList as O, normalizeClass as Q, withModifiers as G, reactive as H } from "vue";
|
|
6
6
|
import { _ as J } from "./index-DjkMA-Wh.mjs";
|
|
7
|
-
import { E as K } from "./el-form-item-
|
|
7
|
+
import { E as K } from "./el-form-item-SADwyANR.mjs";
|
|
8
8
|
const W = {
|
|
9
9
|
viewBox: "0 0 1024 1024",
|
|
10
10
|
width: "1.2em",
|
package/dts/src/App.vue.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { CaptchaResult, LoginData, LoginResult, userInfo } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* 登录API
|
|
5
|
+
*
|
|
6
|
+
* @param data {LoginData}
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare function loginApi(data: LoginData): AxiosPromise<LoginResult>;
|
|
10
|
+
/**
|
|
11
|
+
* 刷新Token
|
|
12
|
+
*/
|
|
13
|
+
export declare function refreshTokenApi(token: string): AxiosPromise<LoginResult>;
|
|
14
|
+
/**
|
|
15
|
+
* 注销API
|
|
16
|
+
*/
|
|
17
|
+
export declare function logoutApi(accessToken: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
+
/**
|
|
19
|
+
* 获取验证码
|
|
20
|
+
*/
|
|
21
|
+
export declare function getCaptchaApi(): AxiosPromise<CaptchaResult>;
|
|
22
|
+
/**
|
|
23
|
+
* 获取手机号验证码
|
|
24
|
+
*/
|
|
25
|
+
export declare function sendcode(data: any): AxiosPromise<CaptchaResult>;
|
|
26
|
+
/**
|
|
27
|
+
* 通过验证码登录
|
|
28
|
+
*/
|
|
29
|
+
export declare function logincode(data: any): AxiosPromise<CaptchaResult>;
|
|
30
|
+
/**
|
|
31
|
+
* 用户信息
|
|
32
|
+
*/
|
|
33
|
+
export declare function getUserInfoApi(): AxiosPromise<userInfo>;
|
|
34
|
+
export declare function updateUser(data: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
35
|
+
export declare function updatePwd(encodeOldPwd: string, encodeNewPwd: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
36
|
+
export declare function allowRunAsUser(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
+
/**
|
|
38
|
+
* 切换用户身份
|
|
39
|
+
*/
|
|
40
|
+
export declare function runAsUser(userId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
+
export declare function selectDsdRoles(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 登录用户信息
|
|
3
|
+
*/
|
|
4
|
+
export interface userInfo {
|
|
5
|
+
/**
|
|
6
|
+
* 用户ID --不必填
|
|
7
|
+
*/
|
|
8
|
+
userId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 用户名 --不必填
|
|
11
|
+
*/
|
|
12
|
+
userName?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 昵称 --不必填
|
|
15
|
+
*/
|
|
16
|
+
nickName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* 头像 --不必填
|
|
19
|
+
*/
|
|
20
|
+
avatar?: string;
|
|
21
|
+
/**
|
|
22
|
+
* 租户
|
|
23
|
+
*/
|
|
24
|
+
tenant: string;
|
|
25
|
+
/**
|
|
26
|
+
* 角色权限
|
|
27
|
+
*/
|
|
28
|
+
roleCodes: string[];
|
|
29
|
+
/**
|
|
30
|
+
* 操作按钮权限
|
|
31
|
+
*/
|
|
32
|
+
permCodes: string[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 登录请求参数
|
|
36
|
+
*/
|
|
37
|
+
export interface LoginData {
|
|
38
|
+
/**
|
|
39
|
+
* 互斥角色
|
|
40
|
+
*/
|
|
41
|
+
scope: string;
|
|
42
|
+
/**
|
|
43
|
+
* 用户名
|
|
44
|
+
*/
|
|
45
|
+
username: string;
|
|
46
|
+
/**
|
|
47
|
+
* 密码
|
|
48
|
+
*/
|
|
49
|
+
password: string;
|
|
50
|
+
/**
|
|
51
|
+
* 验证码缓存key
|
|
52
|
+
*/
|
|
53
|
+
captchaKey?: string;
|
|
54
|
+
/**
|
|
55
|
+
* 验证码
|
|
56
|
+
*/
|
|
57
|
+
captchaCode?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* 登录响应
|
|
61
|
+
*/
|
|
62
|
+
export interface LoginResult {
|
|
63
|
+
/**
|
|
64
|
+
* 访问token
|
|
65
|
+
*/
|
|
66
|
+
accessToken?: string;
|
|
67
|
+
/**
|
|
68
|
+
* 过期时间(单位:毫秒)
|
|
69
|
+
*/
|
|
70
|
+
expires?: number;
|
|
71
|
+
/**
|
|
72
|
+
* 刷新token
|
|
73
|
+
*/
|
|
74
|
+
refreshToken?: string;
|
|
75
|
+
/**
|
|
76
|
+
* token 类型
|
|
77
|
+
*/
|
|
78
|
+
tokenType?: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* 验证码响应
|
|
82
|
+
*/
|
|
83
|
+
export interface CaptchaResult {
|
|
84
|
+
/** 验证码缓存key */
|
|
85
|
+
captchaId: string;
|
|
86
|
+
/** 问题 */
|
|
87
|
+
question: string;
|
|
88
|
+
/** 验证码图片Base64字符串 */
|
|
89
|
+
base64Image: string;
|
|
90
|
+
}
|
|
91
|
+
export interface sendModelRef {
|
|
92
|
+
/**
|
|
93
|
+
* 操作内容
|
|
94
|
+
*/
|
|
95
|
+
content: string;
|
|
96
|
+
/**
|
|
97
|
+
* 倒计时
|
|
98
|
+
*/
|
|
99
|
+
timers: number;
|
|
100
|
+
/**
|
|
101
|
+
* 按钮启用/禁用
|
|
102
|
+
*/
|
|
103
|
+
disabled: boolean;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* 找回密码
|
|
107
|
+
*/
|
|
108
|
+
export interface verificateRef {
|
|
109
|
+
/**
|
|
110
|
+
* 邮箱、手机号
|
|
111
|
+
*/
|
|
112
|
+
name: string;
|
|
113
|
+
/**
|
|
114
|
+
* 图片验证码ID
|
|
115
|
+
*/
|
|
116
|
+
captchaId: string;
|
|
117
|
+
/**
|
|
118
|
+
* 图片验证码
|
|
119
|
+
*/
|
|
120
|
+
captchaCode: string;
|
|
121
|
+
/**
|
|
122
|
+
* 手机号、邮箱的验证码
|
|
123
|
+
*/
|
|
124
|
+
validCode: string;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* 修改密码
|
|
128
|
+
*/
|
|
129
|
+
export interface updatePwdForm {
|
|
130
|
+
/**
|
|
131
|
+
* 旧密码
|
|
132
|
+
*/
|
|
133
|
+
encodeOldPwd: string;
|
|
134
|
+
/**
|
|
135
|
+
* 新密码
|
|
136
|
+
*/
|
|
137
|
+
encodeNewPwd: string;
|
|
138
|
+
/**
|
|
139
|
+
* 确认密码
|
|
140
|
+
*/
|
|
141
|
+
confirmPwd: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* 找回密码
|
|
145
|
+
*/
|
|
146
|
+
export interface findPwdRef {
|
|
147
|
+
/**
|
|
148
|
+
* 租户
|
|
149
|
+
*/
|
|
150
|
+
tenant: string;
|
|
151
|
+
/**
|
|
152
|
+
* 新密码
|
|
153
|
+
*/
|
|
154
|
+
pwd: string;
|
|
155
|
+
/**
|
|
156
|
+
* 确认密码
|
|
157
|
+
*/
|
|
158
|
+
repeatPwd: string;
|
|
159
|
+
/**
|
|
160
|
+
* 手机号、邮箱
|
|
161
|
+
*/
|
|
162
|
+
name: string;
|
|
163
|
+
/**
|
|
164
|
+
* 手机号、邮箱的验证码
|
|
165
|
+
*/
|
|
166
|
+
validCode: string;
|
|
167
|
+
/**
|
|
168
|
+
* 目录ID
|
|
169
|
+
*/
|
|
170
|
+
directoryId: string;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* 弹框
|
|
174
|
+
*/
|
|
175
|
+
export interface dialogRef {
|
|
176
|
+
/**
|
|
177
|
+
* 显示隐藏
|
|
178
|
+
*/
|
|
179
|
+
visible: boolean;
|
|
180
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { FileInfo } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* 上传文件
|
|
5
|
+
*
|
|
6
|
+
* @param file
|
|
7
|
+
*/
|
|
8
|
+
export declare function uploadFileApi(file: File): AxiosPromise<FileInfo>;
|
|
9
|
+
/**
|
|
10
|
+
* 删除文件
|
|
11
|
+
*
|
|
12
|
+
* @param filePath 文件完整路径
|
|
13
|
+
*/
|
|
14
|
+
export declare function deleteFileApi(filePath?: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { deptQuery } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* 获取分页数据
|
|
4
|
+
*
|
|
5
|
+
* @param queryParams 查询参数,可选
|
|
6
|
+
* @returns 返回请求结果
|
|
7
|
+
*/
|
|
8
|
+
export declare function getPage(queryParams?: deptQuery): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
+
/**
|
|
10
|
+
* 添加部门
|
|
11
|
+
*
|
|
12
|
+
* @param data 部门信息
|
|
13
|
+
* @returns 返回请求结果
|
|
14
|
+
*/
|
|
15
|
+
export declare function addDept(data: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
16
|
+
/**
|
|
17
|
+
* 编辑部门信息
|
|
18
|
+
*
|
|
19
|
+
* @param data 编辑后的部门数据
|
|
20
|
+
* @returns 返回请求结果
|
|
21
|
+
*/
|
|
22
|
+
export declare function editDept(data: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
+
/**
|
|
24
|
+
* 删除部门
|
|
25
|
+
*
|
|
26
|
+
* @param deptId 部门ID
|
|
27
|
+
* @returns 返回请求结果
|
|
28
|
+
*/
|
|
29
|
+
export declare function delDept(deptId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
30
|
+
/**
|
|
31
|
+
* 批量删除部门
|
|
32
|
+
*
|
|
33
|
+
* @param ids 部门ID数组
|
|
34
|
+
* @returns 返回请求结果
|
|
35
|
+
*/
|
|
36
|
+
export declare function batchDelDept(ids: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
+
/**
|
|
38
|
+
* 将部门向下移动
|
|
39
|
+
*
|
|
40
|
+
* @param deptId 部门ID
|
|
41
|
+
* @returns 返回请求结果
|
|
42
|
+
*/
|
|
43
|
+
export declare function movedownDept(deptId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
+
/**
|
|
45
|
+
* 将部门上移
|
|
46
|
+
*
|
|
47
|
+
* @param deptId 部门ID
|
|
48
|
+
* @returns 返回请求结果
|
|
49
|
+
*/
|
|
50
|
+
export declare function moveupDept(deptId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
51
|
+
/**
|
|
52
|
+
* 获取部门树形列表
|
|
53
|
+
*
|
|
54
|
+
* @param deptId 部门ID,可选
|
|
55
|
+
* @returns 返回部门树形列表
|
|
56
|
+
*/
|
|
57
|
+
export declare function treelistDept(deptId?: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
58
|
+
/**
|
|
59
|
+
* 部门锁定接口
|
|
60
|
+
*
|
|
61
|
+
* @param data 请求参数
|
|
62
|
+
* @returns 返回请求结果
|
|
63
|
+
*/
|
|
64
|
+
export declare function deptLock(data: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
65
|
+
/**
|
|
66
|
+
* 导出部门Excel文件
|
|
67
|
+
*
|
|
68
|
+
* @param queryParams 查询参数,可选
|
|
69
|
+
* @returns 返回一个Promise对象,表示请求结果
|
|
70
|
+
*/
|
|
71
|
+
export declare function exportDeptExcel(queryParams?: deptQuery): Promise<import("axios").AxiosResponse<any, any>>;
|
|
72
|
+
/**
|
|
73
|
+
* 导入部门数据
|
|
74
|
+
*
|
|
75
|
+
* @param data 部门数据
|
|
76
|
+
* @returns 返回请求结果
|
|
77
|
+
*/
|
|
78
|
+
export declare function importDept(data: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
79
|
+
/**
|
|
80
|
+
* 获取模板部门信息
|
|
81
|
+
*
|
|
82
|
+
* @returns 返回一个Promise对象,包含请求的响应结果
|
|
83
|
+
*/
|
|
84
|
+
export declare function templateDept(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
85
|
+
/**
|
|
86
|
+
* 启用禁用部门API
|
|
87
|
+
*
|
|
88
|
+
* @param deptId 部门ID
|
|
89
|
+
* @returns 返回请求结果
|
|
90
|
+
*/
|
|
91
|
+
export declare function enableDeptApi(deptId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 查询
|
|
3
|
+
*/
|
|
4
|
+
export interface deptQuery {
|
|
5
|
+
/**
|
|
6
|
+
* 租户
|
|
7
|
+
*/
|
|
8
|
+
tenant?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 名称
|
|
11
|
+
*/
|
|
12
|
+
likeDeptName?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 启用、禁用
|
|
15
|
+
*/
|
|
16
|
+
status?: boolean;
|
|
17
|
+
hasStatus?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* 新增、编辑
|
|
21
|
+
*/
|
|
22
|
+
export interface deptForm {
|
|
23
|
+
/**
|
|
24
|
+
* 租户
|
|
25
|
+
*/
|
|
26
|
+
tenant?: string;
|
|
27
|
+
/**
|
|
28
|
+
* 用于检测重复请求的唯一字符串ID
|
|
29
|
+
*/
|
|
30
|
+
requestId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* 更新字段掩码
|
|
33
|
+
*/
|
|
34
|
+
updateMask?: string;
|
|
35
|
+
/**
|
|
36
|
+
* 部门id
|
|
37
|
+
*/
|
|
38
|
+
deptId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* 编码
|
|
41
|
+
*/
|
|
42
|
+
deptCode: string;
|
|
43
|
+
/**
|
|
44
|
+
* 名称
|
|
45
|
+
*/
|
|
46
|
+
deptName: string;
|
|
47
|
+
/**
|
|
48
|
+
* 类型
|
|
49
|
+
*/
|
|
50
|
+
deptType?: string;
|
|
51
|
+
/**
|
|
52
|
+
* 上级
|
|
53
|
+
*/
|
|
54
|
+
parentId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* 描述
|
|
57
|
+
*/
|
|
58
|
+
description?: string;
|
|
59
|
+
/**
|
|
60
|
+
* 状态
|
|
61
|
+
*/
|
|
62
|
+
status: boolean;
|
|
63
|
+
}
|