@pubinfo-pr/module-rbac 0.224.1 → 0.225.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.
Files changed (98) hide show
  1. package/dist/api/modules/assist/gonggaofuwu.d.ts +43 -0
  2. package/dist/api/modules/assist/index.d.ts +1 -0
  3. package/dist/api/modules/assist/qunzujiekou.d.ts +0 -28
  4. package/dist/api/modules/rbac/gangweijiekou.d.ts +0 -7
  5. package/dist/api/modules/rbac/jiaosejiekou.d.ts +0 -14
  6. package/dist/api/modules/rbac/yonghujiekou.d.ts +0 -42
  7. package/dist/api/modules/rbac/ziyuanjiekou.d.ts +0 -7
  8. package/dist/api/modules/rbac/zuzhijiekou.d.ts +0 -7
  9. package/dist/breadcrumb_setting-BbYhO74F.js +108 -0
  10. package/dist/{drawerOrganization-CPsQlz-f.js → drawerOrganization-CwtSFUj0.js} +24 -59
  11. package/dist/index.css +1 -1
  12. package/dist/index.js +17 -17
  13. package/dist/lottie-03f0a035.json +1 -0
  14. package/dist/lottie-0ee63e7f.json +1 -0
  15. package/dist/lottie-10eef4fe.json +1 -0
  16. package/dist/lottie-13f452f1.json +1 -0
  17. package/dist/lottie-14b7b290.json +1 -0
  18. package/dist/lottie-15b8cef1.json +1 -0
  19. package/dist/lottie-15f77960.json +1 -0
  20. package/dist/lottie-1ae9b726.json +1 -0
  21. package/dist/lottie-1b02359f.json +1 -0
  22. package/dist/lottie-1ef286cd.json +1 -0
  23. package/dist/lottie-23cfd18c.json +1 -0
  24. package/dist/lottie-265a0a5d.json +1 -0
  25. package/dist/lottie-28d57c49.json +1 -0
  26. package/dist/lottie-2b54ed10.json +1 -0
  27. package/dist/lottie-2bb6f642.json +1 -0
  28. package/dist/lottie-2cdc07bd.json +1 -0
  29. package/dist/lottie-31c58607.json +1 -0
  30. package/dist/lottie-32884f23.json +1 -0
  31. package/dist/lottie-32fca43a.json +1 -0
  32. package/dist/lottie-3a75445b.json +1 -0
  33. package/dist/lottie-3f27d67c.json +1 -0
  34. package/dist/lottie-4189453f.json +1 -0
  35. package/dist/lottie-4702b37c.json +1 -0
  36. package/dist/lottie-520a5c68.json +1 -0
  37. package/dist/lottie-56bea508.json +1 -0
  38. package/dist/lottie-57c732a3.json +1 -0
  39. package/dist/lottie-5be4a28f.json +1 -0
  40. package/dist/lottie-5e6d7cfa.json +1 -0
  41. package/dist/lottie-64e176c9.json +1 -0
  42. package/dist/lottie-6583dca6.json +1 -0
  43. package/dist/lottie-66c640c6.json +1 -0
  44. package/dist/lottie-68393156.json +1 -0
  45. package/dist/lottie-688465aa.json +1 -0
  46. package/dist/lottie-6bf334f4.json +1 -0
  47. package/dist/lottie-7b4f72ce.json +1 -0
  48. package/dist/lottie-837ec087.json +1 -0
  49. package/dist/lottie-838ac1ba.json +1 -0
  50. package/dist/lottie-8465c2cf.json +1 -0
  51. package/dist/lottie-9e9f04a4.json +1 -0
  52. package/dist/lottie-a13964cb.json +1 -0
  53. package/dist/lottie-ab93a057.json +1 -0
  54. package/dist/lottie-abe308fc.json +1 -0
  55. package/dist/lottie-b24f2cd3.json +1 -0
  56. package/dist/lottie-bf00eaed.json +1 -0
  57. package/dist/lottie-cb22efd7.json +1 -0
  58. package/dist/lottie-cb953f20.json +1 -0
  59. package/dist/lottie-cc209e34.json +1 -0
  60. package/dist/lottie-cfdffceb.json +1 -0
  61. package/dist/lottie-d33c0299.json +1 -0
  62. package/dist/lottie-d430c8ca.json +1 -0
  63. package/dist/lottie-d8cfa560.json +1 -0
  64. package/dist/lottie-da91beb6.json +1 -0
  65. package/dist/lottie-e2bdf85c.json +1 -0
  66. package/dist/lottie-e34ad826.json +1 -0
  67. package/dist/lottie-e80720aa.json +1 -0
  68. package/dist/lottie-e894bc92.json +1 -0
  69. package/dist/lottie-f28020f2.json +1 -0
  70. package/dist/lottie-f71ebbf4.json +1 -0
  71. package/dist/lottie-fb1f4917.json +1 -0
  72. package/dist/lottie-ff2e97c4.json +1 -0
  73. package/dist/menu_setting-CiLR0vkM.js +155 -0
  74. package/dist/{organization-BXGT-lb7.js → organization-Dv3FbKke.js} +1 -1
  75. package/dist/other_setting-eDXoBjJm.js +213 -0
  76. package/dist/page_animation_setting-D1L1pmXk.js +108 -0
  77. package/dist/tabbar_setting-CfE94AAt.js +139 -0
  78. package/dist/toolbar_setting-CwfUnZ1j.js +140 -0
  79. package/dist/watermark_setting-DGSDikAC.js +191 -0
  80. package/package.json +3 -3
  81. package/src/api/modules/assist/gonggaofuwu.ts +124 -0
  82. package/src/api/modules/assist/index.ts +1 -0
  83. package/src/api/modules/assist/qunzujiekou.ts +0 -72
  84. package/src/api/modules/assist/typings.d.ts +129 -17
  85. package/src/api/modules/rbac/gangweijiekou.ts +0 -18
  86. package/src/api/modules/rbac/jiaosejiekou.ts +0 -36
  87. package/src/api/modules/rbac/typings.d.ts +1 -133
  88. package/src/api/modules/rbac/yonghujiekou.ts +0 -122
  89. package/src/api/modules/rbac/ziyuanjiekou.ts +0 -21
  90. package/src/api/modules/rbac/zuzhijiekou.ts +0 -18
  91. package/src/views/organization/components/drawerOrganization.vue +0 -43
  92. package/dist/breadcrumb_setting-Dx2Li6xt.js +0 -108
  93. package/dist/menu_setting-ChueWHs4.js +0 -155
  94. package/dist/other_setting-BEV_UK0g.js +0 -213
  95. package/dist/page_animation_setting-Cp5OnFpd.js +0 -108
  96. package/dist/tabbar_setting-kbuTvrLB.js +0 -139
  97. package/dist/toolbar_setting-BG-k2UFc.js +0 -140
  98. package/dist/watermark_setting-Cl2EtPAa.js +0 -191
