完成后端查询员工信息功能

This commit is contained in:
2023-03-01 00:20:47 +08:00
parent 1fa3b7cfdc
commit 65a51efa30
15 changed files with 5307 additions and 4710 deletions

View File

View File

@@ -1,13 +1,22 @@
<!--
* @Author: Kane
* @Date: 2023-02-28 00:12:43
* @LastEditors: Kane
* @FilePath: /task_schedule/index.html
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>看看你的业绩!!!</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>

View File

@@ -2,8 +2,8 @@
* @Author: Kane
* @Date: 2023-02-15 09:25:52
* @LastEditors: Kane
* @LastEditTime: 2023-02-28 19:05:15
* @FilePath: /deskop_task_schedule/code/web/task_schedule/src/App.vue
* @LastEditTime: 2023-02-28 22:15:53
* @FilePath: /task_schedule/src/App.vue
* @Description:
* 应用的框架
* 1配置el-config-provider配置为中文
@@ -31,35 +31,5 @@ export default {
};
</script>
<style scoped>
.app_wrapper {
box-sizing: border-box;
width: 100%;
height: calc(100vh - 60px);
/* border: 1px solid brown; */
/* 布局 */
display: flex;
}
.counter_wrapper {
width: 500px;
margin-top: 1cm;
margin-left: auto;
margin-right: 1cm;
border-radius: 5px;
background-color: rgb(250 250 250 / 75%);
}
.counter_wrapper:hover {
box-shadow: 0px 0px 20px 10px rgb(14 18 22 / 10%);
}
.counter_wrapper span {
display: block;
font-size: 150px;
text-align: right;
}
</style>
<style scoped></style>

View File

@@ -2,31 +2,40 @@
* @Author: Kane
* @Date: 2023-02-15 09:25:52
* @LastEditors: Kane
* @LastEditTime: 2023-02-28 19:22:19
* @LastEditTime: 2023-02-28 22:36:10
* @FilePath: /task_schedule/vite.config.js
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
import { defineConfig } from 'vite';
import { defineConfig, loadEnv } from 'vite';
import vue from '@vitejs/plugin-vue';
import path from 'path';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(),],
base: './',
resolve: {
//配置别名
alias: [
{
find: /^~/,
replacement: '',
},
{
find: '@',
replacement: path.resolve(__dirname, 'src'),
},
],
},
});
export default defineConfig((command, mode) =>
{
const env = loadEnv(mode, process.cwd(), '');
return {
plugins: [vue(),],
base: './',
resolve: {
//配置别名
alias: [
{
find: /^~/,
replacement: '',
},
{
find: '@',
replacement: path.resolve(__dirname, 'src'),
},
],
},
define: {
__APP_ENV__: env.APP_ENV,
},
};
}
);

File diff suppressed because it is too large Load Diff