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
e09d8f62
authored
2020-12-16 14:48:12 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
户合并完善
1 parent
2cecdedf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
src/views/zrz/lpb/bjlp/lpbContent/index.vue
src/views/zrz/lpb/bjlp/lpbContent/index.vue
View file @
e09d8f6
...
...
@@ -307,6 +307,7 @@
import
moveH
from
"./../../../../../components/moveH/moveH"
;
import
{
getLpb
,
insertUpDownC
,
deleteCByBsm
}
from
"@api/lpb"
;
import
{
hhb
}
from
"@api/h"
;
import
{
Message
}
from
'element-ui'
;
export
default
{
name
:
""
,
components
:
{
moveH
},
...
...
@@ -576,7 +577,6 @@ export default {
this
.
lpbChTop
=
e
.
pageY
;
if
(
this
.
isHbfg
)
{
this
.
rightClickFlag
=
'hb'
;
console
.
log
(
this
.
fghbChoosedList
,
'this.fghbChoosedList '
);
if
(
this
.
fghbChoosedList
.
length
>
1
)
{
this
.
lpbChVisible
=
true
;
//判断选中户可以执行的合并类型
...
...
@@ -717,19 +717,25 @@ export default {
.
then
(()
=>
{
//确定合并 调用合并接口 this.hbsmList为选中户bsm数组 TO DO
let
params
=
{
"ljzbsm"
:
""
,
"newuserbsm"
:
""
,
"oldBsms"
:
olbBsms
,
"scyclx"
:
""
,
"zdybsm"
:
""
,
"zrzbsm"
:
""
"scyclx"
:
this
.
$parent
.
scyclx
,
"ljzbsm"
:
this
.
fghbChoosedList
[
0
].
ljzbsm
,
"zdybsm"
:
this
.
fghbChoosedList
[
0
].
zdybsm
,
"zrzbsm"
:
this
.
fghbChoosedList
[
0
].
zrzbsm
}
console
.
log
(
params
,
'params'
);
// hhb(params).then(() => {
//合并成功后更新楼盘表
// })
// .catch(() => {});
// console.log(params,'params');
hhb
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
Message
.
success
(
'合并成功'
);
// 清除选中户
this
.
clearChoosedH
();
this
.
fghbChoosedList
=
[];
// 更新楼盘表
this
.
getLpb
(
this
.
zrzbsm
,
this
.
$parent
.
scyclx
);
}
})
.
catch
(()
=>
{});
})
.
catch
(()
=>
{});
}
else
{
...
...
Please
register
or
sign in
to post a comment