@@ -0,0 +1,191 @@
1
+ import { h as _plugin_vue_export_helper_default, l as postSysconfigAddOrEidtSysThemeStyleConfig } from "./index.js";
2
+ import { t as useSettingsStore } from "./stores-DPQF8JRt.js";
3
+ import { t as animation_item_default } from "./animation_item-DBOz2rcX.js";
4
+ import { PubinfoIcon, updateWatermark } from "pubinfo-pr";
5
+ import { createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, openBlock, reactive, ref, resolveComponent, unref, withCtx } from "vue";
6
+ import { PlusOutlined } from "@ant-design/icons-vue";
7
+ import { message } from "ant-design-vue";
8
+ import { Button, Divider, Input as Input$1, InputNumber, Select, Space as Space$1, Switch } from "ant-design-vue/es";
9
+ import './watermark_setting.css';var enableWatermark_default$1 = new URL("lottie-688465aa.json", import.meta.url).href, enableWatermark_default = new URL("lottie-cb22efd7.json", import.meta.url).href, _hoisted_1 = { class: "w-full h-full p-10px" }, _hoisted_2 = { class: "w-full h-full bg-white overflow-y-auto p-10px box-border dark:bg-[#141414]" }, _hoisted_3 = { class: "h-[38px] pl-[16px] flex flex-row items-center bar-header" }, _hoisted_4 = { class: "px-30px py-20px max-w-1300px flex flex-wrap" }, _hoisted_5 = { class: "h-full w-[75%] rounded-[8px] jb flex justify-center" }, _hoisted_6 = { class: "pt-0px" }, _hoisted_7 = { class: "flex items-center mb-20px w-560px" }, _hoisted_8 = { class: "flex items-center mb-20px w-560px" }, _hoisted_9 = { class: "flex items-center mb-20px w-560px" }, _hoisted_10 = { class: "flex-1" }, _hoisted_11 = { class: "flex items-center mb-20px w-560px" }, _hoisted_12 = { class: "flex items-center mb-20px w-560px" }, _hoisted_13 = { class: "flex items-center mb-20px w-560px" }, _hoisted_14 = { class: "flex items-center mb-20px w-560px" }, _hoisted_15 = { class: "flex items-center flex-row-reverse w-560px" }, watermark_setting_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
10
+ name: "WatermarkSetting",
11
+ __name: "index",
12
+ setup(e) {
13
+ let s = defineComponent({
14
+ props: { vnodes: {
15
+ type: Object,
16
+ required: !0
17
+ } },
18
+ setup(e) {
19
+ return () => e.vnodes;
20
+ }
21
+ }), l = useSettingsStore(), u = ref();
22
+ function d() {
23
+ u.value && u.value?.play();
24
+ }
25
+ function f() {
26
+ u.value && u.value?.stop();
27
+ }
28
+ let p = ref({
29
+ text: l.globalSettings.watermark.text,
30
+ x: l.globalSettings.watermark.x,
31
+ y: l.globalSettings.watermark.y,
32
+ x_space: l.globalSettings.watermark.x_space,
33
+ y_space: l.globalSettings.watermark.y_space,
34
+ alpha: l.globalSettings.watermark.alpha,
35
+ width: l.globalSettings.watermark.width,
36
+ enable: l.globalSettings.watermark.enable
37
+ }), m = reactive([
38
+ {
39
+ label: "组织名称",
40
+ value: "O"
41
+ },
42
+ {
43
+ label: "用户名称",
44
+ value: "U"
45
+ },
46
+ {
47
+ label: "组织名称 用户名称",
48
+ value: "OU"
49
+ }
50
+ ]), h = ref("");
51
+ function g(e) {
52
+ e.preventDefault(), h.value &&= (m.push({
53
+ label: h.value,
54
+ value: h.value
55
+ }), "");
56
+ }
57
+ function _(e) {
58
+ postSysconfigAddOrEidtSysThemeStyleConfig({ content: e }).then((e) => {
59
+ e.success && (message.success("设置成功"), updateWatermark());
60
+ });
61
+ }
62
+ function v() {
63
+ p.value = {
64
+ text: l.globalSettings.watermark.text,
65
+ x: l.globalSettings.watermark.x,
66
+ y: l.globalSettings.watermark.y,
67
+ x_space: l.globalSettings.watermark.x_space,
68
+ y_space: l.globalSettings.watermark.y_space,
69
+ alpha: l.globalSettings.watermark.alpha,
70
+ width: l.globalSettings.watermark.width,
71
+ enable: l.globalSettings.watermark.enable
72
+ };
73
+ }
74
+ function y() {
75
+ l.globalSettings.watermark.text = p.value.text, l.globalSettings.watermark.width = p.value.width, l.globalSettings.watermark.x = p.value.x, l.globalSettings.watermark.y = p.value.y, l.globalSettings.watermark.x_space = p.value.x_space, l.globalSettings.watermark.y_space = p.value.y_space, l.globalSettings.watermark.alpha = p.value.alpha, l.globalSettings.watermark.enable = p.value.enable, _(JSON.stringify({ watermark: {
76
+ text: p.value.text,
77
+ width: p.value.width,
78
+ x: p.value.x,
79
+ y: p.value.y,
80
+ x_space: p.value.x_space,
81
+ y_space: p.value.y_space,
82
+ alpha: p.value.alpha,
83
+ enable: p.value.enable
84
+ } }));
85
+ }
86
+ return (e, t) => {
87
+ let n = PubinfoIcon, r = Divider, i = Input$1, a = PlusOutlined, o = Button, c = Space$1, l = Select, _ = InputNumber, b = Switch;
88
+ return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createVNode(n, {
89
+ name: "icon_watermark",
90
+ class: "text-base mr-[6px]",
91
+ size: 22
92
+ }), t[11] ||= createElementVNode("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "页面水印", -1)]), createElementVNode("div", _hoisted_4, [createElementVNode("div", {
93
+ class: "w-400px h-270px mr-60px mb-20px item_ani dark:bg-[#3a3e43]! dark:border-transparent!",
94
+ onMouseenter: t[0] ||= (e) => d(),
95
+ onMouseleave: t[1] ||= (e) => f()
96
+ }, [createElementVNode("div", _hoisted_5, [createVNode(animation_item_default, {
97
+ ref_key: "animateItem",
98
+ ref: u,
99
+ "light-animation-data": unref(enableWatermark_default),
100
+ "dark-animation-data": unref(enableWatermark_default$1)
101
+ }, null, 8, ["light-animation-data", "dark-animation-data"])])], 32), createElementVNode("div", _hoisted_6, [
102
+ createElementVNode("div", _hoisted_7, [t[13] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印文案", -1), createVNode(l, {
103
+ value: unref(p).text,
104
+ "onUpdate:value": t[3] ||= (e) => unref(p).text = e,
105
+ class: "flex-1",
106
+ options: unref(m).map((e) => ({ ...e }))
107
+ }, {
108
+ dropdownRender: withCtx(({ menuNode: e }) => [
109
+ createVNode(unref(s), { vnodes: e }, null, 8, ["vnodes"]),
110
+ createVNode(r, { style: { margin: "4px 0" } }),
111
+ createVNode(c, { style: { padding: "4px 8px" } }, {
112
+ default: withCtx(() => [createVNode(i, {
113
+ value: unref(h),
114
+ "onUpdate:value": t[2] ||= (e) => isRef(h) ? h.value = e : null,
115
+ placeholder: "输入你需要的内容"
116
+ }, null, 8, ["value"]), createVNode(o, {
117
+ type: "text",
118
+ onClick: g
119
+ }, {
120
+ icon: withCtx(() => [createVNode(a)]),
121
+ default: withCtx(() => [t[12] ||= createTextVNode(" 增加选项 ", -1)]),
122
+ _: 1
123
+ })]),
124
+ _: 1
125
+ })
126
+ ]),
127
+ _: 1
128
+ }, 8, ["value", "options"])]),
129
+ createElementVNode("div", _hoisted_8, [t[14] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印宽度", -1), createVNode(_, {
130
+ value: unref(p).width,
131
+ "onUpdate:value": t[4] ||= (e) => unref(p).width = e,
132
+ class: "flex-1",
133
+ min: 1
134
+ }, null, 8, ["value"])]),
135
+ createElementVNode("div", _hoisted_9, [t[15] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印起始位置", -1), createElementVNode("div", _hoisted_10, [createVNode(c, null, {
136
+ default: withCtx(() => [createVNode(_, {
137
+ value: unref(p).x,
138
+ "onUpdate:value": t[5] ||= (e) => unref(p).x = e,
139
+ "addon-before": "x轴坐标",
140
+ min: 1
141
+ }, null, 8, ["value"]), createVNode(_, {
142
+ value: unref(p).y,
143
+ "onUpdate:value": t[6] ||= (e) => unref(p).y = e,
144
+ "addon-before": "y轴坐标",
145
+ min: 1
146
+ }, null, 8, ["value"])]),
147
+ _: 1
148
+ })])]),
149
+ createElementVNode("div", _hoisted_11, [t[16] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印x轴间距", -1), createVNode(_, {
150
+ value: unref(p).x_space,
151
+ "onUpdate:value": t[7] ||= (e) => unref(p).x_space = e,
152
+ class: "flex-1",
153
+ min: 1
154
+ }, null, 8, ["value"])]),
155
+ createElementVNode("div", _hoisted_12, [t[17] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印y轴间距", -1), createVNode(_, {
156
+ value: unref(p).y_space,
157
+ "onUpdate:value": t[8] ||= (e) => unref(p).y_space = e,
158
+ class: "flex-1",
159
+ min: 1
160
+ }, null, 8, ["value"])]),
161
+ createElementVNode("div", _hoisted_13, [t[18] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印透明度", -1), createVNode(_, {
162
+ value: unref(p).alpha,
163
+ "onUpdate:value": t[9] ||= (e) => unref(p).alpha = e,
164
+ class: "flex-1",
165
+ min: 0,
166
+ step: .01
167
+ }, null, 8, ["value"])]),
168
+ createElementVNode("div", _hoisted_14, [t[19] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印开启", -1), createVNode(b, {
169
+ checked: unref(p).enable,
170
+ "onUpdate:checked": t[10] ||= (e) => unref(p).enable = e,
171
+ "checked-children": "开启",
172
+ "un-checked-children": "关闭"
173
+ }, null, 8, ["checked"])]),
174
+ createElementVNode("div", _hoisted_15, [createVNode(o, {
175
+ style: { "margin-left": "10px" },
176
+ onClick: v
177
+ }, {
178
+ default: withCtx(() => [...t[20] ||= [createTextVNode(" 重置 ", -1)]]),
179
+ _: 1
180
+ }), createVNode(o, {
181
+ type: "primary",
182
+ onClick: y
183
+ }, {
184
+ default: withCtx(() => [...t[21] ||= [createTextVNode(" 确定 ", -1)]]),
185
+ _: 1
186
+ })])
187
+ ])])])]);
188
+ };
189
+ }
190
+ }), [["__scopeId", "data-v-0ecfa3a5"]]);
191
+ export { watermark_setting_default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo-pr/module-rbac",
3
3
  "type": "module",
4
- "version": "0.224.1",
4
+ "version": "0.225.1",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "alova": "^3.5.0",
26
26
  "ant-design-vue": "^4.2.6",
27
27
  "pinia": "^3.0.4",
28
- "pubinfo-pr": "0.224.1"
28
+ "pubinfo-pr": "0.225.1"
29
29
  },
