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
6cc1a5c4
Commit
6cc1a5c4
authored
May 12, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/lijundan/self-support
parents
8e85b477
e3c3d707
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
detail.vue
src/pages/order/detail.vue
+14
-3
No files found.
src/pages/order/detail.vue
View file @
6cc1a5c4
...
...
@@ -85,11 +85,12 @@
</view>
<view
class=
"line-view-right"
>
<view>
<text>
{{
record
.
operationType
}}
</text>
<text>
{{
record
.
operationType
Text
}}
</text>
<text
style=
"color: red;"
>
{{
record
.
overTime
?
'(超时)'
:
''
}}{{
record
.
exception
?
'(异常)'
:
''
}}
</text>
<text
style=
"color: #2272FF;"
v-show=
"record.operationType==='报备'"
>
(跟进)
</text>
</view>
<view
v-show=
"record.operationType==='报备' || record.operationType==='改约'"
>
<text>
{{
record
.
operationType
===
'报备'
?
'下次联系时间:'
:
'改约时间:
'
}}
</text>
<view
v-show=
"record.operationType==='报备' || record.operationType==='
预约'|| record.operationType==='
改约'"
>
<text>
{{
record
.
operationType
===
'报备'
?
'下次联系时间:'
:
record
.
operationType
===
'改约'
?
'改约时间:'
:
'
'
}}
</text>
<text
style=
"color: #2272FF;"
>
{{
record
.
operationType
===
'报备'
&&
record
.
orderRecordRemark
&&
record
.
orderRecordRemark
.
length
>
1
?
record
.
orderRecordRemark
.
substring
(
record
.
orderRecordRemark
.
indexOf
(
':'
)
+
1
,
record
.
orderRecordRemark
.
length
)
...
...
@@ -425,6 +426,16 @@
};
self
.
$u
.
api
.
listOrderRecord
(
param
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
res
.
data
.
forEach
(
item
=>
{
if
(
item
.
operationType
===
'预约'
){
item
.
operationTypeText
=
'上门时间'
}
else
if
(
item
.
operationType
===
'报备'
){
let
arr
=
item
.
orderRecordRemark
.
split
(
','
)
item
.
operationTypeText
=
arr
[
0
]
}
else
{
item
.
operationTypeText
=
item
.
operationType
+
'时间'
}
})
self
.
orderRecords
=
res
.
data
}
else
{
console
.
log
(
res
.
message
,
"获取订单详情失败!"
);
...
...
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