loki vor 3 Jahren
Ursprung
Commit
5c5c839564

+ 3 - 4
src/views/sceneManagement/sceneList/index.vue

@@ -218,16 +218,15 @@ export default {
       this.pagination.page = page;
       const inParams = {
         ...this.filter,
-        ...this.internalFilterObj, {
+        ...this.internalFilterObj,
         limit: this.pagination.pageSize,
         start: this.pagination.page
-      }
       };
 
       const { data, msg } = await this.apiList(inParams);
 
-      const res2 = await getCount(inParams)
-      this.statistics = res2.data
+      const res2 = await getCount(inParams);
+      this.statistics = res2.data;
       if ('data' in data) {
         const items = data.data;
         if (items.length === 0 && this.pagination.page > 1) {

+ 5 - 6
src/views/statistics/downloadImage/index.vue

@@ -134,7 +134,7 @@ export default {
           key: 'payablePrice',
           name: '花费金额/积分(还没折算)',
           width: this.$col.b,
-          render: (h,{row}) => h('span',`¥${row.payablePrice}`)
+          render: (h, { row }) => h('span', `¥${row.payablePrice}`)
         },
         {
           key: 'photoTime',
@@ -151,21 +151,20 @@ export default {
     };
   },
 
-  methods:{
+  methods: {
     async pageChange(page) {
       this.pagination.page = page;
       const inParams = {
         ...this.filter,
-        ...this.internalFilterObj, {
+        ...this.internalFilterObj,
         limit: this.pagination.pageSize,
         start: this.pagination.page
-      }
       };
 
       const { data, msg } = await this.apiList(inParams);
 
-      const res2 = await getDownloadCount(inParams)
-      this.statistics = res2.data
+      const res2 = await getDownloadCount(inParams);
+      this.statistics = res2.data;
       if ('data' in data) {
         const items = data.data;
         if (items.length === 0 && this.pagination.page > 1) {