chenrui 4 роки тому
батько
коміт
f2ce1e2ab2

+ 1 - 2
src/views/FinancialManagement/PaySettlementRecords.vue

@@ -91,6 +91,7 @@ export default {
             const _item = res.data.list[i]
             _item.no = no + i + 1
           }
+          this.orderTotal = res.data.count || 0
           return res.data
         })
       },
@@ -209,10 +210,8 @@ export default {
       settlementRecordsListTotal(params).then(res => {
         if (res.status == 200) {
           if (res.data) {
-            this.orderTotal = res.data.cnt || 0
             this.amountTotal = res.data.amount || 0
           } else {
-            this.orderTotal = 0
             this.amountTotal = 0
           }
         }

+ 2 - 2
vue.config.js

@@ -108,9 +108,9 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        // target: 'https://channel.test.zyucgj.com/zyyc-channel/',
+        target: 'https://channel.test.zyucgj.com/zyyc-channel/',
         // target: 'http://192.168.16.103:7103/zyyc-channel/',
-        target: 'https://channel.qiubcar.com/zyyc-channel/',
+        // target: 'https://channel.qiubcar.com/zyyc-channel/',
         ws: false,
         changeOrigin: true,
         pathRewrite: {