Browse Source

删除模拟数据

SunZehao 12 hours ago
parent
commit
85f4271698
47 changed files with 1430 additions and 4259 deletions
  1. 9 9
      src/router/index.js
  2. 15 85
      src/views/IntegratedAlarm/alarmConfig/customConfig/index.vue
  3. 1 575
      src/views/IntegratedAlarm/alarmConfig/historyConfig/index.vue
  4. 1 296
      src/views/IntegratedAlarm/alarmConfig/logs/index.vue
  5. 1 69
      src/views/IntegratedAlarm/deviceConfig/components/custom.vue
  6. 1 591
      src/views/IntegratedAlarm/deviceConfig/components/faultmode.vue
  7. 1 477
      src/views/IntegratedAlarm/deviceConfig/components/windturbine.vue
  8. 1 382
      src/views/IntegratedAlarm/deviceConfig/components/ycpoint.vue
  9. 1 382
      src/views/IntegratedAlarm/deviceConfig/components/yxpoint.vue
  10. 1 39
      src/views/IntegratedAlarm/earlyWarning/index.vue
  11. 67 62
      src/views/IntegratedAlarm/reliability/customAnalyse/index.vue
  12. 5 3
      src/views/IntegratedAlarm/reliability/historyAnalyse/index.vue
  13. 1 1
      src/views/IntegratedAlarm/reliability/partsTemperatureAnalyse/index2.vue
  14. 52 48
      src/views/IntegratedAlarm/safe/components/safecomponent.vue
  15. 54 56
      src/views/IntegratedAlarm/safe/historyWarning/index.vue
  16. 9 9
      src/views/IntegratedAlarm/yhjyReport/index.vue
  17. 956 931
      src/views/SandTable/component/ThreeModel1.vue
  18. 1 1
      src/views/economicsOperation/benchmarkingManagement/intervalBenchmarking/index.vue
  19. 1 1
      src/views/economicsOperation/benchmarkingManagement/loseRate/index.vue
  20. 3 2
      src/views/economicsOperation/benchmarkingManagement/performanceRankingList/index.vue
  21. 1 1
      src/views/economicsOperation/benchmarkingManagement/projectBenchmarking/index.vue
  22. 1 1
      src/views/economicsOperation/benchmarkingManagement/siteBenchmarking/index.vue
  23. 1 1
      src/views/economicsOperation/benchmarkingManagement/wiringBenchmarking/index.vue
  24. 1 1
      src/views/economicsOperation/efficiency/consumeEfficiency/index.vue
  25. 1 1
      src/views/economicsOperation/efficiency/restorationEfficiency/index.vue
  26. 1 1
      src/views/economicsOperation/efficiency/stateEfficiency/index.vue
  27. 8 8
      src/views/economicsOperation/jjyxReport/index.vue
  28. 20 17
      src/views/economicsOperation/nxfHomePage/index.vue
  29. 1 1
      src/views/economicsOperation/stationAnalyse/stationElectricAnalyse/index.vue
  30. 3 3
      src/views/economicsOperation/thematicAnalysis/MTBF/index.vue
  31. 2 2
      src/views/economicsOperation/thematicAnalysis/comprehensiveAnalysis/index.vue
  32. 6 6
      src/views/economicsOperation/thematicAnalysis/failure/index.vue
  33. 6 6
      src/views/economicsOperation/thematicAnalysis/generation/index.vue
  34. 1 1
      src/views/economicsOperation/thematicAnalysis/windEnergy/index.vue
  35. 1 1
      src/views/economicsOperation/weatherMachine/weatherMachine.vue
  36. 2 2
      src/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/historyDetail.vue
  37. 2 2
      src/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/index.vue
  38. 2 2
      src/views/economicsOperation/windAnalyse/monthlyAnalysis/index.vue
  39. 1 1
      src/views/economicsOperation/windAnalyse/performanceAssess/historyDetail.vue
  40. 2 2
      src/views/economicsOperation/windAnalyse/performanceAssess/index.vue
  41. 2 1
      src/views/economicsOperation/windAnalyse/powerCurve/index.vue
  42. 3 3
      src/views/economicsOperation/windAnalyse/powerSearch/index.vue
  43. 33 29
      src/views/economicsOperation/windAnalyse/qxpclfx/index.vue
  44. 2 2
      src/views/economicsOperation/windAnalyse/qxqjpcl/index.vue
  45. 2 2
      src/views/economicsOperation/windAnalyse/singleWindAnasyle/historyDetail.vue
  46. 1 1
      src/views/economicsOperation/windAnalyse/singleWindAnasyle/index.vue
  47. 143 142
      src/views/rateAnalysis/index.vue

+ 9 - 9
src/router/index.js

@@ -1098,15 +1098,6 @@ export const asyncRoutes = [
                 ]
             },
             {
-                path: "czzdybb",
-                name: "czzdybb",
-                component: () => import("@/views/nxReport/czzdybb"),
-                meta: {
-                    title: "自定义报表",
-                    icon: "svg-自定制报表管理",
-                },
-            },
-            {
                 path: "czswdlgl",
                 name: "czswdlgl",
                 component: () => import("@/views/nxReport/czswdlgl"),
@@ -1153,6 +1144,15 @@ export const asyncRoutes = [
                     }
                 ]
             },
+            {
+                path: "czzdybb",
+                name: "czzdybb",
+                component: () => import("@/views/nxReport/czzdybb"),
+                meta: {
+                    title: "自定义报表",
+                    icon: "svg-自定制报表管理",
+                },
+            },
             // {
             //     path: "fdscqk",
             //     name: "fdscqk",

+ 15 - 85
src/views/IntegratedAlarm/alarmConfig/customConfig/index.vue

@@ -11,7 +11,7 @@
         <el-button class="buttons" size="mini" round @click="outExe">
           模板下载</el-button
         >
-          <!-- :action="url + '/alertrule/import'" -->
+        <!-- :action="url + '/alertrule/import'" -->
         <el-upload
           style="display: inline; margin-left: 10px"
           :action="`${$store.state.baseURL}/alertrule/import`"
