Commit e63d9f99 authored by 吴冠's avatar 吴冠

T13

parent 6d8f0b3f
...@@ -108,7 +108,8 @@ import Cookies from 'js-cookie' ...@@ -108,7 +108,8 @@ import Cookies from 'js-cookie'
cityId:'', cityId:'',
districtId:'', districtId:'',
beginDate:'', beginDate:'',
endDate:'' endDate:'',
noticeType:"ABORTIVE"
}, },
priceList: [{ priceList: [{
id:"", id:"",
......
...@@ -97,6 +97,7 @@ import Cookies from 'js-cookie' ...@@ -97,6 +97,7 @@ import Cookies from 'js-cookie'
endDate:'', endDate:'',
currentPage:1, currentPage:1,
size:10, size:10,
noticeType:"BIDDING"
}, },
priceList: [{ priceList: [{
......
...@@ -120,6 +120,7 @@ export default { ...@@ -120,6 +120,7 @@ export default {
districtId: "", districtId: "",
size: 10, size: 10,
currentPage: 1, currentPage: 1,
noticeType:"WIN"
}, },
total: 0, total: 0,
priceList: [ priceList: [
......
...@@ -108,7 +108,8 @@ import Cookies from 'js-cookie' ...@@ -108,7 +108,8 @@ import Cookies from 'js-cookie'
cityId:'', cityId:'',
districtId:'', districtId:'',
beginDate:'', beginDate:'',
endDate:'' endDate:'',
noticeType:"CADIDATE"
}, },
priceList: [{ priceList: [{
id:"", id:"",
......
...@@ -108,7 +108,8 @@ import Cookies from 'js-cookie' ...@@ -108,7 +108,8 @@ import Cookies from 'js-cookie'
cityId:'', cityId:'',
districtId:'', districtId:'',
beginDate:'', beginDate:'',
endDate:'' endDate:'',
noticeType:"CHANGE"
}, },
priceList: [{ priceList: [{
id:"", id:"",
......
...@@ -108,7 +108,8 @@ import Cookies from 'js-cookie' ...@@ -108,7 +108,8 @@ import Cookies from 'js-cookie'
cityId:'', cityId:'',
districtId:'', districtId:'',
beginDate:'', beginDate:'',
endDate:'' endDate:'',
noticeType:"CLARIFIES"
}, },
priceList: [{ priceList: [{
id:"", id:"",
......
...@@ -96,27 +96,19 @@ export default { ...@@ -96,27 +96,19 @@ export default {
citySelect, citySelect,
dataTable dataTable
}, },
async asyncData(context){ async asyncData({params}){
let mes ={ let mes ={
currentPage:1, currentPage:1,
size:10, size:10,
noticeType:'ENQUIRY' noticeType:'ENQUIRY'
} }
console.log(777777777777777777) if(Cookies.get("details")){
if(Cookies.get("details",{path:'/',domain: '60.205.251.80'})=="1"){ mes.currentPage = Cookies.get("currentPage")
console.log(111111111111111111)
mes.currentPage = Cookies.get("currentPage",{path:'/',domain: '60.205.251.80'})
} }
console.log(88888888888888888888)
const res = await industryList(); const res = await industryList();
console.log(33333333333333333)
const {data,total} = await getInquiryList(mes) const {data,total} = await getInquiryList(mes)
/* Cookies.remove("details",{ path: '' }) Cookies.remove("details")
Cookies.remove("currentPage",{ path: '' }) */ Cookies.remove("currentPage")
console.log(222222222222222222222222)
Cookies.remove('currentPage', {path:'/',domain: '60.205.251.80'});
console.log(3333333333333333333333)
Cookies.remove('details', {path:'/',domain: '60.205.251.80'});
return { return {
priceList : data, priceList : data,
total : total, total : total,
...@@ -161,6 +153,7 @@ export default { ...@@ -161,6 +153,7 @@ export default {
districtId: "", districtId: "",
size: 10, size: 10,
currentPage: 1, currentPage: 1,
noticeType:'ENQUIRY'
}, },
priceList: [ priceList: [
{ {
...@@ -271,7 +264,7 @@ export default { ...@@ -271,7 +264,7 @@ export default {
return time.getTime() > Date.now() || time.getTime() < dateRegion; return time.getTime() > Date.now() || time.getTime() < dateRegion;
}, },
handleChageUrl(id){ handleChageUrl(id){
Cookies.set("details",'1') Cookies.set("details",true)
return this.$router.push(`enquirydetails?id=${id}`) 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