30
30
  "dependencies": {
31
31
  "@destyler/color-picker": "^0.2.6",
@@ -50,7 +50,7 @@
50
50
  "alova": "^3.5.0",
51
51
  "ant-design-vue": "^4.2.6",
52
52
  "pinia": "^3.0.4",
53
- "pubinfo-pr": "0.224.1",
53
+ "pubinfo-pr": "0.225.1",
54
54
  "type-fest": "^5.4.4"
55
55
  },
56
56
  "scripts": {
@@ -0,0 +1,124 @@
1
+ import { basic as request } from '@/api/request';
2
+
3
+ /**
4
+ * @description 删除公告服务
5
+ * @url /notice/deleteNotice
6
+ * @method GET
7
+ * @author @pubinfo/openapi
8
+ */
9
+ export function getNoticeDeleteNotice<
10
+ R = API.ResponseData,
11
+ T = API.ResponseData,
12
+ >(
13
+ params: API.getNoticeDeleteNoticeParams,
14
+ options?: Parameters<typeof request.Get<R, T>>[1],
15
+ ) {
16
+ return request.Get<R, T>('/notice/deleteNotice', {
17
+ params: {
18
+ ...params,
19
+ },
20
+ ...(options || {}),
21
+ });
22
+ }
23
+
24
+ /**
25
+ * @description 删除公告推送基本信息
26
+ * @url /notice/deleteNoticeSend
27
+ * @method GET
28
+ * @author @pubinfo/openapi
29
+ */
30
+ export function getNoticeDeleteNoticeSend<
31
+ R = API.ResponseData,
32
+ T = API.ResponseData,
33
+ >(
34
+ params: API.getNoticeDeleteNoticeSendParams,
35
+ options?: Parameters<typeof request.Get<R, T>>[1],
36
+ ) {
37
+ return request.Get<R, T>('/notice/deleteNoticeSend', {
38
+ params: {
39
+ ...params,
40
+ },
41
+ ...(options || {}),
42
+ });
43
+ }
44
+
45
+ /**
46
+ * @description 公告服务详情
47
+ * @url /notice/detailNotice
48
+ * @method GET
49
+ * @author @pubinfo/openapi
50
+ */
51
+ export function getNoticeDetailNotice<
52
+ R = API.ResponseData,
53
+ T = API.ResponseData,
54
+ >(
55
+ params: API.getNoticeDetailNoticeParams,
56
+ options?: Parameters<typeof request.Get<R, T>>[1],
57
+ ) {
58
+ return request.Get<R, T>('/notice/detailNotice', {
59
+ params: {
60
+ ...params,
61
+ },
62
+ ...(options || {}),
63
+ });
64
+ }
65
+
66
+ /**
67
+ * @description 公告分页查询
68
+ * @url /notice/pageNotice
69
+ * @method POST
70
+ * @author @pubinfo/openapi
71
+ */
72
+ export function postNoticePageNotice<
73
+ R = API.ResponseDataPageDataPubNotice,
74
+ T = API.ResponseDataPageDataPubNotice,
75
+ >(
76
+ body: API.PubNoticePageDto,
77
+ options?: Parameters<typeof request.Post<R, T>>[2],
78
+ ) {
79
+ return request.Post<R, T>('/notice/pageNotice', body, {
80
+ headers: {
81
+ 'Content-Type': 'application/json',
82
+ },
83
+ ...(options || {}),
84
+ });
85
+ }
86
+
87
+ /**
88
+ * @description 新增或编辑公告服务
89
+ * @url /notice/saveOrUpdateNotice
90
+ * @method POST
91
+ * @author @pubinfo/openapi
92
+ */
93
+ export function postNoticeSaveOrUpdateNotice<
94
+ R = API.ResponseData,
95
+ T = API.ResponseData,
96
+ >(body: API.PubNoticeDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
97
+ return request.Post<R, T>('/notice/saveOrUpdateNotice', body, {
98
+ headers: {
99
+ 'Content-Type': 'application/json',
100
+ },
101
+ ...(options || {}),
102
+ });
103
+ }
104
+
105
+ /**
106
+ * @description 新增或编辑公告推送基本信息
107
+ * @url /notice/saveOrUpdateNoticeSend
108
+ * @method POST
109
+ * @author @pubinfo/openapi
110
+ */
111
+ export function postNoticeSaveOrUpdateNoticeSend<
112
+ R = API.ResponseData,
113
+ T = API.ResponseData,
114
+ >(
115
+ body: API.PubNoticeSendDto,
116
+ options?: Parameters<typeof request.Post<R, T>>[2],
117
+ ) {
118
+ return request.Post<R, T>('/notice/saveOrUpdateNoticeSend', body, {
119
+ headers: {
120
+ 'Content-Type': 'application/json',
121
+ },
122
+ ...(options || {}),
123
+ });
124
+ }
@@ -1,2 +1,3 @@
1
+ export * from './gonggaofuwu';
1
2
  export * from './qunzujiekou';
2
3
  export * from './quyujiekou';
@@ -88,42 +88,6 @@ export function postGroupFindPage<
88
88
  });
