|
|
|
@ -2,6 +2,10 @@
|
|
|
|
|
<!-- 出差列表 -->
|
|
|
|
|
<div>
|
|
|
|
|
<HeaderFilter :listType="listType" @onListQuery="handleListQuery" :paramProp="listQuery" />
|
|
|
|
|
<van-tabs v-model="authorisedType" @click="authorisedChange">
|
|
|
|
|
<van-tab name="1" title="我的报销单" />
|
|
|
|
|
<van-tab name="0" title="全部报销单" />
|
|
|
|
|
</van-tabs>
|
|
|
|
|
<RMList :moreLoading.sync="moreLoading" :refreshing.sync="refreshing" :finished.sync="finished" @onLoad="handleLoad" @onRefresh="handleRefresh" isMore :tableList="tableList">
|
|
|
|
|
<div>
|
|
|
|
|
<MyClaimListCard v-for="(item,index) in tableList" :key="item.id" :itemData="item" :listType="listType" @onUpdataInfo="handleUpdataInfo($event, index)" @onAllRefresh="handleAllRefresh" />
|
|
|
|
@ -70,6 +74,7 @@ export default {
|
|
|
|
|
costDeptId: null,
|
|
|
|
|
invoiceIds: null,
|
|
|
|
|
},
|
|
|
|
|
authorisedType:'1'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
@ -173,7 +178,8 @@ export default {
|
|
|
|
|
getTableList(val) {
|
|
|
|
|
// const { shellIdsLocal, collegeInfoIdLocal, startDate, endDate, keyword, type, method, targets, usePersonId, teacherIds, chargePersonIds } = this.listQuery
|
|
|
|
|
const query = {
|
|
|
|
|
...this.listQuery
|
|
|
|
|
...this.listQuery,
|
|
|
|
|
...{authorisedType:this.authorisedType}
|
|
|
|
|
}
|
|
|
|
|
this.moreLoading = true
|
|
|
|
|
this.$loading(true, 'tableLoading')
|
|
|
|
@ -197,6 +203,11 @@ export default {
|
|
|
|
|
// this.$loading(false, `cTableLoading_${this.listType}`)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
authorisedChange(){
|
|
|
|
|
this.listQuery.pageNo = 1
|
|
|
|
|
this.finished = false
|
|
|
|
|
this.getTableList('refresh')
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|