@pubinfo-pr/module-rbac 0.222.4 → 0.224.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/{ResourceRelation-BwagNxld.js → ResourceRelation-CU-QpUhP.js} +1 -1
- package/dist/{ResourceRelation-CKZrGW9A.js → ResourceRelation-roz0a8Td.js} +1 -1
- package/dist/ResourceRelation.css +1 -1
- package/dist/ResourceRelation2.css +1 -1
- package/dist/{UserAuthorization-sU8yGviz.js → UserAuthorization-2Fl4IGw7.js} +1 -1
- package/dist/UserAuthorization.css +1 -1
- 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-CaEw1uGl.js → blackWhiteList-DbG7JH8n.js} +1 -1
- package/dist/blackWhiteList.css +1 -1
- package/dist/breadcrumb_setting-Dx2Li6xt.js +108 -0
- package/dist/{createAndEditDataPermission-BfIc8HNt.js → createAndEditDataPermission-8_KNLzJT.js} +1 -1
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/{data-permission-CeSzz7-6.js → data-permission-LpuDLDm0.js} +2 -2
- package/dist/data-permission.css +1 -1
- package/dist/{drawerOrganization-CwtSFUj0.js → drawerOrganization-CPsQlz-f.js} +59 -24
- package/dist/{group-DmvSRTkz.js → group-CaOhkh72.js} +1 -1
- package/dist/group.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +44 -44
- package/dist/{layout_setting-DcFrUQtI.js → layout_setting-79srmFgJ.js} +1 -1
- package/dist/layout_setting.css +1 -1
- package/dist/{login_history-uB4F5Ddd.js → login_history-BiwaLpxA.js} +1 -1
- package/dist/login_history.css +1 -1
- package/dist/menu_setting-ChueWHs4.js +155 -0
- package/dist/{operate_history-eTC0gtt3.js → operate_history-sPd9IHMV.js} +28 -30
- package/dist/operate_history.css +1 -0
- package/dist/{organization-CEDkYrjK.js → organization-BXGT-lb7.js} +7 -3
- package/dist/organization.css +1 -1
- package/dist/other_setting-BEV_UK0g.js +213 -0
- package/dist/page_animation_setting-Cp5OnFpd.js +108 -0
- package/dist/page_animation_setting.css +1 -0
- package/dist/{page_w_setting-Bp9cayqE.js → page_w_setting-Q--ct16C.js} +6 -2
- package/dist/page_w_setting.css +1 -1
- package/dist/{role-WO4NM7Er.js → role-4UgEw3nH.js} +1 -1
- package/dist/{setItem-Bjl8zTpQ.js → setItem-Vkcwkj-O.js} +1 -1
- package/dist/setItem.css +1 -1
- package/dist/tabbar_setting-kbuTvrLB.js +139 -0
- package/dist/{theme_setting-Duv0kBY3.js → theme_setting-CEb7UYQO.js} +1 -1
- package/dist/theme_setting.css +1 -1
- package/dist/toolbar_setting-BG-k2UFc.js +140 -0
- package/dist/{user-DeVw-Ynu.js → user-BkUpcQC8.js} +2 -2
- package/dist/user.css +1 -1
- package/dist/watermark_setting-Cl2EtPAa.js +191 -0
- package/dist/watermark_setting.css +1 -1
- package/package.json +3 -3
- 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/GroupSelector/index.vue +24 -67
- package/src/components/OrgTree/index.vue +1 -1
- package/src/components/ResourceSelector/index.vue +15 -45
- package/src/views/blackWhiteList/index.vue +3 -9
- package/src/views/components/setItem.vue +2 -10
- package/src/views/data-permission/index.vue +1 -2
- package/src/views/group/index.vue +4 -7
- package/src/views/layout_setting/index.vue +20 -99
- package/src/views/log_center/login_history.vue +2 -7
- package/src/views/log_center/operate_history.vue +11 -4
- package/src/views/organization/components/drawerOrganization.vue +43 -0
- package/src/views/organization/index.vue +21 -23
- package/src/views/page_animation_setting/index.vue +23 -14
- package/src/views/page_w_setting/index.vue +6 -19
- package/src/views/role/components/ResourceRelation.vue +1 -2
- package/src/views/role_group/components/ResourceRelation.vue +1 -2
- package/src/views/safe_setting/index.vue +1 -1
- package/src/views/theme_setting/index.vue +17 -70
- package/src/views/user/components/UserAuthorization.vue +2 -2
- package/src/views/watermark_setting/index.vue +1 -4
- package/dist/api/modules/assist/gonggaofuwu.d.ts +0 -43
- package/dist/breadcrumb_setting-CW3eWnlU.js +0 -108
- package/dist/lottie-03f0a035.json +0 -1
- package/dist/lottie-0ee63e7f.json +0 -1
- package/dist/lottie-10eef4fe.json +0 -1
- package/dist/lottie-13f452f1.json +0 -1
- package/dist/lottie-14b7b290.json +0 -1
- package/dist/lottie-15b8cef1.json +0 -1
- package/dist/lottie-15f77960.json +0 -1
- package/dist/lottie-1ae9b726.json +0 -1
- package/dist/lottie-1b02359f.json +0 -1
- package/dist/lottie-1ef286cd.json +0 -1
- package/dist/lottie-23cfd18c.json +0 -1
- package/dist/lottie-265a0a5d.json +0 -1
- package/dist/lottie-28d57c49.json +0 -1
- package/dist/lottie-2b54ed10.json +0 -1
- package/dist/lottie-2bb6f642.json +0 -1
- package/dist/lottie-2cdc07bd.json +0 -1
- package/dist/lottie-31c58607.json +0 -1
- package/dist/lottie-32884f23.json +0 -1
- package/dist/lottie-32fca43a.json +0 -1
- package/dist/lottie-3a75445b.json +0 -1
- package/dist/lottie-3f27d67c.json +0 -1
- package/dist/lottie-4189453f.json +0 -1
- package/dist/lottie-4702b37c.json +0 -1
- package/dist/lottie-520a5c68.json +0 -1
- package/dist/lottie-56bea508.json +0 -1
- package/dist/lottie-57c732a3.json +0 -1
- package/dist/lottie-5be4a28f.json +0 -1
- package/dist/lottie-5e6d7cfa.json +0 -1
- package/dist/lottie-64e176c9.json +0 -1
- package/dist/lottie-6583dca6.json +0 -1
- package/dist/lottie-66c640c6.json +0 -1
- package/dist/lottie-68393156.json +0 -1
- package/dist/lottie-688465aa.json +0 -1
- package/dist/lottie-6bf334f4.json +0 -1
- package/dist/lottie-7b4f72ce.json +0 -1
- package/dist/lottie-837ec087.json +0 -1
- package/dist/lottie-838ac1ba.json +0 -1
- package/dist/lottie-8465c2cf.json +0 -1
- package/dist/lottie-9e9f04a4.json +0 -1
- package/dist/lottie-a13964cb.json +0 -1
- package/dist/lottie-ab93a057.json +0 -1
- package/dist/lottie-abe308fc.json +0 -1
- package/dist/lottie-b24f2cd3.json +0 -1
- package/dist/lottie-bf00eaed.json +0 -1
- package/dist/lottie-cb22efd7.json +0 -1
- package/dist/lottie-cb953f20.json +0 -1
- package/dist/lottie-cc209e34.json +0 -1
- package/dist/lottie-cfdffceb.json +0 -1
- package/dist/lottie-d33c0299.json +0 -1
- package/dist/lottie-d430c8ca.json +0 -1
- package/dist/lottie-d8cfa560.json +0 -1
- package/dist/lottie-da91beb6.json +0 -1
- package/dist/lottie-e2bdf85c.json +0 -1
- package/dist/lottie-e34ad826.json +0 -1
- package/dist/lottie-e80720aa.json +0 -1
- package/dist/lottie-e894bc92.json +0 -1
- package/dist/lottie-f28020f2.json +0 -1
- package/dist/lottie-f71ebbf4.json +0 -1
- package/dist/lottie-fb1f4917.json +0 -1
- package/dist/lottie-ff2e97c4.json +0 -1
- package/dist/menu_setting-C5Pr_E9s.js +0 -155
- package/dist/other_setting-DaDLf9QC.js +0 -213
- package/dist/page_animation_setting-BzlBS0Sa.js +0 -109
- package/dist/tabbar_setting-C_B1WZn1.js +0 -139
- package/dist/toolbar_setting-BPROx6V9.js +0 -140
- package/dist/watermark_setting-r0rMSViF.js +0 -191
- package/src/api/modules/assist/gonggaofuwu.ts +0 -124
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { h as _plugin_vue_export_helper_default } from "./index.js";
|
|
1
2
|
import "./browserType-B8A1Osvk.js";
|
|
2
3
|
import { t as operateHistoryDetail_default } from "./operateHistoryDetail-HId-EZzy.js";
|
|
3
4
|
import { n as postLogOperatePage } from "./log-BYris9iT.js";
|
|
4
5
|
import { PubinfoIcon, useAuth } from "pubinfo-pr";
|
|
5
|
-
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, onMounted, openBlock, ref, toDisplayString, unref, withCtx } from "vue";
|
|
6
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, onMounted, openBlock, ref, toDisplayString, unref, withCtx } from "vue";
|
|
6
7
|
import { Space } from "ant-design-vue/es";
|
|
7
8
|
import { ProTable } from "@pubinfo/pro-components";
|
|
8
|
-
var _hoisted_1 = {
|
|
9
|
+
import './operate_history.css';var _hoisted_1 = {
|
|
9
10
|
"w-full": "",
|
|
10
11
|
"h-full": "",
|
|
11
12
|
"py-10px": "",
|
|
@@ -15,11 +16,11 @@ var _hoisted_1 = {
|
|
|
15
16
|
}, _hoisted_2 = {
|
|
16
17
|
key: 0,
|
|
17
18
|
class: "flex items-center"
|
|
18
|
-
}, _hoisted_3 =
|
|
19
|
+
}, _hoisted_3 = { class: "ml-4px" }, _hoisted_4 = ["onClick"], operate_history_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
19
20
|
name: "OperateHistory",
|
|
20
21
|
__name: "operate_history",
|
|
21
|
-
setup(
|
|
22
|
-
let { auth:
|
|
22
|
+
setup(e) {
|
|
23
|
+
let { auth: u } = useAuth(), d = ref(), f = ref(!1), p = ref(), m = [
|
|
23
24
|
{
|
|
24
25
|
valueType: "a-input",
|
|
25
26
|
hideInTable: !0,
|
|
@@ -128,15 +129,15 @@ var _hoisted_1 = {
|
|
|
128
129
|
width: 100,
|
|
129
130
|
fixed: "right",
|
|
130
131
|
hideInTable() {
|
|
131
|
-
return !
|
|
132
|
+
return !u("operate_history_view");
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
135
|
];
|
|
135
|
-
onMounted(
|
|
136
|
-
async function
|
|
137
|
-
let { current:
|
|
136
|
+
onMounted(g);
|
|
137
|
+
async function h(e) {
|
|
138
|
+
let { current: t, pageSize: r, moduleName: i, realName: a, loginName: o, orgName: s, operateTime: c } = e, l = {
|
|
138
139
|
pageSize: r,
|
|
139
|
-
currentPage:
|
|
140
|
+
currentPage: t,
|
|
140
141
|
doSearchTotal: !0
|
|
141
142
|
};
|
|
142
143
|
i && Object.assign(l, { moduleName: i }), a && Object.assign(l, { realName: a }), s && Object.assign(l, { orgName: s }), o && Object.assign(l, { loginName: o }), c && c.length === 2 && Object.assign(l, {
|
|
@@ -150,43 +151,40 @@ var _hoisted_1 = {
|
|
|
150
151
|
total: u.data?.total ?? 0
|
|
151
152
|
};
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
154
|
+
function g() {
|
|
155
|
+
d.value.reload();
|
|
155
156
|
}
|
|
156
|
-
function
|
|
157
|
-
|
|
157
|
+
function _(e) {
|
|
158
|
+
f.value = !0, p.value = e;
|
|
158
159
|
}
|
|
159
|
-
return (
|
|
160
|
-
let
|
|
160
|
+
return (e, n) => {
|
|
161
|
+
let i = PubinfoIcon, u = Space;
|
|
161
162
|
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
|
|
162
163
|
ref_key: "tableRef",
|
|
163
|
-
ref:
|
|
164
|
+
ref: d,
|
|
164
165
|
"row-key": "id",
|
|
165
|
-
request:
|
|
166
|
-
columns:
|
|
166
|
+
request: h,
|
|
167
|
+
columns: m,
|
|
167
168
|
"auto-height": "",
|
|
168
169
|
scroll: { x: 1e3 }
|
|
169
170
|
}, {
|
|
170
|
-
bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "success" ? (openBlock(), createElementBlock("div", _hoisted_2, [createElementVNode("i", {
|
|
171
|
-
"data-active": t.success,
|
|
172
|
-
class: "inline-block w-2 h-2 bg-[#aeaeae] mr-1 rounded-[50%] data-[active]:[background:#01d689]"
|
|
173
|
-
}, null, 8, _hoisted_3), createElementVNode("span", _hoisted_4, toDisplayString(t.success ? "正常" : "异常"), 1)])) : createCommentVNode("", !0), e.dataIndex === "action" ? (openBlock(), createBlock(u, { key: 1 }, {
|
|
171
|
+
bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "success" ? (openBlock(), createElementBlock("div", _hoisted_2, [createElementVNode("i", { class: normalizeClass(["status-mark", [{ active: t.success }]]) }, null, 2), createElementVNode("span", _hoisted_3, toDisplayString(t.success ? "正常" : "异常"), 1)])) : createCommentVNode("", !0), e.dataIndex === "action" ? (openBlock(), createBlock(u, { key: 1 }, {
|
|
174
172
|
default: withCtx(() => [createElementVNode("a", {
|
|
175
173
|
class: "flex items-center",
|
|
176
|
-
onClick: () =>
|
|
177
|
-
}, [createVNode(
|
|
174
|
+
onClick: () => _(t)
|
|
175
|
+
}, [createVNode(i, {
|
|
178
176
|
name: "view",
|
|
179
177
|
class: "text-20px"
|
|
180
|
-
}),
|
|
178
|
+
}), n[1] ||= createElementVNode("span", { class: "ml-4px" }, "查看", -1)], 8, _hoisted_4)]),
|
|
181
179
|
_: 2
|
|
182
180
|
}, 1024)) : createCommentVNode("", !0)]),
|
|
183
181
|
_: 1
|
|
184
182
|
}, 512), createVNode(operateHistoryDetail_default, {
|
|
185
|
-
visible: unref(
|
|
186
|
-
data: unref(
|
|
187
|
-
onClose:
|
|
183
|
+
visible: unref(f),
|
|
184
|
+
data: unref(p),
|
|
185
|
+
onClose: n[0] ||= (e) => f.value = !1
|
|
188
186
|
}, null, 8, ["visible", "data"])]);
|
|
189
187
|
};
|
|
190
188
|
}
|
|
191
|
-
});
|
|
189
|
+
}), [["__scopeId", "data-v-a30b4755"]]);
|
|
192
190
|
export { operate_history_default as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.status-mark[data-v-a30b4755]{--un-bg-opacity:1;background-color:rgb(174 174 174/var(--un-bg-opacity)) ;border-radius:50%;width:.5rem;height:.5rem;margin-right:.25rem;display:inline-block}.status-mark.active[data-v-a30b4755]{background:#01d689}
|
|
@@ -3,7 +3,7 @@ import { t as cloneDeep } from "./cloneDeep-CSOSavu3.js";
|
|
|
3
3
|
import { Lt as useToggle, S as postRbacOrgSearch, _ as getRbacOrgDeleteOrg, b as getRbacOrgSearchTreeById, h as _plugin_vue_export_helper_default, y as getRbacOrgOrgListByParentId } from "./index.js";
|
|
4
4
|
import { t as not_data_default } from "./not-data-Bml86wdH.js";
|
|
5
5
|
import "./useAppAndResource-B7FmNfKG.js";
|
|
6
|
-
import { r as ACTION, t as drawerOrganization_default } from "./drawerOrganization-
|
|
6
|
+
import { r as ACTION, t as drawerOrganization_default } from "./drawerOrganization-CPsQlz-f.js";
|
|
7
7
|
import "./RoleSelector-gkar_UGG.js";
|
|
8
8
|
import { t as drawerRole_default } from "./drawerRole-B7uCfHk-.js";
|
|
9
9
|
import { PubinfoIcon } from "pubinfo-pr";
|
|
@@ -14969,7 +14969,11 @@ var zh_CN_default = { vxe: {
|
|
|
14969
14969
|
}
|
|
14970
14970
|
} };
|
|
14971
14971
|
config({ i18n: (e, n) => import_xe_utils.default.toFormatString(import_xe_utils.default.get(zh_CN_default, e), n) });
|
|
14972
|
-
var _hoisted_1 = {
|
|
14972
|
+
var _hoisted_1 = {
|
|
14973
|
+
"w-full": "",
|
|
14974
|
+
"h-full": "",
|
|
14975
|
+
"p-10px": ""
|
|
14976
|
+
}, _hoisted_2 = { class: "org_page bg-[#fff] dark:bg-[#141414]" }, _hoisted_3 = { class: "search_panel" }, _hoisted_4 = { class: "left" }, _hoisted_5 = { class: "text-right" }, _hoisted_6 = { class: "right" }, _hoisted_7 = { class: "px-16px divider" }, _hoisted_8 = {
|
|
14973
14977
|
class: "body_panel",
|
|
14974
14978
|
style: { height: "calc(100% - 74px)" }
|
|
14975
14979
|
}, _hoisted_9 = { class: "h-48px flex items-center px-16px" }, _hoisted_10 = {
|
|
@@ -15308,5 +15312,5 @@ var _hoisted_1 = { class: "w-full h-full p-10px" }, _hoisted_2 = { class: "org_p
|
|
|
15308
15312
|
]);
|
|
15309
15313
|
};
|
|
15310
15314
|
}
|
|
15311
|
-
}), [["__scopeId", "data-v-
|
|
15315
|
+
}), [["__scopeId", "data-v-950b5712"]]);
|
|
15312
15316
|
export { organization_default as default };
|
package/dist/organization.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.org_page[data-v-
|
|
1
|
+
.org_page[data-v-950b5712]{box-sizing:border-box;--un-text-opacity:88%;width:100%;height:100%;color:rgb(0 0 0/var(--un-text-opacity)) ;--un-shadow:0 1px 2px 0 #00000008,0 1px 6px -1px #00000005,0 2px 4px 0 #00000005;box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);border-radius:.5rem;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;line-height:1.5714;list-style:none;position:relative}.search_panel[data-v-950b5712]{justify-content:space-between;align-items:center;padding:1rem 1rem 1rem 1.5rem;display:flex}.search_panel .left[data-v-950b5712],.search_panel .right[data-v-950b5712]{align-items:center;display:flex}[data-v-950b5712] .ant-divider-horizontal{margin:0}[data-v-950b5712] .vxe-table--body-wrapper{overflow-x:hidden}[data-v-950b5712] .vxe-tree--btn-wrapper{--un-border-opacity:1;border-width:1px;border-color:rgb(240 240 240/var(--un-border-opacity));border-style:solid;border-radius:.375rem;width:15px;height:15px;width:15px!important;height:15px!important}[data-v-950b5712] .vxe-tree--btn-wrapper:hover{border-color:#69b1ff!important}[data-v-950b5712] .vxe-tree--btn-wrapper:hover .vxe-tree--node-btn{color:#69b1ff!important}[data-v-950b5712] .vxe-header--column .vxe-resizable{background-color:var(--vxe-table-border-color);width:1px;height:1.6em;bottom:.875rem;right:0}[data-v-950b5712] [class*=vxe-icon-]{--un-scale-x:.8;--un-scale-y:.8;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));font-size:.75rem;line-height:1rem}
|