Forráskód Böngészése

Merge branch 'master' of http://git.mydig.net/Sagoo-Cloud/sagoo-admin-ui

vera_min 2 éve
szülő
commit
54fd4ef5c6

+ 2 - 2
src/views/heating/home/index.vue

@@ -44,7 +44,7 @@
             <el-tab-pane label="日失水量" name="homeLineRef3">
               <div style="height: 200px" ref="homeLineRef3"></div>
             </el-tab-pane>
-            <el-tab-pane label="供热功率" name="homeLineRef4">
+            <el-tab-pane label="供热负荷" name="homeLineRef4">
               <div style="height: 200px" ref="homeLineRef4"></div>
             </el-tab-pane>
           </el-tabs>
@@ -158,7 +158,7 @@ export default defineComponent({
           contentTitle2: '总单耗',
           val2: '',
           unit2: 'GJ/㎡',
-          contentTitle3: '供热功率',
+          contentTitle3: '供热负荷',
           val3: '',
           unit3: 'W',
         },

+ 1 - 1
src/views/heating/monitor/loopSupervision/heatStationDetail.vue

@@ -117,7 +117,7 @@ export default defineComponent({
           contentTitle2: '总单耗',
           val2: '0',
           unit2: 'GJ/㎡',
-          contentTitle3: '供热功率',
+          contentTitle3: '供热负荷',
           val3: '-',
           unit3: 'W',
         },

+ 1 - 1
src/views/heating/monitor/loopSupervision/loopDetail.vue

@@ -130,7 +130,7 @@ export default defineComponent({
           contentTitle2: '总单耗',
           val2: '0',
           unit2: 'GJ/㎡',
-          contentTitle3: '供热功率',
+          contentTitle3: '供热负荷',
           val3: '-',
           unit3: 'W',
         },

+ 4 - 4
src/views/system/datahub/source/component/edit.vue

@@ -311,10 +311,10 @@ export default defineComponent({
 					label: 'POST',
 					value: 'post',
 				},
-				{
-					label: 'PUT',
-					value: 'put',
-				},
+				// {
+				// 	label: 'PUT',
+				// 	value: 'put',
+				// },
 			],
 
 			unitData: [

+ 14 - 139
src/views/system/monitor/server/index.vue

@@ -158,134 +158,6 @@
         </el-card>
       </el-col>
     </div>
-    <!-- <div class="flex-row gap-3">
-      <el-col :xs="24" :sm="12" :md="12" class="marg-b-15">
-        <el-card class="box-card">
-          <template #header>
-            <div class="card-header">
-              <span>运行资源</span>
-            </div>
-          </template>
-          <div class="el-table--enable-row-hover el-table--medium">
-            <table cellspacing="0" style="width: 100%">
-              <tbody>
-                <tr>
-                  <td>
-                    <div class="cell">操作系统:</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ sysInfo.sysOsName }}</div>
-                  </td>
-                </tr>
-                <tr>
-                  <td>
-                    <div class="cell">系统架构:</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ sysInfo.sysOsArch }}</div>
-                  </td>
-                </tr>
-                <tr>
-                  <td>
-                    <div class="cell">服务器名称:</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ sysInfo.sysComputerName }}</div>
-                  </td>
-                </tr>
-                <tr>
-                  <td>
-                    <div class="cell">服务器IP:</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ sysInfo.sysComputerIp }}</div>
-                  </td>
-                </tr>
-                <tr>
-                  <td>
-                    <div class="cell">Go语言版本</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ sysInfo.goVersion }}</div>
-                  </td>
-                </tr>
-                <tr>
-                  <td>
-                    <div class="cell">启动时间</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ sysInfo.goStartTime }}</div>
-                  </td>
-                </tr>
-                <tr>
-                  <td>
-                    <div class="cell">运行时长:</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ timeFormat(sysInfo.goRunTime) }}</div>
-                  </td>
-                </tr>
-              </tbody>
-            </table>
-          </div>
-        </el-card>
-      </el-col>
-      <el-col :xs="24" :sm="12" :md="12" class="marg-b-15">
-        <el-card class="box-card">
-          <template #header>
-            <div class="card-header">
-              <span>硬盘资源</span>
-            </div>
-          </template>
-          <div class="el-table--enable-row-hover el-table--medium" style="height: 280px; overflow: auto">
-            <table cellspacing="0" style="width: 100%">
-              <tbody>
-                <tr>
-                  <td>
-                    <div class="cell">盘符路径</div>
-                  </td>
-                  <td>
-                    <div class="cell">文件系统</div>
-                  </td>
-                  <td>
-                    <div class="cell">总大小</div>
-                  </td>
-                  <td>
-                    <div class="cell">可用大小</div>
-                  </td>
-                  <td>
-                    <div class="cell">已用大小</div>
-                  </td>
-                  <td>
-                    <div class="cell">已用百分比</div>
-                  </td>
-                </tr>
-                <tr v-for="(sysFile, index) in sysInfo.diskList" :key="index">
-                  <td>
-                    <div class="cell">{{ sysFile.path }}</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ sysFile.fstype }}</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ memorySizeFormat(sysFile.total) }}</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ memorySizeFormat(sysFile.free) }}</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ memorySizeFormat(sysFile.used) }}</div>
-                  </td>
-                  <td>
-                    <div class="cell">{{ sysFile.usedPercent }}%</div>
-                  </td>
-                </tr>
-              </tbody>
-            </table>
-          </div>
-        </el-card>
-      </el-col>
-    </div> -->
     <div class="flex-row gap-3">
       <el-col :xs="24" :sm="12" :md="8" class="marg-b-15">
         <el-card class="box-card-height" style="height:auto">
