Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3282934d
authored
2024-06-02 17:39:56 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化
1 parent
a265e32a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
3 deletions
src/viewsPc/booking/component/photoGraphyCalendar.vue
src/viewsPc/booking/component/photoGraphyCalendar.vue
View file @
3282934
...
...
@@ -60,7 +60,7 @@
<el-row
justify=
"space-between"
>
<el-row
class=
"hz-p"
style=
"flex: 1"
>
<el-col
:span=
"8"
>
<div
>
{{ language==0?'套餐说明':'Package Description' }}:
<span
style=
"margin-right: 20px"
>
{{n.introduction}}
</span></div>
<div
class=
"esp_3"
>
{{ language==0?'套餐说明':'Package Description' }}:
<span
style=
"margin-right: 20px"
>
{{n.introduction}}
</span></div>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -89,13 +89,13 @@
</template>
<
script
setup
>
import
{
ref
}
from
"vue"
;
import
{
ref
,
onMounted
}
from
"vue"
;
import
{
dayjs
}
from
"element-plus"
;
import
{
useRoute
,
useRouter
}
from
'vue-router'
import
*
as
booking
from
"@/apiPc/booking"
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
useUserStore
from
"/@/store/modules/user"
;
import
{
getActivityPhotoVoListByShootId
}
from
"@/apiPc/booking"
;
import
{
getActivityPhotoVoListByShootId
,
getBaseInfoByActiveId
}
from
"@/apiPc/booking"
;
const
user
=
useUserStore
().
user
const
language
=
useStorage
(
'language'
,
0
)
...
...
@@ -110,6 +110,33 @@ const query = ref({
lasId
:
route
.
params
.
id
,
})
const
value2
=
ref
(
''
)
const
formTime
=
ref
()
onMounted
(()
=>
{
getBaseInfoByActiveId
(
route
.
params
.
cptId
).
then
(
res
=>
{
formTime
.
value
=
res
.
data
||
null
}).
catch
(
err
=>
{
console
.
log
(
err
)
formTime
.
value
=
null
}).
finally
(()
=>
{
// getData()
getScheduleList
()
})
})
function
getData
(){
if
(
!
formTime
.
value
.
photoStart
)
return
const
toDay
=
dayjs
(
dayjs
().
format
(
'YYYY-MM-DD'
)).
valueOf
()
const
start
=
dayjs
(
formTime
.
value
.
photoStart
).
valueOf
()
if
(
toDay
<
start
){
currentDate1
.
value
=
query
.
value
.
currentDate
=
dayjs
(
start
).
format
(
'YYYY-MM-DD'
)
}
else
{
currentDate1
.
value
=
query
.
value
.
currentDate
=
dayjs
(
toDay
).
format
(
'YYYY-MM-DD'
)
}
}
getScheduleList
()
function
getScheduleList
()
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment