Your Name 1 سال پیش
والد
کامیت
e94b431976
2فایلهای تغییر یافته به همراه8 افزوده شده و 6 حذف شده
  1. 6 5
      src/pages/reader/develop.vue
  2. 2 1
      src/pages/reader/develop2.vue

+ 6 - 5
src/pages/reader/develop.vue

@@ -82,9 +82,8 @@
             min-width="100px"></el-table-column>
         </el-table-column>
       </el-table>
-      <el-pagination style="text-align: center;" @current-change="submitForm"
-        :current-page.sync="pagination.pageNo" :page-size="pagination.pageSize" layout="total, prev, pager, next"
-        :total="pagination.totalSize">
+      <el-pagination style="text-align: center;" @current-change="submitForm" :current-page.sync="pagination.pageNo"
+        :page-size="pagination.pageSize" layout="total, prev, pager, next" :total="pagination.totalSize">
       </el-pagination>
     </el-card>
   </div>
@@ -171,7 +170,8 @@ export default {
     },
     channelChange(val) {
     },
-    skillChange(val) {z
+    skillChange(val) {
+      z
       console.log(val)
     },
     columnZero() {
@@ -189,8 +189,9 @@ export default {
       return formatDate(date, 4)
     },
     getSummaries() {
+      let d = this.totalData
       let value = ['合计', '']
-      value.push(...Object.values(this.totalData))
+      value.push(...[d.dailyAdd,d.dailyLogout,d.dailyNetCount,d.dailyStock,d.dailyAddMonthCount,d.dailyAddYearCount,d.dailyAddLifelongCount,d.dailyAddCount,d.dailyAddMonthAmount,d.dailyAddYearAmount,d.dailyAddLifelongAmount,d.dailyAddAmount,d.dailyRefundMonthCount,d.dailyRefundYearCount,d.dailyRefundLifelongCount,d.dailyRefundCount,d.dailyRefundMonthAmount,d.dailyRefundYearAmount,d.dailyRefundLifelongAmount,d.dailyRefundAmount])
       return value
     }
   }

+ 2 - 1
src/pages/reader/develop2.vue

@@ -167,8 +167,9 @@ export default {
       return formatDate(date, 4)
     },
     getSummaries() {
+      let d = this.totalData
       let value = ['合计', '']
-      value.push(...Object.values(this.totalData))
+      value.push(...[d.dailyAdd,d.dailyLogout,d.dailyNetCount,d.dailyStock,d.dailyAddMonthCount,d.dailyAddYearCount,d.dailyAddLifelongCount,d.dailyAddCount,d.dailyAddMonthAmount,d.dailyAddYearAmount,d.dailyAddLifelongAmount,d.dailyAddAmount,d.dailyRefundMonthCount,d.dailyRefundYearCount,d.dailyRefundLifelongCount,d.dailyRefundCount,d.dailyRefundMonthAmount,d.dailyRefundYearAmount,d.dailyRefundLifelongAmount,d.dailyRefundAmount])
       return value
     }
   }