sunzehao преди 1 месец
родител
ревизия
2f86d69e96
променени са 3 файла, в които са добавени 47 реда и са изтрити 25 реда
  1. 5 3
      .env.production
  2. 12 2
      src/views/IntegratedAlarm/reliability/customAnalyse/index.vue
  3. 30 20
      src/views/IntegratedAlarm/reliability/historyAnalyse/index.vue

+ 5 - 3
.env.production

@@ -35,9 +35,13 @@ VUE_APP_URL=https://10.112.33.5:5300
 # VUE_APP_REPORT=http://10.220.1.5:8001
 VUE_APP_REPORT=http://10.112.33.5:8001
 
-VUE_APP_WS_URL=ws://10.220.1.11:6015
+VUE_APP_WS_URL=ws://10.220.1.5:6015
 # VUE_APP_WS_URL=ws://10.112.33.5:6015
 
+VUE_APP_GENERAT_URL=http://10.220.1.5:6060
+# VUE_APP_GENERAT_URL=http://10.112.33.5:6060
+
+
 
 # # 趋势对比数据条数
 # VUE_APP_DIALOG_NUM = 8
@@ -54,5 +58,3 @@ VUE_APP_WS_URL=ws://10.220.1.11:6015
 # VUE_APP_ADP_BASE_URL='http://172.16.12.103'
 # # 登录
 # VUE_APP_VUE_LOGIN_URL=http://10.81.3.127:48080
-
-VUE_APP_GENERAT_URL=http://10.220.1.5:6060

+ 12 - 2
src/views/IntegratedAlarm/reliability/customAnalyse/index.vue

@@ -390,7 +390,17 @@ const getfetchRelatePart = async () => {
   state.fetchListAll = data;
 };
 //型号列表
-const modelList = computed(() => {
+const modelList = [
+    {
+        id: "WT2000D121H85",
+        name: "WT2000D121H85"
+    },
+    {
+        id: "UP2000-130",
+        name: "UP2000-130"
+    }
+]
+// const modelList = computed(() => {
   //   if (state.changZhan == "") {
   //     return [];
   //   } else {
@@ -414,7 +424,7 @@ const modelList = computed(() => {
   //     equipmentCategory: "F",
   //   },
   // ];
-});
+// });
 //部件列表
 const componentList = computed(() => {
   //   if (state.changZhan == "") {

+ 30 - 20
src/views/IntegratedAlarm/reliability/historyAnalyse/index.vue

@@ -384,31 +384,41 @@ const getfetchRelatePart = async () => {
   state.fetchListAll = data;
 };
 //型号列表
-const modelList = computed(() => {
+const modelList = [
+    {
+        id: "WT2000D121H85",
+        name: "WT2000D121H85"
+    },
+    {
+        id: "UP2000-130",
+        name: "UP2000-130"
+    }
+]
+// const modelList = computed(() => {
   //   if (state.changZhan == "") {
   //     return [];
   //   } else {
   //     return state.modelListAll[state.changZhan];
   //   }
-  return [
-    {
-      id: "SEC-W02B-1250kW",
-      nemCode: "SEC-W02B-1250kW",
-      name: "SEC-W02B-1250kW",
-      aname: "SEC-W02B-1250kW",
-      description: "DI",
-      powerProduction: 1250,
-      windturbineManufacturerId: "SHDQ_MF",
-      photo: null,
-      unit: null,
-      cutinwindSpeed: 3,
-      ratedwindSpeed: 11,
-      cutoutwindSpeed: "25",
-      sweptArea: 5800,
-      equipmentCategory: "F",
-    },
-  ];
-});
+//   return [
+//     {
+//       id: "SEC-W02B-1250kW",
+//       nemCode: "SEC-W02B-1250kW",
+//       name: "SEC-W02B-1250kW",
+//       aname: "SEC-W02B-1250kW",
+//       description: "DI",
+//       powerProduction: 1250,
+//       windturbineManufacturerId: "SHDQ_MF",
+//       photo: null,
+//       unit: null,
+//       cutinwindSpeed: 3,
+//       ratedwindSpeed: 11,
+//       cutoutwindSpeed: "25",
+//       sweptArea: 5800,
+//       equipmentCategory: "F",
+//     },
+//   ];
+// });
 //部件列表
 const componentList = computed(() => {
   //   if (state.changZhan == "") {