Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
4eee97a2
Commit
4eee97a2
authored
Apr 28, 2021
by
Morson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组件交互调整
parent
59fa5356
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
appoint-time.vue
src/components/appoint/appoint-time.vue
+15
-1
feedback.vue
src/pages/order/feedback.vue
+5
-3
No files found.
src/components/appoint/appoint-time.vue
View file @
4eee97a2
<!-- 预约时间 -->
<!-- 预约时间 -->
<
template
>
<
template
>
<view
:class=
"
{'con-box':titleShow}">
<view
:class=
"
{'con-box':titleShow}">
<view
class=
"title"
v-if=
"titleShow"
>
{{
'预约时间'
}}
</view>
<view
class=
"title"
v-if=
"titleShow"
>
{{
title
}}
</view>
<view
class=
"u-m-t-40"
>
<view
class=
"u-m-t-40"
>
<view
class=
"appoint-box"
>
<view
class=
"appoint-box"
>
<view
class=
"select-date"
>
<view
class=
"select-date"
>
...
@@ -57,6 +57,12 @@
...
@@ -57,6 +57,12 @@
type
:
Boolean
,
type
:
Boolean
,
default
:
true
default
:
true
},
},
title
:
{
type
:
String
,
default
(){
return
"预约时间"
}
},
dateList
:
{
dateList
:
{
type
:
Array
,
type
:
Array
,
default
(){
default
(){
...
@@ -98,6 +104,14 @@
...
@@ -98,6 +104,14 @@
hasLast
:
false
hasLast
:
false
}
}
},
},
watch
:
{
title
()
{
this
.
currentDay
=
0
this
.
appointTime
=
Date
.
now
()
this
.
currentTime
=
null
this
.
appointRange
=
""
}
},
computed
:
{
computed
:
{
currentTimeTxt
()
{
currentTimeTxt
()
{
if
(
this
.
currentTime
!=
null
)
{
if
(
this
.
currentTime
!=
null
)
{
...
...
src/pages/order/feedback.vue
View file @
4eee97a2
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
</view>
</view>
</view>
</view>
<view
class=
"time-view"
>
<view
class=
"time-view"
>
<appoint-time
:dateList=
"dateList"
:timeList=
"timeList"
@
dateChange=
"dateChange"
@
timeChange=
"timeChange"
@
weekChange=
"weekChange"
></appoint-time>
<appoint-time
:dateList=
"dateList"
:ti
tle=
"appointTitle"
:ti
meList=
"timeList"
@
dateChange=
"dateChange"
@
timeChange=
"timeChange"
@
weekChange=
"weekChange"
></appoint-time>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
config
:
null
,
config
:
null
,
options
:
[],
options
:
[],
trace
:
{
trace
:
{
reasonType
:
''
,
// 反馈类型
reasonType
:
'
报单
'
,
// 反馈类型
reasonRelegation
:
''
,
// 反馈归属
reasonRelegation
:
''
,
// 反馈归属
reason
:
''
,
// 反馈原因
reason
:
''
,
// 反馈原因
appointmentDatetime
:
null
,
// 预约时间
appointmentDatetime
:
null
,
// 预约时间
...
@@ -143,7 +143,6 @@
...
@@ -143,7 +143,6 @@
}
}
},
},
computed
:
{
computed
:
{
disabledSubmit
()
{
disabledSubmit
()
{
let
self
=
this
let
self
=
this
if
(
self
.
trace
.
reasonType
&&
self
.
trace
.
reasonType
==
'报备'
){
if
(
self
.
trace
.
reasonType
&&
self
.
trace
.
reasonType
==
'报备'
){
...
@@ -160,6 +159,9 @@
...
@@ -160,6 +159,9 @@
return
true
return
true
},
},
appointTitle
()
{
return
this
.
feedback
.
appoint
[
this
.
trace
.
reasonType
]
},
},
},
async
onLoad
(
e
)
{
async
onLoad
(
e
)
{
this
.
$u
.
vuex
(
'vuex_token'
,
'RTOKEN7493e6defc2f1a77782f105dc297a9366763fec5'
);
this
.
$u
.
vuex
(
'vuex_token'
,
'RTOKEN7493e6defc2f1a77782f105dc297a9366763fec5'
);
...
...
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