Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王立鹏
corporate-culture-qd
Commits
640ef3e2
Commit
640ef3e2
authored
Apr 17, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 21402】 feat: 官方账号发布【问吧】的时候可以选择推送
parent
f15f32a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
index.vue
src/views/publishLongArticle/index.vue
+11
-5
No files found.
src/views/publishLongArticle/index.vue
View file @
640ef3e2
...
...
@@ -235,8 +235,13 @@
</
template
>
</div>
</template>
<!-- 如果是官方账号的话还有推送相关的配置 帖子也要加推送-->
<
template
v-if=
"userInfo.isOfficialAccount && form.type === ArticleTypeEnum.POST"
>
<!-- 如果是官方账号的话还有推送相关的配置 帖子 和问吧也要加推送-->
<
template
v-if=
"
userInfo.isOfficialAccount &&
(form.type === ArticleTypeEnum.POST || form.type === ArticleTypeEnum.QUESTION)
"
>
<el-form-item
label=
"推送给"
>
<div
class=
"w-full flex items-center gap-2"
>
<el-radio-group
v-model=
"form.isPushAll"
>
...
...
@@ -507,11 +512,11 @@ const transFormData = (releaseStatus: ReleaseStatusTypeEnum) => {
data
.
faceUrl
=
data
.
imgUrl
.
split
(
','
)[
0
]
||
''
}
}
if
(
(
data
.
type
===
ArticleTypeEnum
.
COLUMN
||
data
.
type
===
ArticleTypeEnum
.
INTERVIEW
||
data
.
type
===
ArticleTypeEnum
.
POST
)
&&
data
.
type
===
ArticleTypeEnum
.
POST
||
data
.
type
===
ArticleTypeEnum
.
QUESTION
)
&&
userInfo
.
value
.
isOfficialAccount
)
{
if
(
data
.
isPushAll
===
BooleanFlag
.
YES
)
{
...
...
@@ -643,7 +648,8 @@ onActivated(async () => {
if
(
(
type
===
ArticleTypeEnum
.
COLUMN
||
type
===
ArticleTypeEnum
.
INTERVIEW
||
type
===
ArticleTypeEnum
.
POST
)
&&
type
===
ArticleTypeEnum
.
POST
||
type
===
ArticleTypeEnum
.
QUESTION
)
&&
userInfo
.
value
.
isOfficialAccount
)
{
if
(
data
.
pushList
?.
find
((
item
)
=>
item
.
valueId
==
'1'
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment