qinhouyu преди 1 година
родител
ревизия
e88a1b0715
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      pages/quotations/quotations.vue

+ 2 - 1
pages/quotations/quotations.vue

@@ -53,7 +53,7 @@ export default {
   data() {
   data() {
     return {
     return {
       book: false,
       book: false,
-
+      total:0,
       //是否显示弹出层
       //是否显示弹出层
       open: false,
       open: false,
       //悬浮按钮右对齐
       //悬浮按钮右对齐
@@ -116,6 +116,7 @@ export default {
     getList(row) {
     getList(row) {
       // 这里是获取列表的方法
       // 这里是获取列表的方法
       listQuotations(this.queryParams).then(response => {
       listQuotations(this.queryParams).then(response => {
+		  this.total=response.total
         if (this.queryParams.pageNum === 1) {
         if (this.queryParams.pageNum === 1) {
           this.quotationsList = this.dataFormat(response.rows)
           this.quotationsList = this.dataFormat(response.rows)
         } else {
         } else {