|
@ -30,7 +30,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> --> |
|
|
</view> --> |
|
|
<view class="searchBox" v-if="identity=='校长'"> |
|
|
<view class="searchBox" v-if="identity=='校长'"> |
|
|
<searchRow placeholder="搜索学员姓名、学员手机号"></searchRow> |
|
|
|
|
|
|
|
|
<searchRow placeholder="搜索学员姓名、学员手机号" @searchFn="searchFn"></searchRow> |
|
|
</view> |
|
|
</view> |
|
|
<topUserInfo v-if="identity=='实操教练'"/> |
|
|
<topUserInfo v-if="identity=='实操教练'"/> |
|
|
|
|
|
|
|
@ -128,7 +128,7 @@ |
|
|
] |
|
|
] |
|
|
], |
|
|
], |
|
|
params: { |
|
|
params: { |
|
|
"pageNo": 1, "pageSize": 10, status: 1, trainType: '' |
|
|
|
|
|
|
|
|
"pageNo": 1, "pageSize": 10, status: 1, name: '' |
|
|
}, |
|
|
}, |
|
|
total: 20, |
|
|
total: 20, |
|
|
list: [] |
|
|
list: [] |
|
@ -138,9 +138,14 @@ |
|
|
uni.hideTabBar(); |
|
|
uni.hideTabBar(); |
|
|
}, |
|
|
}, |
|
|
onLoad() { |
|
|
onLoad() { |
|
|
|
|
|
this.params.schoolId = this.vuex_schoolId |
|
|
this.studentRecordPageFn() |
|
|
this.studentRecordPageFn() |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
searchFn(val) { |
|
|
|
|
|
this.params.name = val |
|
|
|
|
|
this.listInit() |
|
|
|
|
|
}, |
|
|
confirmDatePicker(val) { |
|
|
confirmDatePicker(val) { |
|
|
this.showDatePicker = false |
|
|
this.showDatePicker = false |
|
|
|
|
|
|
|
@ -149,8 +154,9 @@ |
|
|
let startTimer = this.screen.timer + '00:00:00' |
|
|
let startTimer = this.screen.timer + '00:00:00' |
|
|
let endTimer = this.screen.timer+ '23:59:59' |
|
|
let endTimer = this.screen.timer+ '23:59:59' |
|
|
console.log(endTimer) |
|
|
console.log(endTimer) |
|
|
this.params.applyDate = [startTimer, endTimer] |
|
|
|
|
|
// this.params['applyDate[0]'] = encodeURI(startTimer) |
|
|
|
|
|
|
|
|
// this.params.applyDate = [startTimer, endTimer] |
|
|
|
|
|
this.params.startTime = startTimer |
|
|
|
|
|
this.params.endTime = endTimer |
|
|
// this.params['applyDate[1]'] = encodeURI(endTimer) |
|
|
// this.params['applyDate[1]'] = encodeURI(endTimer) |
|
|
this.listInit() |
|
|
this.listInit() |
|
|
}, |
|
|
}, |
|
|