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
17fdd866
authored
2020-10-29 20:03:03 +0800
by
cheliming
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
联调删除和更正
1 parent
f73ab27f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
3 deletions
src/api/common.js
src/components/lineTree/lineTree.vue
src/views/panel/modify/index.vue
src/api/common.js
View file @
17fdd86
...
...
@@ -84,3 +84,15 @@ export function getTreeByZrzbsm(zrzbsm) {
}
})
}
/**x
*修改 宗地,自然幢,户的权属状态
*/
export
function
updateQsztByBsm
(
data
){
return
request
({
url
:
'/gz/updateByBsm'
,
method
:
'post'
,
data
:
data
})
}
\ No newline at end of file
...
...
src/components/lineTree/lineTree.vue
View file @
17fdd86
...
...
@@ -160,8 +160,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 @
17fdd86
...
...
@@ -46,6 +46,7 @@
<
script
>
import
SearchHead
from
"../../../components/searchHead/searchHead"
;
import
{
getSearchList
}
from
"../../../api/search"
;
import
{
updateQsztByBsm
}
from
"../../../api/common"
;
export
default
{
name
:
""
,
...
...
@@ -107,17 +108,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
);
},
},
...
...
Please
register
or
sign in
to post a comment