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
0c464ed2
authored
2020-12-07 16:23:12 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
单独的户提交按钮
1 parent
90cfb88c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletions
src/views/panel/search/index.vue
src/views/zrz/lpb/bjlp/hbj/index.vue
src/views/zrz/lpb/bjlp/index.vue
src/views/panel/search/index.vue
View file @
0c464ed
...
...
@@ -56,6 +56,7 @@
<hbj
ref=
"hbj"
:bsm=
"hbsm"
:key=
"hbsm"
></hbj>
<div
class=
"btnGroup"
>
<el-button
type=
"primary"
@
click=
"hbjSaveInfo"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"hbjSubmitInfo"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"hbjResetInfo"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"hbjVisible = false"
>
取消
</el-button>
</div>
...
...
@@ -110,6 +111,11 @@
this
.
$refs
.
hbj
.
onSave
(
this
.
hbsm
,
this
.
tabPosition
);
this
.
getData
({
pageSize
:
15
});
},
//户提交
hbjSubmitInfo
()
{
this
.
$refs
.
hbj
.
onSubmit
(
this
.
hbsm
,
this
.
tabPosition
);
this
.
getData
({
pageSize
:
15
});
},
//户编辑表单重置
hbjResetInfo
()
{
this
.
$refs
.
hbj
.
onReset
();
...
...
src/views/zrz/lpb/bjlp/hbj/index.vue
View file @
0c464ed
...
...
@@ -403,7 +403,8 @@
import
Qlr
from
"./../../../../../components/formMenu/qlr"
;
import
Qlxz
from
"./../../../../../components/formMenu/qlxz_simple"
;
import
{
getQjHDetailByBsm
,
updateQjH
}
from
"./../../../../../api/h"
;
import
{
getBdcdyh
}
from
"./../../../../../api/zrz"
import
{
getBdcdyh
}
from
"./../../../../../api/zrz"
;
import
{
submit
}
from
"./../../../../../api/common"
export
default
{
name
:
'zrz'
,
components
:{
...
...
@@ -697,6 +698,18 @@
}
})
},
onSubmit
(
bsm
,
yclx
){
let
data
=
{
glbsm
:
bsm
,
status
:
1
,
type
:
"h"
}
submit
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"提交完成!"
);
}
})
},
onReset
(){
this
.
form
.
bdcdyh
=
''
,
//不动产单元号
this
.
form
.
mjdwbsm
=
''
,
//面积单位编号
...
...
src/views/zrz/lpb/bjlp/index.vue
View file @
0c464ed
...
...
@@ -252,6 +252,7 @@
<hbj
ref=
"hbj"
:bsm=
"hbsm"
:scyclx=
"scyclx"
></hbj>
<div
class=
"btnGroup"
>
<el-button
type=
"primary"
@
click=
"hbjSaveInfo"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"hbjSubmitInfo"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"hbjResetInfo"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"hbjVisible = false"
>
取消
</el-button>
</div>
...
...
@@ -574,6 +575,10 @@ export default {
hbjSaveInfo
()
{
this
.
$refs
.
hbj
.
onSave
(
this
.
bsms
[
this
.
bsms
.
length
-
1
],
this
.
tabPosition
);
},
//户保存
hbjSubmitInfo
()
{
this
.
$refs
.
hbj
.
onSubmit
(
this
.
bsms
[
this
.
bsms
.
length
-
1
],
this
.
tabPosition
);
},
//户编辑表单重置
hbjResetInfo
()
{
this
.
$refs
.
hbj
.
onReset
();
...
...
Please
register
or
sign in
to post a comment