CRM_25-10-15#story#7339,服务商在APP中查看救援相关资料内容优化

This commit is contained in:
2025-10-13 16:48:13 +08:00
parent 617b08e863
commit 97f6e47a00
2 changed files with 7 additions and 0 deletions

View File

@ -90,6 +90,7 @@ export default {
totalList:[],
numInfo:'',
keyword:'',
serviceTypeName:'',
show:false,
showEmpty:false,
isLoading:false,
@ -102,6 +103,7 @@ export default {
this.driverId = urlParams.get('driverId');
this.time=timeFormat(Date.now())
this.keyword=urlParams.get('keyword') || ''
this.serviceTypeName=urlParams.get('serviceTypeName') || ''
this.getTrainingList();
document.addEventListener('visibilitychange', async ( ) => {
let state = document.visibilityState
@ -129,6 +131,7 @@ export default {
type:1,
id:this.driverId,
text:this.keyword || '',
serviceTypeName:this.serviceTypeName || ''
})
this.totalList=[]
this.pageList=[]

View File

@ -68,6 +68,7 @@ export default {
pageList:[],
totalList:[],
keyword:'',
serviceTypeName:'',
show:false,
showEmpty:false,
isLoading:false,
@ -77,6 +78,8 @@ export default {
mounted() {
const urlParams = new URLSearchParams(window.location.search);
this.supplierId = urlParams.get('supplierId');
this.keyword=urlParams.get('keyword') || ''
this.serviceTypeName=urlParams.get('serviceTypeName') || ''
this.getTrainingList();
document.addEventListener('visibilitychange', async ( ) => {
let state = document.visibilityState
@ -104,6 +107,7 @@ export default {
type:2,
id: this.supplierId,
text:this.keyword || '',
serviceTypeName:this.serviceTypeName || ''
})
this.totalList=[]
this.pageList=[]