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
7fcc0686
authored
2020-12-04 14:08:51 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
b5105c8a
a6c7c8f5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
1 deletions
src/api/zd.js
src/views/panel/change/cxlz/index.vue
src/views/panel/change/fg/index.vue
src/views/panel/change/hb/index.vue
src/api/zd.js
View file @
7fcc068
...
...
@@ -231,3 +231,13 @@ export function getZrz(zdBsm) {
})
}
/**
* 宗地合并
*/
export
function
ZdHb
(
data
)
{
return
request
({
url
:
"/bg/zdSplitMerge/zdHb"
,
method
:
'post'
,
data
:
data
})
}
...
...
src/views/panel/change/cxlz/index.vue
View file @
7fcc068
src/views/panel/change/fg/index.vue
View file @
7fcc068
This diff is collapsed.
Click to expand it.
src/views/panel/change/hb/index.vue
View file @
7fcc068
...
...
@@ -15,6 +15,7 @@
<td
class=
"bdcqzh"
>
不动产权证号
</td>
<td
class=
"qlr"
>
权利人
</td>
<td
class=
"zl"
>
坐落
</td>
<td
class=
"cz"
>
操作
</td>
</tr>
<tr
v-if=
"zdhbqData.length==0"
>
<td
colspan=
"7"
>
...
...
@@ -35,6 +36,7 @@
readonly=
"readonly"
/></td>
<td
class=
"zl"
><input
type=
"text"
class=
"formInput"
v-model=
"item.zl"
readonly=
"readonly"
/></td>
<td
class=
"cz"
@
click=
"deleteData(index)"
><span>
删除
</span></td>
</tr>
</table>
</div>
...
...
@@ -114,7 +116,7 @@
@
close=
"close"
></zd-query-data>
<div
class=
"header-button"
:style=
"
{width:fgBoxWidth+'px'}">
<el-button
type=
"primary"
class=
"saveBtn"
>
保存
</el-button>
<el-button
type=
"primary"
class=
"saveBtn"
@
click=
"save"
>
保存
</el-button>
</div>
</div>
</el-tab-pane>
...
...
@@ -361,6 +363,7 @@
getListByPbsm
,
getDdicByMC
}
from
"./../../../../api/common"
;
import
{
ZdHb
}
from
"./../../../../api/zd"
import
QueryData
from
'./../../../../components/queryData/queryData'
import
zdQueryData
from
'./../../../../components/zdQueryData/zdQueryData'
...
...
@@ -409,6 +412,64 @@
})
},
methods
:
{
save
(){
switch
(
this
.
tabName
)
{
case
"zd"
:
this
.
zdHb
();
break
case
"dz"
:
break
case
"h"
:
break
;
default
:
break
}
},
zdHb
(){
let
oldBsm
=
this
.
zdhbqData
.
map
(
function
(
item
,
index
)
{
return
item
.
zdbsm
;
}).
join
(
","
)
let
data
=
{
newzddjqbsm
:
this
.
zdhbhData
.
djqbsm
,
newzddjzqbsm
:
this
.
zdhbhData
.
djzqbsm
,
newzdsyqlxbsm
:
this
.
zdhbqData
.
syqlxbsm
,
newzduserbsm
:
""
,
newzdxmmc
:
this
.
zdhbqData
.
xmmc
,
newzdxzqbsm
:
this
.
zdhbqData
.
xzqbsm
,
newzdzdtzmbsm
:
this
.
zdhbqData
.
zdtzmbsm
,
oldzdbsms
:
oldBsm
}
console
.
log
(
this
.
zdhbhData
,
"宗地合并后数据"
);
console
.
log
(
this
.
zdhbqData
,
"宗地合并前数据"
)
ZdHb
(
data
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$message
.
success
(
"合并成功"
)
}
else
{
this
.
$message
.
error
(
"合并失败"
)
}
})
},
dzHb
(){
},
hHb
(){
},
deleteData
(
index
){
switch
(
this
.
tabName
)
{
case
"zd"
:
this
.
zdhbqData
.
splice
(
index
,
1
)
break
case
"dz"
:
this
.
dzhbqData
.
splice
(
index
,
1
)
break
case
"h"
:
this
.
hhbqData
.
splice
(
index
,
1
)
break
default
:
break
}
},
getzdtzm
()
{
getDdicByMC
(
'宗地(宗海)特征码'
).
then
(
res
=>
{
this
.
tdtzm
=
res
.
result
...
...
Please
register
or
sign in
to post a comment