@@ -323,24 +195,27 @@
         <el-card class="box-card-height" style="height:auto">
           <template #header>
             <div class="card-header">
-              <span>GO运行信息</span>
+              <span>运行环境信息</span>
             </div>
           </template>
           <div class="flex-row">
             <el-form label-position="right" label-width="100px" class="flex1" style="max-width: 460px">
-              <el-form-item label="语言环境">{{goInfoData.goName}}</el-form-item>
+              <el-form-item label="操作系统">{{goInfoData.goOs}}</el-form-item>
+              <el-form-item label="启动时间">{{goInfoData.startTime}}</el-form-item>
               <el-form-item label="运行时长">{{timeFormat(goInfoData.runTime)}}</el-form-item>
               <el-form-item label="运行内存">{{goInfoData.goMem}}</el-form-item>
             </el-form>
             <el-form label-position="right" label-width="100px" class="flex1" style="max-width: 460px">
-              <el-form-item label="语言号">{{goInfoData.goVersion}}</el-form-item>
-              <el-form-item label="运行路径">{{goInfoData.rootPath}}</el-form-item>
+              <el-form-item label="系统架构">{{goInfoData.arch}}</el-form-item>
+              <el-form-item label="语言环境">{{goInfoData.goName}}</el-form-item>
               <el-form-item label="磁盘占用">{{goInfoData.goSize}}</el-form-item>
+              <el-form-item label="项目地址">{{goInfoData.pwd}}</el-form-item>
             </el-form>
             <el-form label-position="right" label-width="100px" class="flex1" style="max-width: 460px">
-              <el-form-item label="启动时间">{{goInfoData.startTime}}</el-form-item>
-              <el-form-item label="goroutine数量">{{goInfoData.goroutine}}</el-form-item>
-              <el-form-item label=" "> </el-form-item>
+              <el-form-item label="架构版本">{{goInfoData.goVersion}}</el-form-item>
+              <el-form-item label="GO 版本">{{goInfoData.goVersion}}</el-form-item>
+              <el-form-item label="协程数量">{{goInfoData.goroutine}}</el-form-item>
+              <el-form-item label="服务器IP">{{goInfoData.intranet_ip}}</el-form-item>
             </el-form>
           </div>
         </el-card>
@@ -373,8 +248,8 @@ export default defineComponent({
     let myChart5: any;
     let myChart6: any;
     const goInfoData = reactive({
-      "goMem": "-", "goName": "-", "goSize": "-", "goVersion": "-", "goroutine": '-', "pwd": "-", "rootPath": "-",
-      "runTime": '', "startTime": "-"
+      "goOs":"-","arch":"-","goVersion":"-","goMem": "-", "goName": "-", "goSize": "-", "goVersion": "-", "goroutine": '-', "pwd": "-", "rootPath": "-",
+      "runTime": '', "startTime": "-","intranet_ip":"-"
     });
 
     function goInfo(event: { data: any; }) {
@@ -703,8 +578,8 @@ export default defineComponent({
 
     function displayHost(event: { data: any; }) {
       const data = JSON.parse(event.data);
-      state.sysInfo.sysOsName = data.os
-      state.sysInfo.sysOsArch = data.kernelArch
+      state.sysInfo.os = data.os
+      state.sysInfo.kernelArch = data.kernelArch
       state.sysInfo.sysComputerName = data.hostname
       state.sysInfo.goStartTime = data.bootTime
       state.sysInfo.goRunTime = data.uptime