+
@@ -56,6 +57,7 @@
import { useRouter } from 'vue-router';
import { HOME_PAGE_NAME } from '/@/constants/system/home-const';
import { LAYOUT_ELEMENT_IDS } from '/@/layout/layout-const.js';
+ import MenuLocationBreadcrumb from './components/menu-location-breadcrumb/index.vue';
const windowHeight = ref(window.innerHeight);
//主题颜色
@@ -76,6 +78,10 @@
const footerFlag = computed(() => useAppConfigStore().$state.footerFlag);
// 是否显示水印
const watermarkFlag = computed(() => useAppConfigStore().$state.watermarkFlag);
+ // 标签页位置
+ const pageTagLocation = computed(() => useAppConfigStore().$state.pageTagLocation);
+ // 面包屑
+ const breadCrumbFlag = computed(() => useAppConfigStore().$state.breadCrumbFlag);
// 页面宽度
const pageWidth = computed(() => useAppConfigStore().$state.pageWidth);
// 多余高度
@@ -85,9 +91,16 @@
}
let due = '45px';
- if (useAppConfigStore().$state.pageTagFlag) {
+ if (useAppConfigStore().$state.pageTagFlag || useAppConfigStore().$state.breadCrumbFlag) {
due = '85px';
}
+ if (
+ useAppConfigStore().$state.pageTagFlag &&
+ useAppConfigStore().$state.pageTagLocation === 'center' &&
+ useAppConfigStore().$state.breadCrumbFlag
+ ) {
+ due = '125px';
+ }
return due;
});
diff --git a/smart-admin-web-typescript/src/lib/axios.ts b/smart-admin-web-typescript/src/lib/axios.ts
index 2ee2b2d1..84da1c40 100644
--- a/smart-admin-web-typescript/src/lib/axios.ts
+++ b/smart-admin-web-typescript/src/lib/axios.ts
@@ -17,7 +17,7 @@ import _ from 'lodash';
import LocalStorageKeyConst from '/@/constants/local-storage-key-const.js';
// token的消息头
-const TOKEN_HEADER = 'x-access-token';
+const TOKEN_HEADER = 'Authorization';
// 创建axios对象
const smartAxios = axios.create({
@@ -37,7 +37,7 @@ smartAxios.interceptors.request.use(
// 在发送请求之前消息头加入token token
const token = localRead(LocalStorageKeyConst.USER_TOKEN);
if (token) {
- config.headers[TOKEN_HEADER] = token;
+ config.headers[TOKEN_HEADER] = 'Bearer ' + token;
} else {
delete config.headers[TOKEN_HEADER];
}
diff --git a/smart-admin-web-typescript/src/main.ts b/smart-admin-web-typescript/src/main.ts
index e9eeeb20..8b140479 100644
--- a/smart-admin-web-typescript/src/main.ts
+++ b/smart-admin-web-typescript/src/main.ts
@@ -30,6 +30,9 @@ import 'vue3-tabs-chrome/dist/vue3-tabs-chrome.css';
import '/@/theme/index.less';
import { localRead } from '/@/utils/local-util.js';
import LocalStorageKeyConst from '/@/constants/local-storage-key-const.js';
+import { Table } from 'ant-design-vue';
+import { useAppConfigStore } from '/@/store/modules/system/app-config';
+import '/@/utils/ployfill';
/*
* -------------------- ※ 着重 解释说明下main.js的初始化逻辑 begin ※ --------------------
@@ -64,7 +67,7 @@ async function getLoginInfo() {
}
}
-function initVue() {
+async function initVue() {
let vueApp = createApp(App);
let app = vueApp.use(router).use(store).use(i18n).use(Antd).use(smartEnumPlugin, constantsInfo).use(privilegePlugin).use(JsonViewer);
//注入权限
@@ -83,11 +86,17 @@ function initVue() {
//挂载
app.mount('#app');
}
-
+function setTableYHeight() {
+ Table.props.scroll.default = {
+ y: useAppConfigStore().tableYHeight,
+ };
+}
//不需要获取用户信息、用户菜单、用户菜单动态路由,直接初始化vue即可
let token = localRead(LocalStorageKeyConst.USER_TOKEN);
if (!token) {
- initVue();
+ await initVue();
+ setTableYHeight();
} else {
- getLoginInfo();
+ await getLoginInfo();
+ setTableYHeight();
}
diff --git a/smart-admin-web-typescript/src/plugins/privilege-plugin.ts b/smart-admin-web-typescript/src/plugins/privilege-plugin.ts
index 0b99f6ca..27d09a2f 100644
--- a/smart-admin-web-typescript/src/plugins/privilege-plugin.ts
+++ b/smart-admin-web-typescript/src/plugins/privilege-plugin.ts
@@ -9,6 +9,7 @@
*/
import { useUserStore } from '/@/store/modules/system/user';
import { App } from 'vue';
+import _ from 'lodash';
const privilege = (value: string) => {
// 超级管理员
@@ -20,7 +21,7 @@ const privilege = (value: string) => {
if (!userPointsList) {
return false;
}
- return userPointsList && userPointsList.includes(value);
+ return _.some(userPointsList, ['apiPerms', value]);
};
export default {
diff --git a/smart-admin-web-typescript/src/store/modules/system/dict.ts b/smart-admin-web-typescript/src/store/modules/system/dict.ts
new file mode 100644
index 00000000..2e41c044
--- /dev/null
+++ b/smart-admin-web-typescript/src/store/modules/system/dict.ts
@@ -0,0 +1,53 @@
+import { defineStore } from 'pinia';
+
+export const useDictStore = defineStore({
+ id: 'dict',
+ state: () => ({
+ dict: new Array(),
+ }),
+ actions: {
+ // 获取字典
+ getDict(keyCode: any) {
+ if (keyCode == null && keyCode == '') {
+ return null;
+ }
+ try {
+ for (let i = 0; i < this.dict.length; i++) {
+ if (this.dict[i].keyCode == keyCode) {
+ return this.dict[i].value;
+ }
+ }
+ } catch (e) {
+ return null;
+ }
+ },
+ // 设置字典
+ setDict(keyCode: any, value: any) {
+ if (keyCode !== null && keyCode !== '') {
+ this.dict.push({
+ key: keyCode,
+ value: value,
+ });
+ }
+ },
+ // 删除字典
+ removeDict(keyCode: any) {
+ let flag = false;
+ try {
+ for (let i = 0; i < this.dict.length; i++) {
+ if (this.dict[i].keyCode == keyCode) {
+ this.dict.splice(i, 1);
+ return true;
+ }
+ }
+ } catch (e) {
+ flag = false;
+ }
+ return false;
+ },
+ // 清空字典
+ cleanDict() {
+ this.dict = new Array();
+ },
+ },
+});
diff --git a/smart-admin-web-typescript/src/types/config.d.ts b/smart-admin-web-typescript/src/types/config.d.ts
index 8ddce866..4f8c6e9c 100644
--- a/smart-admin-web-typescript/src/types/config.d.ts
+++ b/smart-admin-web-typescript/src/types/config.d.ts
@@ -22,7 +22,6 @@ export type LayoutType = 'side' | 'side-expand';
*/
export type ThemeType = 'light' | 'dark';
-
/**
* 应用信息配置
*/
@@ -33,6 +32,10 @@ export interface AppConfig {
layout: string;
// 主题
sideMenuTheme: ThemeType;
+ // 表格高度
+ tableYHeight: number;
+ //标签页位置
+ pageTagLocation: string;
// 侧边菜单宽度 , 默认为256px
sideMenuWidth: number;
// 主题颜色索引
@@ -51,6 +54,8 @@ export interface AppConfig {
footerFlag: boolean;
// 帮助文档
helpDocFlag: boolean;
+ // 帮助文档默认展开
+ helpDocExpandFlag: boolean;
// 水印
watermarkFlag: boolean;
// 网站名称
diff --git a/smart-admin-web-typescript/src/utils/dict.ts b/smart-admin-web-typescript/src/utils/dict.ts
new file mode 100644
index 00000000..122d26a3
--- /dev/null
+++ b/smart-admin-web-typescript/src/utils/dict.ts
@@ -0,0 +1,22 @@
+import { useDictStore } from '/@/store/modules/system/dict';
+import { dictApi } from '/@/api/support/dict-api';
+
+/**
+ * 获取字典数据
+ */
+
+export function useDict(...args: any) {
+ let res: any = {};
+ args.forEach(async (keyCode: any, index: any) => {
+ res[keyCode] = [];
+ const dicts = useDictStore().getDict(keyCode);
+ if (dicts) {
+ res[keyCode] = dicts;
+ } else {
+ let result = await dictApi.valueList(keyCode);
+ res[keyCode] = result.data;
+ useDictStore().setDict(keyCode, res[keyCode]);
+ }
+ });
+ return res;
+}
diff --git a/smart-admin-web-typescript/src/utils/ployfill.ts b/smart-admin-web-typescript/src/utils/ployfill.ts
new file mode 100644
index 00000000..90923f6c
--- /dev/null
+++ b/smart-admin-web-typescript/src/utils/ployfill.ts
@@ -0,0 +1,14 @@
+//去除谷歌浏览器的scroll、wheel等事件警告
+(function () {
+ if (typeof EventTarget !== 'undefined') {
+ let func = EventTarget.prototype.addEventListener;
+ EventTarget.prototype.addEventListener = function (type, fn, capture) {
+ this.func = func;
+ if (typeof capture !== 'boolean') {
+ capture = capture || {};
+ capture.passive = false;
+ }
+ this.func(type, fn, capture);
+ };
+ }
+})();
diff --git a/smart-admin-web-typescript/src/views/business/erp/catalog/components/category-form-modal.vue b/smart-admin-web-typescript/src/views/business/erp/catalog/components/category-form-modal.vue
index 5cfe1521..85362100 100644
--- a/smart-admin-web-typescript/src/views/business/erp/catalog/components/category-form-modal.vue
+++ b/smart-admin-web-typescript/src/views/business/erp/catalog/components/category-form-modal.vue
@@ -17,7 +17,7 @@
diff --git a/smart-admin-web-typescript/src/views/business/oa/enterprise/components/enterprise-operate-modal.vue b/smart-admin-web-typescript/src/views/business/oa/enterprise/components/enterprise-operate-modal.vue
index 3a31a401..80d6b617 100644
--- a/smart-admin-web-typescript/src/views/business/oa/enterprise/components/enterprise-operate-modal.vue
+++ b/smart-admin-web-typescript/src/views/business/oa/enterprise/components/enterprise-operate-modal.vue
@@ -85,6 +85,21 @@
detail(enterpriseId);
}
visible.value = true;
+ nextTick(() => {
+ // 解决弹窗错误信息显示,没有可忽略
+ const domArr = document.getElementsByClassName('ant-modal');
+ if (domArr && domArr.length > 0) {
+ Array.from(domArr).forEach((item) => {
+ if (item.childNodes && item.childNodes.length > 0) {
+ Array.from(item.childNodes).forEach((child) => {
+ if (child.setAttribute) {
+ child.setAttribute('aria-hidden', 'false');
+ }
+ });
+ }
+ });
+ }
+ });
}
function onClose() {
diff --git a/smart-admin-web-typescript/src/views/business/oa/notice/notice-detail.vue b/smart-admin-web-typescript/src/views/business/oa/notice/notice-detail.vue
index 188c8661..057b9d4b 100644
--- a/smart-admin-web-typescript/src/views/business/oa/notice/notice-detail.vue
+++ b/smart-admin-web-typescript/src/views/business/oa/notice/notice-detail.vue
@@ -11,17 +11,17 @@
- 编辑
+ 编辑
{{ noticeDetail.noticeTypeName }}
- {{ noticeDetail.documentNumber }}
+ {{ noticeDetail.documentNumber ? noticeDetail.documentNumber : '无' }}
{{ noticeDetail.source }}
{{ noticeDetail.author }}
{{ noticeDetail.pageViewCount }}
{{ noticeDetail.userViewCount }}
{{ noticeDetail.createTime }}
{{ noticeDetail.publishTime }}
- {{ noticeDetail.publishFlag ? '已发布' : '待发布' }}
+ {{ noticeDetail.publishFlag ? '已发布' : '待发布' }}
{{ noticeDetail.deletedFlag ? '已删除' : '未删除' }}
diff --git a/smart-admin-web-typescript/src/views/business/oa/notice/notice-employee-list.vue b/smart-admin-web-typescript/src/views/business/oa/notice/notice-employee-list.vue
index 28baa0f6..3ff0ba4b 100644
--- a/smart-admin-web-typescript/src/views/business/oa/notice/notice-employee-list.vue
+++ b/smart-admin-web-typescript/src/views/business/oa/notice/notice-employee-list.vue
@@ -35,7 +35,7 @@
-
+
diff --git a/smart-admin-web-typescript/src/views/business/oa/notice/notice-list.vue b/smart-admin-web-typescript/src/views/business/oa/notice/notice-list.vue
index 88b865e7..495ae01c 100644
--- a/smart-admin-web-typescript/src/views/business/oa/notice/notice-list.vue
+++ b/smart-admin-web-typescript/src/views/business/oa/notice/notice-list.vue
@@ -28,7 +28,7 @@
-
+
@@ -91,6 +91,9 @@
{{ text }}
+
+ {{ text ? text : '无' }}
+
{{ text ? '全部可见' : '部分可见' }}
{{ text ? '已发布' : '待发布' }}
@@ -145,7 +148,7 @@
noticeTypeId: undefined, //分类
keywords: '', //标题、作者、来源
documentNumber: '', //文号
- createUserId: undefined, //创建人
+ createUserName: undefined, //创建人
deletedFlag: undefined, //删除标识
createTimeBegin: null, //创建-开始时间
createTimeEnd: null, //创建-截止时间
@@ -195,7 +198,7 @@
ellipsis: true,
},
{
- title: '发布',
+ title: '发布状态',
dataIndex: 'publishFlag',
width: 80,
},
diff --git a/smart-admin-web-typescript/src/views/support/dict/index.vue b/smart-admin-web-typescript/src/views/support/dict/index.vue
index 3aa74584..b51d1948 100644
--- a/smart-admin-web-typescript/src/views/support/dict/index.vue
+++ b/smart-admin-web-typescript/src/views/support/dict/index.vue
@@ -43,7 +43,7 @@
新建
-
+
diff --git a/smart-admin-web-typescript/src/views/support/job/job-list.vue b/smart-admin-web-typescript/src/views/support/job/job-list.vue
index 519d56f4..99bc0dfb 100644
--- a/smart-admin-web-typescript/src/views/support/job/job-list.vue
+++ b/smart-admin-web-typescript/src/views/support/job/job-list.vue
@@ -124,24 +124,22 @@
-
-
@@ -152,7 +150,7 @@
diff --git a/smart-admin-web-typescript/src/views/system/employee/components/employee-form-modal/index.vue b/smart-admin-web-typescript/src/views/system/employee/components/employee-form-modal/index.vue
index 7b27b9dd..ceff4d33 100644
--- a/smart-admin-web-typescript/src/views/system/employee/components/employee-form-modal/index.vue
+++ b/smart-admin-web-typescript/src/views/system/employee/components/employee-form-modal/index.vue
@@ -119,6 +119,7 @@
phone: undefined,
roleIdList: undefined,
positionId: undefined,
+ email: undefined,
};
let form = reactive(_.cloneDeep(formDefault));
diff --git a/smart-admin-web-typescript/src/views/system/position/position-form.vue b/smart-admin-web-typescript/src/views/system/position/position-form.vue
index cd8586ea..caf68426 100644
--- a/smart-admin-web-typescript/src/views/system/position/position-form.vue
+++ b/smart-admin-web-typescript/src/views/system/position/position-form.vue
@@ -17,16 +17,16 @@
>
-
+
-
+
-
+
-
+
@@ -39,86 +39,99 @@
diff --git a/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-checkbox.vue b/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-checkbox.vue
index cd077f8f..cfb8d675 100644
--- a/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-checkbox.vue
+++ b/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-checkbox.vue
@@ -29,7 +29,7 @@
let props = defineProps({
tree: {
type: Array,
- default: [],
+ default: () => [],
},
});
defineEmits(['update:value']);
diff --git a/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-menu.vue b/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-menu.vue
index 3c984398..f212ffa0 100644
--- a/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-menu.vue
+++ b/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-menu.vue
@@ -30,7 +30,7 @@
const props = defineProps({
tree: {
type: Array,
- default: [],
+ default: () => [],
},
index: {
type: Number,
diff --git a/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-point.vue b/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-point.vue
index ebe53928..9fb42e7d 100644
--- a/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-point.vue
+++ b/smart-admin-web-typescript/src/views/system/role/components/role-tree/role-tree-point.vue
@@ -21,7 +21,7 @@
const props = defineProps({
tree: {
type: Array,
- default: [],
+ default: () => [],
},
index: {
type: Number,
diff --git a/smart_admin_v3.sql b/smart_admin_v3.sql
index a5502635..7c2e1941 100644
--- a/smart_admin_v3.sql
+++ b/smart_admin_v3.sql
@@ -238,12 +238,12 @@ DROP TABLE IF EXISTS `t_employee`;
CREATE TABLE `t_employee` (
`employee_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT '主键',
`login_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '登录帐号',
- `login_pwd` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '登录密码',
+ `login_pwd` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '登录密码',
`actual_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '员工名称',
`avatar` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`gender` tinyint(1) NOT NULL DEFAULT 0 COMMENT '性别',
`phone` varchar(15) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机号码',
- `department_id` int(0) NOT NULL COMMENT '部门id',
+ `department_id` bigint(0) NOT NULL COMMENT '部门id',
`position_id` bigint(0) NULL DEFAULT NULL COMMENT '职务ID',
`email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '邮箱',
`disabled_flag` tinyint unsigned NOT NULL COMMENT '是否被禁用 0否1是',
@@ -258,20 +258,20 @@ CREATE TABLE `t_employee` (
-- ----------------------------
-- Records of t_employee
-- ----------------------------
-INSERT INTO `t_employee` VALUES (1, 'admin', '40cc20b8891cd3fd1f008ea7f4ac17c3', '管理员', 'public/common/1eea469452484ffea4a42570c4072466_20240702220447.jpg', 0, '13500000000', 1, 3, NULL, 0, 0, 1, NULL, '2024-09-03 21:39:17', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (2, 'huke', '40cc20b8891cd3fd1f008ea7f4ac17c3', '胡克', NULL, 0, '13123123121', 1, 4, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:09', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (44, 'zhuoda', 'bf63cb6431d613acdee104f692845b22', '卓大', NULL, 1, '18637925892', 1, 6, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:10', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (47, 'shanyi', 'ca405fddcb90ac2a71b33fe7126ed2a8', '善逸', 'public/common/f823b00873684f0a9d31f0d62316cc8e_20240630015141.jpg', 1, '17630506613', 2, 5, NULL, 0, 0, 0, '这个是备注', '2024-09-03 21:36:11', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (48, 'qinjiu', 'b1cfb0ed0080306199fa76c872d6a32e', '琴酒', NULL, 2, '14112343212', 2, 6, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:12', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (63, 'kaiyun', '0e5ec5746bf955f253fa747ab76cfa67', '开云', NULL, 0, '13112312346', 2, 5, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:13', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (64, 'qingye', '40cc20b8891cd3fd1f008ea7f4ac17c3', '清野', NULL, 1, '13123123111', 2, 4, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:14', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (65, 'feiye', '40cc20b8891cd3fd1f008ea7f4ac17c3', '飞叶', NULL, 1, '13123123112', 4, 3, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:14', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (66, 'luoyi', '40cc20b8891cd3fd1f008ea7f4ac17c3', '罗伊', NULL, 1, '13123123142', 4, 2, NULL, 1, 0, 0, NULL, '2024-09-03 21:36:15', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (67, 'chuxiao', '7287168489ed5598741362cbec2b0741', '初晓', NULL, 1, '13123123123', 1, 2, NULL, 1, 0, 0, NULL, '2024-09-03 21:36:18', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (68, 'xuanpeng', '40cc20b8891cd3fd1f008ea7f4ac17c3', '玄朋', NULL, 1, '13123123124', 1, 3, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:18', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (69, 'peixian', '40cc20b8891cd3fd1f008ea7f4ac17c3', '玄朋', NULL, 1, '18377482773', 1, 4, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:19', '2022-10-04 21:33:50');
-INSERT INTO `t_employee` VALUES (73, 'limbo', '50ea4174e4ad0970bcf6423f99c0cbcd', '陈琳博', NULL, 1, '18906662339', 2, 4, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:24', '2024-07-17 10:36:16');
-INSERT INTO `t_employee` VALUES (74, 'xzh', 'f5ca8e50d26e6070ed2198e136ee967d', 'admin1', NULL, 1, '13654567897', 5, 6, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:21', '2024-08-09 09:49:56');
+INSERT INTO `t_employee` VALUES (1, 'admin', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '管理员', 'public/common/1eea469452484ffea4a42570c4072466_20240702220447.jpg', 0, '13500000000', 1, 3, NULL, 0, 0, 1, NULL, '2024-09-03 21:39:17', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (2, 'huke', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '胡克', NULL, 0, '13123123121', 1, 4, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:09', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (44, 'zhuoda', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '卓大', NULL, 1, '18637925892', 1, 6, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:10', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (47, 'shanyi', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '善逸', 'public/common/f823b00873684f0a9d31f0d62316cc8e_20240630015141.jpg', 1, '17630506613', 2, 5, NULL, 0, 0, 0, '这个是备注', '2024-09-03 21:36:11', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (48, 'qinjiu', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '琴酒', NULL, 2, '14112343212', 2, 6, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:12', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (63, 'kaiyun', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '开云', NULL, 0, '13112312346', 2, 5, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:13', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (64, 'qingye', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '清野', NULL, 1, '13123123111', 2, 4, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:14', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (65, 'feiye', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '飞叶', NULL, 1, '13123123112', 4, 3, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:14', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (66, 'luoyi', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '罗伊', NULL, 1, '13123123142', 4, 2, NULL, 1, 0, 0, NULL, '2024-09-03 21:36:15', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (67, 'chuxiao', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '初晓', NULL, 1, '13123123123', 1, 2, NULL, 1, 0, 0, NULL, '2024-09-03 21:36:18', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (68, 'xuanpeng', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '玄朋', NULL, 1, '13123123124', 1, 3, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:18', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (69, 'peixian', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '玄朋', NULL, 1, '18377482773', 1, 4, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:19', '2022-10-04 21:33:50');
+INSERT INTO `t_employee` VALUES (73, 'limbo', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', '陈琳博', NULL, 1, '18906662339', 2, 4, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:24', '2024-07-17 10:36:16');
+INSERT INTO `t_employee` VALUES (74, 'xzh', '$argon2id$v=19$m=16384,t=2,p=1$e/hqRAZYCYHydMS3SPo7yA$5hdCxLG7q+Jtf6KLJHVg/yb0I8LZrPuKUF66jLq+Drc', 'admin1', NULL, 1, '13654567897', 5, 6, NULL, 0, 0, 0, NULL, '2024-09-03 21:36:21', '2024-08-09 09:49:56');
-- ----------------------------
-- Table structure for t_feedback
@@ -300,7 +300,7 @@ CREATE TABLE `t_file` (
`file_size` int(0) NULL DEFAULT NULL COMMENT '文件大小',
`file_key` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件key,用于文件下载',
`file_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件类型',
- `creator_id` int(0) NULL DEFAULT NULL COMMENT '创建人,即上传人',
+ `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人,即上传人',
`creator_user_type` int(0) NULL DEFAULT NULL COMMENT '创建人用户类型',
`creator_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人姓名',
`update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP COMMENT '上次更新时间',
@@ -465,7 +465,7 @@ CREATE TABLE `t_login_fail` (
DROP TABLE IF EXISTS `t_login_log`;
CREATE TABLE `t_login_log` (
`login_log_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT '主键',
- `user_id` int(0) NOT NULL COMMENT '用户id',
+ `user_id` bigint(0) NOT NULL COMMENT '用户id',
`user_type` int(0) NOT NULL COMMENT '用户类型',
`user_name` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '用户名',
`login_ip` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户ip',
@@ -1016,8 +1016,8 @@ INSERT INTO `t_role` VALUES (37, '财务', NULL, '', '2019-08-30 09:31:16', '201
DROP TABLE IF EXISTS `t_role_data_scope`;
CREATE TABLE `t_role_data_scope` (
`id` bigint(0) NOT NULL AUTO_INCREMENT,
- `data_scope_type` int(0) NOT NULL COMMENT '数据范围id',
- `view_type` int(0) NOT NULL COMMENT '数据范围类型',
+ `data_scope_type` int(0) NOT NULL COMMENT '数据范围类型',
+ `view_type` int(0) NOT NULL COMMENT '数据可见范围类型',
`role_id` bigint(0) NOT NULL COMMENT '角色id',
`update_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
`create_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
@@ -1236,8 +1236,8 @@ CREATE TABLE `t_smart_job` (
-- ----------------------------
-- Records of t_smart_job
-- ----------------------------
-INSERT INTO `t_smart_job` VALUES (1, '示例任务1', 'net.lab1024.sa.base.module.support.job.sample.SmartJobSample1', 'cron', '10 15 0/1 * * *', 1, '1', '2025-01-05 19:15:10', 7988, 1, '测试测试', 0, '管理员', '2024-06-17 20:00:46', '2025-01-08 20:07:51');
-INSERT INTO `t_smart_job` VALUES (2, '示例任务2', 'net.lab1024.sa.base.module.support.job.sample.SmartJobSample2', 'fixed_delay', '120', 1, '一路春光啊一路荆棘呀惊鸿一般短暂如夏花一样绚烂这是一个不能停留太久的世界,一路春光啊一路荆棘呀惊鸿一般短暂如夏花一样绚烂这是一个不能停留太久的世界啊', '2025-01-08 19:56:59', 8144, 2, '一个不能停留太久的世界啊', 0, '管理员', '2024-06-18 20:45:35', '2025-01-08 19:57:00');
+INSERT INTO `t_smart_job` VALUES (1, '示例任务1', 'net.lab1024.sa.base.module.support.job.sample.SmartJobSample1', 'cron', '10 15 0/1 * * *', 1, '执行示例任务1', '2025-01-05 19:15:10', 7988, 1, '执行示例任务1', 0, '管理员', '2024-06-17 20:00:46', '2025-01-08 20:07:51');
+INSERT INTO `t_smart_job` VALUES (2, '示例任务2', 'net.lab1024.sa.base.module.support.job.sample.SmartJobSample2', 'fixed_delay', '120', 1, '执行示例任务2', '2025-01-08 19:56:59', 8144, 2, '执行示例任务2', 0, '管理员', '2024-06-18 20:45:35', '2025-01-08 19:57:00');
-- ----------------------------