Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
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
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
youjj
cloud-platform-ui
Commits
529bf751
Commit
529bf751
authored
Jul 18, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通用设置富文本
parent
b3457f91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
generalSetting.vue
src/views/baseInfo/generalSetting.vue
+12
-3
No files found.
src/views/baseInfo/generalSetting.vue
View file @
529bf751
...
...
@@ -49,7 +49,7 @@
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
></el-pagination>
</div>
<!-- banner modal弹窗 -->
<el-dialog
:title=
"modalTitle"
:visible
.
sync=
"dialogVisible"
>
<el-dialog
:title=
"modalTitle"
:visible
.
sync=
"dialogVisible"
:before-close=
"handleDialogClose"
>
<el-form
:model=
"dialogFrom"
:rules=
"rules"
ref=
"dialogFrom"
label-width=
"90px"
>
<el-form-item
label=
"标题"
prop=
"title"
>
<el-input
v-model=
"dialogFrom.title"
placeholder=
"请输入标题"
></el-input>
...
...
@@ -205,15 +205,22 @@
});
},
/**
* 点击 X 关闭对话框的回调
**/
handleDialogClose
()
{
this
.
activeName2
=
""
;
this
.
dialogVisible
=
false
;
},
/**
* 操作-编辑
* */
handleUpdate
(
row
)
{
this
.
modalTitle
=
'编辑'
;
this
.
dialogVisible
=
true
;
this
.
activeName2
=
"first"
;
this
.
cleanDialogFrom
();
this
.
dialogFrom
=
row
;
this
.
activeName2
=
"first"
;
},
/**
* 弹框-取消
...
...
@@ -221,6 +228,7 @@
cancelHandel
(){
this
.
cleanDialogFrom
();
this
.
dialogVisible
=
false
;
this
.
activeName2
=
""
;
},
/**
* 新建、编辑清空表单
...
...
@@ -230,7 +238,8 @@
title
:
""
,
type
:
undefined
,
value
:
""
}
};
this
.
activeName2
=
""
;
},
handleSizeChange
(
val
)
{
this
.
listQuery
.
limit
=
val
;
...
...
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