feat(acid页面): 添加模型管理菜单与基础API接口
新增侧边栏模型菜单入口,注册模型组件与路由映射,新建厚度/宽度分类等模型相关的后端API调用接口
This commit is contained in:
1359
klp-ui/src/views/micro/pages/acid/components/Model.vue
Normal file
1359
klp-ui/src/views/micro/pages/acid/components/Model.vue
Normal file
File diff suppressed because it is too large
Load Diff
@@ -54,6 +54,10 @@
|
||||
<i class="el-icon-alarm-clock"></i>
|
||||
<span slot="title">app</span>
|
||||
</el-menu-item>
|
||||
<el-menu-item index="model">
|
||||
<i class="el-icon-coin"></i>
|
||||
<span slot="title">模型</span>
|
||||
</el-menu-item>
|
||||
</el-menu>
|
||||
</div>
|
||||
<div style="flex: 1; overflow: hidden;">
|
||||
@@ -76,6 +80,7 @@ import Stoppage from '@/views/timing/stoppage/index.vue';
|
||||
import AcidTiming from '@/views/lines/acid/index.vue';
|
||||
import TrackingView from './components/TrackingView.vue';
|
||||
import ProcessSpec from './components/ProcessSpec.vue';
|
||||
import Model from './components/Model.vue';
|
||||
|
||||
export default {
|
||||
name: 'AcidSystem',
|
||||
@@ -92,7 +97,8 @@ export default {
|
||||
Stoppage,
|
||||
AcidTiming,
|
||||
TrackingView,
|
||||
ProcessSpec
|
||||
ProcessSpec,
|
||||
Model,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -115,6 +121,7 @@ export default {
|
||||
acidTiming: 'AcidTiming',
|
||||
tracking: 'TrackingView',
|
||||
processSpec: 'ProcessSpec',
|
||||
model: 'Model',
|
||||
};
|
||||
return componentMap[this.activeMenu];
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user