瀏覽代碼

去掉电气检测

Renxy 1 年之前
父節點
當前提交
215cf2873a
共有 3 個文件被更改,包括 5 次插入5 次删除
  1. 2 2
      .umirc.ts
  2. 1 1
      src/models/eqSelfInspection.js
  3. 2 2
      src/pages/EqSelfInspection/components/Detail.js

+ 2 - 2
.umirc.ts

@@ -27,8 +27,8 @@ export default defineConfig({
   headScripts: [`/rem.js`],
   proxy: {
     '/api': {
-      target: 'http://47.96.12.136:8888/',
-      // target: 'http://47.96.12.136:8788/',
+      // target: 'http://47.96.12.136:8888/',
+      target: 'http://47.96.12.136:8788/',
       // target: 'http://120.55.44.4:8903/',
       // target: 'https://work.greentech.com.cn/',
       changeOrigin: true,

+ 1 - 1
src/models/eqSelfInspection.js

@@ -242,7 +242,7 @@ export default {
           sensorStatus = 1;
         }
         secureChild.push({ label: '环境检测', status: sensorStatus });
-        secureChild.push({ label: '电气检测', status: 0 });
+        // secureChild.push({ label: '电气检测', status: 0 });
         secureChild.push({ label: '密闭空间检测', status: 0 });
 
         data.secureChild = secureChild;

+ 2 - 2
src/pages/EqSelfInspection/components/Detail.js

@@ -233,7 +233,7 @@ function Detail(props) {
           <ReportDumCom data={dumuList} title={'安防检测异常'} />
 
           {/* 电器检测异常 */}
-          <ReportCom
+          {/* <ReportCom
             sendMessageToUnity={sendMessageToUnity}
             select={select}
             waringData={[]}
@@ -242,7 +242,7 @@ function Detail(props) {
             type={'extend'}
             userList={userList}
             title={'电气检测异常'}
-          ></ReportCom>
+          ></ReportCom> */}
 
           {/* 密闭空间检测异常 */}
           <ReportCom