diff --git a/src/api/set/messageindex.ts b/src/api/set/messageindex.ts
new file mode 100644
index 0000000..5c7250c
--- /dev/null
+++ b/src/api/set/messageindex.ts
@@ -0,0 +1,25 @@
+import { LeaveListVO, LeaveQuery } from '@/api/set/messagetype';
+
+import { AxiosPromise } from 'axios';
+import request from '@/utils/request';
+
+/**
+ * 查询流程分类列表
+ * @param query
+ * @returns {*}
+ */
+
+export const listlist = (query?: LeaveQuery): AxiosPromise => {
+ return request({
+ url: '/system/message/list',
+ method: 'post',
+ data: query
+ });
+};
+export const listAdd = (query?: LeaveListVO): AxiosPromise => {
+ return request({
+ url: '/system/message/send',
+ method: 'post',
+ data: query
+ });
+};
diff --git a/src/api/set/messagetype.ts b/src/api/set/messagetype.ts
new file mode 100644
index 0000000..f48fd63
--- /dev/null
+++ b/src/api/set/messagetype.ts
@@ -0,0 +1,38 @@
+export interface CategoryTreeVO {
+ id: number | string;
+ label: string;
+ parentId: number | string;
+ weight: number;
+ children: CategoryTreeVO[];
+}
+export interface LeaveQuery {
+ /**
+ * 当前页
+ */
+ current?: number /**
+ * 每页页数
+ */;
+ size?: number;
+ startLeaveDays: string;
+ endLeaveDays: string;
+}
+export interface LeaveForm {}
+
+export interface LeaveVO {
+ content: string;
+ createTime: string;
+ id: string;
+ msgType: string;
+ scheduledTime: string;
+ senderId: number;
+ senderName: string;
+ subType: string;
+ title: string;
+}
+
+export interface LeaveListVO {
+ content: string;
+ title: string;
+ msgType: string;
+ sendScope: number | string;
+}
diff --git a/src/router/index.ts b/src/router/index.ts
index 649e930..5df3865 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -245,6 +245,20 @@ export const dynamicRoutes: RouteRecordRaw[] = [
// meta: { title: '视频详情', icon: 'dashboard', affix: true }
// }
]
+ },
+ {
+ path: '/notice',
+ component: Layout,
+ hidden: true,
+ permissions: ['system:user:edit'],
+ children: [
+ {
+ path: 'message',
+ component: () => import('@/views/set/message.vue'),
+ name: 'message',
+ meta: { title: '消息列表', icon: 'dashboard', affix: true }
+ }
+ ]
}
];
diff --git a/src/views/set/message.vue b/src/views/set/message.vue
new file mode 100644
index 0000000..f373962
--- /dev/null
+++ b/src/views/set/message.vue
@@ -0,0 +1,153 @@
+
+
+
+
+
+
+ 搜索
+
+
+
+ 发送信息
+
+
+
+
+
+
+
+
+
+
+ {{ row.msgType == 1 ? '手动' : '自动' }}
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+ {{ '指定角色' }}
+ {{ '指定具体人' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/vite.config.ts b/vite.config.ts
index a0da15b..282091e 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -1,6 +1,7 @@
import { defineConfig, loadEnv } from 'vite';
-import createPlugins from './vite/plugins';
+
import autoprefixer from 'autoprefixer'; // css自动添加兼容性前缀
+import createPlugins from './vite/plugins';
import path from 'path';
export default defineConfig(({ mode, command }) => {
@@ -25,8 +26,9 @@ export default defineConfig(({ mode, command }) => {
proxy: {
[env.VITE_APP_BASE_API]: {
// target: 'http://192.168.1.13:8080',
- // target: 'http://192.168.1.250:8080',
- target: 'http://111.62.22.190:8080', // 测试环境
+ target: 'http://192.168.1.32:8080', //佳豪
+ // target: 'http://192.168.1.13:8080', //祥哥
+ // target: 'http://111.62.22.190:8080', // 测试环境
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), ''),