89
89
  }
90
90
 
91
- /**
92
- * @description 获得组织组列表
93
- * @url /group/getOrgGroupList
94
- * @method POST
95
- * @author @pubinfo/openapi
96
- */
97
- export function postGroupGetOrgGroupList<
98
- R = API.ResponseDataListPubGroupBo,
99
- T = API.ResponseDataListPubGroupBo,
100
- >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
101
- return request.Post<R, T>('/group/getOrgGroupList', body, {
102
- headers: {
103
- 'Content-Type': 'application/json',
104
- },
105
- ...(options || {}),
106
- });
107
- }
108
-
109
- /**
110
- * @description 获得用户组列表
111
- * @url /group/getUserGroupList
112
- * @method POST
113
- * @author @pubinfo/openapi
114
- */
115
- export function postGroupGetUserGroupList<
116
- R = API.ResponseDataListPubGroupBo,
117
- T = API.ResponseDataListPubGroupBo,
118
- >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
119
- return request.Post<R, T>('/group/getUserGroupList', body, {
120
- headers: {
121
- 'Content-Type': 'application/json',
122
- },
123
- ...(options || {}),
124
- });
125
- }
126
-
127
91
  /**
128
92
  * @description 群组信息不分页查询 list
129
93
  * @url /group/list
@@ -162,39 +126,3 @@ export function postGroupSaveOrUpdate<
162
126
  ...(options || {}),
163
127
  });
164
128
  }
165
-
166
- /**
167
- * @description 校验组织群组们是否有效
168
- * @url /group/validOrgGroups
169
- * @method POST
170
- * @author @pubinfo/openapi
171
- */
172
- export function postGroupValidOrgGroups<
173
- R = API.ResponseDataVoid,
174
- T = API.ResponseDataVoid,
175
- >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
176
- return request.Post<R, T>('/group/validOrgGroups', body, {
177
- headers: {
178
- 'Content-Type': 'application/json',
179
- },
180
- ...(options || {}),
181
- });
182
- }
183
-
184
- /**
185
- * @description 校验用户群组们是否有效
186
- * @url /group/validUserGroups
187
- * @method POST
188
- * @author @pubinfo/openapi
189
- */
190
- export function postGroupValidUserGroups<
191
- R = API.ResponseDataVoid,
192
- T = API.ResponseDataVoid,
193
- >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
194
- return request.Post<R, T>('/group/validUserGroups', body, {
195
- headers: {
196
- 'Content-Type': 'application/json',
197
- },
198
- ...(options || {}),
199
- });
200
- }
@@ -11,6 +11,21 @@ declare namespace API {
11
11
  showIsCollect?: boolean;
12
12
  };
