85992641 by zhangmeng

修改bug

1 parent 699508a6
...@@ -72,7 +72,7 @@ const route = useRoute() ...@@ -72,7 +72,7 @@ const route = useRoute()
72 const form = ref({}) 72 const form = ref({})
73 const query = ref({ 73 const query = ref({
74 activityId: route.params.cptId, 74 activityId: route.params.cptId,
75 studioId:route.params.id 75 id:route.params.id
76 }) 76 })
77 const loading = ref(false) 77 const loading = ref(false)
78 onMounted(() => { 78 onMounted(() => {
...@@ -88,7 +88,7 @@ function getData() { ...@@ -88,7 +88,7 @@ function getData() {
88 form.value.photos?.split(',')?.forEach(v=>{ 88 form.value.photos?.split(',')?.forEach(v=>{
89 form.value.photosList.push(fillImgUrl(v)) 89 form.value.photosList.push(fillImgUrl(v))
90 }) 90 })
91 // console.log(res) 91 console.log(res)
92 }).catch(err => { 92 }).catch(err => {
93 console.log(err) 93 console.log(err)
94 }) 94 })
......
...@@ -162,7 +162,7 @@ onMounted(() => { ...@@ -162,7 +162,7 @@ onMounted(() => {
162 162
163 function getData() { 163 function getData() {
164 booking.makeUpDetail({ activityId: route.params.cptId, 164 booking.makeUpDetail({ activityId: route.params.cptId,
165 studioId:route.params.id}).then(res => { 165 id:route.params.id}).then(res => {
166 formData.value = res.data 166 formData.value = res.data
167 }).catch(err => { 167 }).catch(err => {
168 console.log(err) 168 console.log(err)
......
...@@ -71,7 +71,7 @@ const route = useRoute() ...@@ -71,7 +71,7 @@ const route = useRoute()
71 const form = ref({}) 71 const form = ref({})
72 const query = ref({ 72 const query = ref({
73 activityId: route.params.cptId, 73 activityId: route.params.cptId,
74 shootId:route.params.id 74 id:route.params.id
75 }) 75 })
76 const loading = ref(false) 76 const loading = ref(false)
77 const map = ref(null) 77 const map = ref(null)
......
...@@ -160,7 +160,7 @@ onMounted(() => { ...@@ -160,7 +160,7 @@ onMounted(() => {
160 160
161 function getData() { 161 function getData() {
162 booking.getComShootVoById({ activityId: route.params.cptId, 162 booking.getComShootVoById({ activityId: route.params.cptId,
163 shootId:route.params.id}).then(res => { 163 id:route.params.id}).then(res => {
164 formData.value = res.data 164 formData.value = res.data
165 }).catch(err => { 165 }).catch(err => {
166 console.log(err) 166 console.log(err)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!