@@ -60,12 +60,12 @@ import { mapState } from 'vuex'
import dayjs from 'dayjs'
export default {
props: {
- listType: String, // EnrollmentOrder: 报名订单 EnrollmentCollection: 报名收款 ShiftRecord: 换班记录 WaitPay: 待支付
+ listType: String // EnrollmentOrder: 报名订单 EnrollmentCollection: 报名收款 ShiftRecord: 换班记录 WaitPay: 待支付
},
components: {
HeaderFilter: () => import('./HeaderFilter.vue'),
RMList: () => import('@/components/ReComponents/RMList'),
- MySupplierListCard: () => import('@/components/MySupplierListCard'),
+ MySupplierListCard: () => import('@/components/MySupplierListCard')
},
data() {
return {
@@ -98,15 +98,15 @@ export default {
files: null,
other: null,
createTime: [],
- processInstanceId: null,
- },
+ processInstanceId: null
+ }
}
},
computed: {
...mapState({
singlePageSize: (state) => state.common.setting.singlePageSize,
- pageSize: (state) => state.common.setting.pageSize,
- }),
+ pageSize: (state) => state.common.setting.pageSize
+ })
},
activated() {
this.handleScrollInit()
@@ -124,7 +124,7 @@ export default {
handleInitSpList() {
let queryParams = {
pageNo: 1,
- pageSize: this.singlePageSize,
+ pageSize: this.singlePageSize
}
getSupplierCompanyPage(queryParams).then((res) => {
this.spList = res.data.list || []
@@ -134,7 +134,7 @@ export default {
return new Promise((resolve, reject) => {
let listQuery = {
pageNo: 1,
- pageSize: this.singlePageSize,
+ pageSize: this.singlePageSize
}
getSupplierContractPage(listQuery)
.then((res) => {
@@ -166,8 +166,8 @@ export default {
...paramProp,
invoiceDate: paramProp.startDate && [
dayjs(paramProp.startDate).format('YYYY-MM-DD HH:ss:mm'),
- dayjs(paramProp.endDate).format('YYYY-MM-DD HH:ss:mm'),
- ],
+ dayjs(paramProp.endDate).format('YYYY-MM-DD HH:ss:mm')
+ ]
}
this.finished = false
this.handleRefresh()
@@ -191,8 +191,8 @@ export default {
this.$router.push({
path: '/supplier',
query: {
- type: 'add',
- },
+ type: 'add'
+ }
})
},
handleAllRefresh() {
@@ -223,7 +223,7 @@ export default {
getTableList(val) {
// const { shellIdsLocal, collegeInfoIdLocal, startDate, endDate, keyword, type, method, targets, usePersonId, teacherIds, chargePersonIds } = this.listQuery
const query = {
- ...this.listQuery,
+ ...this.listQuery
}
this.moreLoading = true
this.$loading(true, 'tableLoading')
@@ -248,8 +248,8 @@ export default {
})
// this.$loading(false, `cTableLoading_${this.listType}`)
})
- },
- },
+ }
+ }
}