13
13
 
14
+ type getNoticeDeleteNoticeParams = {
15
+ /** 公告服务id */
16
+ id: string;
17
+ };
18
+
19
+ type getNoticeDeleteNoticeSendParams = {
20
+ /** 公告服务推送id */
21
+ id: string;
22
+ };
23
+
24
+ type getNoticeDetailNoticeParams = {
25
+ /** 公告服务id */
26
+ id: string;
27
+ };
28
+
14
29
  type getRegionDeleteRegionByCodeParams = {
15
30
  code: string;
16
31
  };
@@ -32,6 +47,14 @@ declare namespace API {
32
47
  total?: number;
33
48
  };
34
49
 
50
+ type PageDataPubNotice = {
51
+ currentPage?: number;
52
+ pageSize?: number;
53
+ doSearchTotal?: boolean;
54
+ records?: PubNotice[];
55
+ total?: number;
56
+ };
57
+
35
58
  type postGroupDeleteByIdParams = {
36
59
  id: string;
37
60
  };
@@ -94,9 +117,6 @@ declare namespace API {
94
117
  createUserName?: string;
95
118
  /** 群组成员信息 */
96
119
  pubGroupMemberList?: PubGroupMemberDto[];
97
- orgIdSet?: string[];
98
- userIdSet?: string[];
99
- userIdOrgIdSet?: string[];
100
120
  };
