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
8a077920
authored
2020-12-01 11:25:34 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(moveH):调整样式
1 parent
f7946a36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
20 deletions
src/components/moveH/moveH.vue
src/components/moveH/moveH.vue
View file @
8a07792
...
...
@@ -8,13 +8,15 @@
:modal-append-to-body=
"false"
center
>
<div>
<el-radio-group
v-model=
"moveHdata.sxzylx"
>
<el-radio
label=
"up"
>
向上
</el-radio>
<el-radio
label=
"down"
>
向下
</el-radio>
<el-radio
label=
"left"
>
向左
</el-radio>
<el-radio
label=
"right"
>
向右
</el-radio>
</el-radio-group>
<div
class=
""
>
<div
class=
"bottom-radio"
>
<el-radio-group
v-model=
"moveHdata.sxzylx"
>
<el-radio
label=
"up"
>
向上
</el-radio>
<el-radio
label=
"down"
>
向下
</el-radio>
<el-radio
label=
"left"
>
向左
</el-radio>
<el-radio
label=
"right"
>
向右
</el-radio>
</el-radio-group>
</div>
<div
class=
"bottom-buttom"
>
<el-button
type=
"primary"
@
click=
"save"
>
确认
</el-button>
<el-button
type=
"primary"
@
click=
"cacel"
>
取消
</el-button>
</div>
...
...
@@ -26,15 +28,16 @@
<
script
>
import
{
moveH
}
from
'./../../api/lpb'
import
{
Message
}
from
'element-ui'
export
default
{
name
:
"moveH"
,
data
()
{
return
{
isVisible
:
false
,
isVisible
:
false
,
moveHdata
:
{
hbsm
:
""
,
sxzylx
:
""
,
type
:
""
type
:
""
}
}
},
...
...
@@ -46,29 +49,29 @@
hbsm
:
{
type
:
String
},
type
:{
type
:
String
type
:
{
type
:
String
}
},
methods
:
{
loading
:
function
()
{
loading
:
function
()
{
this
.
$emit
(
'loading'
)
},
save
()
{
this
.
moveHdata
.
hbsm
=
this
.
hbsm
this
.
moveHdata
.
type
=
this
.
type
moveH
(
this
.
moveHdata
).
then
(
res
=>
{
this
.
moveHdata
.
hbsm
=
this
.
hbsm
this
.
moveHdata
.
type
=
this
.
type
moveH
(
this
.
moveHdata
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
success
)
{
this
.
loading
();
this
.
close
();
Message
.
success
(
"移动成功"
)
}
else
{
Message
.
error
(
res
.
message
)
}
else
{
Message
.
error
(
res
.
message
)
}
})
},
cacel
(){
cacel
()
{
this
.
close
()
},
close
()
{
...
...
@@ -83,6 +86,15 @@
}
</
script
>
<
style
scoped
>
<
style
scoped
lang=
"less"
>
.bottom-radio
{
text-align
:
center
;
}
.el-radio
{
padding
:
20px
;
}
.bottom-buttom
{
margin-top
:
20px
;
text-align
:
center
;
}
</
style
>
...
...
Please
register
or
sign in
to post a comment