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
e9c6d71d
authored
2020-12-07 15:35:34 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(lpb):批量提交
1 parent
5eab16e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletions
src/api/lpb.js
src/views/zrz/lpb/bjlp/index.vue
src/api/lpb.js
View file @
e9c6d71
...
...
@@ -168,3 +168,14 @@ export function deleteZdy(id) {
}
})
}
/**
* 批量提交
*/
export
function
batchCommit
(
data
)
{
return
request
({
url
:
'/fw/lpbbatch/batchCommit'
,
method
:
'post'
,
data
:
data
})
}
...
...
src/views/zrz/lpb/bjlp/index.vue
View file @
e9c6d71
...
...
@@ -69,6 +69,13 @@
@
click=
"hcxlzVisible = true"
><i
class=
"iconfont iconhuzhongxinlazong"
></i>
户重新落宗
</el-button
>
<el-button
class=
"radioBtn"
label=
"7"
border
@
click=
"batchCommit"
><i
class=
"iconfont iconhuzhongxinlazong"
></i>
批量提交
</el-button
>
</div>
</el-col>
</el-row>
...
...
@@ -272,7 +279,7 @@ import addZdy from "./zdy/index";
import
addCh
from
"./ch/index"
;
import
hbj
from
"./hbj/index"
;
import
lpbContent
from
"./lpbContent/index"
;
import
{
getLpbMenuTree
,
batchScYcChange
,
getLpbTj
,
batchGeneratorBdcdyh
,
getLpbFwytAndQlxz
}
from
"../../../../api/lpb"
;
import
{
getLpbMenuTree
,
batchScYcChange
,
getLpbTj
,
batchGeneratorBdcdyh
,
getLpbFwytAndQlxz
,
batchCommit
}
from
"../../../../api/lpb"
;
export
default
{
name
:
""
,
...
...
@@ -395,6 +402,17 @@ export default {
},
100
);
},
methods
:
{
batchCommit
(){
if
(
this
.
bsms
.
length
<=
0
)
{
Message
.
warning
(
"请选择操作户"
)
return
}
batchCommit
(
this
.
bsms
).
then
(
res
=>
{
if
(
res
.
success
)
{
Message
.
success
(
"提交成功"
)
}
})
},
hcxlz
(){
if
(
this
.
bsms
.
length
<=
0
)
{
Message
.
warning
(
"请选择操作户"
)
...
...
Please
register
or
sign in
to post a comment