101
121
 
102
122
  type pubGroupDto = {
@@ -135,6 +155,106 @@ declare namespace API {
135
155
  fullOrgName?: string;
136
156
  };
137
157
 
158
+ type PubNotice = {
159
+ /** id */
160
+ id?: string;
161
+ /** 标题 */
162
+ title?: string;
163
+ /** 公告类型, 1-通知 2-公告 3-升级 */
164
+ type?: string;
165
+ /** 内容 */
166
+ content?: string;
167
+ /** 置顶标识, 0-未置顶,1-置顶 */
168
+ top?: boolean;
169
+ /** 附件地址,多个逗号隔开 */
170
+ url?: string;
171
+ /** 阅读量 */
172
+ reviewCount?: number;
173
+ /** 状态,0-草稿,1-发布,2-下线 */
174
+ status?: string;
175
+ deleted?: boolean;
176
+ /** 创建人id */
177
+ createdBy?: string;
178
+ /** 创建时间 */
179
+ createTime?: string;
180
+ /** 更新人id */
181
+ updatedBy?: string;
182
+ /** 更新时间 */
183
+ updateTime?: string;
184
+ };
185
+
186
+ type PubNoticeDto = {
187
+ /** id */
188
+ id?: string;
189
+ /** 标题 */
190
+ title?: string;
191
+ /** 公告类型, 1-通知 2-公告 3-升级 */
192
+ type?: string;
193
+ /** 内容 */
194
+ content?: string;
195
+ /** 置顶标识, 0-未置顶,1-置顶 */
196
+ top?: boolean;
197
+ /** 附件地址,多个逗号隔开 */
198
+ url?: string;
199
+ /** 阅读量 */
200
+ reviewCount?: number;
201
+ /** 状态,0-草稿,1-发布,2-下线 */
202
+ status?: string;
203
+ /** 创建人id */
204
+ createdBy?: string;
205
+ /** 创建时间 */
206
+ createTime?: string;
207
+ /** 更新人id */
208
+ updatedBy?: string;
209
+ /** 更新时间 */
210
+ updateTime?: string;
211
+ };
212
+
213
+ type PubNoticePageDto = {
214
+ currentPage?: number;
215
+ pageSize?: number;
216
+ doSearchTotal?: boolean;
217
+ /** id */
218
+ id?: string;
219
+ /** 标题 */
220
+ title?: string;
221
+ /** 公告类型, 1-通知 2-公告 3-升级 */
222
+ type?: string;
223
+ /** 内容 */
224
+ content?: string;
225
+ /** 状态,0-草稿,1-发布,2-下线 */
226
+ status?: string;
227
+ };
228
+
229
+ type PubNoticeSendDto = {
230
+ /** id */
231
+ id?: string;
232
+ /** 公告id */
233
+ noticeId?: number;
234
+ /** 接收对象类型 1-组织,2-个人 */
235
+ objectType?: string;
236
+ /** 接收组织,逗号分隔 */
237
+ orgIds?: string;
238
+ /** 接收人-逗号分隔 */
239
+ userIds?: string;
240
+ /** 接收方式(站内、钉钉、email等) */
241
+ channel?: string;
242
+ /** 发送时间 */
243
+ sendTime?: number;
244
+ /** 发送状态(0:等待发送,1:发送成功,2:发送失败) */
245
+ sendState?: string;
246
+ /** 备注 */
247
+ remark?: string;
248
+ /** 创建人id */
249
+ createdBy?: string;
250
+ /** 创建时间 */
251
+ createTime?: string;
252
+ /** 更新人id */
253
+ updatedBy?: string;
254
+ /** 更新时间 */
255
+ updateTime?: string;
256
+ };
257
+
138
258
  type PubRegion = {
139
259
  /** id */
140
260
  id?: string;
@@ -206,14 +326,6 @@ declare namespace API {
206
326
  success?: boolean;
207
327
  };
208
328
 
209
- type ResponseDataListPubGroupBo = {
210
- code?: number;
211
- msg?: string;
212
- hint?: string;
213
- data?: PubGroupBo[];
214
- success?: boolean;
215
- };
216
-
217
329
  type ResponseDataListPubRegion = {
218
330
  code?: number;
219
331
  msg?: string;
@@ -230,27 +342,27 @@ declare namespace API {
230
342
  success?: boolean;
231
343
  };
232
344
 
233
- type ResponseDataPubGroupBo = {
345
+ type ResponseDataPageDataPubNotice = {
234
346
  code?: number;
235
347
  msg?: string;
236
348
  hint?: string;
237
- data?: PubGroupBo;
349
+ data?: PageDataPubNotice;
238
350
  success?: boolean;
239
351
  };
240
352
 
241
- type ResponseDataPubRegion = {
353
+ type ResponseDataPubGroupBo = {
242
354
  code?: number;
243
355
  msg?: string;
244
356
  hint?: string;
245
- data?: PubRegion;
357
+ data?: PubGroupBo;
246
358
  success?: boolean;
247
359
  };
248
360
 
249
- type ResponseDataVoid = {
361
+ type ResponseDataPubRegion = {
250
362
  code?: number;
251
363
  msg?: string;
252
364
  hint?: string;
253
- data?: Record<string, any>;
365
+ data?: PubRegion;
254
366
  success?: boolean;
255
367
  };
256
368
  }
@@ -130,21 +130,3 @@ export function postRbacPostSave<
130
130
  ...(options || {}),
131
131
  });
132
132
  }
133
-
134
- /**
135
- * @description 校验岗位们是否有效
136
- * @url /rbac/post/validPostList
137
- * @method POST
138
- * @author @pubinfo/openapi
139
- */
140
- export function postRbacPostValidPostList<
141
- R = API.ResponseDataVoid,
142
- T = API.ResponseDataVoid,
143
- >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
144
- return request.Post<R, T>('/rbac/post/validPostList', body, {
145
- headers: {
146
- 'Content-Type': 'application/json',
147
- },
148
- ...(options || {}),
149
- });
150
- }
@@ -18,24 +18,6 @@ export function postRbacRoleAddRole<
18
18
  });
