Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
f02b0639
Commit
f02b0639
authored
Oct 21, 2021
by
Zhang Xiaojie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab.33.cn:CassiniatSaturn/fns_backend into dev
parents
d9335d34
020d3906
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
31 deletions
+5
-31
transfer.ts
src/utils/time/transfer.ts
+0
-4
index.vue
src/views/Root/Banner/index.vue
+1
-1
index.vue
src/views/Root/News/index.vue
+1
-1
index.vue
src/views/Root/OutletManagement/index.vue
+2
-24
client.vue
src/views/Root/User/client.vue
+1
-1
No files found.
src/utils/time/transfer.ts
View file @
f02b0639
...
@@ -20,8 +20,6 @@ export function transfterStrToDate(str: string) {
...
@@ -20,8 +20,6 @@ export function transfterStrToDate(str: string) {
end
=
`
${
d
.
getFullYear
()}
${
d
.
getMonth
()
+
1
}
${
d
.
getDate
()}
${
end
}
`
end
=
`
${
d
.
getFullYear
()}
${
d
.
getMonth
()
+
1
}
${
d
.
getDate
()}
${
end
}
`
const
startDate
=
new
Date
(
start
)
const
startDate
=
new
Date
(
start
)
const
endDate
=
new
Date
(
end
)
const
endDate
=
new
Date
(
end
)
console
.
log
(
start
,
'start'
);
return
[
startDate
,
endDate
]
return
[
startDate
,
endDate
]
}
else
{
}
else
{
return
undefined
return
undefined
...
@@ -39,8 +37,6 @@ export function transfterStrToDateSafari(str: string) {
...
@@ -39,8 +37,6 @@ export function transfterStrToDateSafari(str: string) {
end
=
`
${
d
.
getFullYear
()}
/
${
d
.
getMonth
()
+
1
}
/
${
d
.
getDate
()}
${
end
}
`
end
=
`
${
d
.
getFullYear
()}
/
${
d
.
getMonth
()
+
1
}
/
${
d
.
getDate
()}
${
end
}
`
const
startDate
=
new
Date
(
start
)
const
startDate
=
new
Date
(
start
)
const
endDate
=
new
Date
(
end
)
const
endDate
=
new
Date
(
end
)
console
.
log
(
start
,
'start'
);
console
.
log
(
end
,
'end'
);
return
[
startDate
,
endDate
]
return
[
startDate
,
endDate
]
}
else
{
}
else
{
return
undefined
return
undefined
...
...
src/views/Root/Banner/index.vue
View file @
f02b0639
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div>
<div>
<p
class=
"text-2xl font-bold mb-5"
>
Banner管理
</p>
<p
class=
"text-2xl font-bold mb-5"
>
Banner管理
</p>
<!-- timepicker -->
<!-- timepicker -->
<span
class=
"font-semibold"
>
新增
时间:
</span>
<span
class=
"font-semibold"
>
操作
时间:
</span>
<timerange
<timerange
class=
"mr-3"
class=
"mr-3"
@
getNewTime=
"getNewTime"
@
getNewTime=
"getNewTime"
...
...
src/views/Root/News/index.vue
View file @
f02b0639
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<!-- 搜索框 -->
<!-- 搜索框 -->
<a-input
placeholder=
"标题模糊搜索"
v-model=
"searchPageReqParams.title"
style=
"width: 150px; margin-right:10px;"
/>
<a-input
placeholder=
"标题模糊搜索"
v-model=
"searchPageReqParams.title"
style=
"width: 150px; margin-right:10px;"
/>
<!-- timepicker -->
<!-- timepicker -->
<span
class=
" font-semibold"
>
新增
时间:
</span>
<span
class=
" font-semibold"
>
操作
时间:
</span>
<timerange
class=
" mr-3"
:startTime=
"searchPageReqParams.start_time"
:endTime=
"searchPageReqParams.end_time"
<timerange
class=
" mr-3"
:startTime=
"searchPageReqParams.start_time"
:endTime=
"searchPageReqParams.end_time"
@
getNewTime=
"getNewTime"
/>
@
getNewTime=
"getNewTime"
/>
<!-- 咨询分类 -->
<!-- 咨询分类 -->
...
...
src/views/Root/OutletManagement/index.vue
View file @
f02b0639
...
@@ -784,32 +784,10 @@ export default Vue.extend({
...
@@ -784,32 +784,10 @@ export default Vue.extend({
// const arr2 = transfterStrToDate(record.opening_hours);
// const arr2 = transfterStrToDate(record.opening_hours);
const
arr2
=
transfterStrToDateSafari
(
record
.
opening_hours
);
const
arr2
=
transfterStrToDateSafari
(
record
.
opening_hours
);
console
.
log
(
transfterStrToDate
(
record
.
opening_hours
),
'transfterStrToDate'
);
console
.
log
(
arr2
,
'arr2'
);
if
(
arr2
?.
length
===
2
)
{
if
(
arr2
?.
length
===
2
)
{
const
[
startDate
,
endDate
]
=
arr2
;
const
[
startDate
,
endDate
]
=
arr2
;
// this.formData.startTime = moment("00:00", "HH:mm");
this
.
formData
.
startTime
=
moment
(
startDate
,
"HH:mm"
);
// this.formData.endTime = moment("22:00", "HH:mm");
this
.
formData
.
endTime
=
moment
(
endDate
,
"HH:mm"
);
const
starh
=
startDate
.
getHours
()
<
10
?
'0'
+
startDate
.
getHours
():
startDate
.
getHours
()
+
''
const
starm
=
startDate
.
getMinutes
()
<
10
?
'0'
+
startDate
.
getMinutes
():
startDate
.
getMinutes
()
+
''
const
endh
=
endDate
.
getHours
()
<
10
?
'0'
+
endDate
.
getHours
():
endDate
.
getHours
()
+
''
const
endm
=
endDate
.
getMinutes
()
<
10
?
'0'
+
endDate
.
getMinutes
():
endDate
.
getMinutes
()
+
''
const
start
=
starh
+
':'
+
starm
const
end
=
endh
+
':'
+
endm
this
.
formData
.
startTime
=
moment
(
start
,
"HH:mm"
)
this
.
formData
.
endTime
=
moment
(
end
,
"HH:mm"
)
console
.
log
(
typeof
start
,
'start'
);
console
.
log
(
end
,
'end'
);
const
riqi
=
moment
(
startDate
,
"HH:mm"
)
console
.
log
(
riqi
,
'riqi'
);
console
.
log
(
startDate
,
'startDate'
);
console
.
log
(
starh
,
'starh'
);
console
.
log
(
arr2
,
'arr2'
);
console
.
log
(
arr2
[
0
],
'0'
);
}
}
const
ret
=
await
AddressService
.
getInstance
().
note
(
record
.
id
);
const
ret
=
await
AddressService
.
getInstance
().
note
(
record
.
id
);
if
(
ret
.
code
===
200
)
{
if
(
ret
.
code
===
200
)
{
...
...
src/views/Root/User/client.vue
View file @
f02b0639
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div>
<div>
<p
class=
" text-2xl font-bold mb-5"
>
{{
$route
.
query
.
firstSub
}}
客户信息
</p>
<p
class=
" text-2xl font-bold mb-5"
>
{{
$route
.
query
.
firstSub
}}
客户信息
</p>
<!-- timepicker -->
<!-- timepicker -->
<span
class=
" font-semibold"
>
新增
时间:
</span>
<span
class=
" font-semibold"
>
操作
时间:
</span>
<timerange
class=
" mr-3"
:startTime=
"queryParam.start"
:endTime=
"queryParam.end"
<timerange
class=
" mr-3"
:startTime=
"queryParam.start"
:endTime=
"queryParam.end"
@
getNewTime=
"getNewTime"
/>
@
getNewTime=
"getNewTime"
/>
<!--
<a-input
placeholder=
"姓名模糊搜索"
v-model=
"queryParam.user_name"
style=
" width:150px; margin-right:10px;"
/>
-->
<!--
<a-input
placeholder=
"姓名模糊搜索"
v-model=
"queryParam.user_name"
style=
" width:150px; margin-right:10px;"
/>
-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment