1b3affd3 by zhangmeng

预定说明

1 parent d2718611
1 <template> 1 <template>
2 <el-dialog :title="title" v-model="show" width="30%" @close="close"> 2 <el-dialog :title="title" v-model="show" width="30%" @close="close">
3 <div> 3 <div>
4 <div class="pd20" v-html="form.reserveDes"></div> 4 <div v-if="type==1" class="pd20" v-html="form.reserveDes"></div>
5 <div v-if="type==2" class="pd20" v-html="form.reserveDesCar"></div>
6 <div v-if="type==3" class="pd20" v-html="form.reserveDesFood"></div>
7 <div v-if="type==4" class="pd20" v-html="form.reserveDesMeal"></div>
8 <div v-if="type==5" class="pd20" v-html="form.reserveDesPhoto"></div>
9 <div v-if="type==0" class="pd20" v-html="form.reserveDesTitck"></div>
5 </div> 10 </div>
6 <template #footer> 11 <template #footer>
7 <div class="dialog-footer text-center"> 12 <div class="dialog-footer text-center">
...@@ -40,6 +45,7 @@ function getData() { ...@@ -40,6 +45,7 @@ function getData() {
40 console.log(matchId) 45 console.log(matchId)
41 getBaseInfoByActiveId(matchId).then(res=>{ 46 getBaseInfoByActiveId(matchId).then(res=>{
42 form.value = res.data || {} 47 form.value = res.data || {}
48 console.log(form.value)
43 }).catch(err=>{ 49 }).catch(err=>{
44 console.log(err) 50 console.log(err)
45 }) 51 })
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!