feat(pdo): 新增PDO管理功能及相关组件

新增PDO管理页面及相关功能组件,包括:
1. 新增数据修正组件DataCorrection.vue
2. 新增标签打印组件LabelPrint.vue
3. 新增统计汇总组件PdoSummary.vue
4. 新增图表展示组件line.vue
5. 实现主页面index.vue布局及功能
6. 新增API接口文件用于业务数据交互
7. 修改lines/index.vue配置,移除baseURL动态获取逻辑
This commit is contained in:
砂糖
2025-12-25 15:50:19 +08:00
parent 65c04f3ed2
commit 30d5d914ef
15 changed files with 3486 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ import RollerAnalysis from './panels/analysis/roller.vue'
data() {
return {
activeName: 'Track',
baseURL: '',
baseURL: '140.143.206.120:18081',
ready: false,
tabs: []
}
@@ -49,10 +49,6 @@ import RollerAnalysis from './panels/analysis/roller.vue'
created() {
// 获取路由地址的最后一项
const route = this.$route.path.split('/').pop()
getConfigKey(`line.${route}.baseURL`).then(res => {
this.baseURL = res.msg
this.ready = true
})
getConfigKey(`line.${route}.config`).then(res => {
const tabs = res.msg.split(',')
// 是否包含Track, 如果不包含则添加