xjc 3 years ago
parent
commit
14dd604537
1 changed files with 9 additions and 6 deletions
  1. 9 6
      src/views/company/Grid.vue

+ 9 - 6
src/views/company/Grid.vue

@@ -118,6 +118,9 @@
     font-size: 14px;
     padding-right: 8px;
   }
+h4{
+  margin-bottom:10px;
+}
 </style>
 <template>
   <section>
@@ -420,24 +423,24 @@
                 <p>{{ form1.charge_person_phone }}</p>
               </td>
             </tr>
-            <tr>
+            <tr v-if="form1.duty_list">
               <td colspan="3">
                 <h4 align="left" style="">责任清单</h4>
-                <div style="height: 200px" v-html="form1.duty_list">
+                <div style="height: 200px;overflow-y:scroll;text-align:left;" v-html="form1.duty_list">
                 </div>
               </td>
             </tr>
-            <tr>
+            <tr v-if="form1.job_list">
               <td colspan="3">
                 <h4 align="left" style="">履职清单</h4>
-                <div style="height: 200px" v-html="form1.job_list">
+                <div style="height: 200px;overflow-y:scroll;text-align:left;" v-html="form1.job_list">
                 </div>
               </td>
             </tr>
-            <tr>
+            <tr v-if="form1.depart_list">
               <td colspan="3">
                 <h4 align="left" style="">部门职责</h4>
-                <div style="height: 200px" v-html="form1.depart_list">
+                <div style="height: 200px;overflow-y:scroll;text-align:left;" v-html="form1.depart_list">
                 </div>
               </td>
             </tr>