Commit 88062382 authored by 吴冠's avatar 吴冠

try

parent f69658e6
...@@ -14,14 +14,6 @@ export default { ...@@ -14,14 +14,6 @@ export default {
name:'询价公告' name:'询价公告'
} }
}, },
mounted(){
console.log(this.$route)
},
watch:{
$route (old, newRes) {
console.log(old, newRes,'------bbbb')
}
}
} }
</script> </script>
......
<template>
<div>
xxxxxxxxxxxxx
</div>
</template>
<script>
import {getList} from '@/common/list.js'
export default {
created(){
let id = this.$route.query.id
this.getList(id)
},
methods:{
async getList(id){
const {data} = await getList(id)
console.log(data)
}
}
}
</script>
<style>
</style>
\ No newline at end of file
...@@ -199,7 +199,7 @@ export default { ...@@ -199,7 +199,7 @@ export default {
], ],
}; };
}, },
created(){ mounted(){
let id=this.$route.query.id; let id=this.$route.query.id;
console.log(id) console.log(id)
this.getenquirydetails(id) this.getenquirydetails(id)
......
...@@ -463,6 +463,13 @@ export default { ...@@ -463,6 +463,13 @@ export default {
Upload, Upload,
imgUpload, imgUpload,
}, },
mounted() {
console.log(this.flag);
this.flag = !this.flag;
this.getIndustryList();
this.getCompanyNatureList();
// this.getCordimg();
},
data() { data() {
// 测试省份 // 测试省份
let islocal = (rule, value, callback) => { let islocal = (rule, value, callback) => {
...@@ -1081,13 +1088,6 @@ export default { ...@@ -1081,13 +1088,6 @@ export default {
this.refreshCode(); this.refreshCode();
} }
}, },
mounted() {
console.log(this.flag);
this.flag = !this.flag;
this.getIndustryList();
this.getCompanyNatureList();
// this.getCordimg();
},
}, },
}; };
</script> </script>
......
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