Browse Source

'集电线发电量更改'

蒋珅 1 year atrás
parent
commit
81205bb361

File diff suppressed because it is too large
+ 1 - 0
powergen/assets/el-col.e2ee470d.css


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/el-form-item.34dfef8a.css


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/el-pagination.ef4262a5.css


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.0b277730.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.1f0a7426.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.3f87a603.css


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.4876d5e5.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.4b85f22b.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.6dc0a906.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.7cfc336f.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.9b68f8ec.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.a8d5a12c.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.a8ea63e5.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.aaecbc1c.css


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.c145f70b.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.c24c74ad.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.e2e9e653.js


File diff suppressed because it is too large
+ 1 - 0
powergen/assets/index.f15972fc.js


+ 1 - 0
powergen/assets/routerViewss.9568fd3a.js

@@ -0,0 +1 @@
+import{e as s,g as e,j as a,w as t,u as n,r as o,o as r,c as u,M as c,i as l,N as i}from"./vendor.fceb02b1.js";const d={class:"content"},m={__name:"routerViewss",setup(m){const p=n(),f=s((()=>p.state.tagsList.map((s=>s.name))));return s((()=>p.state.collapse)),(s,n)=>{const m=o("router-view");return r(),e("div",d,[a(m,null,{default:t((({Component:s})=>[(r(),u(i,{includes:l(f)},[(r(),u(c(s)))],1032,["includes"]))])),_:1})])}}};export default m;

File diff suppressed because it is too large
+ 1 - 0
powergen/assets/vendor.8ddfd94e.css


File diff suppressed because it is too large
+ 33 - 0
powergen/assets/vendor.fceb02b1.js


BIN
powergen/favicon.ico


+ 21 - 0
powergen/index.html

@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="UTF-8" />
+    <link rel="icon" href="./favicon.ico" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <title>电场数据表</title>
+    <script src="./static/config/modeConfig.js"></script>
+<script type="module" crossorigin src="./assets/index.e2e9e653.js"></script>
+  <link rel="modulepreload" href="./assets/vendor.fceb02b1.js">
+  <link rel="stylesheet" href="./assets/vendor.8ddfd94e.css">
+  <link rel="stylesheet" href="./assets/index.aaecbc1c.css">
+</head>
+
+<body>
+    <div id="app"></div>
+    
+</body>
+
+</html>

+ 37 - 0
powergen/static/config/modeConfig.js

