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 7b140d78
authored
Nov 21, 2022
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
朋友圈相关列表查询问题修复
1 parent
5767a996
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
14 deletions
linkwe-pc/src/views/friendCircle/enterprise.vue
linkwe-pc/src/views/friendCircle/index.vue
linkwe-pc/src/views/friendCircle/enterprise.vue
View file @
7b140d7
...
@@ -61,15 +61,7 @@
...
@@ -61,15 +61,7 @@
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
<!-- image:图片;text:文本;video:视频;link:图文 -->
<!-- image:图片;text:文本;video:视频;link:图文 -->
<div>
<div>
{{
{{
dealType
(
row
.
realType
)
}}
row
.
contentType
===
'image'
?
'图片'
:
row
.
contentType
===
'text'
?
'文本'
:
row
.
contentType
===
'video'
?
'视频'
:
'图文'
}}
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -199,14 +191,50 @@
...
@@ -199,14 +191,50 @@
}
}
},
},
methods
:
{
methods
:
{
dealType
(
type
)
{
switch
(
type
)
{
case
4
:
return
'文本'
break
case
0
:
return
'图片'
break
case
9
:
return
'图文'
break
case
11
:
return
'小程序'
break
case
12
:
return
'文章'
break
case
2
:
return
'视频'
break
case
3
:
return
'文件'
break
case
5
:
return
'海报'
break
default
:
return
'文本'
break
}
},
gotoRoute
()
{
gotoRoute
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/customerMaintain/friendCircle/publish'
path
:
'/customerMaintain/friendCircle/publish'
})
})
},
},
setTimeChange
(
e
)
{
setTimeChange
(
e
)
{
this
.
query
.
beginTime
=
moment
(
e
[
0
]).
format
(
'YYYY-MM-DD'
)
if
(
e
)
{
this
.
query
.
endTime
=
moment
(
e
[
1
]).
format
(
'YYYY-MM-DD'
)
this
.
query
.
beginTime
=
moment
(
e
[
0
]).
format
(
'YYYY-MM-DD'
)
this
.
query
.
endTime
=
moment
(
e
[
1
]).
format
(
'YYYY-MM-DD'
)
}
else
{
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
''
}
},
},
detailFn
(
id
)
{
detailFn
(
id
)
{
this
.
detailDialogVisible
=
true
this
.
detailDialogVisible
=
true
...
@@ -275,11 +303,10 @@
...
@@ -275,11 +303,10 @@
}
}
}
}
},
},
mounted
()
{
mounted
()
{},
created
()
{
this
.
query
.
beginTime
=
moment
(
this
.
value1
[
0
]).
format
(
'YYYY-MM-DD'
)
this
.
query
.
beginTime
=
moment
(
this
.
value1
[
0
]).
format
(
'YYYY-MM-DD'
)
this
.
query
.
endTime
=
moment
(
this
.
value1
[
1
]).
format
(
'YYYY-MM-DD'
)
this
.
query
.
endTime
=
moment
(
this
.
value1
[
1
]).
format
(
'YYYY-MM-DD'
)
},
created
()
{
this
.
value1
[
1
]
=
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
)
this
.
value1
[
1
]
=
moment
(
new
Date
()).
format
(
'YYYY-MM-DD'
)
this
.
value1
[
0
]
=
moment
(
new
Date
()).
subtract
(
1
,
'months'
).
format
(
'YYYY-MM-DD'
)
this
.
value1
[
0
]
=
moment
(
new
Date
()).
subtract
(
1
,
'months'
).
format
(
'YYYY-MM-DD'
)
this
.
getList
()
this
.
getList
()
...
...
linkwe-pc/src/views/friendCircle/index.vue
View file @
7b140d7
This diff is collapsed.
Click to expand it.
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