Commit 31640669 authored by 吴冠's avatar 吴冠

commit

parent 4fd10e89
......@@ -146,6 +146,13 @@ export default {
components: {
dataBreadcrumb
},
mounted(){
let id = this.$route.query.id
console.log(id)
this.getBidingdetails(id)
let noticeType = window.location.href.split("?id=")[1]
sessionStorage.setItem("bidId",noticeType)
},
data() {
return {
proId:'',
......@@ -157,13 +164,6 @@ export default {
fileList:[],
}
},
mounted(){
let id = this.$route.query.id
console.log(id)
this.getBidingdetails(id)
let noticeType = window.location.href.split("?id=")[1]
sessionStorage.setItem("bidId",noticeType)
},
methods:{
signUp(){
let tokenStr = sessionStorage.getItem("token")
......
......@@ -172,11 +172,11 @@ export default {
dataTable,
breadCrumb,
},
mounted() {
/* mounted() {
let id = this.$route.query.id;
/* let message = {}
let message = {}
message.currentPage = 1
message.size = 10 */
message.size = 10
console.log(id + "----------------------++++++++++++++++++");
this.getenquirydetails(id);
let number1 = sessionStorage.getItem("isSupplier")
......@@ -185,6 +185,14 @@ 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]
const {data} = await getenquirydetails(id)
console.log(data+'------------')
return {
formdata : data,
}
},
data() {
return {
......
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