Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
97bb3547
authored
2020-11-03 19:47:20 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加弹框的重置功能
1 parent
07bffbf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletions
src/views/systemZRZ/lpb/edit/index.vue
src/views/systemZRZ/lpb/edit/index.vue
View file @
97bb354
...
...
@@ -49,7 +49,7 @@
</div>
<div
class=
"btnGroup"
>
<el-button
type=
"primary"
@
click=
"saveInfo"
>
保存
</el-button>
<el-button
type=
"primary"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"resetInfo"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"dialogVisible = false"
>
取消
</el-button>
</div>
</el-dialog>
...
...
@@ -117,6 +117,27 @@ export default {
default
:
break
;
}
},
//弹框中的重置按钮
resetInfo
(){
switch
(
this
.
menuType
)
{
case
'ljz'
:
this
.
$refs
.
ljz
.
reset
()
break
;
case
'zdy'
:
break
;
case
'ch'
:
break
;
default
:
break
;
}
},
//关闭弹框
closeDaialog
(){
this
.
dialogVisible
=
false
}
},
computed
:
{},
...
...
Please
register
or
sign in
to post a comment