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
aaeee444
authored
2020-12-22 09:41:20 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(dzhb):多幢合并
1 parent
e25615ec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
8 deletions
src/api/zd.js
src/components/dzHb/dzHb.vue
src/api/zd.js
View file @
aaeee44
...
...
@@ -249,3 +249,13 @@ export function ZdHb(data) {
})
}
/**
* 多幢合并
*/
export
function
dzHb
(
data
)
{
return
request
({
url
:
"/bg/dzSplitMerge/dzHb"
,
method
:
'post'
,
data
:
data
})
}
...
...
src/components/dzHb/dzHb.vue
View file @
aaeee44
...
...
@@ -42,7 +42,7 @@
<td
class=
"bdcqzh"
>
{{
item
.
bdcqzh
}}
</td>
<td
class=
"qlr"
>
{{
item
.
qlr
}}
</td>
<td
class=
"zl"
>
{{
item
.
zl
}}
</td>
<td
class=
"zl"
>
{{
item
.
type
}}
</td>
<td
class=
"zl"
>
{{
item
.
type
==
'zrz'
?
'自然幢'
:
'多幢'
}}
</td>
<td
class=
"cz"
>
<el-button
type=
"primary"
...
...
@@ -64,7 +64,8 @@
<li>
<span
class=
"label"
>
行政区:
</span>
<span
class=
"value"
>
<el-select
v-model=
"dzhbhData.xzqbsm"
@
change=
"changeXzq(dzhbhData.xzqbsm)"
disabled
>
<el-select
v-model=
"dzhbhData.xzqbsm"
@
change=
"changeXzq(dzhbhData.xzqbsm)"
disabled
>
<el-option
v-for=
"i in xzq"
:key=
"i.bsm"
...
...
@@ -77,7 +78,8 @@
<li>
<span
class=
"label"
>
地籍区:
</span>
<span
class=
"value"
>
<el-select
v-model=
"dzhbhData.djqbsm"
@
change=
"changeDjq(dzhbhData.djqbsm)"
disabled
>
<el-select
v-model=
"dzhbhData.djqbsm"
@
change=
"changeDjq(dzhbhData.djqbsm)"
disabled
>
<el-option
v-for=
"i in djq"
:key=
"i.bsm"
...
...
@@ -364,7 +366,7 @@
getDdicByMC
}
from
"@api/common"
;
import
{
dzList
,
zrzList
}
from
'./../../api/search'
import
{
getQjZdjbxxDetailById
}
from
'./../../api/zd'
import
{
getQjZdjbxxDetailById
,
dzHb
}
from
'./../../api/zd'
export
default
{
name
:
"dzHb"
,
...
...
@@ -452,6 +454,25 @@
}
},
save
()
{
let
data
=
{
fwlist
:
this
.
dzhbqData
,
newdzxmmc
:
this
.
dzhbhData
.
xmmc
,
zdbsm
:
this
.
zdbsm
}
dzHb
(
data
).
then
(
res
=>
{
if
(
res
.
success
)
{
console
.
log
(
res
)
this
.
$message
.
success
(
"多幢合并成功"
)
this
.
$router
.
push
({
path
:
'/dz'
,
query
:
{
source
:
1
,
bsm
:
res
.
result
}
})
}
})
},
dzClose
()
{
this
.
dzIsVisible
=
false
;
...
...
@@ -498,7 +519,7 @@
this
.
$confirm
(
'当前选择多幢不在同一宗地下,是否继续选择?'
)
.
then
(
_
=>
{
this
.
dzList
.
push
(
data
)
data
[
'type'
]
=
'多幢
'
data
[
'type'
]
=
'dz
'
this
.
addData
(
data
)
return
})
...
...
@@ -507,7 +528,7 @@
});
}
else
{
this
.
dzList
.
push
(
data
);
data
[
'type'
]
=
'多幢
'
data
[
'type'
]
=
'dz
'
this
.
addData
(
data
)
}
},
...
...
@@ -523,7 +544,7 @@
this
.
$confirm
(
'当前选择多幢不在同一宗地下,是否继续选择?'
)
.
then
(
_
=>
{
this
.
zrzList
.
push
(
data
)
data
[
'type'
]
=
'
自然幢
'
data
[
'type'
]
=
'
zrz
'
this
.
addData
(
data
)
return
})
...
...
@@ -532,7 +553,7 @@
});
}
else
{
this
.
zrzList
.
push
(
data
)
data
[
'type'
]
=
'
自然幢
'
;
data
[
'type'
]
=
'
zrz
'
;
this
.
addData
(
data
)
}
},
...
...
Please
register
or
sign in
to post a comment