Ver Fonte

样式调整

luoaoxuan há 1 ano atrás
pai
commit
564c6b2b75

+ 4 - 1
src/views/component/device/deviceDialog.vue

@@ -1099,7 +1099,7 @@ export default {
             }
         }
         .left{
-            height: calc(100vh - 70px);
+            height: calc(100vh - 100px);
             box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
             padding:20px;
             overflow-y: auto;
@@ -1130,6 +1130,9 @@ export default {
         .el-tabs__item{
             background-color: #f5f7fa;
         }
+        .el-form-item__content{
+            font-size: 12px !important;
+        }
     }
 
 </style>

+ 3 - 0
src/views/component/device/index.vue

@@ -1422,5 +1422,8 @@ export default {
             text-align: left;
             font-size: 12px !important;
         }
+        .el-form-item__content{
+            font-size: 12px !important;
+        }
     }
 </style>

+ 2 - 2
src/views/component/shiftHandover/earlyHandover.vue

@@ -856,7 +856,7 @@ export default {
         justify-content: center;
 
         .left{
-            height: calc(100vh - 70px);
+            height: calc(100vh - 100px);
             box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
             padding:20px 10px 0 40px;
             overflow-y: auto;
@@ -868,7 +868,7 @@ export default {
             }
         }
         .right{
-            height: calc(100vh - 70px);
+            height: calc(100vh - 100px);
             flex: 1;
             padding:20px 10px 0 10px;
             .text{

+ 2 - 2
src/views/platform/risk/riskV2.vue

@@ -842,13 +842,13 @@ export default {
         justify-content: center;
 
         .left{
-            height: calc(100vh - 70px);
+            height: calc(100vh - 100px);
             box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
             padding:10px;
             overflow-y: auto;
         }
         .right{
-            height: calc(100vh - 70px);
+            height: calc(100vh - 100px);
             flex: 1;
             padding:10px;
             .text{

+ 3 - 3
src/views/system/fasc/facilityEnvConfig.vue

@@ -775,7 +775,7 @@ export default {
             })
         },
         loadData () {
-            const sql = `select * from t_sshjpzb where id_=${this.parentData.mainId}`
+            const sql = `select * from t_sshjpzb where id_='${this.parentData.mainId}'`
             this.$common.request('sql', sql).then(res => {
                 const { data = [] } = res.variables || {}
                 // console.log('主表', data)
@@ -821,7 +821,7 @@ export default {
             })
         },
         loadSubData () {
-            const sql = `select * from t_sshjpzxq where parent_id_=${this.parentData.mainId}`
+            const sql = `select * from t_sshjpzxq where parent_id_='${this.parentData.mainId}'`
             this.$common.request('sql', sql).then(res => {
                 const { data = [] } = res.variables || {}
                 // console.log('子表', data)
@@ -1484,7 +1484,7 @@ export default {
         }
         .main{
             width: 80%;
-            height: calc(100vh - 70px);
+            height: calc(100vh - 100px);
             box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
             padding:20px;
             overflow-y: auto;