This commit is contained in:
2024-10-09 11:13:57 +08:00
parent 209aa60b03
commit c8d15c5b76
14 changed files with 11 additions and 136 deletions

1
.gitignore vendored
View File

@@ -7,4 +7,5 @@ package-lock.json
data/
.vscode/launch.json
public/electron/
public/dist/
pnpm-lock.yaml

View File

@@ -16,7 +16,7 @@ module.exports = (appInfo) => {
/**
* 应用程序顶部菜单
*/
config.openAppMenu = true;
config.openAppMenu = false;
/**
* jobs

View File

@@ -9,7 +9,7 @@ module.exports = (appInfo) => {
/**
* 开发者工具
*/
config.openDevTools = false;
config.openDevTools = true;
/**
* 应用程序顶部菜单

View File

@@ -5,7 +5,7 @@ VITE_GLOB_APP_TITLE=PQS-9100自动检测平台
VITE_PORT=18091
# 启动时自动打开浏览器
VITE_OPEN=true
VITE_OPEN=false
# 打包后是否生成包分析文件
VITE_REPORT=false

View File

@@ -2,7 +2,7 @@
VITE_USER_NODE_ENV=development
# 公共基础路径
VITE_PUBLIC_PATH=/
VITE_PUBLIC_PATH=./
# 路由模式
# Optional: hash | history

View File

@@ -2,7 +2,7 @@
VITE_USER_NODE_ENV=production
# 公共基础路径
VITE_PUBLIC_PATH=/
VITE_PUBLIC_PATH=./
# 路由模式
# Optional: hash | history
@@ -22,4 +22,4 @@ VITE_DROP_CONSOLE=true
VITE_PWA=true
# 线上环境接口地址
VITE_API_URL="https://mock.mengxuegu.com/mock/629d727e6163854a32e8307e"
VITE_API_URL="http://192.168.1.125:18092/"

View File

@@ -11,11 +11,8 @@ declare module 'vue' {
404: typeof import('./src/components/ErrorMessage/404.vue')['default']
500: typeof import('./src/components/ErrorMessage/500.vue')['default']
ColSetting: typeof import('./src/components/ProTable/components/ColSetting.vue')['default']
ComplexProTable: typeof import('./src/components/proTable/complexProTable/index.vue')['default']
Default: typeof import('./src/components/echarts/pie/default.vue')['default']
Detail: typeof import('./src/components/proTable/useProTable/detail.vue')['default']
Dialog: typeof import('./src/components/Dialog/index.vue')['default']
Document: typeof import('./src/components/proTable/document/index.vue')['default']
ElAside: typeof import('element-plus/es')['ElAside']
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
@@ -60,7 +57,6 @@ declare module 'vue' {
ElTimePicker: typeof import('element-plus/es')['ElTimePicker']
ElTooltip: typeof import('element-plus/es')['ElTooltip']
ElTree: typeof import('element-plus/es')['ElTree']
ElUpload: typeof import('element-plus/es')['ElUpload']
Grid: typeof import('./src/components/Grid/index.vue')['default']
GridItem: typeof import('./src/components/Grid/components/GridItem.vue')['default']
ImportExcel: typeof import('./src/components/ImportExcel/index.vue')['default']
@@ -74,10 +70,5 @@ declare module 'vue' {
SvgIcon: typeof import('./src/components/staticExtend/SvgIcon/src/SvgIcon.vue')['default']
SwitchDark: typeof import('./src/components/SwitchDark/index.vue')['default']
TableColumn: typeof import('./src/components/ProTable/components/TableColumn.vue')['default']
TreeProTable: typeof import('./src/components/proTable/treeProTable/index.vue')['default']
UseProTable: typeof import('./src/components/proTable/useProTable/index.vue')['default']
UserDrawer: typeof import('./src/components/proTable/components/UserDrawer.vue')['default']
UseSelectFilter: typeof import('./src/components/proTable/useSelectFilter/index.vue')['default']
UseTreeFilter: typeof import('./src/components/proTable/useTreeFilter/index.vue')['default']
}
}

View File

@@ -26,12 +26,14 @@
"element-plus": "^2.7.8",
"md5": "^2.3.0",
"mitt": "^3.0.1",
"mkdirp": "^3.0.1",
"nprogress": "^0.2.0",
"pinia": "^2.2.1",
"pinia-plugin-persistedstate": "^3.2.1",
"print-js": "^1.6.0",
"qs": "^6.11.2",
"screenfull": "^6.0.2",
"semver": "^7.3.5",
"sortablejs": "^1.15.0",
"vue": "^3.4.29",
"vue-i18n": "^9.4.0",
@@ -75,8 +77,5 @@
"vite-plugin-pwa": "^0.16.5",
"vite-plugin-svg-icons": "^2.0.1",
"vue-tsc": "^2.0.21"
},
"engines": {
"node": ">=16.0.0"
}
}

View File

@@ -42,7 +42,7 @@
"electron-egg",
"ElectronEgg"
],
"author": "哆啦好梦, Inc <530353222@qq.com>",
"author": "hongawen, Inc <83944980@qq.com>",
"license": "Apache",
"devDependencies": {
"@electron/rebuild": "^3.2.13",
@@ -62,3 +62,4 @@
"lodash": "^4.17.21"
}
}

View File

@@ -1 +0,0 @@
import{_ as a,o as t,c as s,a as e}from"./index-94991f0a.js";const o={data:()=>({})},c={id:"hero"},n=[e('<h1 class="tagline" data-v-505540b8><span class="accent" data-v-505540b8>Electron-Egg</span></h1><p class="description" data-v-505540b8> A fast, desktop software development framework </p><p class="actions" data-v-505540b8><a class="setup" href="https://www.kaka996.com/" target="_blank" data-v-505540b8>Get Started</a></p>',3)];const d=a(o,[["render",function(a,e,o,d,r,p){return t(),s("section",c,n)}],["__scopeId","data-v-505540b8"]]);export{d as default};

View File

@@ -1 +0,0 @@
section[data-v-505540b8]{padding:42px 32px}#hero[data-v-505540b8]{padding:150px 32px;text-align:center;height:100%}.tagline[data-v-505540b8]{font-size:52px;line-height:1.25;font-weight:700;letter-spacing:-1.5px;max-width:960px;margin:0 auto}html:not(.dark) .accent[data-v-505540b8],.dark .tagline[data-v-505540b8]{background:-webkit-linear-gradient(315deg,#42d392 25%,#647eff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.description[data-v-505540b8]{max-width:960px;line-height:1.5;color:var(--vt-c-text-2);transition:color .5s;font-size:22px;margin:24px auto 40px}.actions a[data-v-505540b8]{font-size:16px;display:inline-block;background-color:var(--vt-c-bg-mute);padding:8px 18px;font-weight:500;border-radius:8px;transition:background-color .5s,color .5s;text-decoration:none}.actions .setup[data-v-505540b8]{color:var(--vt-c-text-code);background:-webkit-linear-gradient(315deg,#42d392 25%,#647eff)}.actions .setup[data-v-505540b8]:hover{background-color:var(--vt-c-gray-light-4);transition-duration:.2s}

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;height:100%}

107
public/dist/index.html vendored
View File

@@ -1,107 +0,0 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0, minimum-scale=1.0" />
<title></title>
<!-- 优化vue渲染未完成之前先加一个css动画 -->
<style>
#loadingPage {
background-color: #dedede;
font-size: 12px;
}
.base {
height: 9em;
left: 50%;
margin: -7.5em;
padding: 3em;
position: absolute;
top: 50%;
width: 9em;
transform: rotateX(45deg) rotateZ(45deg);
transform-style: preserve-3d;
}
.cube,
.cube:after,
.cube:before {
content: '';
float: left;
height: 3em;
position: absolute;
width: 3em;
}
/* Top */
.cube {
background-color: #06cf68;
position: relative;
transform: translateZ(3em);
transform-style: preserve-3d;
transition: .25s;
box-shadow: 13em 13em 1.5em rgba(0, 0, 0, 0.1);
animation: anim 1s infinite;
}
.cube:after {
background-color: #05a151;
transform: rotateX(-90deg) translateY(3em);
transform-origin: 100% 100%;
}
.cube:before {
background-color: #026934;
transform: rotateY(90deg) translateX(3em);
transform-origin: 100% 0;
}
.cube:nth-child(1) {
animation-delay: 0.05s;
}
.cube:nth-child(2) {
animation-delay: 0.1s;
}
.cube:nth-child(3) {
animation-delay: 0.15s;
}
.cube:nth-child(4) {
animation-delay: 0.2s;
}
.cube:nth-child(5) {
animation-delay: 0.25s;
}
.cube:nth-child(6) {
animation-delay: 0.3s;
}
.cube:nth-child(7) {
animation-delay: 0.35s;
}
.cube:nth-child(8) {
animation-delay: 0.4s;
}
.cube:nth-child(9) {
animation-delay: 0.45s;
}
@keyframes anim {
50% {
transform: translateZ(0.5em);
}
}
</style>
<script type="module" crossorigin src="./assets/index-94991f0a.js"></script>
<link rel="stylesheet" href="./assets/index-b7b2ffb7.css">
</head>
<body>
<div id="loadingPage">
<div class='base'>
<div class='cube'></div>
<div class='cube'></div>
<div class='cube'></div>
<div class='cube'></div>
<div class='cube'></div>
<div class='cube'></div>
<div class='cube'></div>
<div class='cube'></div>
<div class='cube'></div>
</div>
</div>
<div id="app"></div>
</body>
</html>