|
@@ -27,8 +27,8 @@
|
|
value-format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd"
|
|
@change="searchOrderDate"
|
|
@change="searchOrderDate"
|
|
range-separator="至"
|
|
range-separator="至"
|
|
- start-placeholder="开始日期"
|
|
|
|
- end-placeholder="结束日期"
|
|
|
|
|
|
+ start-placeholder="申请开始日期"
|
|
|
|
+ end-placeholder="申请结束日期"
|
|
:picker-options="{
|
|
:picker-options="{
|
|
firstDayOfWeek: 1
|
|
firstDayOfWeek: 1
|
|
}">
|
|
}">
|
|
@@ -199,13 +199,14 @@ export default {
|
|
this.organList = res.data;
|
|
this.organList = res.data;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- this.getList()
|
|
|
|
|
|
+
|
|
var now = new Date();
|
|
var now = new Date();
|
|
var startDate = new Date(Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())).toISOString().slice(0, 10);
|
|
var startDate = new Date(Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())).toISOString().slice(0, 10);
|
|
var endDate = new Date(Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())).toISOString().slice(0, 10);
|
|
var endDate = new Date(Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())).toISOString().slice(0, 10);
|
|
this.orderDate = [];
|
|
this.orderDate = [];
|
|
this.orderDate.push(startDate)
|
|
this.orderDate.push(startDate)
|
|
this.orderDate.push(endDate)
|
|
this.orderDate.push(endDate)
|
|
|
|
+ this.getList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
search () {
|
|
search () {
|
|
@@ -234,6 +235,13 @@ export default {
|
|
let params = this.searchForm
|
|
let params = this.searchForm
|
|
params.rows = this.pageInfo.limit
|
|
params.rows = this.pageInfo.limit
|
|
params.page = this.pageInfo.page
|
|
params.page = this.pageInfo.page
|
|
|
|
+ if (this.orderDate?.length > 0) {
|
|
|
|
+ params.startTime = this.orderDate[0]
|
|
|
|
+ params.endTime = this.orderDate[1]
|
|
|
|
+ } else {
|
|
|
|
+ params.startTime = null
|
|
|
|
+ params.endTime = null
|
|
|
|
+ }
|
|
studentRefundsQueryPage(params).then(res => {
|
|
studentRefundsQueryPage(params).then(res => {
|
|
let result = res.data
|
|
let result = res.data
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|