Tang 3 rokov pred
rodič
commit
7fd07da8be

+ 12 - 15
src/pages/person-center/my-bank/bank-detail/index.vue

@@ -60,16 +60,16 @@
                                   <span style="color: rgb(52, 216, 71)"
                                     >{{
                                       computedNums(
-                                        section.questionNum,
-                                        section.totalQuestionNum
+                                        section.doQuestionNum,
+                                        section.questionNum
                                       )
                                     }}%</span
                                   ><span style="margin-left: 6px">已完成 </span
                                   ><span style="color: blue">{{
-                                    section.questionNum || 0
+                                    section.doQuestionNum || 0
                                   }}</span>
                                   /
-                                  {{ section.totalQuestionNum || 0 }}
+                                  {{ section.questionNum || 0 }}
                                 </div>
                                 <el-button
                                   v-if="section.recordStatus == -1"
@@ -162,16 +162,16 @@
                                   <span style="color: rgb(52, 216, 71)"
                                     >{{
                                       computedNums(
-                                        section.questionNum,
-                                        section.totalQuestionNum
+                                        section.doQuestionNum,
+                                        section.questionNum
                                       )
                                     }}%</span
                                   ><span style="margin-left: 6px">已完成 </span
                                   ><span style="color: blue">{{
-                                    section.questionNum || 0
+                                    section.doQuestionNum || 0
                                   }}</span>
                                   /
-                                  {{ section.totalQuestionNum || 0 }}</el-button
+                                  {{ section.questionNum || 0 }}</el-button
                                 >
                                 <el-button
                                   v-if="section.recordStatus == -1"
@@ -227,15 +227,15 @@
                               <span style="color: rgb(52, 216, 71)"
                                 >{{
                                   computedNums(
-                                    item.questionNum,
-                                    item.totalQuestionNum
+                                    item.doQuestionNum,
+                                    item.questionNum
                                   )
                                 }}%</span
                               ><span style="margin-left: 6px">已完成 </span
                               ><span style="color: blue">{{
-                                item.questionNum || 0
+                                item.doQuestionNum || 0
                               }}</span>
-                              / {{ item.totalQuestionNum || 0 }}</el-button
+                              / {{ item.questionNum || 0 }}</el-button
                             >
                             <el-button
                               v-if="item.recordStatus == -1"
@@ -1254,9 +1254,6 @@ export default {
                 }
               }
             }
-
-            .tabs {
-            }
           }
 
           &__body {