diff --git a/src/components.d.ts b/src/components.d.ts
index 8bd697e..9f88724 100644
--- a/src/components.d.ts
+++ b/src/components.d.ts
@@ -28,9 +28,11 @@ declare module 'vue' {
ElMain: typeof import('element-plus/es')['ElMain']
ElMenu: typeof import('element-plus/es')['ElMenu']
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
+ ElOption: typeof import('element-plus/es')['ElOption']
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
ElRow: typeof import('element-plus/es')['ElRow']
+ ElSelect: typeof import('element-plus/es')['ElSelect']
ElStatistic: typeof import('element-plus/es')['ElStatistic']
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
ElTable: typeof import('element-plus/es')['ElTable']
diff --git a/src/components/Common/CustomIframe.vue b/src/components/Common/CustomIframe.vue
index 6416cc4..a0486cf 100644
--- a/src/components/Common/CustomIframe.vue
+++ b/src/components/Common/CustomIframe.vue
@@ -22,4 +22,8 @@ const props = defineProps({
diff --git a/src/constants/menuConfig.js b/src/constants/menuConfig.js
index c772f1e..23ace5c 100644
--- a/src/constants/menuConfig.js
+++ b/src/constants/menuConfig.js
@@ -118,7 +118,9 @@ export const menuConfig = [
children: [
{
id: 'system-factory',
- title: '電廠設定'
+ title: '電廠設定',
+ path: '/plantSetting',
+ routeName: 'PlantSetting'
},
{
id: 'system-account',
diff --git a/src/router/index.js b/src/router/index.js
index bd1ea83..64dcf0f 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -3,6 +3,7 @@ import Home from "../views/Home.vue";
import PlantsOverview from "../views/PlantsOverview.vue";
import PlantReport from "../views/PlantReport.vue";
import PlantInfo from "../views/PlantInfo.vue";
+import PlantSetting from "../views/PlantSetting.vue";
const routes = [
{
@@ -47,6 +48,16 @@ const routes = [
parentTitle: "報表查詢",
},
},
+ {
+ path: "/plantSetting",
+ name: "PlantSetting",
+ component: PlantSetting,
+ meta: {
+ title: "電廠設定",
+ menuGroup: "report",
+ parentTitle: "系統設定",
+ },
+ }
];
const router = createRouter({
diff --git a/src/views/PlantInfo.vue b/src/views/PlantInfo.vue
index 4139753..5a141d3 100644
--- a/src/views/PlantInfo.vue
+++ b/src/views/PlantInfo.vue
@@ -93,12 +93,12 @@ const tabList = computed(() => [
icon: ScaleToOriginal,
src: `/ord/station:|slot:/${siteId.value}/Information|view:?fullScreen=true`,
},
- {
- name: "device-info",
- label: "設備資訊",
- icon: Document,
- src: `/ord/station:|slot:/${siteId.value}/DeviceInformation|view:?fullScreen=true`,
- },
+ // {
+ // name: "device-info",
+ // label: "設備資訊",
+ // icon: Document,
+ // src: `/ord/station:|slot:/${siteId.value}/DeviceInformation|view:?fullScreen=true`,
+ // },
{
name: "history-data",
label: "歷史資料",
diff --git a/src/views/PlantSetting.vue b/src/views/PlantSetting.vue
new file mode 100644
index 0000000..85b97c1
--- /dev/null
+++ b/src/views/PlantSetting.vue
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+ 電廠 :
+
+
+
+
+
+
+
+
+ {{ tab.label }}
+
+
+
+
+
+ 異常紀錄
+
+
+
+
+
+
+
+
+
+
+