Browse Source

修复隐患问题、问题整改详情框错误样式

jiawuxian 1 năm trước cách đây
mục cha
commit
fdc84430cf
2 tập tin đã thay đổi với 15 bổ sung6 xóa
  1. 7 4
      src/views/question/list/dialog.vue
  2. 8 2
      src/views/question/reform/dialog.vue

+ 7 - 4
src/views/question/list/dialog.vue

@@ -183,11 +183,14 @@
         </el-form-item>
       </el-form>
     </div>
-    <div slot="footer" class="dialog-footer">
-      <el-button type="primary" @click="submitForm" v-if="type != 'detail'"
-        >确 定</el-button
+    <div slot="footer" class="dialog-footer" v-if="type != 'detail'">
+      <el-button type="primary" @click="submitForm"
+        >确定</el-button
       >
-      <el-button @click="cancel">取 消</el-button>
+      <el-button @click="cancel">取消</el-button>
+    </div>
+    <div slot="footer" class="dialog-footer" style="margin-top:40px" v-else>
+      <el-button @click="cancel">关闭</el-button>
     </div>
   </DialogCom>
 </template>

+ 8 - 2
src/views/question/reform/dialog.vue

@@ -82,6 +82,9 @@
         :column="2"
         class="margin-top"
         v-if="data.confirmDissent"
+        border
+        :label-style="labelStyle"
+        :contentStyle="content_style"
       >
         <el-descriptions-item label="审核结果">{{
           data.confirmDissent.executeStatus == 0 ? "同意" : "不同意"
@@ -160,12 +163,15 @@
         </el-form-item>
       </el-form>
     </div>
-    <div slot="footer" class="dialog-footer">
-      <el-button type="primary" @click="submitForm" v-if="type != 'detail'"
+    <div slot="footer" class="dialog-footer"  v-if="type != 'detail'">
+      <el-button type="primary" @click="submitForm"
         >确 定</el-button
       >
       <el-button @click="cancel">取 消</el-button>
     </div>
+    <div slot="footer" class="dialog-footer" style="margin-top:40px" v-else>
+      <el-button @click="cancel">关闭</el-button>
+    </div>
   </DialogCom>
 </template>
 <script>