Commit 94a9e5cf authored by 吴冠's avatar 吴冠

调试

parent 3d6767ac
......@@ -75,21 +75,21 @@ import {getAllList,getNoticeType} from '@/common/list.js'
}, */
async asyncData({params}){
let inputContent = sessionStorage.getItem("content")
let mes ={
currentPage:1,
size:10,
title:inputContent
}
const res = await industryList();
const {data,total} = await getAllList(mes)
console.log(data+'------------')
return {
priceList : data,
total : total,
industryOptions:res
}
sessionStorage.removeItem("content")
},
let mes ={
currentPage:1,
size:10,
title:inputContent
}
const res = await industryList();
const {data,total} = await getAllList(mes)
console.log(data+'------------')
return {
priceList : data,
total : total,
industryOptions:res
}
sessionStorage.removeItem("content")
},
data() {
return {
allList:[],
......
......@@ -173,7 +173,7 @@ export default {
dataTable,
breadCrumb,
},
/* mounted() {
mounted() {
let id = this.$route.query.id;
let message = {}
message.currentPage = 1
......@@ -186,15 +186,15 @@ export default {
}
let enquiryId = window.location.href.split("?id=")[1]
sessionStorage.setItem("Id",enquiryId)
}, */
async asyncData({route}){
let id = window.location.href.split("?id=")[1]
},
/* async asyncData({route}){
let id = $route.query.id
const {data} = await getenquirydetails(id)
console.log(data+'------------')
return {
formdata : data,
}
},
}, */
data() {
return {
fileList:[],
......
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