库存总览初版大屏

This commit is contained in:
jhd
2026-05-25 18:12:10 +08:00
parent 2030e68ff9
commit f07080397d
14 changed files with 1850 additions and 520 deletions

8
.idea/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,8 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

6
.idea/MarsCodeWorkspaceAppSettings.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="com.codeverse.userSettings.MarscodeWorkspaceAppSettingsState">
<option name="progress" value="1.0" />
</component>
</project>

6
.idea/misc.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

8
.idea/modules.xml generated Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/screen.iml" filepath="$PROJECT_DIR$/.idea/screen.iml" />
</modules>
</component>
</project>

9
.idea/screen.iml generated Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

982
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,7 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@jiaminghi/data-view": "^2.10.0", "@kjgl77/datav-vue3": "^1.0.0",
"axios": "^1.6.7", "axios": "^1.6.7",
"cors": "^2.8.6", "cors": "^2.8.6",
"echarts": "^5.6.0", "echarts": "^5.6.0",

View File

@@ -15,7 +15,7 @@
.app-main { .app-main {
flex: 1; flex: 1;
overflow-y: auto; overflow-y: auto;
background: #f5f7fa; background: #050a15;
padding: 16px; padding: 16px;
box-sizing: border-box; box-sizing: border-box;
min-height: 0; min-height: 0;

View File

@@ -60,7 +60,8 @@ const menuItems = [
{ path: '/dashboard/oee', meta: { title: 'OEE综合大屏', icon: 'oee' } }, { path: '/dashboard/oee', meta: { title: 'OEE综合大屏', icon: 'oee' } },
{ path: '/dashboard/output', meta: { title: '产出监控大屏', icon: 'output' } }, { path: '/dashboard/output', meta: { title: '产出监控大屏', icon: 'output' } },
{ path: '/dashboard/stop-analysis', meta: { title: '停机分析大屏', icon: 'stop' } }, { path: '/dashboard/stop-analysis', meta: { title: '停机分析大屏', icon: 'stop' } },
{ path: '/dashboard/acid-rolling', meta: { title: '酸轧数据大屏', icon: 'example' } } { path: '/dashboard/acid-rolling', meta: { title: '酸轧数据大屏', icon: 'example' } },
{ path: '/dashboard/warehouse-overview', meta: { title: '库区总览大屏', icon: 'example' } }
] ]
</script> </script>

View File

@@ -5,6 +5,7 @@ import store from './store'
import ElementPlus from 'element-plus' import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css' import 'element-plus/dist/index.css'
import './assets/styles/index.scss' import './assets/styles/index.scss'
import DatavVue3 from '@kjgl77/datav-vue3'
const app = createApp(App) const app = createApp(App)
@@ -22,4 +23,5 @@ app.config.errorHandler = (err, instance, info) => {
app.use(router) app.use(router)
app.use(store) app.use(store)
app.use(ElementPlus) app.use(ElementPlus)
app.use(DatavVue3)
app.mount('#app') app.mount('#app')

View File

@@ -59,6 +59,12 @@ export const constantRoutes = [
name: 'AcidRolling', name: 'AcidRolling',
component: () => import('@/views/screens/acid-rolling/index.vue'), component: () => import('@/views/screens/acid-rolling/index.vue'),
meta: { title: '酸轧数据大屏', icon: 'example' } meta: { title: '酸轧数据大屏', icon: 'example' }
},
{
path: 'warehouse-overview',
name: 'WarehouseOverview',
component: () => import('@/views/screens/warehouse-overview/index.vue'),
meta: { title: '库区总览大屏', icon: 'warehouse' }
} }
] ]
} }

File diff suppressed because it is too large Load Diff

View File

@@ -12,27 +12,27 @@ export default defineConfig({
server: { server: {
proxy: { proxy: {
'/api': { '/api': {
target: 'http://localhost:3000', target: 'http://localhost:8080',
changeOrigin: true changeOrigin: true
}, },
'/da': { '/da': {
target: 'http://localhost:3000', target: 'http://localhost:8080',
changeOrigin: true changeOrigin: true
}, },
'/pocket': { '/pocket': {
target: 'http://localhost:3000', target: 'http://localhost:8080',
changeOrigin: true changeOrigin: true
}, },
'/l2': { '/l2': {
target: 'http://localhost:3000', target: 'http://localhost:8080',
changeOrigin: true changeOrigin: true
}, },
'/wms': { '/wms': {
target: 'http://localhost:3000', target: 'http://localhost:8080',
changeOrigin: true changeOrigin: true
}, },
'/oee': { '/oee': {
target: 'http://localhost:3000', target: 'http://localhost:8080',
changeOrigin: true changeOrigin: true
} }
} }