Kaynağa Gözat

返回按钮位置调整

qinchao 4 yıl önce
ebeveyn
işleme
d37d317e02
1 değiştirilmiş dosya ile 12 ekleme ve 7 silme
  1. 12 7
      src/modules/oe/views/captureDetail.vue

+ 12 - 7
src/modules/oe/views/captureDetail.vue

@@ -11,12 +11,11 @@
         </el-col>
         </el-col>
         <el-col :span="19">
         <el-col :span="19">
           <el-row>
           <el-row>
-            <el-col :span="6" class="capture-title">
+            <el-col :span="8" class="capture-title">
               <span>监考数据ID:{{ examRecordDataId }}</span>
               <span>监考数据ID:{{ examRecordDataId }}</span>
             </el-col>
             </el-col>
-            <el-col :span="12" style="text-align: center">
+            <el-col v-if="showAudit" :span="8" style="text-align: center">
               <el-button
               <el-button
-                v-if="showAudit"
                 circle
                 circle
                 size="small"
                 size="small"
                 type="primary"
                 type="primary"
@@ -25,7 +24,6 @@
                 @click="openNextAuditDetail('0')"
                 @click="openNextAuditDetail('0')"
               ></el-button>
               ></el-button>
               <el-button
               <el-button
-                v-if="showAudit"
                 size="small"
                 size="small"
                 type="success"
                 type="success"
                 icon="el-icon-success"
                 icon="el-icon-success"
@@ -34,7 +32,6 @@
                 >通过</el-button
                 >通过</el-button
               >
               >
               <el-button
               <el-button
-                v-if="showAudit"
                 size="small"
                 size="small"
                 type="danger"
                 type="danger"
                 icon="el-icon-error"
                 icon="el-icon-error"
@@ -43,7 +40,6 @@
                 >不通过</el-button
                 >不通过</el-button
               >
               >
               <el-button
               <el-button
-                v-if="showAudit"
                 circle
                 circle
                 size="small"
                 size="small"
                 type="primary"
                 type="primary"
@@ -52,7 +48,16 @@
                 @click="openNextAuditDetail('1')"
                 @click="openNextAuditDetail('1')"
               ></el-button>
               ></el-button>
             </el-col>
             </el-col>
-            <el-col :span="6" style="text-align: right">
+            <el-col v-if="showAudit" :span="8" style="text-align: right">
+              <el-button
+                size="small"
+                icon="el-icon-arrow-left"
+                type="primary"
+                @click="back"
+                >返回</el-button
+              >
+            </el-col>
+            <el-col v-if="!showAudit" :span="16" style="text-align: right">
               <el-button
               <el-button
                 size="small"
                 size="small"
                 icon="el-icon-arrow-left"
                 icon="el-icon-arrow-left"