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
2876ce68
Commit
2876ce68
authored
Dec 10, 2020
by
obt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码更新
parent
9af32ed2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
8 deletions
+31
-8
index.vue
src/views/webSiteManagement/newsCategory/index.vue
+7
-1
index.vue
...s/webSiteManagement/newsCategory/nebulaDynamics/index.vue
+24
-7
No files found.
src/views/webSiteManagement/newsCategory/index.vue
View file @
2876ce68
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2020-12-01 09:54:12
* @Date: 2020-12-01 09:54:12
* @LastEditTime: 2020-12-
08 09:59:45
* @LastEditTime: 2020-12-
10 16:12:21
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue
...
@@ -28,6 +28,12 @@ export default {
...
@@ -28,6 +28,12 @@ export default {
componentName
:
'nebulaDynamics'
,
componentName
:
'nebulaDynamics'
,
regions
:[],
regions
:[],
info
:
null
,
info
:
null
,
currentEditPage
:
1
,
}
},
watch
:{
currentEditPage
(
newVal
){
console
.
log
(
"currentEditPage=>"
,
newVal
)
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/views/webSiteManagement/newsCategory/nebulaDynamics/index.vue
View file @
2876ce68
<!--
<!--
* @Author: Jenkins
* @Author: Jenkins
* @Date: 2020-12-01 09:54:12
* @Date: 2020-12-01 09:54:12
* @LastEditTime: 2020-12-10 1
4:46:34
* @LastEditTime: 2020-12-10 1
7:05:11
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: 星云动态
* @Description: 星云动态
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue
...
@@ -90,7 +90,19 @@
...
@@ -90,7 +90,19 @@
append-to-body
append-to-body
>
>
<div
id=
"typeCreator"
>
<div
id=
"typeCreator"
>
<div
class=
"content"
>
<el-form
ref=
"form"
:rules=
"createRules"
:model=
"editorType"
label-width=
"80px"
>
<el-form-item
label=
"类型名称"
prop=
"name"
>
<el-col
:span=
"14"
>
<el-input
v-model=
"editorType.name"
placeholder=
"请输入类型名称"
size=
"100px"
></el-input>
</el-col>
</el-form-item>
<el-form-item
label=
"类型排序"
prop=
"sort"
>
<el-col
:span=
"14"
>
<el-input
v-model=
"editorType.sort"
placeholder=
"请设置排序0-10000,数值越大排序越靠前"
></el-input>
</el-col>
</el-form-item>
</el-form>
<!-- <div class="content">
<span>*中文名称</span>
<span>*中文名称</span>
<el-col :span="14">
<el-col :span="14">
<el-input
<el-input
...
@@ -99,7 +111,7 @@
...
@@ -99,7 +111,7 @@
size="100px"
size="100px"
></el-input>
></el-input>
</el-col>
</el-col>
</div>
</div>
-->
<!-- <div class="content">
<!-- <div class="content">
<span>*英文名称</span>
<span>*英文名称</span>
<el-col :span="14">
<el-col :span="14">
...
@@ -109,7 +121,7 @@
...
@@ -109,7 +121,7 @@
></el-input>
></el-input>
</el-col>
</el-col>
</div> -->
</div> -->
<div
class=
"content"
>
<
!-- <
div class="content">
<span>*类型排序</span>
<span>*类型排序</span>
<el-col :span="14">
<el-col :span="14">
<el-input
<el-input
...
@@ -117,7 +129,7 @@
...
@@ -117,7 +129,7 @@
placeholder="请设置排序0-10000,数值越大排序越靠前"
placeholder="请设置排序0-10000,数值越大排序越靠前"
></el-input>
></el-input>
</el-col>
</el-col>
</div>
</div>
-->
<div
class=
"operators"
>
<div
class=
"operators"
>
<div
class=
"cancel"
@
click
.
stop=
"cancelEditor"
>
取消
</div>
<div
class=
"cancel"
@
click
.
stop=
"cancelEditor"
>
取消
</div>
<div
class=
"confirm"
@
click
.
stop=
"confirmEditor"
>
确定
</div>
<div
class=
"confirm"
@
click
.
stop=
"confirmEditor"
>
确定
</div>
...
@@ -307,6 +319,10 @@ export default {
...
@@ -307,6 +319,10 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
createRules
:
{
name
:
[{
required
:
true
,
message
:
'请输入类型名称'
,
trigger
:
'blur'
}],
sort
:
[{
required
:
true
,
message
:
'请设置排序号'
,
trigger
:
'blur'
}],
},
// 功能按钮
// 功能按钮
topControls
:
[
topControls
:
[
{
{
...
@@ -394,7 +410,7 @@ export default {
...
@@ -394,7 +410,7 @@ export default {
],
],
tableDataState
:
[],
// 缓存当前的表格数据
tableDataState
:
[],
// 缓存当前的表格数据
infoPagination
:
{
infoPagination
:
{
currentPage
:
1
,
// 当前页码
currentPage
:
this
.
$parent
.
currentEditPage
,
// 当前页码
pageSize
:
10
,
// 每页查询数量
pageSize
:
10
,
// 每页查询数量
total
:
0
,
// 总记录数量
total
:
0
,
// 总记录数量
},
},
...
@@ -440,7 +456,7 @@ export default {
...
@@ -440,7 +456,7 @@ export default {
// 当前页码有改变时重新拉取分页数据
// 当前页码有改变时重新拉取分页数据
"infoPagination.currentPage"
:
{
"infoPagination.currentPage"
:
{
deep
:
true
,
deep
:
true
,
handler
:
function
(){
handler
:
function
(
newVal
){
this
.
pullListNewsInfo
()
this
.
pullListNewsInfo
()
}
}
},
},
...
@@ -548,6 +564,7 @@ export default {
...
@@ -548,6 +564,7 @@ export default {
// 编辑资讯
// 编辑资讯
editorInfo
(
info
){
editorInfo
(
info
){
console
.
log
(
"Info=>"
,
info
)
console
.
log
(
"Info=>"
,
info
)
this
.
$parent
.
currentEditPage
=
this
.
infoPagination
.
currentPage
this
.
$parent
.
componentName
=
"newsCreator"
;
this
.
$parent
.
componentName
=
"newsCreator"
;
this
.
$parent
.
regions
=
this
.
typesState
this
.
$parent
.
regions
=
this
.
typesState
this
.
$parent
.
info
=
info
this
.
$parent
.
info
=
info
...
...
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