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
7b7b882f
Commit
7b7b882f
authored
May 09, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预约进反馈不显示改约
parent
49b7bbdf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
4 deletions
+22
-4
index.vue
src/components/order/index.vue
+3
-2
detail.vue
src/pages/order/detail.vue
+5
-1
feedback.vue
src/pages/order/feedback.vue
+14
-1
No files found.
src/components/order/index.vue
View file @
7b7b882f
...
...
@@ -186,8 +186,9 @@
tagText
()
{
return
this
.
timeout
?
'超'
:
'剩'
},
timeText
()
{
return
this
.
orderType
==
4
?
this
.
orderData
.
submissionTime
:
this
.
orderData
.
auditDatetime
timeText
()
{
let
time
=
this
.
orderType
==
4
?
this
.
orderData
.
orderFinishDatetime
:
this
.
orderData
.
auditDatetime
return
this
.
$u
.
timeFormat
(
time
,
'yyyy.mm.dd hh:MM:ss'
)
},
timeTitle
()
{
return
this
.
orderType
==
4
?
'提交时间:'
:
'审核时间:'
...
...
src/pages/order/detail.vue
View file @
7b7b882f
...
...
@@ -504,6 +504,7 @@
// 已派单的时显示拒单按钮
this
.
allowRejection
=
true
this
.
submitType
=
"orderAccept"
this
.
readMore
=
false
}
else
if
(
orderStatus
<
31
&&
orderBusinessType
===
'订单池'
)
{
// 抢单
this
.
centerButton
=
"appoint1"
...
...
@@ -511,6 +512,7 @@
this
.
showCenterBtn
=
true
this
.
submitType
=
"orderGan"
this
.
showTimeOut
=
false
this
.
readMore
=
false
}
else
if
(
orderStatus
===
31
&&
!
this
.
order
.
appointmentDatetime
)
{
// 预约
this
.
centerButton
=
"appoint2"
...
...
@@ -519,6 +521,7 @@
this
.
showCenterBtn
=
true
this
.
showTimeSelect
=
true
this
.
isAllowDianhuaAndDaohang
=
true
this
.
readMore
=
true
this
.
submitType
=
"workerAppointment"
this
.
loadCalendar
()
}
else
if
(
orderStatus
===
31
&&
this
.
order
.
appointmentDatetime
)
{
...
...
@@ -539,6 +542,7 @@
this
.
allowFeedback
=
true
this
.
showCenterBtn
=
true
this
.
scenePhoto
=
true
this
.
readMore
=
true
this
.
isAllowDianhuaAndDaohang
=
true
}
else
{}
},
...
...
@@ -632,7 +636,7 @@
clickFeedback
(){
// 过程反馈
uni
.
navigateTo
({
url
:
'pages/order/feedback?orderId='
+
this
.
order
.
orderId
+
'&categoryId='
+
this
.
order
.
categoryId
url
:
'pages/order/feedback?orderId='
+
this
.
order
.
orderId
+
'&categoryId='
+
this
.
order
.
categoryId
+
'&showGY='
+
(
this
.
centerButtonText
!=
'预约'
?
'1'
:
'0'
)
})
},
filish
(){
...
...
src/pages/order/feedback.vue
View file @
7b7b882f
...
...
@@ -75,6 +75,7 @@ export default {
return
{
orderId
:
null
,
categoryId
:
null
,
showGY
:
true
,
// 非预约进来才显示改约
background
:
{
backgroundColor
:
'none'
},
...
...
@@ -156,6 +157,7 @@ export default {
if
(
e
)
{
this
.
orderId
=
e
.
orderId
||
null
;
this
.
categoryId
=
e
.
categoryId
||
null
;
this
.
showGY
=
e
.
showGY
==
'1'
}
uni
.
showLoading
({
title
:
'数据加载中'
,
...
...
@@ -171,7 +173,18 @@ export default {
let
params
=
{
categoryId
:
self
.
categoryId
};
let
res
=
await
self
.
$u
.
api
.
feedbackConfig
(
params
);
if
(
res
&&
res
.
code
==
200
)
{
self
.
feedback
=
res
.
data
;
if
(
!
self
.
showGY
)
{
delete
res
.
code
[
'改约'
]
}
var
data
=
{}
for
(
var
item
in
res
.
data
)
{
if
(
item
!=
'改约'
||
self
.
showGY
)
{
data
[
item
]
=
res
.
data
[
item
]
}
}
self
.
feedback
=
data
;
self
.
buildConfig
();
}
uni
.
hideLoading
();
...
...
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