Commit ca060cfa authored by 吴冠's avatar 吴冠

T11

parent ffecbb75
......@@ -102,19 +102,21 @@ export default {
size:10,
noticeType:'ENQUIRY'
}
if(Cookies.get("details",{path:'/',domain: '60.205.251.80'})=="1"){
console.log(777777777777777777)
if(Cookies.get("details",{path:'',domain: '60.205.251.80'})=="1"){
console.log(111111111111111111)
mes.currentPage = Cookies.get("currentPage",{path:'/',domain: '60.205.251.80'})
mes.currentPage = Cookies.get("currentPage",{path:'',domain: '60.205.251.80'})
}
console.log(88888888888888888888)
const res = await industryList();
console.log(33333333333333333)
const {data,total} = await getInquiryList(mes)
/* Cookies.remove("details",{ path: '' })
Cookies.remove("currentPage",{ path: '' }) */
console.log(222222222222222222222222)
Cookies.remove('currentPage', {path:'/',domain: '60.205.251.80'});
Cookies.remove('currentPage', {path:'',domain: '60.205.251.80'});
console.log(3333333333333333333333)
Cookies.remove('details', {path:'/',domain: '60.205.251.80'});
Cookies.remove('details', {path:'',domain: '60.205.251.80'});
return {
priceList : data,
total : total,
......@@ -258,7 +260,7 @@ export default {
mess.currentPage = val
this.getData.currentPage = val
mess.size = this.getData.size
Cookies.set("currentPage",val,{path:'/',domain: '60.205.251.80'})
Cookies.set("currentPage",val,{path:'',domain: '60.205.251.80'})
this.getInquiryList(mess);
},
dealDisabledDate(time) {
......@@ -269,7 +271,7 @@ export default {
return time.getTime() > Date.now() || time.getTime() < dateRegion;
},
handleChageUrl(id){
Cookies.set("details",'1',{path:'/',domain: '60.205.251.80'})
Cookies.set("details",'1',{path:'',domain: '60.205.251.80'})
return this.$router.push(`enquirydetails?id=${id}`)
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment