Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3dd32ff9
authored
Dec 20, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户详情问题
1 parent
6a536b34
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
9 deletions
linkwe-mobile/src/components/StepList.vue
linkwe-ui/src/views/customerManage/customer/record.vue
linkwe-mobile/src/components/StepList.vue
View file @
3dd32ff
<
template
>
<
template
>
<div>
<div>
<van-list
v-model=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
loading-text=
"上划加载更多"
>
<van-list
v-model=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
loading-text=
"上划加载更多"
>
<van-cell
v-for=
"(item, index) in wList"
:key=
"index"
>
<van-cell
v-for=
"(item, index) in wList"
:key=
"index"
>
<!-- 时间 -->
<!-- 时间 -->
<p
class=
"f12"
style=
"position:relative; "
>
<p
class=
"f12"
style=
"position:relative; "
>
...
@@ -16,12 +21,16 @@
...
@@ -16,12 +21,16 @@
:key=
"index"
:key=
"index"
>
>
<van-step
class=
"msg"
>
<van-step
class=
"msg"
>
<span
class=
"f12 po"
>
{{
dateFormat
(
item
[
0
]
.
createTime
,
'hh:mm'
)
}}
</span>
<span
class=
"f12 po"
>
{{
dateFormat
(
item
1
.
createTime
,
'hh:mm'
)
}}
</span>
<span
class=
"fs14"
>
{{
chargeType
(
item1
.
trajectoryType
)
}}
</span>
<span
class=
"fs14"
>
{{
chargeType
(
item1
.
trajectoryType
)
}}
</span>
<span
class=
"finish-box"
>
<span
class=
"finish-box"
>
<span
class=
"finish"
v-if=
"item1.trajectoryType == 4 && item1.status != 3"
@
click=
"finDynamic(item1.id)"
<span
>
完成
</span
class=
"finish"
v-if=
"item1.trajectoryType == 4 && item1.status != 3"
@
click=
"finDynamic(item1.id)"
>
>
完成
</span>
<span
class=
"deldynamic"
@
click=
"delDynamic(item1.id)"
>
删除
</span>
<span
class=
"deldynamic"
@
click=
"delDynamic(item1.id)"
>
删除
</span>
</span>
</span>
...
...
linkwe-ui/src/views/customerManage/customer/record.vue
View file @
3dd32ff
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
// 提取天
// 提取天
rows
.
forEach
((
ele
)
=>
{
rows
.
forEach
((
ele
)
=>
{
let
date
=
this
.
dateFormat
(
ele
.
create
Time
,
'yyyyMMdd'
)
let
date
=
this
.
dateFormat
(
ele
.
track
Time
,
'yyyyMMdd'
)
dayList
.
includes
(
date
)
||
dayList
.
push
(
date
)
dayList
.
includes
(
date
)
||
dayList
.
push
(
date
)
})
})
dayList
.
sort
((
a
,
b
)
=>
b
-
a
)
dayList
.
sort
((
a
,
b
)
=>
b
-
a
)
...
@@ -79,7 +79,7 @@ export default {
...
@@ -79,7 +79,7 @@ export default {
let
timeList
=
[]
let
timeList
=
[]
for
(
let
j
=
0
;
j
<
rows
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
rows
.
length
;
j
++
)
{
// console.log(rows[j].createTime);
// console.log(rows[j].createTime);
if
(
dayList
[
i
]
==
this
.
dateFormat
(
rows
[
j
].
create
Time
,
'yyyyMMdd'
))
{
if
(
dayList
[
i
]
==
this
.
dateFormat
(
rows
[
j
].
track
Time
,
'yyyyMMdd'
))
{
timeList
.
push
(
rows
[
j
])
timeList
.
push
(
rows
[
j
])
}
}
}
}
...
@@ -153,12 +153,12 @@ export default {
...
@@ -153,12 +153,12 @@ export default {
v-for=
"(item, index) in unit"
v-for=
"(item, index) in unit"
:key=
"index"
:key=
"index"
class=
"timeline-box-item"
class=
"timeline-box-item"
:timestamp=
"item.trackTime"
:timestamp=
"item.trackTime
.slice(10, 16)
"
placement=
"top"
placement=
"top"
type=
"primary"
type=
"primary"
>
>
<p
class=
"timeline-box-item-title"
>
{{
item
.
title
||
'无
数据
'
}}
</p>
<p
class=
"timeline-box-item-title"
>
{{
item
.
title
||
'无
标题
'
}}
</p>
<p>
{{
item
.
trackContent
||
'无
数据
'
}}
</p>
<p>
{{
item
.
trackContent
||
'无
内容
'
}}
</p>
</el-timeline-item>
</el-timeline-item>
</el-timeline>
</el-timeline>
</li>
</li>
...
...
Write
Preview
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