@@ -0,0 +1,37 @@
+// 本地联调开关
+const localTest = false;
+
+// 服务器地址
+let baseURL = "/current/" // 正式环境
+
+// websocket 服务器地址
+let websocketUrl = null;
+
+// 3D 地球瓦片路径
+let tilesUrl = null;
+// 3D 地球最大支持放大到多少级
+const tilesMaxLevel = 18;
+
+// 适配器地址
+// const adapterUrl = "http://10.155.32.4:8011/";
+
+// 切换模块时是否提示当前模块名称(用于对内介绍项目时便捷显示模块名称)
+const showModuleName = 0;
+
+// if (localTest) {
+//     baseURL = "http://192.168.10.8:9002/" // 联机调试 
+// } else {
+//     baseURL = "http://10.155.32.14:9002/" // 正式环境
+    
+// }
+
+websocketUrl = (baseURL.replace(/http:\/\/|https:\/\//g, "")) + "gyee-websocket";
+
+window.__MODE__ = {
+    baseURL,
+    websocketUrl,
+    // adapterUrl,
+    tilesUrl,
+    tilesMaxLevel,
+    showModuleName
+};

+ 1 - 1
src/api/config.js

@@ -1,6 +1,6 @@
 
 const config = {
-    baseURL: 'http://192.168.10.24:8021',
+    baseURL: 'http://192.168.1.67:8021',
     // baseURL: 'http://192.168.10.24:8021',
     baseURL1: 'http://192.168.1.67:8133',
 }

+ 49 - 9
src/pages/dataFilter/jdxl/index.vue

@@ -82,17 +82,41 @@ const handleCurrentChange = (val) => {
   currentPage4.value=val
   nbsubmit()
 }
-const nbhh = async () => {
-  const res = await request.get("/meter/infoall");
+// const nbhh = async () => {
+//   const res = await request.get("/meter/infoall");
+//   console.log(res);
+//   // res.data.fdc;
+//  const filterWindFarm =(data)=> {
+//   return data.filter(obj => obj.nemCode.endsWith('_FDC_STA'));
+// }
+
+// const filteredData = filterWindFarm(res.data.fdc);
+//  ChangZhan.value = filteredData;
+// };
+
+
+const Change1 = async () => {
+  const res = await request.get(`/meter/infoall?stationId=${goodval.value}`);
   console.log(res);
-  // res.data.fdc;
- const filterWindFarm =(data)=> {
-  return data.filter(obj => obj.nemCode.endsWith('_FDC_STA'));
-}
+//    const filterWindFarm =(data)=> {
+//   return data.filter(obj => obj.nemCode.endsWith('_FDC_STA'));
+// }
 
-const filteredData = filterWindFarm(res.data.fdc);
- ChangZhan.value = filteredData;
+// const filteredData = filterWindFarm(res.data.fdc);
+ ChangZhan.value = res.data.fdc
+  
+};
+// 拿场站
+const good = ref([]);
+const goodval = ref();
+const nbhh = async () => {
+  const res = await request.get("/meter/allStation");
+  console.log(res);
+  good.value = res.data
+  // console.log('0',ChangZhan.good);
+  // value1.value = ChangZhan.value[0].nemCode;
 };
+ 
 
 /**mounted */
 onMounted(() => {
@@ -113,7 +137,23 @@ onMounted(() => {
     <div
       class="pl-[20px] flex items-center h-[80px] relative mb-[20px] shadow rounded-[6px] shadow-blue-500"
     >
-      <el-form-item label="场站" class="!mb-0">
+         <el-form-item label="场站类型" class="!mb-0">
+        <el-select
+          v-model="goodval"
+          class="w-[150px]"
+          @change="Change1(goodval)"
+          placeholder="请选择"
+          popper-class="select"
+        >
+          <el-option
+            v-for="item in good"
+            :key="item.nemCode"
+            :value="item.nemCode"
+            :label="item.name"
+          ></el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item label="场站" class="!mb-0 ml-3">
         <el-select
           v-model="value1"
           class="w-[150px]"

+ 2 - 15
src/pages/dataFilter/lightPrepare/index.vue

@@ -68,7 +68,7 @@ const ChangZhanChange1 = async () => {
    mingval.value='all'
   
 };
-// 拿名称
+// 拿名称勉强一下也能回嘛
 const mingcheng = ref([]);
 const mingval = ref('all');
 const ChangZhanChange2 = async () => {
@@ -265,20 +265,7 @@ onMounted(() => {
               label="指标类型"
               align="center"
               width="250"
-            />
-            <!-- <el-table-column
-              prop="startCode"
-              label="起码"
-              align="center"
-              width="200"
-              resizable
-            />
-            <el-table-column
-              prop="endCode"
-              label="止码"
-              align="center"
-              width="200"
-            /> -->
+            />          
             <el-table-column
               prop="rdl"
               label="指标数据(万KWh或%)"

+ 2 - 2
src/pages/dataFilter/process/index.vue

@@ -12,8 +12,8 @@ const tableHeight = ref(window.innerHeight - 260 + "px");
 const ChangZhan = ref([]);
 const value1 = ref();
 const timedata = ref([
-  new Date(2023, 4, 1),
-  new Date(2023, 4, 1),
+  new Date(2023, 5, 1),
+  new Date(2023, 5, 1),
 ]);
 const tableData=ref()