1 Commits

Author SHA1 Message Date
ce53b4f124 task#,司机培训文档和文档材料添加关键词接收
(cherry picked from commit f3a15b829f)
2024-12-20 17:50:06 +08:00
2 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,7 @@ export default {
const urlParams = new URLSearchParams(window.location.search);
this.driverId = urlParams.get('driverId');
this.time=timeFormat(Date.now())
this.keyword=urlParams.get('keyWord') || ''
this.getTrainingList();
document.addEventListener('visibilitychange', async ( ) => {
let state = document.visibilityState

View File

@ -103,6 +103,9 @@ export default {
const urlParams = new URLSearchParams(window.location.search);
this.supplierId = urlParams.get('supplierId');
this.driverId = urlParams.get('driverId');
if(this.driverId){
this.keyword=urlParams.get('keyWord') || ''
}
this.getNormalList()
},
methods:{