@@ -259,75 +259,7 @@ const query = reactive({
   relatedparts: "",
 });
 const state = reactive({
-  tableData: [
-    {
-      id: "1",
-      name: "暴风天气",
-      description: "风速超过25米/秒",
-      expression: "AI066>26",
-      tag: "NULL",
-      rank: 2,
-      modelId: "/UP2000/105",
-      category: "windturbine",
-      range: "parts",
-      stationId: "SXJ_KGDL_DJY_FDC_STA",
-      projectId: "NULL",
-      lineId: "NULL",
-      deviceId: "NULL",
-      electricalId: "NULL",
-      relatedParts: "QT",
-      createTime: "2023-09-17T16:00:00.000+0000",
-      enable: true,
-      uniformCode: "NULL",
-      stationName: "06风电场",
-      relatedPartsName: "其他",
-    },
-    {
-      id: "10",
-      name: "齿轮箱轴承温升速度超过1.5",
-      description: "发电机转速大于900,并且 任意齿轮箱轴温度每分钟上升超过1.5",
-      expression:
-        "AI060>900 && ( RiseExceed(AI042,60,1.5) || RiseExceed(AI043,60,1.5))",
-      tag: "NULL",
-      rank: 2,
-      modelId: "/UP2000/105",
-      category: "windturbine",
-      range: "parts",
-      stationId: "SXJ_KGDL_DJY_FDC_STA",
-      projectId: "NULL",
-      lineId: "NULL",
-      deviceId: "NULL",
-      electricalId: "NULL",
-      relatedParts: "FDJ",
-      createTime: "2023-09-17T16:00:00.000+0000",
-      enable: true,
-      uniformCode: "NULL",
-      stationName: "06风电场",
-      relatedPartsName: "发电机",
-    },
-    {
-      id: "100",
-      name: "发电机轴A损坏或碳刷室温度过高",
-      description: "轴A温度大于轴B温度15度",
-      expression: "Math.abs(AI092-AI062)>15",
-      tag: "NULL",
-      rank: 2,
-      modelId: "UP2000-105",
-      category: "windturbine",
-      range: "sensors",
-      stationId: "SXJ_KGDL_GJY_FDC_STA",
-      projectId: "NULL",
-      lineId: "NULL",
-      deviceId: "NULL",
-      electricalId: "NULL",
-      relatedParts: "FDJ",
-      createTime: "2023-09-17T16:00:00.000+0000",
-      enable: true,
-      uniformCode: "NULL",
-      stationName: "07风电场",
-      relatedPartsName: "发电机",
-    },
-  ],
+  tableData: [],
   fetchListAll: [], //部件及预警类型
   modelListAll: {}, //型号所有列表
   isEnabled: [
@@ -1890,19 +1822,18 @@ const getWpArray = async () => {
 const getData = async () => {
   const { data } = await custombj_fetchTableData(query);
   if (data) {
-    data.records.forEach(it => {
-        if (it.expression.length>5) {
-            it.expressionXv = it.expression.substring(0,5) + '...'
-        } else {
-            it.expressionXv = it.expression + '...'
-        }
-        if (it.description.length>5) {
-            it.descriptionXv = it.description.substring(0,5) + '...'
-        } else {
-            it.descriptionXv = it.description + '...'
-        }
-        
-    })
+    data.records.forEach((it) => {
+      if (it.expression.length > 5) {
+        it.expressionXv = it.expression.substring(0, 5) + "...";
+      } else {
+        it.expressionXv = it.expression + "...";
+      }
+      if (it.description.length > 5) {
+        it.descriptionXv = it.description.substring(0, 5) + "...";
+      } else {
+        it.descriptionXv = it.description + "...";
+      }
+    });
     state.tableData = data.records;
     total.value = data.total;
   }
@@ -2010,8 +1941,7 @@ const handleSuccess = (response) => {
   }
 };
 // 批量导入中
-const handleProgress = (response) => {
-};
+const handleProgress = (response) => {};
 // 批量导入失败
 const handleError = (response) => {
   ElMessage.success("导入失败!");

+ 1 - 575
src/views/IntegratedAlarm/alarmConfig/historyConfig/index.vue

@@ -212,581 +212,7 @@ const query = reactive({
 });
 const state = reactive({
   title: "",
-  tableData: [
-    {
-      id: "1.16E+18",
-      tagId: "NULL",
-      triggerType: 1,
-      deviceId: "NULL",
-      suffix: "1",
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_XWT_FDC_STA",
-      modelId: "SEC-W02B-1250kW",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "BJXT",
-      subcomponents: "NULL",
-      description: "变桨主站通讯故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.0",
-      nemCode: "142001",
-      faultCause: "NULL",
-      resolvent: "NULL",
-      stationName: "01风电场",
-      componentsName: "变桨系统",
-    },
-    {
-      id: "HY_0001",
-      tagId: "NULL",
-      triggerType: 0,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "BJXT",
-      subcomponents: "NULL",
-      description: "变桨主站通讯故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.0",
-      nemCode: "142001",
-      faultCause: "NULL",
-      resolvent: "NULL",
-      stationName: "02风电场",
-      componentsName: "变桨系统",
-    },
-    {
-      id: "HY_0002",
-      tagId: "NULL",
-      triggerType: 1,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "BJXT",
-      subcomponents: "NULL",
-      description: "变桨轴1通讯故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.1",
-      nemCode: "142011",
-      faultCause:
-        "1.变桨内部通讯线、HARTING 接头、通讯终端电阻故障;2.驱动器故障;3.通讯模块故障",
-      resolvent:
-        "1.检查变桨内部通讯线、HARTING 接头、通讯终端电阻是否正常;2.检查驱动器是否正常;\n3.检查通讯模块是否正常;",
-      stationName: "02风电场",
-      componentsName: "变桨系统",
-    },
-    {
-      id: "HY_0003",
-      tagId: "NULL",
-      triggerType: 2,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "BJXT",
-      subcomponents: "NULL",
-      description: "变桨轴2通讯故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.2",
-      nemCode: "142012",
-      faultCause:
-        "1.变桨内部通讯线、HARTING 接头、通讯终端电阻故障;2.驱动器故障;3.通讯模块故障;",
-      resolvent:
-        "1.检查变桨内部通讯线、HARTING 接头、通讯终端电阻是否正常;2.检查驱动器是否正常;\n3.检查通讯模块是否正常;",
-      stationName: "02风电场",
-      componentsName: "变桨系统",
-    },
-    {
-      id: "HY_0004",
-      tagId: "NULL",
-      triggerType: 3,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "BJXT",
-      subcomponents: "NULL",
-      description: "变桨轴3通讯故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.3",
-      nemCode: "142013",
-      faultCause:
-        "1.变桨内部通讯线、HARTING 接头、通讯终端电阻故障;2.驱动器故障;3.通讯模块故障;",
-      resolvent:
-        "1.检查变桨内部通讯线、HARTING 接头、通讯终端电阻是否正常;2.检查驱动器是否正常;\n3.检查通讯模块是否正常;",
-      stationName: "02风电场",
-      componentsName: "变桨系统",
-    },
-    {
-      id: "HY_0005",
-      tagId: "NULL",
-      triggerType: 4,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "QT",
-      subcomponents: "NULL",
-      description: "所有从站运行故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.4",
-      nemCode: "143001",
-      faultCause: "Ethercat 通讯模块或其线路故障",
-      resolvent: "检查 Ethercat 通讯模块及其线路是否正常",
-      stationName: "02风电场",
-      componentsName: "其他",
-    },
-    {
-      id: "HY_0006",
-      tagId: "NULL",
-      triggerType: 5,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "QT",
-      subcomponents: "NULL",
-      description: "从站不正常",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.5",
-      nemCode: "143002",
-      faultCause: "NULL",
-      resolvent: "NULL",
-      stationName: "02风电场",
-      componentsName: "其他",
-    },
-    {
-      id: "HY_0007",
-      tagId: "NULL",
-      triggerType: 6,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "QT",
-      subcomponents: "NULL",
-      description: "从站信号丢失",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.6",
-      nemCode: "143003",
-      faultCause: "Ethercat 通讯模块或其线路故障",
-      resolvent: "检查 Ethercat 通讯模块及其线路是否正常",
-      stationName: "02风电场",
-      componentsName: "其他",
-    },
-    {
-      id: "HY_0008",
-      tagId: "NULL",
-      triggerType: 7,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "TDG",
-      subcomponents: "NULL",
-      description: "塔底主站通讯故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.7",
-      nemCode: "140301",
-      faultCause: "变流器通讯模块或其线路故障",
-      resolvent:
-        "1.检查通讯模块及供电是否正常;2.检查模块拨码、通讯接头拨码、终端电阻、屏蔽线接\n地是否正常;",
-      stationName: "02风电场",
-      componentsName: "塔底柜",
-    },
-    {
-      id: "HY_0009",
-      tagId: "NULL",
-      triggerType: 8,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "TDG",
-      subcomponents: "NULL",
-      description: "塔底从站通讯故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.8",
-      nemCode: "140311",
-      faultCause: "变流器通讯模块或其线路故障",
-      resolvent:
-        "1.检查通讯模块及供电是否正常;2.检查模块拨码、通讯接头拨码、终端电阻、屏蔽线接\n地是否正常;",
-      stationName: "02风电场",
-      componentsName: "塔底柜",
-    },
-    {
-      id: "HY_0010",
-      tagId: "NULL",
-      triggerType: 9,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "TDG",
-      subcomponents: "NULL",
-      description: "塔底控制柜温度过高",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.9",
-      nemCode: "110101",
-      faultCause: "1.传感器及线路故障;2.温度超过设置值;3.PLC 模块故障",
-      resolvent:
-        "1.检查传感器及线路是否正常;2.检查控制柜温度是否高温,检查温控开关设置值是否正\n常,检查冷却风扇工作是否正常;3.检查 PLC 模块是否正常;",
-      stationName: "02风电场",
-      componentsName: "塔底柜",
-    },
-    {
-      id: "HY_0011",
-      tagId: "NULL",
-      triggerType: 10,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "TDG",
-      subcomponents: "NULL",
-      description: "塔底控制柜温度过低",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.10",
-      nemCode: "110102",
-      faultCause: "1.传感器及线路故障;2.温度超过设置值;3.PLC 模块故障",
-      resolvent:
-        "1.检查传感器及线路是否正常;2.检查控制柜温控开关设置值是否正常,检查加热器工作\n是否正常,检查控制柜密闭情况是否良好;3.检查 PLC 模块是否正常;",
-      stationName: "02风电场",
-      componentsName: "塔底柜",
-    },
-    {
-      id: "HY_0012",
-      tagId: "NULL",
-      triggerType: 11,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "TDG",
-      subcomponents: "NULL",
-      description: "塔底控制柜风扇保护",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.11",
-      nemCode: "110103",
-      faultCause:
-        "1.线路短路;2.电机过载;3.断路器、辅助触点或控制回路故障;4.PLC 模块故障;",
-      resolvent:
-        "1.检查动力回路是否正常;2.检查电机绕组;3.检查断路器、辅助触点及控制回路是否正\n常;4.检查 PLC 模块是否正常;",
-      stationName: "02风电场",
-      componentsName: "塔底柜",
-    },
-    {
-      id: "HY_0013",
-      tagId: "NULL",
-      triggerType: 12,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "TDG",
-      subcomponents: "NULL",
-      description: "塔底温度过高",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.12",
-      nemCode: "110105",
-      faultCause:
-        "1.线路短路;2.电机过载;3.断路器、辅助触点或控制回路故障;4.PLC 模块故障;",
-      resolvent:
-        "1.检查传感器及线路是否正常;2.检查塔底温度是否高温,查找发热源;3.检查 PLC 模块\n是否正常;",
-      stationName: "02风电场",
-      componentsName: "塔底柜",
-    },
-    {
-      id: "HY_0014",
-      tagId: "NULL",
-      triggerType: 13,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "JC",
-      subcomponents: "NULL",
-      description: "机舱控制柜温度过高",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.13",
-      nemCode: "110110",
-      faultCause: "1.传感器及线路故障;2.温度超过设置值;3.PLC 模块故障",
-      resolvent:
-        "1.检查传感器及线路是否正常;2.检查控制柜温度是否高温,检查温控开关设置值是否正\n常,检查冷却风扇工作是否正常;3.检查 PLC 模块是否正常;",
-      stationName: "02风电场",
-      componentsName: "机舱",
-    },
-    {
-      id: "HY_0015",
-      tagId: "NULL",
-      triggerType: 14,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "JC",
-      subcomponents: "NULL",
-      description: "机舱控制柜温度过低",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.14",
-      nemCode: "110111",
-      faultCause: "1.传感器及线路故障;2.温度超过设置值;3.PLC 模块故障",
-      resolvent:
-        "1.检查传感器及线路是否正常;2.检查控制柜温度是否高温;3.检查 PLC 模块是否正常;",
-      stationName: "02风电场",
-      componentsName: "机舱",
-    },
-    {
-      id: "HY_0016",
-      tagId: "NULL",
-      triggerType: 15,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "JC",
-      subcomponents: "NULL",
-      description: "机舱控制柜风扇保护",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.15",
-      nemCode: "110112",
-      faultCause:
-        "1.线路短路;2.风扇损坏;3.断路器、辅助触点或控制回路故障;4.PLC 模块故障;",
-      resolvent:
-        "1.检查动力回路是否正常;2.检查散热风扇工作是否正常;3.检查断路器、辅助触点及控\n制回路是否正常;4.检查 PLC 模块是否正常;",
-      stationName: "02风电场",
-      componentsName: "机舱",
-    },
-    {
-      id: "HY_0017",
-      tagId: "NULL",
-      triggerType: 16,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "TDG",
-      subcomponents: "NULL",
-      description: "塔底冷却风扇保护",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.16",
-      nemCode: "110113",
-      faultCause:
-        "1.线路短路;2.电机过载;3.断路器、辅助触点或控制回路故障;4.PLC 模块故障;",
-      resolvent:
-        "1.检查动力回路是否正常;2.检查电机绕组阻值和电机绝缘;3.检查断路器、辅助触点及\n控制回路是否正常;4.检查 PLC 模块是否正常;",
-      stationName: "02风电场",
-      componentsName: "塔底柜",
-    },
-    {
-      id: "HY_0018",
-      tagId: "NULL",
-      triggerType: 17,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "BPQ",
-      subcomponents: "NULL",
-      description: "变频器转子侧标记故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.17",
-      nemCode: "30101",
-      faultCause: "转子侧模块总故障",
-      resolvent:
-        "需使用变流器调试软件进行具体代码的分析并参照变流器的故障处理手册排查故障",
-      stationName: "02风电场",
-      componentsName: "变频器",
-    },
-    {
-      id: "HY_0019",
-      tagId: "NULL",
-      triggerType: 18,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "BPQ",
-      subcomponents: "NULL",
-      description: "变频器转子侧电压故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.18",
-      nemCode: "30102",
-      faultCause: "转子侧模块过压和欠压等故障",
-      resolvent:
-        "需使用变流器调试软件进行具体代码的分析并参照变流器的故障处理手册排查故障",
-      stationName: "02风电场",
-      componentsName: "变频器",
-    },
-    {
-      id: "HY_0020",
-      tagId: "NULL",
-      triggerType: 19,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "BPQ",
-      subcomponents: "NULL",
-      description: "变频器转子侧电流故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.19",
-      nemCode: "30103",
-      faultCause: "转子侧模块过流或短路",
-      resolvent:
-        "1.检查电机负载;2.检查供电电压;3.检查在供电侧有无功率因数补偿电容;4.检查整流\n器;5.检查逆变器;6.检查 LCL 滤波器;7.检查整流器 IGBT 和电流互感器;8.需使用变\n流器调试软件进行具体代码的分析并参照变流器的故障处理手册排查故障",
-      stationName: "02风电场",
-      componentsName: "变频器",
-    },
-    {
-      id: "HY_0021",
-      tagId: "NULL",
-      triggerType: 20,
-      deviceId: "NULL",
-      suffix: null,
-      rank: 3,
-      uniformCode: "BI0001",
-      stationId: "SXJ_KGDL_HSM_FDC_STA",
-      modelId: "/HW3-S2500(121)",
-      alarmType: "windturbine",
-      deviceType: "windturbine",
-      components: "BPQ",
-      subcomponents: "NULL",
-      description: "变频器转子侧温度故障",
-      characteristic: "报警",
-      resetTable: false,
-      enable: true,
-      name: "hmi_error_dword_01.20",
-      nemCode: "30104",
-      faultCause: "NULL",
-      resolvent: "NULL",
-      stationName: "02风电场",
-      componentsName: "变频器",
-    },
-  ],
+  tableData: [],
   modelList: [],
   modelListAll: {}, //型号所有列表
   visible: false,

+ 1 - 296
src/views/IntegratedAlarm/alarmConfig/logs/index.vue

@@ -132,302 +132,7 @@ const query = reactive({
   limit: 22,
   pageTotal: null,
 });
-let tableData = ref([
-  {
-    id: "1160895224143552512",
-    ruleName: "暴风天气",
-    ruleType: "自定义报警",
-    ruleId: "1",
-    updateTime: "2023-10-09T03:03:09.826+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_DJY_FDC_STA",
-    modelId: "/UP2000/105",
-    infoList: [],
-    stationName: "02风电场",
-  },
-  {
-    id: "1160895202010210304",
-    ruleName: "220kV总圣线231测控231断路器合位",
-    ruleType: "升压站报警",
-    ruleId: "1160152979207495680",
-    updateTime: "2023-10-09T03:03:04.549+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_YYG01_SBS",
-    modelId: "PVS-800-57-100KW-A",
-    infoList: [],
-    stationName: "03光电站",
-  },
-  {
-    id: "1160890894011211776",
-    ruleName: "1",
-    ruleType: "风机报警",
-    ruleId: "1160890866374942720",
-    updateTime: "2023-10-09T02:45:57.442+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_XWT_FDC_STA",
-    modelId: "SEC-W02B-1250kW",
-    infoList: [],
-    stationName: "03风电场",
-  },
-  {
-    id: "1160890866362359810",
-    ruleName: "1",
-    ruleType: "风机报警",
-    ruleId: "1160890866362359808",
-    updateTime: "2023-10-09T02:45:50.850+0000",
-    updateType: "新增",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_XWT_FDC_STA",
-    modelId: "SEC-W02B-1250kW",
-    infoList: [],
-    stationName: "03风电场",
-  },
-  {
-    id: "1160890799224135681",
-    ruleName: "变桨主站通讯故障",
-    ruleType: "风机报警",
-    ruleId: "1160890799219941376",
-    updateTime: "2023-10-09T02:45:34.843+0000",
-    updateType: "新增",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_XWT_FDC_STA",
-    modelId: "SEC-W02B-1250kW",
-    infoList: [],
-    stationName: "03风电场",
-  },
-  {
-    id: "1160152979152969730",
-    ruleName: "220kV总圣线231测控231断路器合位",
-    ruleType: "升压站报警",
-    ruleId: "1160152979152969728",
-    updateTime: "2023-10-07T01:53:44.831+0000",
-    updateType: "新增",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_YYG01_SBS",
-    modelId: "PVS-800-57-100KW-A",
-    infoList: [],
-    stationName: "03光电站",
-  },
-  {
-    id: "1155913599144042496",
-    ruleName: "暴风天气",
-    ruleType: "自定义报警",
-    ruleId: "1",
-    updateTime: "2023-09-25T09:07:57.872+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_DJY_FDC_STA",
-    modelId: "/UP2000/105",
-    infoList: [],
-    stationName: "02风电场",
-  },
-  {
-    id: "1155913584778551296",
-    ruleName: "PCS请求手动故障清除",
-    ruleType: "风机报警",
-    ruleId: "1155566044237406208",
-    updateTime: "2023-09-25T09:07:54.447+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_XWT_FDC_STA",
-    modelId: "SEC-W02B-1250kW",
-    infoList: [],
-    stationName: "03风电场",
-  },
-  {
-    id: "1155911858658877440",
-    ruleName: "暴风天气",
-    ruleType: "自定义报警",
-    ruleId: "1",
-    updateTime: "2023-09-25T09:01:02.908+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_DJY_FDC_STA",
-    modelId: "/UP2000/105",
-    infoList: [],
-    stationName: "02风电场",
-  },
-  {
-    id: "1155911842401755136",
-    ruleName: "PCS请求手动故障清除",
-    ruleType: "风机报警",
-    ruleId: "1155566044237406208",
-    updateTime: "2023-09-25T09:00:59.032+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_XWT_FDC_STA",
-    modelId: "SEC-W02B-1250kW",
-    infoList: [],
-    stationName: "03风电场",
-  },
-  {
-    id: "1155909071036358656",
-    ruleName: "暴风天气",
-    ruleType: "自定义报警",
-    ruleId: "1",
-    updateTime: "2023-09-25T08:49:58.287+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_DJY_FDC_STA",
-    modelId: "/UP2000/105",
-    infoList: [],
-    stationName: "02风电场",
-  },
-  {
-    id: "1155909055429353472",
-    ruleName: "PCS请求手动故障清除",
-    ruleType: "风机报警",
-    ruleId: "1155566044237406208",
-    updateTime: "2023-09-25T08:49:54.566+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_XWT_FDC_STA",
-    modelId: "SEC-W02B-1250kW",
-    infoList: [],
-    stationName: "03风电场",
-  },
-  {
-    id: "1155908481170415616",
-    ruleName: "PCS请求手动故障清除",
-    ruleType: "风机报警",
-    ruleId: "1155566044237406208",
-    updateTime: "2023-09-25T08:47:37.652+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_XWT_FDC_STA",
-    modelId: "SEC-W02B-1250kW",
-    infoList: [],
-    stationName: "03风电场",
-  },
-  {
-    id: "1155908438870859776",
-    ruleName: "暴风天气",
-    ruleType: "自定义报警",
-    ruleId: "1",
-    updateTime: "2023-09-25T08:47:27.567+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_DJY_FDC_STA",
-    modelId: "/UP2000/105",
-    infoList: [],
-    stationName: "02风电场",
-  },
-  {
-    id: "1155903225233547264",
-    ruleName: "暴风天气",
-    ruleType: "自定义报警",
-    ruleId: "1",
-    updateTime: "2023-09-25T08:26:44.539+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_DJY_FDC_STA",
-    modelId: "/UP2000/105",
-    infoList: [],
-    stationName: "02风电场",
-  },
-  {
-    id: "1155885102535155712",
-    ruleName: "暴风天气",
-    ruleType: "自定义报警",
-    ruleId: "1",
-    updateTime: "2023-09-25T07:14:43.751+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_DJY_FDC_STA",
-    modelId: "/UP2000/105",
-    infoList: [
-      {
-        id: "1155885102535155717",
-        eventId: "1155885102535155712",
-        fieldName: "公式",
-        beforValue: "AI066>25",
-        afterValue: "AI066>26",
-      },
-    ],
-    stationName: "02风电场",
-  },
-  {
-    id: "1155808229784428544",
-    ruleName: "PCS请求手动故障清除",
-    ruleType: "风机报警",
-    ruleId: "1155566044237406208",
-    updateTime: "2023-09-25T02:09:15.859+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_XWT_FDC_STA",
-    modelId: "SEC-W02B-1250kW",
-    infoList: [],
-    stationName: "03风电场",
-  },
-  {
-    id: "1155804017918877696",
-    ruleName: "暴风天气",
-    ruleType: "自定义报警",
-    ruleId: "1",
-    updateTime: "2023-09-25T01:52:31.672+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_DJY_FDC_STA",
-    modelId: "/UP2000/105",
-    infoList: [],
-    stationName: "02风电场",
-  },
-  {
-    id: "1155803998444724224",
-    ruleName: "PCS请求手动故障清除",
-    ruleType: "风机报警",
-    ruleId: "1155566044237406208",
-    updateTime: "2023-09-25T01:52:27.029+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_XWT_FDC_STA",
-    modelId: "SEC-W02B-1250kW",
-    infoList: [],
-    stationName: "03风电场",
-  },
-  {
-    id: "1155795457772232704",
-    ruleName: "暴风天气",
-    ruleType: "自定义报警",
-    ruleId: "1",
-    updateTime: "2023-09-25T01:18:30.774+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_DJY_FDC_STA",
-    modelId: "/UP2000/105",
-    infoList: [],
-    stationName: "02风电场",
-  },
-  {
-    id: "1155794854174138368",
-    ruleName: "PCS请求手动故障清除",
-    ruleType: "风机报警",
-    ruleId: "1155566044237406208",
-    updateTime: "2023-09-25T01:16:06.865+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_XWT_FDC_STA",
-    modelId: "SEC-W02B-1250kW",
-    infoList: [],
-    stationName: "03风电场",
-  },
-  {
-    id: "1155576418407948288",
-    ruleName: "暴风天气",
-    ruleType: "自定义报警",
-    ruleId: "1",
-    updateTime: "2023-09-24T10:48:07.720+0000",
-    updateType: "更新",
-    updateUser: "1",
-    stationId: "SXJ_KGDL_DJY_FDC_STA",
-    modelId: "/UP2000/105",
-    infoList: [],
-    stationName: "02风电场",
-  },
-]);
+let tableData = ref([]);
 let input = ref("");
 let value = ref("");
 let options = ref([

+ 1 - 69
src/views/IntegratedAlarm/deviceConfig/components/custom.vue

@@ -245,75 +245,7 @@ const stationList = computed(() => {
 });
 const isStation = computed(() => store.getters.isStation);
 const state = reactive({
-  tableData: [
-    {
-      id: "1",
-      name: "暴风天气",
-      description: "风速超过25米/秒",
-      expression: "AI066>26",
-      tag: "NULL",
-      rank: 2,
-      modelId: "/UP2000/105",
-      category: "windturbine",
-      range: "parts",
-      stationId: "SXJ_KGDL_DJY_FDC_STA",
-      projectId: "NULL",
-      lineId: "NULL",
-      deviceId: "NULL",
-      electricalId: "NULL",
-      relatedParts: "QT",
-      createTime: "2023-09-17T16:00:00.000+0000",
-      enable: true,
-      uniformCode: "NULL",
-      stationName: "01风电场",
-      relatedPartsName: "其他",
-    },
-    {
-      id: "10",
-      name: "齿轮箱轴承温升速度超过1.5",
-      description: "发电机转速大于900,并且 任意齿轮箱轴温度每分钟上升超过1.5",
-      expression:
-        "AI060>900 && ( RiseExceed(AI042,60,1.5) || RiseExceed(AI043,60,1.5))",
-      tag: "NULL",
-      rank: 2,
-      modelId: "/UP2000/105",
-      category: "windturbine",
-      range: "parts",
-      stationId: "SXJ_KGDL_DJY_FDC_STA",
-      projectId: "NULL",
-      lineId: "NULL",
-      deviceId: "NULL",
-      electricalId: "NULL",
-      relatedParts: "FDJ",
-      createTime: "2023-09-17T16:00:00.000+0000",
-      enable: true,
-      uniformCode: "NULL",
-      stationName: "01风电场",
-      relatedPartsName: "发电机",
-    },
-    {
-      id: "100",
-      name: "发电机轴A损坏或碳刷室温度过高",
-      description: "轴A温度大于轴B温度15度",
-      expression: "Math.abs(AI092-AI062)>15",
-      tag: "NULL",
-      rank: 2,
-      modelId: "UP2000-105",
-      category: "windturbine",
-      range: "sensors",
-      stationId: "SXJ_KGDL_GJY_FDC_STA",
-      projectId: "NULL",
-      lineId: "NULL",
-      deviceId: "NULL",
-      electricalId: "NULL",
-      relatedParts: "FDJ",
-      createTime: "2023-09-17T16:00:00.000+0000",
-      enable: true,
-      uniformCode: "NULL",
-      stationName: "02风电场",
-      relatedPartsName: "发电机",
-    },
-  ],
+  tableData: [],
   modelList: [],
   rankList: [
     {

+ 1 - 591
src/views/IntegratedAlarm/deviceConfig/components/faultmode.vue

@@ -243,597 +243,7 @@ const rank = (v) => {
   return selectV[v] || "";
 };
 let state = reactive({
-  faultmodeTableData: [
-    {
-      id: "9",
-      code: "fdj_mfqms",
-      name: "密封圈磨损",
-      effects: "主轴漏油",
-      cause: "老化装配不当",
-      measure: "1.合理计算更换周期",
-      severity: 6,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010211",
-      models: null,
-    },
-    {
-      id: "11",
-      code: "fdj_zcgsd",
-      name: "轴承盖松动",
-      effects: "主轴漏油,异常运转",
-      cause: "连接螺栓松动",
-      measure: "定期检查紧固锁紧螺栓",
-      severity: 5,
-      occurence: 4,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010211",
-      models: null,
-    },
-    {
-      id: "12",
-      code: "fadj_gr",
-      name: "发电机过热",
-      effects: "部件损坏发热,风机停机频繁,影响风机发电",
-      cause:
-        "1 轴承故障,2 通风故障3 电机过载4 系统振动过大5 定子绕组短路6 冷却空气流量太小",
-      measure: "更换轴承,排除通风故障,减小负载,对症处理,排除短路点,加大流量",
-      severity: 5,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010207",
-      models: null,
-    },
-    {
-      id: "13",
-      code: "fadj_zcgr",
-      name: "发电机轴承过热或不正常杂声",
-      effects: "轴承损坏,影响发电机运行",
-      cause: "1 轴承型号不对",
-      measure: "更换轴承",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010207",
-      models: null,
-    },
-    {
-      id: "14",
-      code: "fdj_clhywgg",
-      name: "风电机齿轮滑油温过高",
-      effects: "冷却润滑不良,影响使用",
-      cause: "处于满发状态过长,润滑油因齿轮箱发热温度上升超过正常值",
-      measure: "敞开塔架大门,增强通风,改善齿轮箱工作环境温度",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010206",
-      models: null,
-    },
-    {
-      id: "15",
-      code: "fdj_fdjzjlqgwgz",
-      name: "风电机组交流器过温故障",
-      effects: "变流器无法工作,分机停机",
-      cause: "冷却风扇堵转、损坏;水冷系统的水泵不工作或压力调节阀失调",
-      measure: "检测风扇、电源,水泵、压力调节阀、储水罐水位等更,换异常器件",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010214",
-      models: null,
-    },
-    {
-      id: "16",
-      code: "fdj_fdjzbjcfdjqddjdlbz",
-      name: "风电机组变桨伺服电机驱动电机过热",
-      effects: "变桨动力不足,影响变桨控制",
-      cause: "轴承故障,系统振动过大",
-      measure: "检测轴承,系统减振",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "17",
-      code: "fdj_fdjzbjcfdjqddjzdgd",
-      name: "风电机组变桨伺服电机驱动电机震动过大",
-      effects: "影响变桨控制",
-      cause: "润滑脂过多或不足,偏航驱动耦合不好",
-      measure: "维持适量润滑脂,重新耦合,检查螺栓连接,检测轴承",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "18",
-      code: "fdj_fdjzbjclms",
-      name: "风电机组变桨齿轮磨损",
-      effects: "影响风机变桨",
-      cause: "润滑不良",
-      measure: "改善润滑条件",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "19",
-      code: "fdj_fbjzcss",
-      name: "风电机组变桨齿轮轴承失效",
-      effects: "影响风机变桨",
-      cause: "轴承安装不当",
-      measure: "安装规范调整",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "20",
-      code: "fdj_fdjzbjcldz",
-      name: "风电机组变桨齿轮断轴",
-      effects: "影响风机变桨",
-      cause: "轴在制造中应力集中",
-      measure: "规范设计",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "21",
-      code: "fdj_fdjzbjclgr",
-      name: "风电机组变桨齿轮过热",
-      effects: "影响风机变桨",
-      cause: "部件损伤,冷却润滑不良",
-      measure: "改善冷却润滑",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "22",
-      code: "fdj_fdjzbjzcsx",
-      name: "风电机组变桨轴承轴承失效",
-      effects: "影响变桨",
-      cause: "轴承安装不当,润滑不良,疲劳失效,温度传感器异常",
-      measure: "规范安装调试,改善润滑条件,改善散热系统",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "23",
-      code: "fdj_fdjzbjkzxttxyc",
-      name: "风电机组变桨控制系统通讯异常",
-      effects: "影响变桨",
-      cause: "通讯电缆故障",
-      measure: "检查变桨通信",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "24",
-      code: "fdj_fdjzbjkzxtsh",
-      name: "风电机组变桨控制系统器件损坏",
-      effects: "影响变桨",
-      cause: "内部电路短路,电路谐波过大",
-      measure: "更换相应电路板,检测电路谐波",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "25",
-      code: "fdj_fdjzbjkzxtdcgz",
-      name: "风电机组变桨控制系统电池故障",
-      effects: "影响变桨",
-      cause: "电池漏放电",
-      measure: "检测备用电池",
-      severity: 5,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "26",
-      code: "fdj_fdjzbmqgzyc",
-      name: "风电机组变桨系统编码器工作异常",
-      effects: "影响变桨",
-      cause: "变桨电机过热,编码器损坏,连接编码器电路损坏",
-      measure: "检测冷却系统,检测更换编码器",
-      severity: 5,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "27",
-      code: "fdj_fdjzbjxtxwkgmssh",
-      name: "风电机组变桨系统限位开关磨损损坏",
-      effects: "影响解缆",
-      cause: "连接螺栓松动,异物侵入,连接电缆损坏,磨损",
-      measure: "定期检查螺栓,加强密封清洁,检查更换电缆,改善润滑条件",
-      severity: 5,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "28",
-      code: "fdj_fdjzbjxtljflfljgpc",
-      name: "风电机组变桨系统连接法兰范例结构偏差",
-      effects: "影响变桨",
-      cause: "连接螺栓松动,安装角度偏差",
-      measure: "定期检查螺栓,规范安装变桨法兰结构,定期检查变桨机械装置",
-      severity: 5,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "29",
-      code: "fdj_fdjzbjxtrhysl",
-      name: "风电机组变桨系统润滑油渗漏",
-      effects: "影响变桨",
-      cause: "偏航齿轮箱尤为计管路连接头松动或损坏,密封件损坏",
-      measure: "检查并连接接头,更换密封件",
-      severity: 5,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "30",
-      code: "fdj_fdjzzkxtjcsdcxgz",
-      name: "风电机组主控系统机舱加速度超限故障",
-      effects: "停机",
-      cause:
-        "1.机组相应参数设置不合理2.传感器信号受干扰造成3.恶劣风况造成4线路虚接造成5.加速度模块或者测量模块KL3404损坏",
-      measure:
-        "1.对线路进行勘察,查看是否存在虚接2.校对X,Y方向加速度信号3.检查PLC相应输入模块KL3404",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010204",
-      models: null,
-    },
-    {
-      id: "31",
-      code: "fdj_fdjzzkxtyyfkgz",
-      name: "风电机组主控系统液压反馈故障",
-      effects: "停机",
-      cause:
-        "1.液压泵的控制回路接线错误2.液压泵的反馈回路虚接问题3测量模块KL1104损坏",
-      measure:
-        "1.对照图纸,检查液压泵的控制回路接线是否正确2.给KL1104模块24V输入信号,看程序是否接受正常",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010208",
-      models: null,
-    },
-    {
-      id: "32",
-      code: "fdj_fdjzzkxtygglbpp",
-      name: "风电机组主控系统有功功率不匹配",
-      effects: "影响调度进度",
-      cause:
-        "1.接线松动2.KL3403模块损坏3.电压互感器上端熔断器损坏4.电流互感器损坏",
-      measure:
-        "1.查看故障文件,变流器三相电路的电压、电流是否正常2.只有一台机组出现此故障时,查看故障文件,变流器三相电路的电压、电流是否正常3.若以上都正常,则变流器的反馈数据有问题,需更换1U1的ASIC版,或直接更换1U1",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010204",
-      models: null,
-    },
-    {
-      id: "33",
-      code: "fdj_fdjzslxtwdbjgz",
-      name: "风电机组水冷系统温度比较故障",
-      effects: "停机",
-      cause:
-        "1.水冷系统实际流量低,导致温差大2.冬天机组刚启动的情况下3.三通阀工作不正常",
-      measure:
-        "1.查看故障F文件,出阀温度与进阀温度之差大于5℃的此故障2.冬天启机时,因水冷系统的作用是给变流器加热,出阀温度降低于进阀温度,当温差低于-1.5℃时机组将报温度比较故障",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010204",
-      models: null,
-    },
-    {
-      id: "34",
-      code: "fdj_fdjzslxtbqbgz",
-      name: "风电机组水冷系统补气泵故障",
-      effects: "停机",
-      cause: "1.补气阀开关未打开2.补气泵保险烧坏3.ABB24V中间继电器触点坏",
-      measure: "1.打开补气泵开关2.检查并更换补气泵保险",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010204",
-      models: null,
-    },
-    {
-      id: "35",
-      code: "fdj_fdjzbjxtbjnbqokxhds",
-      name: "风电机组变桨系统变桨逆变器OK信号丢失故障",
-      effects: "停机",
-      cause: "1.变桨逆变器温度高导致AC2自我保护2.变桨电机缺相、电机绕组损坏",
-      measure:
-        "在监控面板上查看“变桨逆变器OK”信号闪烁次数,根据相关守则进行处理",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "36",
-      code: "fdj_fdjzbjxtbjsdbjgz",
-      name: "风电机组变桨系统变桨速度比较故障",
-      effects: "停机",
-      cause:
-        "1.变桨齿形带有松动现象,2KL4001模块输出有偏差2.输出未按PLC模块执行KL5001",
-      measure:
-        "1.全面检查柜体内外接线是否存在脱落或松动现象2.手动变桨以查看叶片旋转速度是否正常3.如果还是叶片速度不正常则需要检查KL5001模块",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "37",
-      code: "fdj_fdjzbjxtbjxwkggz",
-      name: "风电机组变桨系统变桨限位开关故障",
-      effects: "影响进度",
-      cause: "1.选编问题2.限位开关问题3.87°接近开关损坏4.A3模块KL1104损坏",
-      measure:
-        "1.查看变桨角度和限位开关状态2.变桨角度和限位开关状态均正常,查看b文件中选编读数,读数是否不变或有跳变情况",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "38",
-      code: "fdj_fdjzjxxtdlzgz",
-      name: "风电机组机械系统导流罩故障",
-      effects: "增加运维成本",
-      cause:
-        "1.导流罩前端盖与导流罩分块总成连接处的玻璃钢法兰厚度偏薄或厚度不均2.安装共意思方面存在一些缺陷",
-      measure:
-        "1.要求厂家出具整改方案,经研发确认后进行处理2.玻璃钢螺栓孔被磨大,在该被磨大的螺栓孔两侧各增加一螺丝孔以加强3.更换导流罩",
-      severity: 5,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010204",
-      models: null,
-    },
-    {
-      id: "39",
-      code: "fdj_fdjzjxtfdjzcgz",
-      name: "风电机组机械系统发电机轴承故障",
-      effects: "发电机损坏",
-      cause: "轴承不同程度损坏",
-      measure: "1.观察2.轴承外部油脂检查3.取油脂送检4.听诊器听声音",
-      severity: 5,
-      occurence: 5,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010207",
-      models: null,
-    },
-    {
-      id: "40",
-      code: "fdj_fdjzjxxtypsdpzdqwt",
-      name: "风电机组机械系统叶片锁定盘制动器问题",
-      effects: "影响运维",
-      cause: "1.转子刹车环锁定槽损坏2.转子制动器刹车片损坏故障",
-      measure: "更换刹车片",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010208",
-      models: null,
-    },
-    {
-      id: "41",
-      code: "fdj_fdjzjxxtlswt",
-      name: "风电机组机械系统螺栓问题",
-      effects: "影响维护,安全隐患",
-      cause: "螺栓各种问题",
-      measure: "更换损坏螺栓",
-      severity: 5,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010204",
-      models: null,
-    },
-    {
-      id: "1155573689539239936",
-      code: "yp_ypbbuxy",
-      name: "不吸油",
-      effects: "泵不能正常工作",
-      cause: "叶片与转子配合紧",
-      measure: "叶片长度、厚度、强度设计",
-      severity: 2,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "1155573781352554496",
-      code: "yp_ypbbuxy",
-      name: "不吸油",
-      effects: "泵不能正常工作",
-      cause: "叶片与转子配合紧",
-      measure: "叶片长度、厚度、强度设计",
-      severity: 2,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "1155573783718141952",
-      code: "yp_ypbbuxy",
-      name: "不吸油",
-      effects: "泵不能正常工作",
-      cause: "叶片与转子配合紧",
-      measure: "叶片长度、厚度、强度设计",
-      severity: 2,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "1155573918372077568",
-      code: "yp_ypbbuxy",
-      name: "不吸油",
-      effects: "泵不能正常工作",
-      cause: "叶片与转子配合紧",
-      measure: "叶片长度、厚度、强度设计",
-      severity: 2,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "1155576116652941312",
-      code: "yp_ypbbuxy",
-      name: "不吸油",
-      effects: "泵不能正常工作",
-      cause: "叶片与转子配合紧",
-      measure: "叶片长度、厚度、强度设计",
-      severity: 2,
-      occurence: 4,
-      detection: 3,
-      deviceId: "windturbine",
-      structureCode: "101010202",
-      models: null,
-    },
-    {
-      id: "1155804035396542464",
-      code: "fdj_fdjzydl",
-      name: "主轴疲劳断裂",
-      effects: "功能丧失,停机处理",
-      cause: "材料内部有裂纹截面应集中表面粗糙度过大",
-      measure: "1.调制处理2.专用R规检查3.加强表面探伤",
-      severity: 2,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010211",
-      models: null,
-    },
-    {
-      id: "1155912444825444352",
-      code: "fdj_zcms",
-      name: "轴承磨损",
-      effects: "振动、噪音,异常运转",
-      cause: "润滑、密封不良",
-      measure: "1.定期增加润滑脂",
-      severity: 7,
-      occurence: 4,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010211",
-      models: null,
-    },
-    {
-      id: "1155913611324301312",
-      code: "fdj_zczdl",
-      name: "轴承座断裂",
-      effects: "功能丧失,停机处理",
-      cause: "铸件内部裂纹存在应力集中",
-      measure: "加强探伤",
-      severity: 7,
-      occurence: 3,
-      detection: 2,
-      deviceId: "windturbine",
-      structureCode: "101010211",
-      models: null,
-    },
-    {
-      id: "1160895253386240000",
-      code: "fdj_mfqms",
-      name: "密封圈磨损",
-      effects: "主轴漏油",
-      cause: "老化装配不当",
-      measure: "1.合理计算更换周期",
-      severity: 6,
-      occurence: 3,
-      detection: 4,
-      deviceId: "windturbine",
-      structureCode: "101010211",
-      models: null,
-    },
-  ],
+  faultmodeTableData: [],
   addFormData: {
     code: "",
     name: "",

+ 1 - 477
src/views/IntegratedAlarm/deviceConfig/components/windturbine.vue

@@ -179,483 +179,7 @@ const getStationList = async () => {
 };
 const isStation = computed(() => stationList.value.length);
 const state = reactive({
-  tableData: [
-    {
-      id: "001047",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS001DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00001",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "220kV总圣线231测控231断路器合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001048",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS002DB0111SW02RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00002",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "220kV总圣线231测控231-A刀闸合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001049",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS003DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00003",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "220kV总圣线231测控231-1刀闸合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001050",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS004DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00004",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "220kV总圣线231测控231-A0地刀合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001051",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS005DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00005",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "220kV总圣线231测控231-10地刀合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001052",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS006DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00006",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "220kV总圣线231测控231-线0地刀合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001053",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS006DB0111SW09RAW00",
-      triggerType: 1,
-      deviceId: null,
-      suffix: null,
-      rank: 5,
-      uniformCode: "DI00007",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "复合信号虚装置全站事故总",
-      characteristic: "事故",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001054",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS007DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00008",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "1#变压器高压侧201测控201断路器合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001055",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS008DB0111SW02RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00009",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "1#变压器高压侧201测控201-A刀闸合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001056",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS009DB0111SW02RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00010",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "1#变压器高压侧201测控201-1刀闸合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001057",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS010DB0111SW05RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00011",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "1#变压器高压侧201测控201-A0地刀合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001058",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS011DB0111SW04RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00012",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "1#变压器高压侧201测控201-10地刀合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001059",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS012DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00013",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "1#变压器高压侧201测控201-变0地刀合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001060",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS013DB0111SW03RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00014",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "1#变压器高压侧201测控1#主变2010地刀合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001061",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS014DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00015",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "1#主变35kV侧301进线断路器合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001062",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS015DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00016",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "1#主变35kV侧301进线手车工作位置",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001063",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS016DB0111SW11RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00017",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "2#变压器高压侧202测控202断路器合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001064",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS018DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00018",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "2#变压器高压侧202测控202-1刀闸合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-    {
-      id: "001065",
-      tagId: "FD-DJY-YuanDong.140623F0221MDQ02GS019DB0111SW01RAW00",
-      triggerType: -1,
-      deviceId: null,
-      suffix: null,
-      rank: 4,
-      uniformCode: "DI00019",
-      stationId: "SXJ_KGDL_DJYF01_SBS",
-      modelId: null,
-      alarmType: "booststation",
-      deviceType: "booststation",
-      components: null,
-      subcomponents: null,
-      description: "2#变压器高压侧202测控202-A0地刀合位",
-      characteristic: "动作",
-      resetTable: false,
-      enable: true,
-      name: null,
-      nemCode: null,
-      faultCause: null,
-      resolvent: null,
-      stationName: "丁家窑风电场",
-      componentsName: null,
-    },
-  ],
+  tableData: [],
   modelList: [],
   visible: false,
   form: {},

+ 1 - 382
src/views/IntegratedAlarm/deviceConfig/components/ycpoint.vue

@@ -344,388 +344,7 @@ let state = reactive({
     { text: "数据类型", code: "categorysci" },
     { text: "描述", code: "description" },
   ],
-  pointTableData: [
-    {
-      id: "1156264805150367744",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155576066015109120",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1160891964355649536",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155913526452559872",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155913553241579520",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156259746740051968",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156267504902217728",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1160891930474061824",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156260274253471744",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156267544110571520",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156260130451759104",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156265364842487808",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155576093894647808",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0001",
-      name: "风机故障1",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障1",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155803930232758272",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0003",
-      name: "风机故障3",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障3",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155803963267096576",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0003",
-      name: "风机故障3",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障3",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155911734918520832",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0005",
-      name: "风机故障5",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障5",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155911780854538240",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0005",
-      name: "风机故障5",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障5",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "6",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0006",
-      name: "风机故障6",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障6",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "7",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0007",
-      name: "风机故障7",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障7",
-      deviceModelMetrics: null,
-    },
-  ],
+  pointTableData: [],
   SearchVal: "",
   selectPoint: "",
   selectModel: "",

+ 1 - 382
src/views/IntegratedAlarm/deviceConfig/components/yxpoint.vue

@@ -309,388 +309,7 @@ let state = reactive({
     { text: "数据类型", code: "categorysci" },
     { text: "描述", code: "description" },
   ],
-  pointTableData: [
-    {
-      id: "1156264805150367744",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155576066015109120",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1160891964355649536",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155913526452559872",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155913553241579520",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156259746740051968",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156267504902217728",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1160891930474061824",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156260274253471744",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156267544110571520",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156260130451759104",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1156265364842487808",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155576093894647808",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0002",
-      name: "风机故障2",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障2",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155803930232758272",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0003",
-      name: "风机故障3",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障3",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155803963267096576",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0003",
-      name: "风机故障3",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障3",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155911734918520832",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0005",
-      name: "风机故障5",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障5",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "1155911780854538240",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0005",
-      name: "风机故障5",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障5",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "6",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0006",
-      name: "风机故障6",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障6",
-      deviceModelMetrics: null,
-    },
-    {
-      id: "7",
-      deviceId: "windturbine",
-      structureCode: "101010213",
-      metricCode: "AI0007",
-      name: "风机故障7",
-      enname: "",
-      unitName: "",
-      unitNamecn: "",
-      categoryData: "AI",
-      categorysci: "",
-      categorysys: null,
-      categoryres1: null,
-      categoryres2: null,
-      categoryres3: null,
-      categoryres4: null,
-      categoryres5: null,
-      description: "风机故障7",
-      deviceModelMetrics: null,
-    },
-  ],
+  pointTableData: [],
   SearchVal: "",
   selectPoint: "",
   selectModel: "",

+ 1 - 39
src/views/IntegratedAlarm/earlyWarning/index.vue

@@ -302,45 +302,7 @@ export default {
         传送链: { start: 0, count: 1 },
         机舱: { start: 1, count: 1 },
       },
-      tableData: [
-        {
-          id: "0002",
-          types: "传送链",
-          troubleMethod: [
-            "检查主轴是否有断裂或磨损。 ",
-            "检查联轴器是否有断裂或磨损。 ",
-            "观察传动系统是否有异常声音或卡滞现象。",
-          ],
-          processMethod: ["更换断裂的主轴或联轴器。 ", "维修磨损的部件。"],
-          tools: ["望远镜 ", "扳手 ", "螺丝刀"],
-          spareParts: ["主轴 ", "联轴器"],
-          name: "断轴或联轴打滑",
-          part: "传送链",
-          rowIndex: 0,
-        },
-        {
-          id: "0001",
-          types: "机舱",
-          troubleMethod: [
-            "检查偏航电机运行是否正常,是否有异响或卡滞。 ",
-            "检查偏航齿轮箱油位是否正常,是否有泄漏。 ",
-            "检查偏航液压系统油位是否正常,是否有泄漏。 ",
-            "检查偏航传感器是否正常工作,是否有故障。 ",
-            "观察偏航过程中是否有异常声音或卡滞现象。",
-          ],
-          processMethod: [
-            "更换故障的偏航电机。 ",
-            "更换损坏的偏航齿轮箱。 ",
-            "维修或更换泄漏的偏航液压系统。 ",
-            "更换故障的偏航传感器。",
-          ],
-          tools: ["兆欧表 ", "温度计 ", "油位尺 ", "扳手 ", "螺丝刀"],
-          spareParts: ["偏航电机 ", "偏航齿轮箱 ", "偏航液压泵 ", "偏航传感器"],
-          name: "风机偏航过程震动",
-          part: "机舱",
-          rowIndex: 1,
-        },
-      ],
+      tableData: [],
       query: {
         page: 1,
         limit: 21,

+ 67 - 62
src/views/IntegratedAlarm/reliability/customAnalyse/index.vue

@@ -187,11 +187,12 @@
                 class="bar-percent"
                 :style="{
                   width:
-                  scope.row[`${item.code}_count`] > 0 ?
-                    (Math.ceil(scope.row[`${item.code}_count`]) /
-                      Math.ceil(scope.column.realWidth)) *
-                      100 +
-                    'px' : '0px',
+                    scope.row[`${item.code}_count`] > 0
+                      ? (Math.ceil(scope.row[`${item.code}_count`]) /
+                          Math.ceil(scope.column.realWidth)) *
+                          100 +
+                        'px'
+                      : '0px',
                 }"
               ></div>
               <!-- <span class="value">{{ row[`${item.code}_count`] }} 次</span> -->
@@ -215,11 +216,12 @@
                 class="bar-percent"
                 :style="{
                   width:
-                  scope.row[`${item.code}_time`] > 0 ?
-                    (Math.ceil(scope.row[`${item.code}_time`]) /
-                      Math.ceil(scope.column.realWidth)) *
-                      100 +
-                    'px' : '0px',
+                    scope.row[`${item.code}_time`] > 0
+                      ? (Math.ceil(scope.row[`${item.code}_time`]) /
+                          Math.ceil(scope.column.realWidth)) *
+                          100 +
+                        'px'
+                      : '0px',
                 }"
               ></div>
               <!-- <span class="value">{{ row[`${item.code}_time`] }} 分钟</span> -->
@@ -320,8 +322,10 @@ const state = reactive({
     //   value: "inverter",
     // },
   ],
-  tableData: dataJson.data.data.data,
-  tHeard: dataJson.data.data.title,
+//   tableData: dataJson.data.data.data,
+  tableData: [],
+//   tHeard: dataJson.data.data.title,
+  tHeard: [],
   changZhan: "",
   components: ["FDJ", "CLX"], //部件
   modelId: "", //型号
@@ -391,39 +395,39 @@ const getfetchRelatePart = async () => {
 };
 //型号列表
 const modelList = [
-    {
-        id: "WT2000D121H85",
-        name: "WT2000D121H85"
-    },
-    {
-        id: "UP2000-130",
-        name: "UP2000-130"
-    }
-]
+  {
+    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",
-  //   },
-  // ];
+//   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",
+//   },
+// ];
 // });
 //部件列表
 const componentList = computed(() => {
@@ -669,11 +673,13 @@ function getTableList() {
       modelId: state.modelId,
       alarmIds: state.alarmIds,
       deviceType: state.typeVal,
-    }).then((res) => {
-      changeTableData(res);
-    }).catch(() =>{
-      changeTableData(dataJson.data.data.dataList);
-    });
+    })
+      .then((res) => {
+        changeTableData(res);
+      })
+      .catch(() => {
+        //   changeTableData(dataJson.data.data.dataList);
+      });
   } else {
     BASE.showMsg({
       msg: "部件至少选择一项才可查询",
@@ -719,17 +725,17 @@ const changeTableData = (res) => {
 };
 
 const handleSortChange = ({ column, prop, order }) => {
-    let code = prop.code+'_count';
-    state.tableData = state.tableData.slice().sort((a, b) => {
-        if (order === 'ascending') {
-        return a[code] - b[code];
-        } else if (order === 'descending') {
-        return b[code] - a[code];
-        } else {
-        // return 0;
-        }
-    });
-}
+  let code = prop.code + "_count";
+  state.tableData = state.tableData.slice().sort((a, b) => {
+    if (order === "ascending") {
+      return a[code] - b[code];
+    } else if (order === "descending") {
+      return b[code] - a[code];
+    } else {
+      // return 0;
+    }
+  });
+};
 
 const handleSort = function (val) {
   let item = val.prop;
@@ -750,7 +756,6 @@ const compare = function (property) {
       var value2 = b[property];
       return value1 - value2;
     };
-  
   }
 };
 //     // 单元格点击事件
@@ -850,7 +855,7 @@ const compare = function (property) {
       height: 41px;
       display: flex;
       align-items: center;
-        background: url("~@/assets/imgs/title_left_bg.png") no-repeat;
+      background: url("~@/assets/imgs/title_left_bg.png") no-repeat;
       span {
         font-size: 16px;
         font-family: Microsoft YaHei;

+ 5 - 3
src/views/IntegratedAlarm/reliability/historyAnalyse/index.vue

@@ -334,8 +334,10 @@ const state = reactive({
     //   value: "inverter",
     // },
   ],
-  tableData: dataJson2.data.data.data,
-  tHeard: dataJson2.data.data.title,
+//   tableData: dataJson2.data.data.data,
+//   tHeard: dataJson2.data.data.title,
+tableData: [],
+tHeard: [],
   changZhan: "",
   components: ["FDJ", "CLX"], //部件
   modelId: "", //型号
@@ -685,7 +687,7 @@ function getTableList() {
             state.tableData = [];
         }
     }).catch(() =>{
-      changeTableData(dataJson)
+    //   changeTableData(dataJson)
     });
   } else {
     BASE.showMsg({

+ 1 - 1
src/views/IntegratedAlarm/reliability/partsTemperatureAnalyse/index2.vue

@@ -247,7 +247,7 @@ export default {
     },
     init() {
       this.$nextTick(() => {
-        this.changeData(dataJson)
+        // this.changeData(dataJson)
 
         let tableDom = this.$refs.multipleTable.$refs.bodyWrapper;
         let time = null;

+ 52 - 48
src/views/IntegratedAlarm/safe/components/safecomponent.vue

@@ -40,7 +40,7 @@
       />
       <!-- :prop="alarmType==='custom' ? characteristic : description" -->
       <el-table-column
-        :prop="alarmType==='custom' ? 'characteristic' : 'description'"
+        :prop="alarmType === 'custom' ? 'characteristic' : 'description'"
         align="center"
         label="信息"
         show-overflow-tooltip
@@ -138,7 +138,11 @@
               <span
                 class="alertDescCursor"
                 @click="goToAlertDescPage(scope.row)"
-                >{{ alarmType==='custom' ? scope.row.characteristic : scope.row.description || "--" }}</span
+                >{{
+                  alarmType === "custom"
+                    ? scope.row.characteristic
+                    : scope.row.description || "--"
+                }}</span
               >
             </template>
           </el-table-column>
@@ -272,53 +276,53 @@ export default {
     },
 
     initWarningList() {
-        if (this.$store.state.warningList?.length>0) {
-            let alarmList = [];
-            // let fullTableData = [];
-            let dialogTableData = [];
-            this.$store.state.warningList.forEach((ele) => {
-                if (
-                this.deviceType === ele.deviceType &&
-                this.alarmType === ele.alarmType
-                ) {
-                alarmList?.length < this.$store.state.warningListLimitLength &&
-                    alarmList.push(ele);
-                dialogTableData?.length < 50 && dialogTableData.push(ele);
-                // fullTableData.push(ele);
-                }
-            });
-            alarmList.sort((a, b) => {
-                return b.ts - a.ts;
-            });
-            dialogTableData.sort((a, b) => {
-                return b.ts - a.ts;
-            });
-            // fullTableData.sort((a, b) => {
-            //   return b.ts - a.ts;
-            // });
-            this.alarmList = alarmList;
-            console.log("alarmList===>>>>", this.alarmList)
-            if (!this.stopUpdate) {
-                this.dialogTableData = dialogTableData;
-            }
-            // this.fullTableData = fullTableData;
-        } else {
-            this.alarmList = [{
-          tsName: "06-11 12:00:00",
-          wpName: "风电场1",
-          deviceName: "#36",
-          description: "变频器报告电网已接入",
-          isClose: true,
-        },
-        {
-          tsName: "06-11 12:00:00",
-          wpName: "风电场2",
-          deviceName: "#58",
-          description: "风机等待运行就绪",
-          isClose: false,
-        }]
+      if (this.$store.state.warningList?.length > 0) {
+        let alarmList = [];
+        // let fullTableData = [];
+        let dialogTableData = [];
+        this.$store.state.warningList.forEach((ele) => {
+          if (
+            this.deviceType === ele.deviceType &&
+            this.alarmType === ele.alarmType
+          ) {
+            alarmList?.length < this.$store.state.warningListLimitLength &&
+              alarmList.push(ele);
+            dialogTableData?.length < 50 && dialogTableData.push(ele);
+            // fullTableData.push(ele);
+          }
+        });
+        alarmList.sort((a, b) => {
+          return b.ts - a.ts;
+        });
+        dialogTableData.sort((a, b) => {
+          return b.ts - a.ts;
+        });
+        // fullTableData.sort((a, b) => {
+        //   return b.ts - a.ts;
+        // });
+        this.alarmList = alarmList;
+        console.log("alarmList===>>>>", this.alarmList);
+        if (!this.stopUpdate) {
+          this.dialogTableData = dialogTableData;
         }
-      
+        // this.fullTableData = fullTableData;
+      }
+      // else {
+      //     this.alarmList = [{
+      //   tsName: "06-11 12:00:00",
+      //   wpName: "风电场1",
+      //   deviceName: "#36",
+      //   description: "变频器报告电网已接入",
+      //   isClose: true,
+      // },
+      // {
+      //   tsName: "06-11 12:00:00",
+      //   wpName: "风电场2",
+      //   deviceName: "#58",
+      //   description: "风机等待运行就绪",
+      //   isClose: false,
+      // }]
+      // }
     },
 
     clickAlarmItem() {

+ 54 - 56
src/views/IntegratedAlarm/safe/historyWarning/index.vue

@@ -368,8 +368,6 @@ onMounted(() => {
   //     ];
   //   }
 
-  
-
   getStationList(); //场站
   // getAlarmHistoryt();
 
@@ -621,63 +619,63 @@ const getAlarmHistoryt = async () => {
   if (data) {
     query.pageTotal = data?.total;
     data?.ls?.forEach((ele) => {
-        ele.isCloseName = ele.endts ? "已解除" : "未解除";
-        ele.alarmTypeName =
+      ele.isCloseName = ele.endts ? "已解除" : "未解除";
+      ele.alarmTypeName =
         ele.alarmType === "booststation"
-            ? "升压站"
-            : ele.alarmType === "windturbine"
-            ? "风机"
-            : ele.alarmType === "inverter"
-            ? "光伏"
-            : "";
-        ele.endtsName = ele.endts > 0 ? formatTime(ele.endts) : "--";
+          ? "升压站"
+          : ele.alarmType === "windturbine"
+          ? "风机"
+          : ele.alarmType === "inverter"
+          ? "光伏"
+          : "";
+      ele.endtsName = ele.endts > 0 ? formatTime(ele.endts) : "--";
     });
     state.tableData = data?.ls;
-  } else {
-    state.tableData = new Array(5).fill({
-        tbName: null,
-        alarmId: "SQ_0125",
-        alarmType: "windturbine",
-        characteristic: "报警",
-        components: "BPQ",
-        confirmed: false,
-        description: "变频器故障27",
-        deviceId: "SXJ_KGDL_XWT_F_WT_0014_EQ",
-        devicename: "14号风机",
-        deviceType: "windturbine",
-        enabled: true,
-        lineid: "SXJ_KGDL_XWTF01_LN",
-        linename: "一号风机线",
-        modelId: "SEC-W02B-1250kW",
-        projectid: "SXJ_KGDL_XWTF01_EG",
-        projectname: "一期项目",
-        rank: 3,
-        resettable: false,
-        stationid: "",
-        stationname: "13风电场",
-        subcomponents: "NULL",
-        suffix: null,
-        tagid: "FD-YYXWT-ShangQi.140623F1412MDL01BF399DB0122SP01RAW00",
-        triggertype: 1463,
-        uniformcode: "BJ0001",
-        superTableName: null,
-        ts: 1718160795000,
-        val: 1,
-        oval: null,
-        endts: 0,
-        timelong: 0,
-        name: null,
-        nemCode: "状态码1463",
-        faultCause: "13.7s>信号<=14.2s",
-        resolvent: "输入端142功率上升延迟300s",
-        wpName: "13风电场",
-        code: "#14",
-        wpId: null,
-        faultType: null,
-        id: "sxj_kgdl_xwt_f_wt_0014_eq_sq_0125",
-    });
   }
-  
+  //    else {
+  //     state.tableData = new Array(5).fill({
+  //         tbName: null,
+  //         alarmId: "SQ_0125",
+  //         alarmType: "windturbine",
+  //         characteristic: "报警",
+  //         components: "BPQ",
+  //         confirmed: false,
+  //         description: "变频器故障27",
+  //         deviceId: "SXJ_KGDL_XWT_F_WT_0014_EQ",
+  //         devicename: "14号风机",
+  //         deviceType: "windturbine",
+  //         enabled: true,
+  //         lineid: "SXJ_KGDL_XWTF01_LN",
+  //         linename: "一号风机线",
+  //         modelId: "SEC-W02B-1250kW",
+  //         projectid: "SXJ_KGDL_XWTF01_EG",
+  //         projectname: "一期项目",
+  //         rank: 3,
+  //         resettable: false,
+  //         stationid: "",
+  //         stationname: "13风电场",
+  //         subcomponents: "NULL",
+  //         suffix: null,
+  //         tagid: "FD-YYXWT-ShangQi.140623F1412MDL01BF399DB0122SP01RAW00",
+  //         triggertype: 1463,
+  //         uniformcode: "BJ0001",
+  //         superTableName: null,
+  //         ts: 1718160795000,
+  //         val: 1,
+  //         oval: null,
+  //         endts: 0,
+  //         timelong: 0,
+  //         name: null,
+  //         nemCode: "状态码1463",
+  //         faultCause: "13.7s>信号<=14.2s",
+  //         resolvent: "输入端142功率上升延迟300s",
+  //         wpName: "13风电场",
+  //         code: "#14",
+  //         wpId: null,
+  //         faultType: null,
+  //         id: "sxj_kgdl_xwt_f_wt_0014_eq_sq_0125",
+  //     });
+  //   }
 };
 //报警类型变化
 const typechange = () => {
@@ -860,7 +858,7 @@ p {
       }
     }
     .warpperTable :deep {
-      .el-table__body-wrapper{
+      .el-table__body-wrapper {
         height: 100%;
         overflow-y: auto;
       }

+ 9 - 9
src/views/IntegratedAlarm/yhjyReport/index.vue

@@ -425,9 +425,9 @@
             /**场站 */
             funGetStation() {
                 let that = this;
-                this.renderReportPage({
-                    data: jsonData.reldata
-                });
+                // this.renderReportPage({
+                //     data: jsonData.reldata
+                // });
                 that.stationList = [];
                 that.reportStation = "";
                 getWpList().then((res) => {
@@ -518,9 +518,9 @@
                         this.getWordFn(tempRes);
                     })
                     .catch((e) => {
-                        this.getWordFn({
-                            data: jsonData.reldata,
-                        });
+                        // this.getWordFn({
+                        //     data: jsonData.reldata,
+                        // });
                     });
             },
             // 导出word方法
@@ -664,9 +664,9 @@
                             this.renderReportPage(res);
                         })
                         .catch(() => {
-                            this.renderReportPage({
-                                data: jsonData.reldata,
-                            });
+                            // this.renderReportPage({
+                            //     data: jsonData.reldata,
+                            // });
                         });
                 }
             },

File diff suppressed because it is too large
+ 956 - 931
src/views/SandTable/component/ThreeModel1.vue


+ 1 - 1
src/views/economicsOperation/benchmarkingManagement/intervalBenchmarking/index.vue

@@ -401,7 +401,7 @@ export default {
       //   this.initialization()
     },
     initialization() {
-        this.dataChange(dataJson.data)
+        // this.dataChange(dataJson.data)
 
       companys().then(({ data: res }) => {
         if (res.data) {

+ 1 - 1
src/views/economicsOperation/benchmarkingManagement/loseRate/index.vue

@@ -428,7 +428,7 @@ export default {
       //   this.gerWxssl();
     },
     initialization() {
-        this.dataChange(dataJson.data)
+        // this.dataChange(dataJson.data)
       companys().then(({ data: res }) => {
         if (res.data) {
           this.company = res.data[0].id;

+ 3 - 2
src/views/economicsOperation/benchmarkingManagement/performanceRankingList/index.vue

@@ -274,7 +274,8 @@ export default {
         { code: "xn", name: "性能", unit: "万kWh" },
         { code: "fnlly", name: "风能利用率", name1: "光能利用率", unit: "%" },
       ],
-      tableData: dataJson.data.data,
+    //   tableData: dataJson.data.data,
+      tableData: [],
       showDisplay: true,
       height: "880px",
       sort: "",
@@ -361,7 +362,7 @@ export default {
       this.getPerformance();
     },
     initialization() {
-        this.dataChange(dataJson)
+        // this.dataChange(dataJson)
       companys().then(({ data: res }) => {
         this.companyOptions = res.data;
         if (res.data.length) {

+ 1 - 1
src/views/economicsOperation/benchmarkingManagement/projectBenchmarking/index.vue

@@ -407,7 +407,7 @@ export default {
       this.getXmdb();
     },
     initialization() {
-        this.dataChange(dataJson.data)
+        // this.dataChange(dataJson.data)
 
       companys().then(({ data: res }) => {
         if (res.data) {

+ 1 - 1
src/views/economicsOperation/benchmarkingManagement/siteBenchmarking/index.vue

@@ -707,7 +707,7 @@ export default {
       //   this.initialization();
     },
     initialization() {
-      this.dataChange(dataJson.data)
+    //   this.dataChange(dataJson.data)
 
       companys().then(({ data: res }) => {
         if (res.data) {

+ 1 - 1
src/views/economicsOperation/benchmarkingManagement/wiringBenchmarking/index.vue

@@ -454,7 +454,7 @@ export default {
       this.gerXldb();
     },
     initialization() {
-        this.dataChange(dataJson.data)
+        // this.dataChange(dataJson.data)
 
       companys().then(({ data: res }) => {
         if (res.data) {

+ 1 - 1
src/views/economicsOperation/efficiency/consumeEfficiency/index.vue

@@ -130,7 +130,7 @@ export default {
   },
   methods: {
     initialization() {
-      this.dataChange(dataJson.data)
+    //   this.dataChange(dataJson.data)
 
       companys().then(({ data: res }) => {
         this.companyOptions = res.data;

+ 1 - 1
src/views/economicsOperation/efficiency/restorationEfficiency/index.vue

@@ -179,7 +179,7 @@ export default {
   },
   methods: {
     initialization() {
-        this.dataChange(dataJson.data)
+        // this.dataChange(dataJson.data)
 
       companys().then(({ data: res }) => {
         this.companyOptions = res.data;

+ 1 - 1
src/views/economicsOperation/efficiency/stateEfficiency/index.vue

@@ -188,7 +188,7 @@ export default {
   },
   methods: {
     initialization() {
-        this.dataChange(dataJson.data)
+        // this.dataChange(dataJson.data)
 
       companys().then(({ data: res }) => {
         this.companyOptions = res.data;

+ 8 - 8
src/views/economicsOperation/jjyxReport/index.vue

@@ -146,9 +146,9 @@
             /**场站 */
             funGetStation() {
                 let that = this;
-                this.renderReportPage({
-                    data: jsonData.data
-                });
+                // this.renderReportPage({
+                //     data: jsonData.data
+                // });
                 that.stationList = [];
                 that.windStation = ""
                 getWpList().then((res) => {
@@ -259,11 +259,11 @@
                     apiGeWarningeconreportReport(params).then((res) => {
                             this.renderReportPage(res);
                         })
-                        .catch(() => {
-                            this.renderReportPage({
-                                data: jsonData.data,
-                            });
-                        });
+                        // .catch(() => {
+                        //     this.renderReportPage({
+                        //         data: jsonData.data,
+                        //     });
+                        // });
                 }
             },
 

+ 20 - 17
src/views/economicsOperation/nxfHomePage/index.vue

@@ -206,17 +206,18 @@
                             // },
                         ]
                     }
-                }).catch(e => {
-                    that.rightTableData = [{
-                            name: '风能利用率年排名',
-                            data: dataJson.data.fnlyl
-                        },
-                        {
-                            name: '设备可利用率年排名',
-                            data: dataJson.data.sbklyl
-                        },
-                    ]
                 })
+                // .catch(e => {
+                //     that.rightTableData = [{
+                //             name: '风能利用率年排名',
+                //             data: dataJson.data.fnlyl
+                //         },
+                //         {
+                //             name: '设备可利用率年排名',
+                //             data: dataJson.data.sbklyl
+                //         },
+                //     ]
+                // })
             },
             //获取发电量和主要经济指标同期对比
             getGeneratingcapacity() {
@@ -237,9 +238,10 @@
                         }
                         that.zbtqdb = res.data.zbtqdb
                     }
-                }).catch(e => {
-                    that.zbtqdb = dataJson.data.zbtqdb
                 })
+                // .catch(e => {
+                //     that.zbtqdb = dataJson.data.zbtqdb
+                // })
                 homemiddle().then(res =>{
                     if (res.data) {
                         that.planData = res.data.planData
@@ -247,12 +249,13 @@
                         that.Powersend = res.data.Powersend
                         that.Powerloss = res.data.Powerloss
                     }
-                }).catch(e => {
-                    that.planData = dataJson.data.planData
-                    that.Powertrend = dataJson.data.Powertrend
-                    that.Powersend = dataJson.data.Powersend
-                    that.Powerloss = dataJson.data.Powerloss
                 })
+                // .catch(e => {
+                //     that.planData = dataJson.data.planData
+                //     that.Powertrend = dataJson.data.Powertrend
+                //     that.Powersend = dataJson.data.Powersend
+                //     that.Powerloss = dataJson.data.Powerloss
+                // })
                 this.changeRightData()
             },
         },

+ 1 - 1
src/views/economicsOperation/stationAnalyse/stationElectricAnalyse/index.vue

@@ -252,7 +252,7 @@ export default {
       }
     },
     initialization() {
-      this.dataChange(dataJson.data, dataJson.code);
+    //   this.dataChange(dataJson.data, dataJson.code);
 
       companys().then(({ data: res }) => {
         if (res.data) {

+ 3 - 3
src/views/economicsOperation/thematicAnalysis/MTBF/index.vue

@@ -294,7 +294,7 @@ export default {
       this.BASE.showLoading();
       switch (this.selectValue) {
         case "MTBF":
-            this.dataChange(dataJson.data.mtbfdata)
+            // this.dataChange(dataJson.data.mtbfdata)
           mtbfList({
             companys: this.company,
             type: this.tabIndex,
@@ -305,7 +305,7 @@ export default {
           break;
 
         case "MTTR":
-            this.dataChange(dataJson.data.mttrdata)
+            // this.dataChange(dataJson.data.mttrdata)
           mttrList({
             companys: this.company,
             type: this.tabIndex,
@@ -356,7 +356,7 @@ export default {
       }
     },
     initialization() {
-        this.dataChange(dataJson.data.mtbfdata)
+        // this.dataChange(dataJson.data.mtbfdata)
       companys().then(({ data: res }) => {
         if (res.data) {
           this.companyOptions = res.data;

+ 2 - 2
src/views/economicsOperation/thematicAnalysis/comprehensiveAnalysis/index.vue

@@ -451,8 +451,8 @@ export default {
     },
   },
   mounted() {
-      this.dataChange(dataJson.data)
-      this.tabledataChange(dataJson.data)
+    //   this.dataChange(dataJson.data)
+    //   this.tabledataChange(dataJson.data)
       this.changePieData();
   },
   methods: {

+ 6 - 6
src/views/economicsOperation/thematicAnalysis/failure/index.vue

@@ -311,7 +311,7 @@ export default {
       this.BASE.showLoading();
       switch (this.selectValue) {
         case "故障损失率":
-            this.dataChange(dataJson.data.gzdata)
+            // this.dataChange(dataJson.data.gzdata)
           gzsslList({
             companys: this.company,
             type: this.tabIndex,
@@ -321,7 +321,7 @@ export default {
           });
           break;
         case "检修损失率":
-            this.dataChange(dataJson.data.jxdata)
+            // this.dataChange(dataJson.data.jxdata)
           whsslList({
             companys: this.company,
             type: this.tabIndex,
@@ -331,7 +331,7 @@ export default {
           });
           break;
         case "限电损失率":
-            this.dataChange(dataJson.data.xddata)
+            // this.dataChange(dataJson.data.xddata)
           xdsslList({
             companys: this.company,
             type: this.tabIndex,
@@ -341,7 +341,7 @@ export default {
           });
           break;
         case "受累损失率":
-            this.dataChange(dataJson.data.sldata)
+            // this.dataChange(dataJson.data.sldata)
           slsslList({
             companys: this.company,
             type: this.tabIndex,
@@ -351,7 +351,7 @@ export default {
           });
           break;
         case "性能损失率":
-            this.dataChange(dataJson.data.xndata)
+            // this.dataChange(dataJson.data.xndata)
           xnsslList({
             companys: this.company,
             type: this.tabIndex,
@@ -405,7 +405,7 @@ export default {
       }
     },
     initialization() {
-        this.dataChange(dataJson.data.gzdata)
+        // this.dataChange(dataJson.data.gzdata)
       companys().then(({ data: res }) => {
         if (res.data) {
           this.companyOptions = res.data;

+ 6 - 6
src/views/economicsOperation/thematicAnalysis/generation/index.vue

@@ -323,7 +323,7 @@ export default {
       this.BASE.showLoading();
       switch (this.selectValue) {
         case "发电量":
-            this.dataChange(dataJson.data.fdldata)
+            // this.dataChange(dataJson.data.fdldata)
           fdlList({
             companys: this.company,
             type: this.tabIndex,
@@ -334,7 +334,7 @@ export default {
           break;
 
         case "综合场用电量":
-            this.dataChange(dataJson.data.zhcydldata)
+            // this.dataChange(dataJson.data.zhcydldata)
           zhcydlList({
             companys: this.company,
             type: this.tabIndex,
@@ -344,7 +344,7 @@ export default {
           });
           break;
         case "上网电量":
-            this.dataChange(dataJson.data.swdldata)
+            // this.dataChange(dataJson.data.swdldata)
           swdlList({
             companys: this.company,
             type: this.tabIndex,
@@ -354,7 +354,7 @@ export default {
           });
           break;
         case "购网电量":
-            this.dataChange(dataJson.data.gwdldata)
+            // this.dataChange(dataJson.data.gwdldata)
           gwdlList({
             companys: this.company,
             type: this.tabIndex,
@@ -364,7 +364,7 @@ export default {
           });
           break;
         case "利用小时":
-            this.dataChange(dataJson.data.lyxsdata)
+            // this.dataChange(dataJson.data.lyxsdata)
           lyxsList({
             companys: this.company,
             type: this.tabIndex,
@@ -416,7 +416,7 @@ export default {
       }
     },
     initialization() {
-        this.dataChange(dataJson.data.fdldata)
+        // this.dataChange(dataJson.data.fdldata)
       companys().then(({ data: res }) => {
         if (res.data) {
           this.companyOptions = res.data;

+ 1 - 1
src/views/economicsOperation/thematicAnalysis/windEnergy/index.vue

@@ -310,7 +310,7 @@ export default {
       }
     },
     initialization() {
-      this.dataChange(dataJson.data)
+    //   this.dataChange(dataJson.data)
 
       companys().then(({ data: res }) => {
         if (res.data) {

+ 1 - 1
src/views/economicsOperation/weatherMachine/weatherMachine.vue

@@ -173,7 +173,7 @@
                 apiGetweatherMachine(params).then(res => {
                     that.changeData(res)
                 }).catch(e =>{
-                    this.changeData(dataJson)
+                    // this.changeData(dataJson)
                 })
             },
             changeData(res) {

+ 2 - 2
src/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/historyDetail.vue

@@ -229,8 +229,8 @@ export default {
         wpId: this.hisstationVal,
         wtId: this.hiswindId,
       };
-      this.historycutInAndOutData = dataJson.data.data.records;
-      this.page.total = dataJson.data.data.total;
+    //   this.historycutInAndOutData = dataJson.data.data.records;
+    //   this.page.total = dataJson.data.data.total;
       const { data: datas } = await getApioutputSpeedhistorylist(params);
       this.historycutInAndOutData = datas.data.records;
       this.page.total = datas.data.total;

+ 2 - 2
src/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/index.vue

@@ -237,8 +237,8 @@ export default {
       this.isFullScreen = false;
     }
     
-      this.cutInAndOutAnalysisData = dataJson.data.data.records;
-      this.page.total = dataJson.data.data.total;
+    //   this.cutInAndOutAnalysisData = dataJson.data.data.records;
+    //   this.page.total = dataJson.data.data.total;
     this.getCompanyData();
   },
   mounted() {

+ 2 - 2
src/views/economicsOperation/windAnalyse/monthlyAnalysis/index.vue

@@ -227,8 +227,8 @@ export default {
       this.isFullScreen = false;
     }
     
-      this.monthMachineData = dataJson.data.data.values;
-      this.page.total = dataJson.data.data.total;
+    //   this.monthMachineData = dataJson.data.data.values;
+    //   this.page.total = dataJson.data.data.total;
     this.getCompanyData();
   },
   mounted() {

+ 1 - 1
src/views/economicsOperation/windAnalyse/performanceAssess/historyDetail.vue

@@ -125,7 +125,7 @@ export default {
         type: this.tabEvent,
       };
 
-      this.historyEvaluationData = dataJson.data.data;
+    //   this.historyEvaluationData = dataJson.data.data;
       const { data: datas } = await getApiequipmentinfoDayHistoryList(params);
       this.historyEvaluationData = datas.data;
     },

+ 2 - 2
src/views/economicsOperation/windAnalyse/performanceAssess/index.vue

@@ -316,8 +316,8 @@ export default {
   },
   created() {
     
-      this.EvaluationData = dataJson.data.data.records;
-      this.page.total = dataJson.data.data.total;
+    //   this.EvaluationData = dataJson.data.data.records;
+    //   this.page.total = dataJson.data.data.total;
     this.getCompanyData();
   },
   computed: {

+ 2 - 1
src/views/economicsOperation/windAnalyse/powerCurve/index.vue

@@ -519,7 +519,8 @@ export default {
     },
   },
   mounted() {
-    this.chartdataChange(dataJson.chartData)
+    // this.chartdataChange(dataJson.chartData)
+    // this.getChartData()
   },
   // 函数
   methods: {

+ 3 - 3
src/views/economicsOperation/windAnalyse/powerSearch/index.vue

@@ -224,8 +224,8 @@ export default {
     },
     // 获取公司列表
     async getCompanyData() {
-        this.powerLinefittingData = dataJson.data.data
-        this.changeEchartsData(dataJson.data.data);
+        // this.powerLinefittingData = dataJson.data.data
+        // this.changeEchartsData(dataJson.data.data);
 
       this.companyOptions = [];
       this.pickerTimer = this.getchangeTime(new Date());
@@ -306,7 +306,7 @@ export default {
 
       const { data: datas } = await getApiPerformancecurvefitting(params);
 
-      // this.changeEchartsData(datas.data.chanrt);
+      this.changeEchartsData(datas.data.chanrt);
       this.originData = datas.data.list;
       this.dataFilter(this.toFixed);
     },

+ 33 - 29
src/views/economicsOperation/windAnalyse/qxpclfx/index.vue

@@ -70,18 +70,19 @@
       <el-table
         size="mini"
         :data="tableData.data"
-        style="width: 100%;"
+        style="width: 100%"
         max-height="780px"
-        stripe>
+        stripe
+      >
         <el-table-column
-            v-for="item in tableData.column"
-            :label="item.name"
-            :prop="item.field"
-            :key="item.field"
-            header-align="center"
-            align="center"
+          v-for="item in tableData.column"
+          :label="item.name"
+          :prop="item.field"
+          :key="item.field"
+          header-align="center"
+          align="center"
         />
-    </el-table>
+      </el-table>
     </div>
   </div>
 </template>
@@ -90,7 +91,7 @@ import ComTable from "@/components/coms/table/table-qc.vue";
 import thermometerVue from "../../../../components/chart/bar/thermometer.vue";
 import api1 from "@api/economic/index.js";
 import api from "@api/wisdomOverhaul/energy/index.js";
-import dataJson from "./dataJson.json"
+import dataJson from "./dataJson.json";
 export default {
   name: "Qxpclfx",
   components: { ComTable },
@@ -103,7 +104,10 @@ export default {
       date: "",
       showTitle: "月曲线偏差率排行榜",
       tableLoading: true,
-      tableData: {},
+      tableData: {
+        column: dataJson.data.column,
+        data: []
+      },
       tableId: "",
     };
   },
@@ -133,26 +137,26 @@ export default {
         param.year = parseInt(this.date?.split("-")[0]);
         param.month = parseInt(this.date?.split("-")[1]);
       }
-      
+
       api[url](param).then((res) => {
-        this.dataChange(res)
+        this.dataChange(res);
       });
     },
     dataChange(res) {
-        this.tableLoading = false;
-        if (res.code === 200) {
-          res.data.forEach((ele) => {
-            ele.curIndex = this.cur;
-            ele.recordDate = this.date;
-          });
-          this.tableData.data = res.data || [];
-        } else {
-            res.data.forEach((ele) => {
-            ele.curIndex = this.cur;
-            ele.recordDate = this.date;
-          });
-          this.tableData.data = res.data || [];
-        }
+      this.tableLoading = false;
+      if (res.code === 200) {
+        res.data.forEach((ele) => {
+          ele.curIndex = this.cur;
+          ele.recordDate = this.date;
+        });
+        this.tableData.data = res.data || [];
+      } else {
+        res.data.forEach((ele) => {
+          ele.curIndex = this.cur;
+          ele.recordDate = this.date;
+        });
+        this.tableData.data = res.data || [];
+      }
     },
     // tab
     handleOpen(vl, index) {
@@ -163,8 +167,8 @@ export default {
     },
     // 场站
     ChangZhanVal() {
-        this.tableData = dataJson.data
-        // this.dataChange(dataJson.data)
+      // this.tableData = dataJson.data
+      // this.dataChange(dataJson.data)
       api1
         .getWpList({
           type: "-1",

+ 2 - 2
src/views/economicsOperation/windAnalyse/qxqjpcl/index.vue

@@ -53,8 +53,8 @@
                 date: "",
                 showTitle: "曲线区间偏差率",
                 tableLoading: true,
-                tableData: dataJson.data.data,
-                tableDataColumn: dataJson.data.column
+                tableData: [],
+                tableDataColumn: []
             };
         },
         created() {

+ 2 - 2
src/views/economicsOperation/windAnalyse/singleWindAnasyle/historyDetail.vue

@@ -294,8 +294,8 @@ export default {
       };
       let datas = [];
 
-      this.historysingleMachineData = dataJson.data.data.records;
-      this.page.total = dataJson.data.data.length;
+    //   this.historysingleMachineData = dataJson.data.data.records;
+    //   this.page.total = dataJson.data.data.length;
       if (this.tabIndex == -1) {
         datas = await getApihistorywindturbinegoodnesslist(params);
         this.historysingleMachineData = datas.data.data.records;

+ 1 - 1
src/views/economicsOperation/windAnalyse/singleWindAnasyle/index.vue

@@ -214,7 +214,7 @@ export default {
       stationVal: "",
       stationOptions: [],
       pickerTimer: "",
-      singleMachineData: dataJson.data.data.records,
+      singleMachineData: [],
       showBtn: true,
       dialogTitle: "",
       tabIndex: -1,

+ 143 - 142
src/views/rateAnalysis/index.vue

@@ -1390,7 +1390,7 @@ watch(
 const initPageData = () => {
   actTreeNode.value = null;
   excelList.value = [];
-  treeData.value = funRepeatMap(JSON.parse(JSON.stringify(jsonData.treeData)));
+//   treeData.value = funRepeatMap(JSON.parse(JSON.stringify(jsonData.treeData)));
   if (actTreeNode.value) {
     if (actTreeNode.value.childs) {
       excelList.value = actTreeNode.value.childs.map((o) => {
@@ -1433,139 +1433,139 @@ const initPageData = () => {
     checkAll.value = true;
 
     chartData.value = [];
-    for (const chart of jsonData.rosesData) {
-      let windMap = {};
-      chartData.value.push({
-        id: chartId,
-        title: "",
-        subtext: "风速风向玫瑰图",
-        xAxis: {
-          type: "category",
-          boundaryGap: false,
-          data: [
-            "北",
-            "",
-            "东北",
-            "",
-            "东",
-            "",
-            "东南",
-            "",
-            "南",
-            "",
-            "西南",
-            "",
-            "西",
-            "",
-            "西北",
-          ],
-          splitLine: {
-            show: true,
-          },
-        },
-        isRadar: false,
-        series: chart.roses.length
-          ? chart.roses.map((o, index) => {
-              return {
-                type: "bar",
-                data: o,
-                coordinateSystem: "polar",
-                name: funText(index),
-                stack: "a",
-                emphasis: {
-                  focus: "series",
-                },
-              };
-            })
-          : {
-              type: "bar",
-              data: chart.roses,
-              coordinateSystem: "polar",
-              name: "方位风速",
-            },
-      });
-      chartId++;
-      chartData.value.push({
-        id: chartId,
-        title: "",
-        subtext: "风速风向频次玫瑰图",
-        isRadar: true,
-        xAxis: {
-          type: "category",
-          boundaryGap: false,
-          data: [
-            "北",
-            "",
-            "东北",
-            "",
-            "东",
-            "",
-            "东南",
-            "",
-            "南",
-            "",
-            "西南",
-            "",
-            "西",
-            "",
-            "西北",
-            "",
-          ],
-          splitLine: {
-            show: true,
-          },
-        },
-        series: chart.roses.length
-          ? [
-              ...chart.roses.map((o, index) => {
-                return {
-                  type: "bar",
-                  data: o,
-                  coordinateSystem: "polar",
-                  name: funText(index),
-                  stack: "a",
-                  emphasis: {
-                    focus: "series",
-                  },
-                  coordinateSystem: "polar",
-                };
-              }),
-              {
-                type: "radar",
-                tooltip: {
-                  trigger: "item",
-                },
-                name: "对风",
-                data: [
-                  {
-                    value: chart.radar,
-                  },
-                ],
-              },
-            ]
-          : [],
-        count: chart.count || [],
-      });
-      chartId++;
-      scatterSeries.value[0].data = chart.frequency.data.length
-        ? chart.frequency.data.map((item) => {
-            return [item[1] + "", item[0] + "", (item[2] * 15).toFixed(1)];
-          })
-        : [];
-      scatterSeries.value[0].markLine.data = [
-        {
-          xAxis: `${chart.frequency.avg}`,
-          name: `平均偏航:${chart.frequency.avg}度`,
-        },
-      ];
-    }
-    lineDataSet.value[0].source = jsonData.ratioData[0].scatter.map((o) => {
-      return [o.x + "", o.y];
-    });
+    // for (const chart of jsonData.rosesData) {
+    //   let windMap = {};
+    //   chartData.value.push({
+    //     id: chartId,
+    //     title: "",
+    //     subtext: "风速风向玫瑰图",
+    //     xAxis: {
+    //       type: "category",
+    //       boundaryGap: false,
+    //       data: [
+    //         "北",
+    //         "",
+    //         "东北",
+    //         "",
+    //         "东",
+    //         "",
+    //         "东南",
+    //         "",
+    //         "南",
+    //         "",
+    //         "西南",
+    //         "",
+    //         "西",
+    //         "",
+    //         "西北",
+    //       ],
+    //       splitLine: {
+    //         show: true,
+    //       },
+    //     },
+    //     isRadar: false,
+    //     series: chart.roses.length
+    //       ? chart.roses.map((o, index) => {
+    //           return {
+    //             type: "bar",
+    //             data: o,
+    //             coordinateSystem: "polar",
+    //             name: funText(index),
+    //             stack: "a",
+    //             emphasis: {
+    //               focus: "series",
+    //             },
+    //           };
+    //         })
+    //       : {
+    //           type: "bar",
+    //           data: chart.roses,
+    //           coordinateSystem: "polar",
+    //           name: "方位风速",
+    //         },
+    //   });
+    //   chartId++;
+    //   chartData.value.push({
+    //     id: chartId,
+    //     title: "",
+    //     subtext: "风速风向频次玫瑰图",
+    //     isRadar: true,
+    //     xAxis: {
+    //       type: "category",
+    //       boundaryGap: false,
+    //       data: [
+    //         "北",
+    //         "",
+    //         "东北",
+    //         "",
+    //         "东",
+    //         "",
+    //         "东南",
+    //         "",
+    //         "南",
+    //         "",
+    //         "西南",
+    //         "",
+    //         "西",
+    //         "",
+    //         "西北",
+    //         "",
+    //       ],
+    //       splitLine: {
+    //         show: true,
+    //       },
+    //     },
+    //     series: chart.roses.length
+    //       ? [
+    //           ...chart.roses.map((o, index) => {
+    //             return {
+    //               type: "bar",
+    //               data: o,
+    //               coordinateSystem: "polar",
+    //               name: funText(index),
+    //               stack: "a",
+    //               emphasis: {
+    //                 focus: "series",
+    //               },
+    //               coordinateSystem: "polar",
+    //             };
+    //           }),
+    //           {
+    //             type: "radar",
+    //             tooltip: {
+    //               trigger: "item",
+    //             },
+    //             name: "对风",
+    //             data: [
+    //               {
+    //                 value: chart.radar,
+    //               },
+    //             ],
+    //           },
+    //         ]
+    //       : [],
+    //     count: chart.count || [],
+    //   });
+    //   chartId++;
+    //   scatterSeries.value[0].data = chart.frequency.data.length
+    //     ? chart.frequency.data.map((item) => {
+    //         return [item[1] + "", item[0] + "", (item[2] * 15).toFixed(1)];
+    //       })
+    //     : [];
+    //   scatterSeries.value[0].markLine.data = [
+    //     {
+    //       xAxis: `${chart.frequency.avg}`,
+    //       name: `平均偏航:${chart.frequency.avg}度`,
+    //     },
+    //   ];
+    // }
+    // lineDataSet.value[0].source = jsonData.ratioData[0].scatter.map((o) => {
+    //   return [o.x + "", o.y];
+    // });
 
-    const lineSeriseMax = Math.max(...jsonData.ratioData[0].count);
-    const lineSeriseMaxIndex =
-      jsonData.ratioData[0].count.indexOf(lineSeriseMax);
+    // const lineSeriseMax = Math.max(...jsonData.ratioData[0].count);
+    // const lineSeriseMaxIndex =
+    //   jsonData.ratioData[0].count.indexOf(lineSeriseMax);
 
     lineSeries.value = [
       {
@@ -1574,7 +1574,8 @@ const initPageData = () => {
         symbol: "line", //设定为实心点
         symbolSize: 0, //设定实心点的大小
         smooth: true, //这个是把线变成曲线
-        data: jsonData.ratioData[0].count,
+        // data: jsonData.ratioData[0].count,
+        data: 0,
         yAxisIndex: 1,
         markLine: {
           symbol: "none",
@@ -1613,14 +1614,14 @@ const initPageData = () => {
       },
     ];
 
-    tableColumn.value = jsonData.tableData.title.map((o) => {
-      return {
-        prop: o.key,
-        label: o.des,
-        width: o.des === "时间" ? 100 : 80,
-      };
-    });
-    tableData.value = jsonData.tableData.data;
+    // tableColumn.value = jsonData.tableData.title.map((o) => {
+    //   return {
+    //     prop: o.key,
+    //     label: o.des,
+    //     width: o.des === "时间" ? 100 : 80,
+    //   };
+    // });
+    // tableData.value = jsonData.tableData.data;
 
     currentNodeKey.value = actTreeNode.value?.id || "";
   }