Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-discover
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 17a348cb
authored
Oct 10, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
物业延伸出的bug修复
1 parent
68dac2d5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
src/views/goods/browseList.vue
src/views/goods/browseList.vue
View file @
17a348c
...
@@ -92,6 +92,7 @@
...
@@ -92,6 +92,7 @@
slot=
"isBuy"
slot=
"isBuy"
slot-scope=
"scope"
slot-scope=
"scope"
>
>
<
template
v-if=
"routeInfo.type == 1"
>
<span
:class=
"['table-circle', 'm-r-8', scope.scope.isBuy == 'Y' ? 'back-green' : 'back-grey']"
></span>
<span
:class=
"['table-circle', 'm-r-8', scope.scope.isBuy == 'Y' ? 'back-green' : 'back-grey']"
></span>
<span>
<span>
{{
{{
...
@@ -101,6 +102,10 @@
...
@@ -101,6 +102,10 @@
}
[
scope
.
scope
.
isBuy
]
||
'--'
}
[
scope
.
scope
.
isBuy
]
||
'--'
}}
}}
<
/span
>
<
/span
>
<
/template
>
<
template
v
-
else
>
<
span
>--<
/span
>
<
/template
>
<
/div
>
<
/div
>
<
/GLTable
>
<
/GLTable
>
<!--
表格区域
end
-->
<!--
表格区域
end
-->
...
@@ -189,17 +194,26 @@ export default {
...
@@ -189,17 +194,26 @@ export default {
const
lastTableColumns
=
[
const
lastTableColumns
=
[
{
{
label
:
'浏览时长'
,
label
:
'浏览时长'
,
prop
:
'browserTime'
prop
:
'browserTime'
,
formatter
:
cell
=>
{
return
this
.
routeInfo
.
type
==
1
?
(
cell
.
browserTime
||
'--'
)
:
'--'
}
}
,
}
,
{
{
label
:
'进入页面时间'
,
label
:
'进入页面时间'
,
prop
:
'operationDate'
,
prop
:
'operationDate'
,
width
:
'180'
width
:
'180'
,
formatter
:
cell
=>
{
return
this
.
routeInfo
.
type
==
1
?
(
cell
.
operationDate
||
'--'
)
:
'--'
}
}
,
}
,
{
{
label
:
'离开页面时间'
,
label
:
'离开页面时间'
,
prop
:
'leaveDate'
,
prop
:
'leaveDate'
,
width
:
'180'
width
:
'180'
,
formatter
:
cell
=>
{
return
this
.
routeInfo
.
type
==
1
?
(
cell
.
leaveDate
||
'--'
)
:
'--'
}
,
}
,
}
,
{
{
label
:
'订单状态'
,
label
:
'订单状态'
,
...
@@ -255,7 +269,7 @@ export default {
...
@@ -255,7 +269,7 @@ export default {
if
(
query
.
type
==
3
)
if
(
query
.
type
==
3
)
this
.
tableParams
.
tableColumns
.
push
({
this
.
tableParams
.
tableColumns
.
push
({
label
:
'分享时间'
,
label
:
'分享时间'
,
prop
:
'
sharedTim
e'
prop
:
'
operationDat
e'
}
)
}
)
this
.
tableParams
.
tableColumns
=
[...
this
.
tableParams
.
tableColumns
,
...
lastTableColumns
]
this
.
tableParams
.
tableColumns
=
[...
this
.
tableParams
.
tableColumns
,
...
lastTableColumns
]
}
else
}
else
...
...
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