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
cf7ac8af
authored
2021-01-12 11:31:05 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
户批量删除
1 parent
35f9161c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
4 deletions
src/api/lpb.js
src/views/zrz/lpb/bjlp/index.vue
src/views/zrz/lpb/bjlp/lpbContent/index.vue
src/api/lpb.js
View file @
cf7ac8a
...
...
@@ -199,10 +199,12 @@ export function getDetailInfo(zrzbsm,lx) {
/**
* 批量删除户基本信息表,data为一个数组List<String>
*/
export
function
batchDelete
HByHbsms
(
data
)
{
export
function
batchDelete
(
data
)
{
return
request
({
url
:
'/system/qjH/batchDeleteHByBsms'
,
method
:
'post'
,
data
:
data
data
:{
bsms
:
data
}
})
}
...
...
src/views/zrz/lpb/bjlp/index.vue
View file @
cf7ac8a
...
...
@@ -78,6 +78,13 @@
@
click=
"batchCommit"
><i
class=
"iconfont iconhuzhongxinlazong"
></i>
批量提交
</el-button
>
<el-button
class=
"radioBtn"
label=
"7"
border
@
click=
"batchDelete"
><i
class=
"iconfont iconhuzhongxinlazong"
></i>
批量删除
</el-button
>
</div>
</el-col>
</el-row>
...
...
@@ -277,7 +284,7 @@ import addZdy from "./zdy/index";
import
addCh
from
"./ch/index"
;
import
editCinfo
from
"./c/index"
;
import
lpbContent
from
"./lpbContent/index"
;
import
{
getLpbMenuTree
,
batchScYcChange
,
getLpbTj
,
batchGeneratorBdcdyh
,
getLpbFwytAndQlxz
,
batchCommit
}
from
"@api/lpb"
;
import
{
getLpbMenuTree
,
batchScYcChange
,
getLpbTj
,
batchGeneratorBdcdyh
,
getLpbFwytAndQlxz
,
batchCommit
,
batchDelete
}
from
"@api/lpb"
;
import
xxxx
from
'../xxxx/index'
export
default
{
...
...
@@ -403,6 +410,7 @@ export default {
},
100
);
},
methods
:
{
//批量提交
batchCommit
(){
if
(
this
.
bsms
.
length
<=
0
)
{
Message
.
warning
(
"请选择操作户"
)
...
...
@@ -422,6 +430,25 @@ export default {
}
}
},
//批量删除
batchDelete
(){
if
(
this
.
bsms
.
length
<=
0
)
{
Message
.
warning
(
"请选择操作户"
)
return
}
else
{
if
(
this
.
qsztList
.
indexOf
(
'1'
)
>
-
1
)
{
Message
.
warning
(
"已提交的户无法继续操作"
)
}
else
{
batchDelete
(
this
.
bsms
).
then
(
res
=>
{
if
(
res
.
code
===
200
){
Message
.
success
(
"删除成功"
);
this
.
getlpbData
();
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
}
}
},
loading
(){
this
.
getLpbMenuTree
(
this
.
$store
.
state
.
zrzbsm
);
},
...
...
src/views/zrz/lpb/bjlp/lpbContent/index.vue
View file @
cf7ac8a
...
...
@@ -297,7 +297,7 @@
>
<li
v-show=
"rightClickFlag == 'h'"
@
click=
"handleAddH"
>
添加
</li>
<li
v-show=
"rightClickFlag == 'h'"
@
click=
"handleMoveH"
>
移动
</li>
<
li
v-show=
"rightClickFlag == 'h'"
@
click=
"handleDeleteH"
>
删除
</li
>
<
!-- <li v-show="rightClickFlag == 'h'" @click="handleDeleteH">删除</li> --
>
<li
v-show=
"rightClickFlag == 'h'"
@
click=
"handleSyczh"
>
实预测转换
</li>
<li
v-show=
"rightClickFlag == 'c'"
@
click=
"handleAddC('up')"
>
向上添加层
...
...
Please
register
or
sign in
to post a comment