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
4c7cb11f
Commit
4c7cb11f
authored
Mar 16, 2026
by
王立鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '线上优化/优化第二版' into 'master'
线上优化/优化第二版 See merge request
!7
parents
7c21ee50
5a8ee928
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
8 deletions
+47
-8
types.ts
src/api/article/types.ts
+2
-0
index.vue
src/views/homePage/askTab/index.vue
+6
-1
index.vue
src/views/publishLongArticle/index.vue
+20
-1
index.vue
src/views/publishVideo/index.vue
+13
-0
index.vue
src/views/questionDetail/index.vue
+6
-6
No files found.
src/api/article/types.ts
View file @
4c7cb11f
...
...
@@ -97,6 +97,7 @@ interface PushSettingBase {
pushType
:
SendTypeEnum
pushTime
:
string
pushList
:
{
valueId
:
string
;
valueName
:
string
|
number
}[]
summary
:
string
}
// 推送设置相关的字段
/**
...
...
@@ -200,6 +201,7 @@ export interface ArticleItemDto {
sendTime
:
string
tagIdList
:
number
[]
pushList
:
{
valueId
:
string
;
valueType
:
number
;
valueName
:
string
}[]
summary
:
string
videoLocation
:
VideoPositionEnum
articleVideoUrl
:
string
region
:
string
...
...
src/views/homePage/askTab/index.vue
View file @
4c7cb11f
...
...
@@ -77,7 +77,12 @@
<span
class=
"text-xs text-gray-400 hidden sm:inline"
>
{{
dayjs(item.createTime * 1000).format('YYYY-MM-DD HH:mm')
}}
</span>
<div
class=
"hidden sm:block w-1 h-1 bg-gray-300 rounded-full"
></div>
<div
class=
"hidden sm:block w-1 h-1 bg-gray-300 rounded-full mx--1"
></div>
<!-- 地区 -->
<span
class=
"text-xs text-gray-400 hidden sm:inline"
>
{{ item.region }}
</span>
<div
class=
"hidden sm:block w-1 h-1 bg-gray-300 rounded-full mx--1"
></div>
<!-- 阅读量 -->
<span
class=
"text-xs text-gray-400 hidden sm:inline"
>
{{ item.viewCount }}阅读
</span>
<div
class=
"flex items-center gap-1"
>
<el-button
...
...
src/views/publishLongArticle/index.vue
View file @
4c7cb11f
...
...
@@ -207,6 +207,15 @@
value-format=
"X"
/>
</el-form-item>
<el-form-item
label=
"推送摘要"
prop=
"summary"
>
<el-input
v-model=
"form.summary"
type=
"textarea"
:maxlength=
"50"
show-word-limit
placeholder=
"简单描述推送的信息"
/>
</el-form-item>
<!-- 插入视频 顶部或者底部 radio -->
<el-form-item
label=
"插入视频"
prop=
"videoLocation"
>
...
...
@@ -253,6 +262,15 @@
value-format=
"X"
/>
</el-form-item>
<el-form-item
label=
"推送摘要"
prop=
"summary"
>
<el-input
v-model=
"form.summary"
type=
"textarea"
:maxlength=
"50"
show-word-limit
placeholder=
"简单描述推送的信息"
/>
</el-form-item>
</
template
>
<!-- 发布设置 -->
<div>
...
...
@@ -365,7 +383,7 @@ const [form, resetForm] = useResetData({
pushType
:
SendTypeEnum
.
IMMEDIATE
,
pushTime
:
''
,
pushList
:
[],
summary
:
''
,
// 视频
videoLocation
:
VideoPositionEnum
.
TOP
,
articleVideoUrl
:
''
,
...
...
@@ -585,6 +603,7 @@ onActivated(async () => {
form
.
value
.
articleVideoUrl
=
articleVideoUrl
}
// 4回显推送人员设置
form
.
value
.
summary
=
data
.
summary
if
(
(
type
===
ArticleTypeEnum
.
COLUMN
||
type
===
ArticleTypeEnum
.
INTERVIEW
||
...
...
src/views/publishVideo/index.vue
View file @
4c7cb11f
...
...
@@ -189,6 +189,18 @@
</div>
</el-form-item>
</div>
<div
class=
"mb-8"
>
<el-form-item
prop=
"summary"
>
<label
class=
"block text-sm font-semibold text-gray-700 mb-3"
>
推送摘要
</label>
<el-input
v-model=
"form.summary"
type=
"textarea"
:maxlength=
"50"
show-word-limit
placeholder=
"简单描述推送的信息"
/>
</el-form-item>
</div>
</
template
>
<div
class=
"mb-8"
>
<el-form-item
prop=
"relateColumnId"
>
...
...
@@ -398,6 +410,7 @@ const [form, resetData] = useResetData({
pushType
:
SendTypeEnum
.
IMMEDIATE
,
pushTime
:
''
,
pushList
:
[]
as
{
valueId
:
string
;
valueType
:
number
;
valueName
:
string
}[],
summary
:
''
,
})
const
selectedDepts
=
ref
<
{
id
:
string
;
name
:
string
}[]
>
([])
...
...
src/views/questionDetail/index.vue
View file @
4c7cb11f
...
...
@@ -117,14 +117,14 @@
{{
questionDetail
.
createUserName
}}
</el-avatar>
<div
class=
"flex flex-col"
>
<span
class=
"text-sm
font-medium
text-slate-900"
>
<span
class=
"text-sm text-slate-900"
>
{{
questionDetail
.
createUserName
}}
</span>
<span
class=
"text-
xs
text-slate-500 flex items-center gap-1"
>
发布于
{{
dayjs
(
questionDetail
.
createTime
*
1000
).
format
(
'YYYY-MM-DD HH:mm'
)
}}
·
<span
class=
"text-
xs
text-slate-500 flex items-center gap-1"
>
{{
questionDetail
.
region
}}
</span>
<span
class=
"text-
sm
text-slate-500 flex items-center gap-1"
>
{{
dayjs
(
questionDetail
.
createTime
*
1000
).
format
(
'YYYY-MM-DD HH:mm'
)
}}
·
<span
class=
"text-
sm
text-slate-500 flex items-center gap-1"
>
{{
questionDetail
.
region
}}
</span
>
·
{{
questionDetail
.
viewCount
}}
阅读
</span>
</div>
</div>
...
...
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