@pubinfo-pr/module-rbac 0.228.1 → 0.231.1
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/{ComponentSelect-CYmAgdm3.js → ComponentSelect-CWokGm7B.js} +665 -668
- package/dist/{DynamicRoutesForm-CMF3oh8h.js → DynamicRoutesForm-CstxkG5g.js} +2 -2
- package/dist/{HoverCard-B-uU48hF.js → HoverCard-ZGaQxL_a.js} +1 -1
- package/dist/{IconSelect-CvxGRN_O.js → IconSelect-_oirLsYS.js} +2 -2
- package/dist/ImportExport-BVxWc6FR.js +2 -0
- package/dist/{ImportExport-CzZssb7_.js → ImportExport-Cy_4EJLq.js} +4 -4
- package/dist/{LayoutForm-Bpdyi_2o.js → LayoutForm-_vBGeWiz.js} +3 -3
- package/dist/{MetaForm-ZLzLz68d.js → MetaForm-5_KpiusU.js} +4341 -4342
- package/dist/{OrgAndPosition-B0RE1Vc_.js → OrgAndPosition-COhhOBJL.js} +2 -2
- package/dist/{OrgSelector-C2rPIonI.js → OrgSelector-BX08YC6x.js} +314 -308
- package/dist/OrgUserSelector-DmmJMv-T.js +257 -0
- package/dist/{ResourceEdit-9fvxbd0K.js → ResourceEdit-3mgwBq-u.js} +9 -9
- package/dist/ResourceEdit-CsfgDKOf.js +2 -0
- package/dist/{ResourceRelation-IJvXnlpo.js → ResourceRelation-B4652Ceb.js} +3 -3
- package/dist/{ResourceRelation-BrluMHdX.js → ResourceRelation-R6cdzbIi.js} +3 -4
- package/dist/ResourceSelector-CS6VsQR7.js +237 -0
- package/dist/ResourceSelector.css +1 -0
- package/dist/{RoleRelation-DuRuQG08.js → RoleRelation-DCIke8tM.js} +2 -2
- package/dist/{RoleSelector-BTNYbcC6.js → RoleSelector-AE2dfmlz.js} +2 -2
- package/dist/{TenantEdit-Df3gZKLA.js → TenantEdit-KZYEtH3w.js} +4 -4
- package/dist/{UserAuthorization-DX7jNDDe.js → UserAuthorization-DOpcNUCm.js} +4 -4
- package/dist/{UserEdit-BLb0n7WM.js → UserEdit-BptyAvXG.js} +5 -5
- package/dist/{_baseClone-C7vkGgsW.js → _baseClone-YaHrtIbN.js} +1 -1
- package/dist/_baseSlice-Ca-qgxJ8.js +9 -0
- package/dist/{_initCloneObject-r-eWKqzl.js → _initCloneObject-D4OWzQJP.js} +3 -3
- package/dist/_plugin-vue_export-helper-gLzyemvl.js +8 -0
- package/dist/{animation_item-Coe-B0jQ.js → animation_item-ugNUvN0t.js} +7 -9
- package/dist/api/modules/assist/index.d.ts +0 -1
- package/dist/api/modules/assist/qunzujiekou.d.ts +28 -0
- package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -0
- package/dist/api/modules/rbac/jiaosejiekou.d.ts +14 -0
- package/dist/api/modules/rbac/yonghujiekou.d.ts +42 -0
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
- package/dist/api/modules/rbac/zuzhijiekou.d.ts +7 -0
- package/dist/{blackWhiteList-d6TVsK48.js → blackWhiteList-SNDF6H2d.js} +9 -9
- package/dist/{breadcrumb_setting-DMbvWP5t.js → breadcrumb_setting-DnAbw6Ty.js} +4 -6
- package/dist/{cloneDeep-REaxTPsZ.js → cloneDeep-DmYKbzBt.js} +1 -1
- package/dist/configData-CSxIdgBO.js +110 -0
- package/dist/{createAndEditDataPermission-OunqmBu_.js → createAndEditDataPermission-0LzmHcCV.js} +10 -9
- package/dist/{data-permission-2pzeFLxP.js → data-permission-BNwvh8Cy.js} +5 -10
- package/dist/{dictionary-DGqlAhRk.js → dictionary-DDTrw8BQ.js} +3 -4
- package/dist/{drawerBlackWhiteList-VxyjaBkA.js → drawerBlackWhiteList-dHAREMtd.js} +3 -3
- package/dist/{drawerDictionary-DhAB-LV9.js → drawerDictionary-Dq0MnTak.js} +3 -3
- package/dist/{drawerDictionaryItem-DYsJzZ2f.js → drawerDictionaryItem-C3XC0ZTH.js} +3 -3
- package/dist/{drawerGroup-CTO8Lmbb.js → drawerGroup-BzQHpv61.js} +11 -11
- package/dist/drawerOrganization-BvQcr5AP.js +289 -0
- package/dist/{drawerPosition-BmM9mLlP.js → drawerPosition-Cc6zxMDa.js} +3 -3
- package/dist/{drawerRegion-BD-xc1x2.js → drawerRegion-r3LaT1oP.js} +3 -3
- package/dist/{drawerRole-Cjp9iDsa.js → drawerRole-Bh3eb9Hr.js} +4 -4
- package/dist/{drawerRole-CgAPM-0g.js → drawerRole-CXDcX8Wv.js} +3 -3
- package/dist/{drawerRole-B348x40k.js → drawerRole-saCktlhp.js} +4 -4
- package/dist/{group-C6Rj3K5I.js → group-BKjChIg2.js} +4 -7
- package/dist/index.css +1 -1
- package/dist/index.js +168 -772
- package/dist/{isEmpty-2rx9iUQv.js → isEmpty-CxzDo-wx.js} +1 -1
- package/dist/{isEqual-CNeQLaCM.js → isEqual-CItLfH0k.js} +1 -1
- package/dist/{itemlist-BGe-z1IR.js → itemlist-BowSBoEx.js} +3 -4
- package/dist/{layout_setting-Cds3TCHc.js → layout_setting-DOodE1ZC.js} +3 -3
- package/dist/{loginHistoryDetail-Coba_ajy.js → loginHistoryDetail-D49ObmJp.js} +2 -2
- package/dist/{login_history-CrXkEsHb.js → login_history-Bio4B_vj.js} +3 -5
- package/dist/{menu_setting-Br5dOEUk.js → menu_setting-BPqs2Reh.js} +4 -6
- package/dist/{operateHistoryDetail-DfDQL5BF.js → operateHistoryDetail-DdEjFBPD.js} +2 -2
- package/dist/{operate_history-BtHgPhmF.js → operate_history-KQGzD4rn.js} +3 -5
- package/dist/{organization-BbFERZ1l.js → organization-BPJXMIsl.js} +20 -25
- package/dist/{other_setting-D92SlFvl.js → other_setting-BmN5mDQu.js} +4 -6
- package/dist/{page_animation_setting-Cy2R0vZy.js → page_animation_setting-B0ZMSxPR.js} +4 -4
- package/dist/{page_w_setting-DryWrqcx.js → page_w_setting-D4rHkTZk.js} +3 -3
- package/dist/{position-B1bqGly6.js → position-Bqcr98mj.js} +2 -3
- package/dist/{region-B_n1KXMG.js → region-BYNJ5YPt.js} +3 -4
- package/dist/{resource-CPNNd1l0.js → resource-BAjLl4BQ.js} +6 -16
- package/dist/{role-CMd7WDRC.js → role-B92mU8Xy.js} +3 -5
- package/dist/{role_group-DHh2s911.js → role_group-B8A2VV7y.js} +2 -4
- package/dist/{safe_setting-CuTBmUve.js → safe_setting-Ct-ZuM22.js} +7 -8
- package/dist/setItem-DEsf8kVv.js +2 -0
- package/dist/{setItem-DlhIkIgh.js → setItem-xdOcMJ1t.js} +3 -3
- package/dist/{tabbar_setting-CjW9LGPp.js → tabbar_setting-D_yX_4DE.js} +4 -6
- package/dist/{tenant-B_vgufMG.js → tenant-C9ecwsxr.js} +3 -4
- package/dist/{theme_setting-DMP0_nZ1.js → theme_setting-CVKpSR14.js} +3 -3
- package/dist/{toolbar_setting-ClxxvA7R.js → toolbar_setting-D09MJTQ0.js} +4 -6
- package/dist/{useAppAndResource-D6WnpUPR.js → useAppAndResource-CBlPPcNy.js} +2 -2
- package/dist/{user-BhytPqnx.js → user-DJ35BYay.js} +5 -10
- package/dist/{watermark_setting-b3vBYWwY.js → watermark_setting-Cr4Xmwhh.js} +4 -4
- package/package.json +4 -4
- package/src/api/modules/assist/index.ts +0 -1
- package/src/api/modules/assist/qunzujiekou.ts +72 -0
- package/src/api/modules/assist/typings.d.ts +17 -129
- package/src/api/modules/rbac/gangweijiekou.ts +18 -0
- package/src/api/modules/rbac/jiaosejiekou.ts +36 -0
- package/src/api/modules/rbac/typings.d.ts +133 -1
- package/src/api/modules/rbac/yonghujiekou.ts +122 -0
- package/src/api/modules/rbac/ziyuanjiekou.ts +21 -0
- package/src/api/modules/rbac/zuzhijiekou.ts +18 -0
- package/src/components/OrgUserSelector/provider.ts +2 -2
- package/src/views/organization/components/drawerOrganization.vue +43 -0
- package/dist/ImportExport-b1SnWRLj.js +0 -6
- package/dist/ResourceEdit-BMqfJ3aQ.js +0 -13
- package/dist/api/modules/assist/gonggaofuwu.d.ts +0 -43
- package/dist/drawerOrganization-DWhTc1fB.js +0 -253
- package/dist/setItem-BwXZ5Uqx.js +0 -4
- package/src/api/modules/assist/gonggaofuwu.ts +0 -124
- /package/dist/{HCheckList-CAhQwX7m.js → HCheckList-D6BkIlte.js} +0 -0
- /package/dist/{add-child-DPb_m2by.js → add-child-SqHvzhn2.js} +0 -0
- /package/dist/{assist-BRMYD-oT.js → assist-CCEHZYbk.js} +0 -0
- /package/dist/{authority-B9wtmsQd.js → authority-DZG6frqG.js} +0 -0
- /package/dist/{authorize-DxrutyIG.js → authorize-RS7p0wpP.js} +0 -0
- /package/dist/{blacklist-disable-BKSw91qq.js → blacklist-disable-ZtV-YVD4.js} +0 -0
- /package/dist/{blacklist-enable-CIB1fOHT.js → blacklist-enable-litWbSHv.js} +0 -0
- /package/dist/{browser-chrome-CM60RcrG.js → browser-chrome-BiVlXqFZ.js} +0 -0
- /package/dist/{browser-edge-4LBRzooM.js → browser-edge-D5PWVn6o.js} +0 -0
- /package/dist/{browser-ie-BF-wqbf6.js → browser-ie-BgsN3Ne3.js} +0 -0
- /package/dist/{browser-other-iXJH-9iL.js → browser-other-DMB23plx.js} +0 -0
- /package/dist/{browser-safari-CIpt0yPc.js → browser-safari-CvpCuRD1.js} +0 -0
- /package/dist/{browserType-Bik20-72.js → browserType-KQp2uAi9.js} +0 -0
- /package/dist/{dayjs.min-CJunOGCc.js → dayjs.min-BgJlrzRN.js} +0 -0
- /package/dist/{dist-DxAYQq3U.js → dist--qcnkvZ0.js} +0 -0
- /package/dist/{edit-Drp8yjRe.js → edit-B3kW-D-h.js} +0 -0
- /package/dist/{enum-DS4SGhiF.js → enum-CE12tD9J.js} +0 -0
- /package/dist/{enum-CR5ztb5v2.js → enum-CI_B-PzB2.js} +0 -0
- /package/dist/{enum-CG0P82pn.js → enum-DPlX5kGz.js} +0 -0
- /package/dist/{enum-zdKA3Jy-.js → enum-K9XzmA01.js} +0 -0
- /package/dist/{enum-CYCebJeC.js → enum-lpo6KsjD.js} +0 -0
- /package/dist/{icard-BULUUV5m.js → icard-CjidQkoC.js} +0 -0
- /package/dist/{icon_animation-DuEY1FMm.js → icon_animation-DeNcSU6L.js} +0 -0
- /package/dist/{icon_breadcrumb-Y788iP_T.js → icon_breadcrumb-Bpjp0d0O.js} +0 -0
- /package/dist/{icon_copyright-C1BER6kq.js → icon_copyright-B8OgrlNo.js} +0 -0
- /package/dist/{icon_jt-ICOdrIF6.js → icon_jt-DfKcGg_Q.js} +0 -0
- /package/dist/{icon_layout-D_wV9rX3.js → icon_layout-W4bq7wfz.js} +0 -0
- /package/dist/{icon_mainpage-Cz6_cxpJ.js → icon_mainpage-C38tMFtH.js} +0 -0
- /package/dist/{icon_menu-y7SblUoR.js → icon_menu-CBLk6iMA.js} +0 -0
- /package/dist/{icon_page_size-BjwT656E.js → icon_page_size-CYjv-vP3.js} +0 -0
- /package/dist/{icon_position_type-CPxcDgmM.js → icon_position_type-IasquxGG.js} +0 -0
- /package/dist/{icon_safe_manage-CoqVRBLl.js → icon_safe_manage-CV1MBNKv.js} +0 -0
- /package/dist/{icon_screen_scale-DURlkq3C.js → icon_screen_scale-Cu1qHiz_.js} +0 -0
- /package/dist/{icon_system_manage-BLXs2CQg.js → icon_system_manage-Lgt_k1uF.js} +0 -0
- /package/dist/{icon_tabbar-_0QWhSBV.js → icon_tabbar-DwBJfDbP.js} +0 -0
- /package/dist/{icon_toolbar-BXpfu0iq.js → icon_toolbar-DN25KLtF.js} +0 -0
- /package/dist/{icon_topbar-DrwvB8Jw.js → icon_topbar-l89sztnQ.js} +0 -0
- /package/dist/{icon_watermark-DwNqjAiA.js → icon_watermark-DL6f1aYx.js} +0 -0
- /package/dist/{log-center-BrGlNhMd.js → log-center-BfPDO_E8.js} +0 -0
- /package/dist/{log-DOMU9MyH.js → log-epFUj_5H.js} +0 -0
- /package/dist/{not-data-C-MacYF3.js → not-data-C6xyifvi.js} +0 -0
- /package/dist/{org-main-BRMBumDm.js → org-main-BbPnTL9E.js} +0 -0
- /package/dist/{org-unmain-0BHnrNdD.js → org-unmain-QSDnl74k.js} +0 -0
- /package/dist/{rbac-B59CVHDt.js → rbac-MKC8Y6Bl.js} +0 -0
- /package/dist/{remove-BTME2Fhs.js → remove-4enQSlxs.js} +0 -0
- /package/dist/{resource-app-D8to3Lkn.js → resource-app-U0GIaRHX.js} +0 -0
- /package/dist/{resource-btn-Cz-A_EQF.js → resource-btn-BYZaDWcM.js} +0 -0
- /package/dist/{resource-dynamic-BUqWxUiU.js → resource-dynamic-DqIjQcBG.js} +0 -0
- /package/dist/{resource-index-D2roT002.js → resource-index-gVQ9qSGV.js} +0 -0
- /package/dist/{resource-menu-BRER68rK.js → resource-menu-Cp6r9eRI.js} +0 -0
- /package/dist/{resource-micro-Hyucl9de.js → resource-micro-BxycfE8K.js} +0 -0
- /package/dist/{resource-nonmenu-7FcPEpHv.js → resource-nonmenu-CvGE_ILo.js} +0 -0
- /package/dist/{setting-manage-UHelpLrr.js → setting-manage-BIiyA0Mh.js} +0 -0
- /package/dist/{stores-C-zbXsms.js → stores-kAilSV2k.js} +0 -0
- /package/dist/{theme-check-mark-DRzx4sTs.js → theme-check-mark-C2J6cCwx.js} +0 -0
- /package/dist/{theme-title-BRvQ_qPg.js → theme-title-D5K9nUws.js} +0 -0
- /package/dist/{vanilla-picker-2HFham9c.js → vanilla-picker-yba16Mqn.js} +0 -0
- /package/dist/{view-Cridj7u2.js → view-Bckjhd1X.js} +0 -0
- /package/dist/{zddata-CnvPWtIW.js → zddata-DSibBPmo.js} +0 -0
- /package/dist/{zy_checked-C25HQlnr.js → zy_checked-CeABq1Mr.js} +0 -0
- /package/dist/{zy_default-B7RKtyqy.js → zy_default-DhiBHEmX.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as e, r as t, t as n } from "./chunk-WQLz0Won.js";
|
|
2
|
-
import { t as r } from "./dist
|
|
2
|
+
import { t as r } from "./dist--qcnkvZ0.js";
|
|
3
3
|
import { useTheme as i } from "pubinfo-pr";
|
|
4
4
|
import { computed as a, createElementBlock as o, defineComponent as s, onMounted as c, onUnmounted as l, openBlock as u, ref as d, unref as f, watch as p } from "vue";
|
|
5
5
|
//#endregion
|
|
@@ -79,7 +79,7 @@ var m = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
79
79
|
},
|
|
80
80
|
_updateVolume: function() {
|
|
81
81
|
var e, t = this.audios.length;
|
|
82
|
-
for (e = 0; e < t; e += 1) this.audios[e].volume(this._volume *
|
|
82
|
+
for (e = 0; e < t; e += 1) this.audios[e].volume(this._volume * +!this._isMuted);
|
|
83
83
|
}
|
|
84
84
|
}, function() {
|
|
85
85
|
return new e();
|
|
@@ -115,9 +115,7 @@ var m = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
115
115
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
116
116
|
}, g(e);
|
|
117
117
|
}
|
|
118
|
-
var _ = !0, v = null, y = null, b = "", x = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), S = Math.pow, C = Math.sqrt, w = Math.floor;
|
|
119
|
-
Math.max;
|
|
120
|
-
var T = Math.min, E = {};
|
|
118
|
+
var _ = !0, v = null, y = null, b = "", x = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), S = Math.pow, C = Math.sqrt, w = Math.floor, T = Math.min, E = {};
|
|
121
119
|
(function() {
|
|
122
120
|
var e = /* @__PURE__ */ "abs.acos.acosh.asin.asinh.atan.atanh.atan2.ceil.cbrt.expm1.clz32.cos.cosh.exp.floor.fround.hypot.imul.log.log1p.log2.log10.max.min.pow.random.round.sign.sin.sinh.sqrt.tan.tanh.trunc.E.LN10.LN2.LOG10E.LOG2E.PI.SQRT1_2.SQRT2".split("."), t, n = e.length;
|
|
123
121
|
for (t = 0; t < n; t += 1) E[e[t]] = Math[e[t]];
|
|
@@ -3827,7 +3825,7 @@ var m = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
3827
3825
|
if (e.sz) for (var w = !0, T = e.sz[0], E = e.sz[1], D, O; w;) {
|
|
3828
3826
|
O = this.buildFinalText(e.t), D = 0, m = 0, a = O.length, S = e.tr / 1e3 * e.finalSize;
|
|
3829
3827
|
var k = -1;
|
|
3830
|
-
for (i = 0; i < a; i += 1) C = O[i].charCodeAt(0), o = !1, O[i] === " " ? k = i : (C === 13 || C === 3) && (m = 0, o = !0, D += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (y = t.getCharData(O[i], v.fStyle, v.fFamily), b = o ? 0 : y.w * e.finalSize / 100) : b = t.measureText(O[i], e.f, e.finalSize), m + b > T && O[i] !== " " ? (k === -1 ? a += 1 : i = k, D += e.finalLineHeight || e.finalSize * 1.2, O.splice(i, k === i
|
|
3828
|
+
for (i = 0; i < a; i += 1) C = O[i].charCodeAt(0), o = !1, O[i] === " " ? k = i : (C === 13 || C === 3) && (m = 0, o = !0, D += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (y = t.getCharData(O[i], v.fStyle, v.fFamily), b = o ? 0 : y.w * e.finalSize / 100) : b = t.measureText(O[i], e.f, e.finalSize), m + b > T && O[i] !== " " ? (k === -1 ? a += 1 : i = k, D += e.finalLineHeight || e.finalSize * 1.2, O.splice(i, +(k === i), "\r"), k = -1, m = 0) : (m += b, m += S);
|
|
3831
3829
|
D += v.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && E < D ? (--e.finalSize, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = O, a = e.finalText.length, w = !1);
|
|
3832
3830
|
}
|
|
3833
3831
|
m = -S, b = 0;
|
|
@@ -3896,7 +3894,7 @@ var m = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
3896
3894
|
var i = 0, a = 0, o = 1, s = 1;
|
|
3897
3895
|
this.ne.v > 0 ? i = this.ne.v / 100 : a = -this.ne.v / 100, this.xe.v > 0 ? o = 1 - this.xe.v / 100 : s = 1 + this.xe.v / 100;
|
|
3898
3896
|
var c = Ce.getBezierEasing(i, a, o, s).get, l = 0, u = this.finalS, d = this.finalE, f = this.data.sh;
|
|
3899
|
-
if (f === 2) l = d === u ? r >= d
|
|
3897
|
+
if (f === 2) l = d === u ? +(r >= d) : e(0, t(.5 / (d - u) + (r - u) / (d - u), 1)), l = c(l);
|
|
3900
3898
|
else if (f === 3) l = d === u ? r >= d ? 0 : 1 : 1 - e(0, t(.5 / (d - u) + (r - u) / (d - u), 1)), l = c(l);
|
|
3901
3899
|
else if (f === 4) d === u ? l = 0 : (l = e(0, t(.5 / (d - u) + (r - u) / (d - u), 1)), l < .5 ? l *= 2 : l = 1 - 2 * (l - .5)), l = c(l);
|
|
3902
3900
|
else if (f === 5) {
|
|
@@ -3999,7 +3997,7 @@ var m = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
3999
3997
|
for (be && (be += xe); B < u;) f[B].animatorJustifyOffset = be, B += 1;
|
|
4000
3998
|
}
|
|
4001
3999
|
for (u = 0; u < d; u += 1) {
|
|
4002
|
-
if (a.reset(), fe = 1, f[u].n) c = 0, l += e.yOffset, l += j
|
|
4000
|
+
if (a.reset(), fe = 1, f[u].n) c = 0, l += e.yOffset, l += +!!j, m = ce, j = !1, this._hasMaskedPath && (y = le, v = ue, x = S[y].points, b = x[v - 1], h = x[v], C = h.partialLength, g = 0), _e = "", ge = "", me = "", ye = "", ve = this.defaultPropsArray;
|
|
4003
4001
|
else {
|
|
4004
4002
|
if (this._hasMaskedPath) {
|
|
4005
4003
|
if (de !== f[u].line) {
|
|
@@ -4196,7 +4194,7 @@ var m = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
4196
4194
|
}
|
|
4197
4195
|
c.style.display = "inherit";
|
|
4198
4196
|
}
|
|
4199
|
-
if (l.reset(), d && (o[e].n && (f = -g, p += n.yOffset, p += m
|
|
4197
|
+
if (l.reset(), d && (o[e].n && (f = -g, p += n.yOffset, p += +!!m, m = !1), this.applyTextPropertiesToMatrix(n, l, o[e].line, f, p), f += o[e].l || 0, f += g), s) {
|
|
4200
4198
|
x = this.globalData.fontManager.getCharData(n.finalText[e], r.fStyle, this.globalData.fontManager.getFontByName(n.f).fFamily);
|
|
4201
4199
|
var C;
|
|
4202
4200
|
if (x.t === 1) C = new nr(x.data, this.globalData, this);
|
|
@@ -27,6 +27,20 @@ export declare function getGroupDetailById<R = API.ResponseDataPubGroupBo, T = A
|
|
|
27
27
|
* @author @pubinfo/openapi
|
|
28
28
|
*/
|
|
29
29
|
export declare function postGroupFindPage<R = API.ResponseDataPageDataPubGroup, T = API.ResponseDataPageDataPubGroup>(body: API.pubGroupDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
30
|
+
/**
|
|
31
|
+
* @description 获得组织组列表
|
|
32
|
+
* @url /group/getOrgGroupList
|
|
33
|
+
* @method POST
|
|
34
|
+
* @author @pubinfo/openapi
|
|
35
|
+
*/
|
|
36
|
+
export declare function postGroupGetOrgGroupList<R = API.ResponseDataListPubGroupBo, T = API.ResponseDataListPubGroupBo>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
37
|
+
/**
|
|
38
|
+
* @description 获得用户组列表
|
|
39
|
+
* @url /group/getUserGroupList
|
|
40
|
+
* @method POST
|
|
41
|
+
* @author @pubinfo/openapi
|
|
42
|
+
*/
|
|
43
|
+
export declare function postGroupGetUserGroupList<R = API.ResponseDataListPubGroupBo, T = API.ResponseDataListPubGroupBo>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
30
44
|
/**
|
|
31
45
|
* @description 群组信息不分页查询 list
|
|
32
46
|
* @url /group/list
|
|
@@ -41,3 +55,17 @@ export declare function postGroupList<R = API.ResponseDataListPubGroup, T = API.
|
|
|
41
55
|
* @author @pubinfo/openapi
|
|
42
56
|
*/
|
|
43
57
|
export declare function postGroupSaveOrUpdate<R = API.ResponseData, T = API.ResponseData>(body: API.PubGroupBo, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
58
|
+
/**
|
|
59
|
+
* @description 校验组织群组们是否有效
|
|
60
|
+
* @url /group/validOrgGroups
|
|
61
|
+
* @method POST
|
|
62
|
+
* @author @pubinfo/openapi
|
|
63
|
+
*/
|
|
64
|
+
export declare function postGroupValidOrgGroups<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
65
|
+
/**
|
|
66
|
+
* @description 校验用户群组们是否有效
|
|
67
|
+
* @url /group/validUserGroups
|
|
68
|
+
* @method POST
|
|
69
|
+
* @author @pubinfo/openapi
|
|
70
|
+
*/
|
|
71
|
+
export declare function postGroupValidUserGroups<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
@@ -41,3 +41,10 @@ export declare function getRbacPostList<R = API.ResponseDataListPubPost, T = API
|
|
|
41
41
|
* @author @pubinfo/openapi
|
|
42
42
|
*/
|
|
43
43
|
export declare function postRbacPostSave<R = API.ResponseDataString, T = API.ResponseDataString>(body: API.PubPostDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
44
|
+
/**
|
|
45
|
+
* @description 校验岗位们是否有效
|
|
46
|
+
* @url /rbac/post/validPostList
|
|
47
|
+
* @method POST
|
|
48
|
+
* @author @pubinfo/openapi
|
|
49
|
+
*/
|
|
50
|
+
export declare function postRbacPostValidPostList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
@@ -6,6 +6,13 @@ import { basic as request } from '@/api/request';
|
|
|
6
6
|
* @author @pubinfo/openapi
|
|
7
7
|
*/
|
|
8
8
|
export declare function postRbacRoleAddRole<R = API.ResponseDataPubRoleBo, T = API.ResponseDataPubRoleBo>(body: API.PubRoleAddDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
9
|
+
/**
|
|
10
|
+
* @description 获得拥有多个角色的用户编号集合
|
|
11
|
+
* @url /rbac/role/getUserRoleIdListByRoleIds
|
|
12
|
+
* @method POST
|
|
13
|
+
* @author @pubinfo/openapi
|
|
14
|
+
*/
|
|
15
|
+
export declare function postRbacRoleGetUserRoleIdListByRoleIds<R = API.ResponseDataPubUserRoleBo, T = API.ResponseDataPubUserRoleBo>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
9
16
|
/**
|
|
10
17
|
* @description 根据id查询
|
|
11
18
|
* @url /rbac/role/info
|
|
@@ -48,3 +55,10 @@ export declare function postRbacRoleRoleUpdate<R = API.ResponseDataPubRoleBo, T
|
|
|
48
55
|
* @author @pubinfo/openapi
|
|
49
56
|
*/
|
|
50
57
|
export declare function postRbacRoleRoleUserPage<R = API.ResponseDataPageDataPubUserOrgRoleBo, T = API.ResponseDataPageDataPubUserOrgRoleBo>(body: API.PubRoleQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
58
|
+
/**
|
|
59
|
+
* @description 校验角色们是否有效
|
|
60
|
+
* @url /rbac/role/validRoleList
|
|
61
|
+
* @method POST
|
|
62
|
+
* @author @pubinfo/openapi
|
|
63
|
+
*/
|
|
64
|
+
export declare function postRbacRoleValidRoleList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { basic as request } from '@/api/request';
|
|
2
|
+
/**
|
|
3
|
+
* @description 验证码-修改登录密码
|
|
4
|
+
* @url /rbac/user/captcha/changePasswordWithVerifyCode
|
|
5
|
+
* @method POST
|
|
6
|
+
* @author @pubinfo/openapi
|
|
7
|
+
*/
|
|
8
|
+
export declare function postRbacUserCaptchaChangePasswordWithVerifyCode<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(params: API.postRbacUserCaptchaChangePasswordWithVerifyCodeParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
2
9
|
/**
|
|
3
10
|
* @description 修改登录密码
|
|
4
11
|
* @url /rbac/user/changePassword
|
|
@@ -20,6 +27,34 @@ export declare function postRbacUserChangePassword<R = API.ResponseDataVoid, T =
|
|
|
20
27
|
* @author @pubinfo/openapi
|
|
21
28
|
*/
|
|
22
29
|
export declare function postRbacUserChangePasswordWithVerifyCode<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(params: API.postRbacUserChangePasswordWithVerifyCodeParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
30
|
+
/**
|
|
31
|
+
* @description 根据id查询
|
|
32
|
+
* @url /rbac/user/getUser
|
|
33
|
+
* @method POST
|
|
34
|
+
* @author @pubinfo/openapi
|
|
35
|
+
*/
|
|
36
|
+
export declare function postRbacUserGetUser<R = API.ResponseDataPubUser, T = API.ResponseDataPubUser>(params: API.postRbacUserGetUserParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
37
|
+
/**
|
|
38
|
+
* @description 通过用户ID查询用户们
|
|
39
|
+
* @url /rbac/user/getUserList
|
|
40
|
+
* @method POST
|
|
41
|
+
* @author @pubinfo/openapi
|
|
42
|
+
*/
|
|
43
|
+
export declare function postRbacUserGetUserList<R = API.ResponseDataListPubUser, T = API.ResponseDataListPubUser>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
44
|
+
/**
|
|
45
|
+
* @description 获得指定组织的用户数组
|
|
46
|
+
* @url /rbac/user/getUserListByOrgIds
|
|
47
|
+
* @method POST
|
|
48
|
+
* @author @pubinfo/openapi
|
|
49
|
+
*/
|
|
50
|
+
export declare function postRbacUserGetUserListByOrgIds<R = API.ResponseDataListPubUser, T = API.ResponseDataListPubUser>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
51
|
+
/**
|
|
52
|
+
* @description 获得指定岗位的用户数组
|
|
53
|
+
* @url /rbac/user/getUserListByPostIds
|
|
54
|
+
* @method POST
|
|
55
|
+
* @author @pubinfo/openapi
|
|
56
|
+
*/
|
|
57
|
+
export declare function postRbacUserGetUserListByPostIds<R = API.ResponseDataListPubUser, T = API.ResponseDataListPubUser>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
23
58
|
/**
|
|
24
59
|
* @description 编辑角色和授权数据权限
|
|
25
60
|
* @url /rbac/user/grantUserRoleAndDatPermission
|
|
@@ -104,3 +139,10 @@ export declare function postRbacUserUserUpdate<R = API.ResponseDataVoid, T = API
|
|
|
104
139
|
* @author @pubinfo/openapi
|
|
105
140
|
*/
|
|
106
141
|
export declare function postRbacUserUserUpdateV2<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: API.PubUserUpdateDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
142
|
+
/**
|
|
143
|
+
* @description 校验用户们是否有效
|
|
144
|
+
* @url /rbac/user/validateUserList
|
|
145
|
+
* @method POST
|
|
146
|
+
* @author @pubinfo/openapi
|
|
147
|
+
*/
|
|
148
|
+
export declare function postRbacUserValidateUserList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
@@ -55,6 +55,13 @@ export declare function postRbacResourceMenuTree<R = API.ResponseDataListPubReso
|
|
|
55
55
|
* @author @pubinfo/openapi
|
|
56
56
|
*/
|
|
57
57
|
export declare function postRbacResourceMineOrAllResourceTree<R = API.ResponseDataListPubResourceTreeBo, T = API.ResponseDataListPubResourceTreeBo>(params: API.postRbacResourceMineOrAllResourceTreeParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
58
|
+
/**
|
|
59
|
+
* @description 资源拖拉拽更新
|
|
60
|
+
* @url /rbac/resource/reSortUpdate
|
|
61
|
+
* @method POST
|
|
62
|
+
* @author @pubinfo/openapi
|
|
63
|
+
*/
|
|
64
|
+
export declare function postRbacResourceReSortUpdate<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: API.PubResourceReSortUpdateDTO[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
58
65
|
/**
|
|
59
66
|
* @description 资源删除
|
|
60
67
|
* @url /rbac/resource/resourceDelete
|
|
@@ -62,3 +62,10 @@ export declare function getRbacOrgSearchTreeById<R = API.ResponseDataPubOrgTreeB
|
|
|
62
62
|
* @author @pubinfo/openapi
|
|
63
63
|
*/
|
|
64
64
|
export declare function postRbacOrgUpdateOrg<R = API.ResponseDataPubOrg, T = API.ResponseDataPubOrg>(body: API.PubOrgUpdateDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
65
|
+
/**
|
|
66
|
+
* @description 校验组织们是否有效
|
|
67
|
+
* @url /rbac/org/validateOrgList
|
|
68
|
+
* @method POST
|
|
69
|
+
* @author @pubinfo/openapi
|
|
70
|
+
*/
|
|
71
|
+
export declare function postRbacOrgValidateOrgList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as a } from "./drawerBlackWhiteList-
|
|
1
|
+
import { n as e } from "./dist--qcnkvZ0.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-gLzyemvl.js";
|
|
3
|
+
import { f as n, h as r, m as i } from "./configData-CSxIdgBO.js";
|
|
4
|
+
import { t as a } from "./drawerBlackWhiteList-dHAREMtd.js";
|
|
5
5
|
import { PubinfoIcon as o, useAuth as s } from "pubinfo-pr";
|
|
6
6
|
import { computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as ee, openBlock as g, ref as _, resolveDirective as v, toDisplayString as y, unref as b, withCtx as x, withDirectives as S } from "vue";
|
|
7
7
|
import { PlusCircleOutlined as te } from "@ant-design/icons-vue";
|
|
@@ -15,11 +15,11 @@ var O = /* @__PURE__ */ function(e) {
|
|
|
15
15
|
}({}), k = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "flex items-center"
|
|
18
|
-
}, A = { class: "ml-4px" }, j = ["onClick"], M = { class: "ml-4px" }, N = ["onClick"], P = { class: "ml-4px" }, F = ["onClick"], I = { class: "ml-4px" }, L = ["onClick"], R = { class: "ml-4px" }, z = /* @__PURE__ */
|
|
18
|
+
}, A = { class: "ml-4px" }, j = ["onClick"], M = { class: "ml-4px" }, N = ["onClick"], P = { class: "ml-4px" }, F = ["onClick"], I = { class: "ml-4px" }, L = ["onClick"], R = { class: "ml-4px" }, z = /* @__PURE__ */ t(/* @__PURE__ */ h({
|
|
19
19
|
name: "BlackWhiteList",
|
|
20
20
|
__name: "index",
|
|
21
|
-
setup(
|
|
22
|
-
let h = D(), z = c(() => h.path.includes("blacklist")), B = c(() => z.value
|
|
21
|
+
setup(t) {
|
|
22
|
+
let h = D(), z = c(() => h.path.includes("blacklist")), B = c(() => +!z.value), V = c(() => z.value ? "blacklist" : "whitelist"), H = c(() => `${V.value}_add`), U = c(() => `${V.value}_edit`), W = c(() => `${V.value}_delete`), G = c(() => `${V.value}_enable`), K = c(() => `${V.value}_disable`), { auth: q } = s(), J = _(), Y = _(), X = [
|
|
23
23
|
{
|
|
24
24
|
valueType: "a-input",
|
|
25
25
|
minWidth: 60,
|
|
@@ -93,12 +93,12 @@ var O = /* @__PURE__ */ function(e) {
|
|
|
93
93
|
J.value.reload();
|
|
94
94
|
}
|
|
95
95
|
let [ie, Q] = e(!1);
|
|
96
|
-
function ae(e,
|
|
96
|
+
function ae(e, t) {
|
|
97
97
|
ne.confirm({
|
|
98
98
|
title: "删除",
|
|
99
99
|
content: `确定要删除该条${e}数据吗?`,
|
|
100
100
|
async onOk() {
|
|
101
|
-
Q(!0),
|
|
101
|
+
Q(!0), n({ id: t?.id }).then((e) => {
|
|
102
102
|
e.success && (C.success("删除成功"), Z());
|
|
103
103
|
}).finally(() => Q(!1));
|
|
104
104
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "./stores-
|
|
4
|
-
import "./
|
|
5
|
-
import "./HCheckList-CAhQwX7m.js";
|
|
6
|
-
import { t as r } from "./setItem-DlhIkIgh.js";
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-gLzyemvl.js";
|
|
2
|
+
import { u as t } from "./configData-CSxIdgBO.js";
|
|
3
|
+
import { t as n } from "./stores-kAilSV2k.js";
|
|
4
|
+
import { t as r } from "./setItem-xdOcMJ1t.js";
|
|
7
5
|
import { PubinfoIcon as i } from "pubinfo-pr";
|
|
8
6
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, openBlock as d, reactive as f, renderList as p, unref as m } from "vue";
|
|
9
7
|
import { message as h } from "ant-design-vue";
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { t as e } from "./request-7X2hpUru.js";
|
|
2
|
+
//#region src/api/modules/configData/heibaimingdanfuwu.ts
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
return e.Post("/blackWhiteList/addBlackWhiteList", t, {
|
|
5
|
+
headers: { "Content-Type": "application/json" },
|
|
6
|
+
...n || {}
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function n(t, n) {
|
|
10
|
+
let { id: r, ...i } = t;
|
|
11
|
+
return e.Get(`/blackWhiteList/delete/${r}`, {
|
|
12
|
+
params: { ...i },
|
|
13
|
+
...n || {},
|
|
14
|
+
meta: {
|
|
15
|
+
...n?.meta ?? {},
|
|
16
|
+
pathParams: [r]
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function r(t, n) {
|
|
21
|
+
return e.Post("/blackWhiteList/getBlackWhiteListPageList", t, {
|
|
22
|
+
headers: { "Content-Type": "application/json" },
|
|
23
|
+
...n || {}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function i(t, n) {
|
|
27
|
+
return e.Post("/blackWhiteList/updateBlackWhiteList", t, {
|
|
28
|
+
headers: { "Content-Type": "application/json" },
|
|
29
|
+
...n || {}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/api/modules/configData/xitongpeizhifuwu.ts
|
|
34
|
+
function a(t, n) {
|
|
35
|
+
return e.Post("/sysconfig/addOrEidtSysThemeStyleConfig", t, {
|
|
36
|
+
headers: { "Content-Type": "application/json" },
|
|
37
|
+
...n || {}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function o(t, n) {
|
|
41
|
+
return e.Post("/sysconfig/editSysSecurityConfig", t, {
|
|
42
|
+
headers: { "Content-Type": "application/json" },
|
|
43
|
+
...n || {}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function s(t) {
|
|
47
|
+
return e.Get("/sysconfig/getSysSecurityConfig", { ...t || {} });
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region src/api/modules/configData/zidifuwu.ts
|
|
51
|
+
function c(t, n) {
|
|
52
|
+
let { id: r, ...i } = t;
|
|
53
|
+
return e.Delete(`/dict/item/delete/${r}`, {}, {
|
|
54
|
+
params: { ...i },
|
|
55
|
+
...n || {},
|
|
56
|
+
meta: {
|
|
57
|
+
...n?.meta ?? {},
|
|
58
|
+
pathParams: [r]
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
function l(t, n) {
|
|
63
|
+
return e.Get("/dict/item/list", {
|
|
64
|
+
params: { ...t },
|
|
65
|
+
...n || {}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function u(t, n) {
|
|
69
|
+
return e.Get("/dict/item/list/batch", {
|
|
70
|
+
params: { ...t },
|
|
71
|
+
...n || {}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
function d(t, n) {
|
|
75
|
+
return e.Post("/dict/item/page", t, {
|
|
76
|
+
headers: { "Content-Type": "application/json" },
|
|
77
|
+
...n || {}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
function f(t, n) {
|
|
81
|
+
return e.Post("/dict/item/save", t, {
|
|
82
|
+
headers: { "Content-Type": "application/json" },
|
|
83
|
+
...n || {}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
function p(t, n) {
|
|
87
|
+
let { id: r, ...i } = t;
|
|
88
|
+
return e.Delete(`/dict/type/delete/${r}`, {}, {
|
|
89
|
+
params: { ...i },
|
|
90
|
+
...n || {},
|
|
91
|
+
meta: {
|
|
92
|
+
...n?.meta ?? {},
|
|
93
|
+
pathParams: [r]
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
function m(t, n) {
|
|
98
|
+
return e.Post("/dict/type/page", t, {
|
|
99
|
+
headers: { "Content-Type": "application/json" },
|
|
100
|
+
...n || {}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
function h(t, n) {
|
|
104
|
+
return e.Post("/dict/type/save", t, {
|
|
105
|
+
headers: { "Content-Type": "application/json" },
|
|
106
|
+
...n || {}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
//#endregion
|
|
110
|
+
export { d as a, h as c, o as d, n as f, i as h, u as i, s as l, r as m, p as n, f as o, t as p, l as r, m as s, c as t, a as u };
|
package/dist/{createAndEditDataPermission-OunqmBu_.js → createAndEditDataPermission-0LzmHcCV.js}
RENAMED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { r as e } from "./chunk-WQLz0Won.js";
|
|
2
|
-
import { t } from "./OrgSelector-
|
|
3
|
-
import { n } from "./dist
|
|
4
|
-
import { l as r } from "./assist-
|
|
5
|
-
import { $ as i, Q as a, Y as o } from "./rbac-
|
|
6
|
-
import { t as s } from "./enum-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import { t } from "./OrgSelector-BX08YC6x.js";
|
|
3
|
+
import { n } from "./dist--qcnkvZ0.js";
|
|
4
|
+
import { l as r } from "./assist-CCEHZYbk.js";
|
|
5
|
+
import { $ as i, Q as a, Y as o } from "./rbac-MKC8Y6Bl.js";
|
|
6
|
+
import { t as s } from "./enum-DPlX5kGz.js";
|
|
7
|
+
import { t as c } from "./ResourceSelector-CS6VsQR7.js";
|
|
8
|
+
import { t as l } from "./_plugin-vue_export-helper-gLzyemvl.js";
|
|
9
|
+
import { n as u } from "./enum-K9XzmA01.js";
|
|
10
|
+
import { t as d } from "./useAppAndResource-CBlPPcNy.js";
|
|
11
|
+
import { i as f, n as p } from "./enum-lpo6KsjD.js";
|
|
11
12
|
import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, isRef as C, mergeModels as w, openBlock as T, ref as E, renderList as D, toDisplayString as O, unref as k, useModel as ee, withCtx as A } from "vue";
|
|
12
13
|
import { message as j } from "ant-design-vue";
|
|
13
14
|
import { Button as te, CheckboxGroup as M, Drawer as ne, Form as N, FormItem as P, Input as F, Modal as I, Select as L, Space as re, TabPane as R, Tabs as ie, Tag as ae, Tooltip as oe } from "ant-design-vue/es";
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import {
|
|
6
|
-
import { h as r } from "./index.js";
|
|
7
|
-
import "./enum-zdKA3Jy-.js";
|
|
8
|
-
import { t as i } from "./createAndEditDataPermission-OunqmBu_.js";
|
|
9
|
-
import "./useAppAndResource-D6WnpUPR.js";
|
|
10
|
-
import { a, i as o, t as s } from "./enum-CYCebJeC.js";
|
|
1
|
+
import { n as e } from "./dist--qcnkvZ0.js";
|
|
2
|
+
import { Z as t, q as n } from "./rbac-MKC8Y6Bl.js";
|
|
3
|
+
import { t as r } from "./_plugin-vue_export-helper-gLzyemvl.js";
|
|
4
|
+
import { t as i } from "./createAndEditDataPermission-0LzmHcCV.js";
|
|
5
|
+
import { a, i as o, t as s } from "./enum-lpo6KsjD.js";
|
|
11
6
|
import { PubinfoIcon as c } from "pubinfo-pr";
|
|
12
7
|
import { createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, openBlock as g, ref as _, resolveDirective as v, toDisplayString as y, unref as b, withCtx as x, withDirectives as S } from "vue";
|
|
13
8
|
import { PlusCircleOutlined as C } from "@ant-design/icons-vue";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as r } from "./drawerDictionary-DhAB-LV9.js";
|
|
1
|
+
import { n as e, s as t } from "./configData-CSxIdgBO.js";
|
|
2
|
+
import { t as n } from "./enum-CE12tD9J.js";
|
|
3
|
+
import { t as r } from "./drawerDictionary-Dq0MnTak.js";
|
|
5
4
|
import { PubinfoIcon as i, useAuth as a } from "pubinfo-pr";
|
|
6
5
|
import { createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, resolveDirective as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
|
|
7
6
|
import { PlusCircleOutlined as b } from "@ant-design/icons-vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./chunk-WQLz0Won.js";
|
|
2
|
-
import { n as t } from "./dist
|
|
3
|
-
import {
|
|
2
|
+
import { n as t } from "./dist--qcnkvZ0.js";
|
|
3
|
+
import { h as n, p as r } from "./configData-CSxIdgBO.js";
|
|
4
4
|
import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, isRef as c, openBlock as l, ref as u, unref as d, withCtx as f } from "vue";
|
|
5
5
|
import { message as p } from "ant-design-vue";
|
|
6
6
|
import { Button as m, Drawer as h, Form as g, FormItem as _, Input as v, Space as y, Switch as b, Textarea as x } from "ant-design-vue/es";
|
|
@@ -32,7 +32,7 @@ var S = /* @__PURE__ */ s({
|
|
|
32
32
|
let [F, I] = t(!1);
|
|
33
33
|
function L() {
|
|
34
34
|
k.value?.validate().then(() => {
|
|
35
|
-
I(!0), (M.value ?
|
|
35
|
+
I(!0), (M.value ? n : r)({
|
|
36
36
|
...j.value,
|
|
37
37
|
type: C.type
|
|
38
38
|
}).then((e) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e } from "./chunk-WQLz0Won.js";
|
|
2
|
-
import { n as t } from "./dist
|
|
3
|
-
import {
|
|
4
|
-
import { t as r } from "./enum-
|
|
2
|
+
import { n as t } from "./dist--qcnkvZ0.js";
|
|
3
|
+
import { c as n } from "./configData-CSxIdgBO.js";
|
|
4
|
+
import { t as r } from "./enum-CE12tD9J.js";
|
|
5
5
|
import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, isRef as c, openBlock as l, reactive as u, ref as d, unref as f, withCtx as p } from "vue";
|
|
6
6
|
import { message as m } from "ant-design-vue";
|
|
7
7
|
import { Button as h, Drawer as g, Form as _, FormItem as v, Input as y, InputNumber as b, Space as x, Textarea as S } from "ant-design-vue/es";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e } from "./chunk-WQLz0Won.js";
|
|
2
|
-
import { n as t } from "./dist
|
|
3
|
-
import {
|
|
4
|
-
import { t as r } from "./enum-
|
|
2
|
+
import { n as t } from "./dist--qcnkvZ0.js";
|
|
3
|
+
import { o as n } from "./configData-CSxIdgBO.js";
|
|
4
|
+
import { t as r } from "./enum-CE12tD9J.js";
|
|
5
5
|
import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, isRef as c, openBlock as l, reactive as u, ref as d, unref as f, withCtx as p } from "vue";
|
|
6
6
|
import { message as m } from "ant-design-vue";
|
|
7
7
|
import { Button as h, Drawer as g, Form as _, FormItem as v, Input as y, InputNumber as b, Space as x, Switch as S, Textarea as C } from "ant-design-vue/es";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as e } from "./chunk-WQLz0Won.js";
|
|
2
|
-
import { n as t } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as o, r as s, t as c } from "./enum-
|
|
2
|
+
import { n as t, t as n } from "./OrgUserSelector-DmmJMv-T.js";
|
|
3
|
+
import { n as r } from "./dist--qcnkvZ0.js";
|
|
4
|
+
import { s as i, u as a } from "./assist-CCEHZYbk.js";
|
|
5
|
+
import { n as o, r as s, t as c } from "./enum-K9XzmA01.js";
|
|
6
6
|
import { Fragment as l, computed as u, createBlock as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, isRef as _, openBlock as v, reactive as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w } from "vue";
|
|
7
7
|
import { message as T } from "ant-design-vue";
|
|
8
8
|
import { Button as E, Drawer as D, Form as O, FormItem as k, Input as A, Select as j, Space as M, Textarea as N, Tooltip as P } from "ant-design-vue/es";
|
|
@@ -43,24 +43,24 @@ var F = { class: "pt-10px" }, I = { class: "inline-block mb-6px mr-6px bg-[#E8F3
|
|
|
43
43
|
message: "请选择群组成员",
|
|
44
44
|
trigger: ["blur", "change"]
|
|
45
45
|
}]
|
|
46
|
-
}, [H, U] =
|
|
46
|
+
}, [H, U] = r(!1), W = b(), G = b({}), K = u(() => G.value?.pubGroupMemberList?.map((e) => ({
|
|
47
47
|
...e,
|
|
48
48
|
name: B.type === o.ORG ? e.orgName : e.userName
|
|
49
49
|
})));
|
|
50
|
-
async function q(e, t,
|
|
50
|
+
async function q(e, t, n) {
|
|
51
51
|
if (U(!0), B.title = e, B.type = t, G.value = {}, e === c.EDIT) {
|
|
52
|
-
let e = await
|
|
52
|
+
let e = await i({ id: n?.id });
|
|
53
53
|
e.success && (G.value = e?.data ?? {});
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
function J() {
|
|
57
|
-
B.type === o.ORG &&
|
|
57
|
+
B.type === o.ORG && n({
|
|
58
58
|
modelValue: G.value.pubGroupMemberList ?? [],
|
|
59
59
|
multiple: !0,
|
|
60
60
|
onSubmit(e = []) {
|
|
61
61
|
G.value.pubGroupMemberList = e;
|
|
62
62
|
}
|
|
63
|
-
}), B.type === o.PER &&
|
|
63
|
+
}), B.type === o.PER && t({
|
|
64
64
|
modelValue: G.value.pubGroupMemberList ?? [],
|
|
65
65
|
multiple: !0,
|
|
66
66
|
onSubmit(e = []) {
|
|
@@ -68,7 +68,7 @@ var F = { class: "pt-10px" }, I = { class: "inline-block mb-6px mr-6px bg-[#E8F3
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
let [Y, X] =
|
|
71
|
+
let [Y, X] = r(!1);
|
|
72
72
|
function Z() {
|
|
73
73
|
W.value?.validate().then(() => {
|
|
74
74
|
X(!0);
|
|
@@ -80,7 +80,7 @@ var F = { class: "pt-10px" }, I = { class: "inline-block mb-6px mr-6px bg-[#E8F3
|
|
|
80
80
|
userId: e?.userId
|
|
81
81
|
}))
|
|
82
82
|
};
|
|
83
|
-
delete n.createTime, delete n.updateTime,
|
|
83
|
+
delete n.createTime, delete n.updateTime, a(n).then((e) => {
|
|
84
84
|
e.success && (T.success(`${B.title}成功!`), U(!1), z("submit"));
|
|
85
85
|
}).finally(() => X(!1));
|
|
86
86
|
});
|