Kaynağa Gözat

添加调度器代理和详情页样式修改

zhangyu 4 yıl önce
ebeveyn
işleme
a751664b8c

+ 14 - 1
config/index.js

@@ -91,12 +91,18 @@ module.exports = {
       },
       '/modelapi': {
         target: 'http://mbi.sagacloud.cn:8080',
-        // target: 'http://192.168.20.218:8082',//景灏
         changeOrigin: true,
         pathRewrite: {
           "^/modelapi": "/revit-algorithm/"
         }
       },
+      '/schedulerapi': {
+        target: 'http://mbi.sagacloud.cn:8080',
+        changeOrigin: true,
+        pathRewrite: {
+            "^/schedulerapi": "/scheduler/"
+        }
+      },
     },
 
     // proxyTable: {
@@ -186,6 +192,13 @@ module.exports = {
     //             "^/modelapi": "/"
     //         }
     //     },
+    //     '/schedulerapi': {
+    //       target: 'http://172.16.42.210:8081',
+    //       changeOrigin: true,
+    //       pathRewrite: {
+    //           "^/schedulerapi": "/"
+    //       }
+    //     },
     // },
 
     // Various Dev Server settings

+ 2 - 1
src/views/ledger/facility/details/index.vue

@@ -505,7 +505,7 @@
 </script>
 
 <style scoped lang="less">
-  @bgc:#fff;
+  @bgc: #fff;
   .tableDisplay {
     .header {
       padding-bottom: 10px;
@@ -576,6 +576,7 @@
         }
         .content-media {
           height: calc(100% - 60px);
+          background: @bgc;
           border: 1px solid #ccc;
           box-sizing: border-box;
         }

+ 5 - 3
src/views/ledger/property/details/index.vue

@@ -438,6 +438,7 @@
 </script>
 
 <style scoped lang="less">
+  @bgc: #fff;
   .tableDisplay {
     .header {
       padding-bottom: 10px;
@@ -468,14 +469,14 @@
           height: 100px;
           margin-bottom: 10px;
           overflow: hidden;
-          background: #FFFFFF;
+          background: @bgc;
         }
         .content-showType {
           height: 50px;
           border: 1px solid #ccc;
           border-bottom: none;
           box-sizing: border-box;
-          background: #FFFFFF;
+          background: @bgc;
         }
         .content-point {
           display: flex;
@@ -483,7 +484,7 @@
           height: calc(100% - 160px);
           border: 1px solid #ccc;
           box-sizing: border-box;
-          background: #FFFFFF;
+          background: @bgc;
           .content-point-left {
             flex: 1;
           }
@@ -494,6 +495,7 @@
         margin-left: 10px;
         .content-media {
           height: 100%;
+          background: @bgc;
           border: 1px solid #ccc;
           box-sizing: border-box;
         }