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 728cf469
authored
Jul 03, 2023
by
ext.wangyuman1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
朋友圈bug修复
1 parent
c1015020
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
6 deletions
vue3-lw-pc/src/components/ContentCenter/MaterialCenter/index.vue
vue3-lw-pc/src/views/friendCircle/list.vue
vue3-lw-pc/src/components/ContentCenter/MaterialCenter/index.vue
View file @
728cf46
...
@@ -18,7 +18,13 @@
...
@@ -18,7 +18,13 @@
:label=
"item.label + '(' + item.list.length + ')'"
:label=
"item.label + '(' + item.list.length + ')'"
:name=
"item.name"
:name=
"item.name"
>
>
<MaPage
ref=
"page"
:type=
"item.type"
:isFriends =
'isFriends'
v-slot=
"
{ list }" @listChange="listChange">
<MaPage
ref=
"page"
:type=
"item.type"
:isFriends=
"isFriends"
v-slot=
"
{ list }"
@listChange="listChange"
>
<div
v-if=
"item.type === '0'"
>
<div
v-if=
"item.type === '0'"
>
<div
v-if=
"list && list.length"
>
<div
v-if=
"list && list.length"
>
<el-checkbox-group
v-model=
"paneList[picindex].list"
class=
"imgStyle"
>
<el-checkbox-group
v-model=
"paneList[picindex].list"
class=
"imgStyle"
>
...
@@ -282,6 +288,15 @@ export default {
...
@@ -282,6 +288,15 @@ export default {
this
.
ids
=
[]
this
.
ids
=
[]
},
},
centerSubmit
()
{
centerSubmit
()
{
if
(
this
.
ids
.
length
)
{
if
(
this
.
isFriends
)
{
if
(
this
.
ids
[
0
].
mediaType
===
'0'
)
{
// 朋友圈下的图片,最大数量为9
this
.
maxlength2
=
9
}
else
{
this
.
maxlength2
=
1
}
}
if
(
this
.
ids
.
length
+
this
.
talkListLength
>
this
.
maxlength2
)
{
if
(
this
.
ids
.
length
+
this
.
talkListLength
>
this
.
maxlength2
)
{
if
(
this
.
isFriends
)
{
if
(
this
.
isFriends
)
{
this
.
$message
.
error
(
'除图片素材可选9条数据,其他类型仅可选择一条数据,且只能选择一种类型'
)
this
.
$message
.
error
(
'除图片素材可选9条数据,其他类型仅可选择一条数据,且只能选择一种类型'
)
...
@@ -300,6 +315,9 @@ export default {
...
@@ -300,6 +315,9 @@ export default {
this
.
ids
=
[]
this
.
ids
=
[]
this
.
clearPaneList
()
this
.
clearPaneList
()
}
}
}
else
{
this
.
$message
.
error
(
'请选择素材!'
)
}
},
},
// 单个选择
// 单个选择
handleSelect
(
select
,
row
)
{
handleSelect
(
select
,
row
)
{
...
...
vue3-lw-pc/src/views/friendCircle/list.vue
View file @
728cf46
...
@@ -85,11 +85,11 @@
...
@@ -85,11 +85,11 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
show-overflow-tooltip
prop=
"createBy"
label=
"创建人"
></el-table-column>
<el-table-column
show-overflow-tooltip
prop=
"createBy"
label=
"创建人"
></el-table-column>
<el-table-column
<el-table-column
show-overflow-tooltip
prop=
"executeTime"
label=
"执行时间"
>
show-overflow-tooltip
<
template
#
default=
"{ row }"
>
prop=
"executeTime"
{{
row
.
executeTime
?
row
.
executeTime
:
'—'
}}
label=
"执行时间"
</
template
>
>
</el-table-column>
</el-table-column>
<el-table-column
show-overflow-tooltip
prop=
"status"
label=
"任务状态"
>
<el-table-column
show-overflow-tooltip
prop=
"status"
label=
"任务状态"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<div>
<div>
...
...
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