新增SPC Vue控制图项目

This commit is contained in:
zhangshun
2026-06-29 09:18:24 +08:00
parent 856a7250f2
commit 37517d5279
27 changed files with 3864 additions and 0 deletions

22
spc-vue/src/router.ts Normal file
View File

@@ -0,0 +1,22 @@
import { createRouter, createWebHashHistory } from "vue-router";
import OverviewView from "./views/OverviewView.vue";
import XBarRView from "./views/XBarRView.vue";
import RChartView from "./views/RChartView.vue";
import XBarSView from "./views/XBarSView.vue";
import SChartView from "./views/SChartView.vue";
import CpkView from "./views/CpkView.vue";
export const routes = [
{ path: "/", redirect: "/overview" },
{ path: "/overview", component: OverviewView, meta: { title: "总览" } },
{ path: "/xbar-r", component: XBarRView, meta: { title: "Xbar-R" } },
{ path: "/r-chart", component: RChartView, meta: { title: "R 图" } },
{ path: "/xbar-s", component: XBarSView, meta: { title: "Xbar-S" } },
{ path: "/s-chart", component: SChartView, meta: { title: "S 图" } },
{ path: "/cpk", component: CpkView, meta: { title: "Cpk" } }
];
export const router = createRouter({
history: createWebHashHistory(),
routes
});