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