Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-drainage
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 5777c5bc
authored
Sep 13, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复智能名片展示页面与访问记录页面bug
1 parent
ae7c5c21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
4 deletions
src/views/businessCard/components/cardList.vue
src/views/businessCard/components/recordList.vue
src/views/businessCard/components/cardList.vue
View file @
5777c5b
...
...
@@ -262,6 +262,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.visitCont
{
cursor
:
pointer
;
color
:
#5850FF
;
}
.popover-panel
{
width
:
1000px
;
...
...
src/views/businessCard/components/recordList.vue
View file @
5777c5b
...
...
@@ -19,6 +19,7 @@
</el-form-item>
<el-form-item
size=
"small"
style=
"float: right; margin-left: 40px"
>
<el-button
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
@
click=
"handleReset"
>
重置
</el-button>
</el-form-item>
</el-form>
</div>
...
...
@@ -26,6 +27,13 @@
<div
class=
"table-btns"
slot=
"optionBtns"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"accessToRecords(scope)"
>
访问记录
</el-button>
</div>
<div
class=
"table-btns"
slot=
"nickName"
slot-scope=
"scope"
>
{{
scope
.
scope
.
nickName
}}
<span
class=
"typeInfo"
>
{{
scope
.
scope
.
type
==
'1'
?
'@微信'
:
scope
.
scope
.
type
==
'2'
?
'@企微'
:
''
}}
</span>
</div>
<div
class=
"table-btns"
slot=
"isJoin"
slot-scope=
"scope"
>
{{
scope
.
scope
.
isJoin
==
'0'
?
'否'
:
scope
.
scope
.
isJoin
==
'1'
?
'是'
:
'--'
}}
</div>
</GLTable>
<el-dialog
class=
"recordDialog"
title=
"访问记录"
:visible
.
sync=
"dialogTableVisible"
width=
"38%"
:top=
"0"
>
<el-table
:data=
"recordRelationList"
>
...
...
@@ -60,7 +68,8 @@ export default {
tableColumns
:
[
{
label
:
'访客'
,
prop
:
'nickName'
prop
:
'nickName'
,
addHtml
:
'nickName'
},
{
label
:
'手机号码'
,
...
...
@@ -69,9 +78,7 @@ export default {
{
label
:
'已加企微'
,
prop
:
'isJoin'
,
formatter
:
value
=>
{
return
'是'
}
addHtml
:
'isJoin'
},
{
label
:
'渠道名称'
,
...
...
@@ -134,6 +141,20 @@ export default {
this
.
endDate
=
''
this
.
codeSearch
()
},
handleReset
()
{
Object
.
keys
(
this
.
tableSearchForm
).
forEach
((
key
)
=>
{
this
.
tableSearchForm
[
key
]
=
''
})
this
.
createTime
=
[]
this
.
timeRadio
=
1
let
params
=
{
...
this
.
tableSearchForm
,
pageSize
:
1
,
pageNum
:
10
,
dateInterval
:
1
}
this
.
sendPageListApi
(
params
)
},
handleSearch
()
{
this
.
codeSearch
()
},
...
...
@@ -146,6 +167,10 @@ export default {
endDate
:
this
.
endDate
,
dateInterval
:
this
.
dateInterval
}
this
.
sendPageListApi
(
params
)
},
sendPageListApi
(
params
){
this
.
$apis
.
businessCard
.
getaccessToRecordsPage
(
params
).
then
(
res
=>
{
this
.
tableData
=
res
.
data
this
.
tableTotal
=
res
.
count
...
...
@@ -167,6 +192,10 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.typeInfo
{
font-size
:
12px
;
color
:
#2CCA74
;
}
/
deep
/
.recordDialog
{
.el-dialog
{
height
:
100vh
;
...
...
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