a8ca2925 by 杨炀

Merge commit 'f36e496e' into dev

2 parents 5184986e f36e496e
...@@ -139,6 +139,7 @@ function getData(){ ...@@ -139,6 +139,7 @@ function getData(){
139 }else{ 139 }else{
140 currentDate.value= currentDate1.value = query.value.currentDate = dayjs(toDay).format('YYYY-MM-DD') 140 currentDate.value= currentDate1.value = query.value.currentDate = dayjs(toDay).format('YYYY-MM-DD')
141 } 141 }
142 calendarRange.value=[dayjs(currentDate.value).toDate(),(dayjs(currentDate.value).toDate())]
142 } 143 }
143 144
144 function getScheduleList() { 145 function getScheduleList() {
......
...@@ -98,6 +98,7 @@ import * as booking from "@/apiPc/booking" ...@@ -98,6 +98,7 @@ import * as booking from "@/apiPc/booking"
98 import {useStorage} from "@vueuse/core/index"; 98 import {useStorage} from "@vueuse/core/index";
99 import useUserStore from "/@/store/modules/user"; 99 import useUserStore from "/@/store/modules/user";
100 import {getActivityPhotoVoListByShootId, getBaseInfoByActiveId} from "@/apiPc/booking"; 100 import {getActivityPhotoVoListByShootId, getBaseInfoByActiveId} from "@/apiPc/booking";
101 import {ElMessageBox} from'element-plus'
101 102
102 const user = useUserStore().user 103 const user = useUserStore().user
103 const language = useStorage('language', 0) 104 const language = useStorage('language', 0)
...@@ -137,6 +138,7 @@ function getData(){ ...@@ -137,6 +138,7 @@ function getData(){
137 }else{ 138 }else{
138 currentDate1.value = query.value.currentDate = dayjs(toDay).format('YYYY-MM-DD') 139 currentDate1.value = query.value.currentDate = dayjs(toDay).format('YYYY-MM-DD')
139 } 140 }
141 calendarRange.value=[dayjs(currentDate1.value).toDate(),(dayjs(currentDate1.value).toDate())]
140 } 142 }
141 143
142 144
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
31 </el-row> 31 </el-row>
32 32
33 <div style="display: flex"> 33 <div style="display: flex">
34 <div class="title">工作室简介:</div> 34 <div style="min-width: 130px" class="title">{{language.value==0?'工作室简介:':'Studio profile:'}}</div>
35 <div v-html="form.introduction"></div> 35 <div v-html="form.introduction"></div>
36 </div> 36 </div>
37 </el-card> 37 </el-card>
...@@ -273,7 +273,7 @@ function getData() { ...@@ -273,7 +273,7 @@ function getData() {
273 } 273 }
274 .oddmb:nth-child(2){margin-bottom: 20px;} 274 .oddmb:nth-child(2){margin-bottom: 20px;}
275 .title{ 275 .title{
276 width: 120px; 276 width: 130px;
277 font-weight: 500; 277 font-weight: 500;
278 font-size: 18px; 278 font-size: 18px;
279 } 279 }
......
...@@ -243,7 +243,7 @@ function submit() { ...@@ -243,7 +243,7 @@ function submit() {
243 ElMessage.warning(language.value == 0 ? '无可预订的时间' : 'No booking time available') 243 ElMessage.warning(language.value == 0 ? '无可预订的时间' : 'No booking time available')
244 } 244 }
245 }).catch(err => { 245 }).catch(err => {
246 ElMessage.warning(language.value == 0 ? '无可预订的时间' : 'No booking time available') 246 // ElMessage.warning(language.value == 0 ? '无可预订的时间' : 'No booking time available')
247 }) 247 })
248 }) 248 })
249 249
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
30 {{form.remarks}} 30 {{form.remarks}}
31 </el-row> 31 </el-row>
32 <div style="display: flex"> 32 <div style="display: flex">
33 <div class="title">工作室简介:</div> 33 <div style="min-width: 130px" class="title">{{language.value==0?'工作室简介:':'Studio profile:'}}</div>
34 <div v-html="form.introduction"></div> 34 <div v-html="form.introduction"></div>
35 </div> 35 </div>
36 </el-card> 36 </el-card>
...@@ -285,7 +285,7 @@ function getData() { ...@@ -285,7 +285,7 @@ function getData() {
285 } 285 }
286 .oddmb:nth-child(2){margin-bottom: 20px;} 286 .oddmb:nth-child(2){margin-bottom: 20px;}
287 .title{ 287 .title{
288 width: 120px; 288 width: 130px;
289 font-weight: 500; 289 font-weight: 500;
290 font-size: 18px; 290 font-size: 18px;
291 } 291 }
......
...@@ -236,7 +236,7 @@ function submit() { ...@@ -236,7 +236,7 @@ function submit() {
236 ElMessage.warning(language.value == 0 ? '无可预订的时间' : 'No booking time available') 236 ElMessage.warning(language.value == 0 ? '无可预订的时间' : 'No booking time available')
237 } 237 }
238 }).catch(err => { 238 }).catch(err => {
239 ElMessage.warning(language.value == 0 ? '无可预订的时间' : 'No booking time available') 239 // ElMessage.warning(language.value == 0 ? '无可预订的时间' : 'No booking time available')
240 }) 240 })
241 }) 241 })
242 242
......
...@@ -8,7 +8,7 @@ import { ElMessage } from "element-plus"; ...@@ -8,7 +8,7 @@ import { ElMessage } from "element-plus";
8 import { useStorage } from "@vueuse/core/index"; 8 import { useStorage } from "@vueuse/core/index";
9 const language = useStorage("language", 0); 9 const language = useStorage("language", 0);
10 10
11 const baseURL = "https://radv4.gitliuyi.top/ticket"; //"http://book.xiaojinyu.games"; // 这里填入你的基础 API URL 11 const baseURL = "https://jijin.wtwuxicenter.com/ticket"; //"http://book.xiaojinyu.games"; // 这里填入你的基础 API URL
12 const timeout = 15000; // 请求超时时间 12 const timeout = 15000; // 请求超时时间
13 13
14 const http = axios.create({ 14 const http = axios.create({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!