浏览代码

档案调整页面修改

duy 2 周之前
父节点
当前提交
b1247b6ffe

+ 7 - 6
src/styles/page/transfer/scoped/inspects.scss

@@ -43,8 +43,9 @@
         background: #E7EEF4;
         border-radius: 10px;
         padding: 12px;
-        height: 244px;
-        margin-bottom: 20px;
+       
+        height: 210px;
+        margin-bottom: 8px;
         .hc-info-text-item {
             position: relative;
             font-size: 14px;
@@ -68,8 +69,8 @@
         background: #E7EEF4;
         border-radius: 10px;
         padding: 12px;
-        height: calc(100% - 562px);
-        margin-bottom: 16px;
+        height: calc(100% - 420px);
+        margin-bottom: 8px;
         .hc-csc-associated-row {
             position: relative;
             text-align: left;
@@ -104,7 +105,7 @@
         background: #E7EEF4;
         border-radius: 10px;
         padding: 12px;
-        height: 240px;
+        // height: 240px;
  
         .header-box {
             position: relative;
@@ -121,7 +122,7 @@
         }
         .btn-box {
             position: relative;
-            margin-top: 20px;
+            margin-top: 10px;
             text-align: center;
         }
     }

+ 6 - 5
src/styles/theme/transfer/inspect.scss

@@ -47,8 +47,9 @@ html.dark {
             background: transparent;
             border-radius: 10px;
             padding: 12px;
-            height: 244px;
-            margin-bottom: 20px;
+        
+            height: 210px;
+            margin-bottom: 10px;
             .hc-info-text-item {
                 position: relative;
                 font-size: 14px;
@@ -73,7 +74,7 @@ html.dark {
             background: transparent;
             border-radius: 10px;
             padding: 12px;
-            height: calc(100% - 562px);
+            height: calc(100% - 420px);
             margin-bottom: 16px;
             .hc-csc-associated-row {
                 position: relative;
@@ -110,7 +111,7 @@ html.dark {
             border-radius: 10px;
          
             padding: 12px;
-            height: 240px;
+            // height: 240px;
             .header-box {
                 position: relative;
                 display: flex;
@@ -126,7 +127,7 @@ html.dark {
             }
             .btn-box {
                 position: relative;
-                margin-top: 20px;
+                margin-top: 10px;
                 text-align: center;
             }
         }

+ 2 - 2
src/views/archives/manage/inspects.vue

@@ -139,10 +139,10 @@
                     </div>
                     <div class="textarea-box">
                         <div v-if="ishowAllopinion">
-                            <el-input v-model="reform.content" type="textarea" :autosize="{ minRows: 5 }" resize="none" placeholder="请填写抽检意见" @focus="contentClick" />
+                            <el-input v-model="reform.content" type="textarea" :autosize="{ minRows: 1, maxRows: 2 }" resize="none" placeholder="请填写抽检意见" @focus="contentClick" />
                         </div>
                         <div v-else>
-                            <el-input ref="saveTagInput" v-model="reform.myOpinion" type="textarea" :autosize="{ minRows: 5 }" resize="none" placeholder="请填写抽检意见" />
+                            <el-input ref="saveTagInput" v-model="reform.myOpinion" type="textarea" :autosize="{ minRows: 1, maxRows: 2 }" resize="none" placeholder="请填写抽检意见" />
                         </div>
                     </div>
                     <div class="btn-box">

+ 11 - 11
src/views/transfer/components/carry-spot-checks.vue

@@ -117,13 +117,13 @@
                     <div class="textarea-box">
                         <div v-if="ishowAllopinion">
                             <el-input
-                                v-model="reform.content" :autosize="{ minRows: 5 }" placeholder="请填写抽检意见" resize="none"
+                                v-model="reform.content" :autosize="{ minRows: 1, maxRows: 2 }" placeholder="请填写抽检意见" resize="none"
                                 type="textarea" @focus="contentClick"
                             />
                         </div>
                         <div v-else>
                             <el-input
-                                ref="saveTagInput" v-model="reform.myOpinion" :autosize="{ minRows: 5 }"
+                                ref="saveTagInput" v-model="reform.myOpinion" :autosize="{ minRows: 1, maxRows: 2 }" 
                                 placeholder="请填写抽检意见" resize="none" type="textarea"
                             />
                         </div>
@@ -631,8 +631,8 @@ const viewPdf = async (id) => {
         background: #E7EEF4;
         border-radius: 10px;
         padding: 12px;
-        height: 244px;
-        margin-bottom: 20px;
+        height: 224px;
+        margin-bottom: 10px;
         .hc-info-text-item {
             position: relative;
             font-size: 14px;
@@ -656,7 +656,7 @@ const viewPdf = async (id) => {
         background: #E7EEF4;
         border-radius: 10px;
         padding: 12px;
-        height: calc(100% - 562px);
+        height: calc(100% - 420px);
         margin-bottom: 16px;
         .hc-csc-associated-row {
             position: relative;
@@ -692,7 +692,7 @@ const viewPdf = async (id) => {
         background: white;
         border-radius: 10px;
         padding: 12px;
-        height: 240px;
+        // height: 240px;
         .header-box {
             position: relative;
             display: flex;
@@ -708,7 +708,7 @@ const viewPdf = async (id) => {
         }
         .btn-box {
             position: relative;
-            margin-top: 20px;
+            margin-top: 10px;
             text-align: center;
         }
     }
@@ -790,7 +790,7 @@ html.dark {
             background: transparent;
             border-radius: 10px;
             padding: 12px;
-            height: 244px;
+            height: 224px;
             margin-bottom: 20px;
             .hc-info-text-item {
                 position: relative;
@@ -816,7 +816,7 @@ html.dark {
             background: transparent;
             border-radius: 10px;
             padding: 12px;
-            height: calc(100% - 562px);
+            height: calc(100% - 420px);
             margin-bottom: 16px;
             .hc-csc-associated-row {
                 position: relative;
@@ -853,7 +853,7 @@ html.dark {
             border-radius: 10px;
          
             padding: 12px;
-            height: 240px;
+            // height: 240px;
             .header-box {
                 position: relative;
                 display: flex;
@@ -869,7 +869,7 @@ html.dark {
             }
             .btn-box {
                 position: relative;
-                margin-top: 20px;
+                margin-top: 10px;
                 text-align: center;
             }
         }