Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
周健威
rs-cloud-platform-ui
Commits
cf0c03e4
Commit
cf0c03e4
authored
Dec 07, 2020
by
obt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码更新
parent
d12fda14
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
index.vue
...s/webSiteManagement/newsCategory/nebulaDynamics/index.vue
+12
-2
index.vue
...iews/webSiteManagement/newsCategory/newsCreator/index.vue
+2
-2
No files found.
src/views/webSiteManagement/newsCategory/nebulaDynamics/index.vue
View file @
cf0c03e4
<!--
* @Author: Jenkins
* @Date: 2020-12-01 09:54:12
* @LastEditTime: 2020-12-07
18:53:34
* @LastEditTime: 2020-12-07
20:59:50
* @LastEditors: Please set LastEditors
* @Description: 星云动态
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue
...
...
@@ -256,7 +256,7 @@
<!--
<span>
{{
scope
.
row
.
operator
}}
</span>
-->
<span>
<div
class=
"operators"
>
<div
class=
"edit"
>
编辑
</div>
<div
class=
"edit"
@
click
.
stop=
"editorInfo(scope.row)"
>
编辑
</div>
<div
class=
"offshelf"
v-if=
"scope.row.status == 1"
>
下架
</div>
<div
class=
"upshelf"
v-else
>
上架
</div>
<div
class=
"delete"
>
删除
</div>
...
...
@@ -277,6 +277,11 @@
:total=
"infoPagination.total"
>
</el-pagination>
</div>
<el-dialog
title=
"资讯编辑"
:visible
.
sync=
"infoEditorVisible"
append-to-body
>
<div
id=
"infoEditor"
>
</div>
</el-dialog>
<!-- 使用图片查看器预览当前缩略图 -->
<el-image-viewer
v-if=
"currentIcon.showPreview"
:on-close=
"closePreview"
:url-list=
"[currentIcon.url]"
/>
</div>
...
...
@@ -367,6 +372,7 @@ export default {
},
],
canPull
:
false
,
infoEditorVisible
:
false
,
// 表格数据
tableData
:
[
// {
...
...
@@ -480,6 +486,10 @@ export default {
// });
},
methods
:
{
editorInfo
(
info
){
console
.
log
(
"Info=>"
,
info
)
this
.
infoEditorVisible
=
true
},
handleSizeChange
(
val
)
{
// console.log(`每页 ${val} 条`);
this
.
infoPagination
.
pageSize
=
val
...
...
src/views/webSiteManagement/newsCategory/newsCreator/index.vue
View file @
cf0c03e4
<!--
* @Author: Jenkins
* @Date: 2020-12-02 14:49:10
* @LastEditTime: 2020-12-07
18:52:23
* @LastEditTime: 2020-12-07
21:04:06
* @LastEditors: Please set LastEditors
* @Description: 创建新闻
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\newsCreator\index.vue
...
...
@@ -128,7 +128,7 @@ export default {
}
else
{
// 新增新闻资讯
addUpdateNewsInfo
({
id
:
uuid
(
),
id
:
Math
.
floor
((
Math
.
random
())
*
100000000
),
title
:
this
.
form
.
title
,
detail
:
this
.
form
.
introduce
,
coverImg
:
this
.
form
.
coverImg
,
...
...
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