19
19
  }
20
20
 
21
- /**
22
- * @description 获得拥有多个角色的用户编号集合
23
- * @url /rbac/role/getUserRoleIdListByRoleIds
24
- * @method POST
25
- * @author @pubinfo/openapi
26
- */
27
- export function postRbacRoleGetUserRoleIdListByRoleIds<
28
- R = API.ResponseDataPubUserRoleBo,
29
- T = API.ResponseDataPubUserRoleBo,
30
- >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
31
- return request.Post<R, T>('/rbac/role/getUserRoleIdListByRoleIds', body, {
32
- headers: {
33
- 'Content-Type': 'application/json',
34
- },
35
- ...(options || {}),
36
- });
37
- }
38
-
39
21
  /**
40
22
  * @description 根据id查询
41
23
  * @url /rbac/role/info
@@ -155,21 +137,3 @@ export function postRbacRoleRoleUserPage<
155
137
  ...(options || {}),
156
138
  });
157
139
  }
158
-
159
- /**
160
- * @description 校验角色们是否有效
161
- * @url /rbac/role/validRoleList
162
- * @method POST
163
- * @author @pubinfo/openapi
164
- */
165
- export function postRbacRoleValidRoleList<
166
- R = API.ResponseDataVoid,
167
- T = API.ResponseDataVoid,
168
- >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
169
- return request.Post<R, T>('/rbac/role/validRoleList', body, {
170
- headers: {
171
- 'Content-Type': 'application/json',
172
- },
173
- ...(options || {}),
174
- });
175
- }