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
365bbba2
authored
2020-10-30 09:20:18 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
f5b48b50
601e8980
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
70 additions
and
5 deletions
src/api/common.js
src/api/zrz.js
src/components/lineTree/lineTree.vue
src/views/panel/modify/index.vue
src/views/systemZRZ/zrzxx/index.vue
src/api/common.js
View file @
365bbba
...
...
@@ -83,4 +83,16 @@ export function getTreeByZrzbsm(zrzbsm) {
zrzbsm
}
})
}
/**x
*修改 宗地,自然幢,户的权属状态
*/
export
function
updateQsztByBsm
(
data
){
return
request
({
url
:
'/gz/updateByBsm'
,
method
:
'post'
,
data
:
data
})
}
\ No newline at end of file
...
...
src/api/zrz.js
View file @
365bbba
...
...
@@ -46,4 +46,16 @@ export function getZrzDetailByBsm (data) {
id
:
data
}
})
}
\ No newline at end of file
}
/**
* 保存自然幢信息
*/
export
function
submit
(
data
)
{
return
request
({
url
:
'/system/submit/submitInfo'
,
method
:
'get'
,
data
:
data
})
}
...
...
src/components/lineTree/lineTree.vue
View file @
365bbba
...
...
@@ -174,8 +174,23 @@ export default {
},
deleteByBsm
(){
var
zdBsm
=
this
.
zdData
.
zdbsm
;
var
type
;
console
.
log
(
zdBsm
);
deleteZdInfoByBsm
(
zdBsm
)
switch
(
this
.
zdData
.
type
){
case
"zd"
:
type
=
"0"
;
break
;
case
"zrz"
:
type
=
"1"
;
break
;
case
"h"
:
type
=
"2"
;
break
;
default
:
break
;
}
var
params
=
{
"id"
:
zdBsm
,
"type"
:
type
}
deleteZdInfoByBsm
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
code
=
200
){
this
.
$message
({
...
...
src/views/panel/modify/index.vue
View file @
365bbba
...
...
@@ -52,6 +52,7 @@
<
script
>
import
SearchHead
from
"../../../components/searchHead/searchHead"
;
import
{
getSearchList
}
from
"../../../api/search"
;
import
{
updateQsztByBsm
}
from
"../../../api/common"
;
export
default
{
name
:
""
,
...
...
@@ -113,17 +114,32 @@
},
//点击办理
handleClick
(
row
)
{
console
.
log
(
row
);
let
path
=
""
;
switch
(
row
.
lx
)
{
var
type
;
var
id
=
row
.
glbsm
;
switch
(
row
.
dylx
)
{
case
"自然幢"
:
path
=
"/zrz"
;
type
=
"1"
;
break
;
case
"
宗地
"
:
case
"
zd
"
:
path
=
"/zd"
;
type
=
"0"
;
break
;
case
"户"
:
path
=
"h"
;
type
=
"2"
;
default
:
break
;
}
var
data
=
{
"id"
:
id
,
"type"
:
type
};
updateQsztByBsm
(
data
)
.
then
((
res
=>
{
if
(
res
.
code
==
200
){
console
.
log
(
res
);
}
}))
this
.
$router
.
push
(
path
);
},
},
...
...
src/views/systemZRZ/zrzxx/index.vue
View file @
365bbba
...
...
@@ -270,7 +270,7 @@
<
script
>
import
Qlr
from
"../../../components/formMenu/qlr"
;
import
Qlxz
from
"../../../components/formMenu/qlxz"
;
import
{
getBdcdyh
,
saveZrzInfo
,
getZrzDetailByBsm
}
from
"../../../api/zrz"
import
{
getBdcdyh
,
saveZrzInfo
,
getZrzDetailByBsm
,
submit
}
from
"../../../api/zrz"
import
{
getQjZdjbxxDetailById
}
from
"../../../api/zd"
export
default
{
name
:
'zrz'
,
...
...
@@ -412,6 +412,16 @@
}
},
onSubmit
(){
let
data
=
{
glbsm
:
this
.
bsm
,
status
:
1
,
type
:
"zrz"
}
submit
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"提交完成!"
)
}
})
},
generatorCode
(){
getBdcdyh
(
this
.
form
.
zddm
,
"zrz"
)
...
...
Please
register
or
sign in
to post a comment