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
7166db5d
authored
2020-11-25 11:17:46 +0800
by
焦泽平
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
範圍屬性變更修改
1 parent
fb0379de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
36 deletions
src/api/common.js
src/views/panel/change/fwsxbg/index.vue
src/api/common.js
View file @
7166db5
...
...
@@ -114,12 +114,12 @@ export function updateQsztByBsm(data) {
})
}
/**
x
*
修改 宗地,自然幢,户的权属状态
/**
*
范围属性变更 点击办理:宗地、自然幢、多幢、户、 bsm\type
*/
export
function
copyZdjbxx
(
data
)
{
export
function
fwsxbgbl
(
data
)
{
return
request
({
url
:
'/bg/fwsxbg/
copyZdjbxx
'
,
url
:
'/bg/fwsxbg/
fwsxbgDyByBsm
'
,
method
:
'post'
,
data
:
data
})
...
...
src/views/panel/change/fwsxbg/index.vue
View file @
7166db5
...
...
@@ -61,7 +61,7 @@
<
script
>
import
SearchHead
from
"../../../../components/searchHead/searchHead"
;
import
{
getSearchList
}
from
"../../../../api/search"
;
import
{
copyZdjbxx
}
from
"../../../../api/common"
;
import
{
fwsxbgbl
}
from
"../../../../api/common"
;
export
default
{
name
:
""
,
...
...
@@ -123,35 +123,40 @@ export default {
handleClick
(
row
)
{
console
.
log
(
"fwsxbg"
);
console
.
log
(
row
);
var
bsm
=
row
.
glbsm
;
var
type
;
let
path
=
""
;
switch
(
row
.
dylx
)
{
case
"zrz"
:
type
=
"1"
;
this
.
$store
.
state
.
zrzbsm
=
row
.
glbsm
;
path
=
"/zrz"
;
break
;
case
"zd"
:
type
=
"0"
;
this
.
$store
.
state
.
zdbsm
=
row
.
glbsm
;
path
=
"/zd"
;
break
;
case
"h"
:
type
=
"2"
;
this
.
$store
.
state
.
hbsm
=
row
.
glbsm
;
break
;
default
:
break
;
}
var
params
=
{
id
:
bsm
,
type
:
type
};
copyZdjbxx
(
params
)
var
params
=
{
bsm
:
row
.
glbsm
,
type
:
row
.
dylx
};
fwsxbgbl
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
message
:
res
.
message
,
type
:
"success"
,
});
var
newGlbsm
=
res
.
result
;
let
path
=
""
;
switch
(
row
.
dylx
)
{
case
"zrz"
:
this
.
$store
.
state
.
zrzbsm
=
newGlbsm
;
path
=
"/zrz"
;
break
;
case
"zd"
:
this
.
$store
.
state
.
zdbsm
=
newGlbsm
;
path
=
"/zd"
;
break
;
case
"dz"
:
this
.
$store
.
state
.
dzbsm
=
newGlbsm
;
path
=
"/dz"
;
break
;
default
:
break
;
}
this
.
$router
.
push
({
path
:
path
,
query
:
{
bsm
:
newGlbsm
,
source
:
2
}
});
}
else
{
this
.
$message
({
message
:
res
.
message
,
...
...
@@ -164,14 +169,8 @@ export default {
message
:
res
.
message
,
type
:
"error"
,
});
});
//this.$router.push({
// path: path,
// query: {
// bsm: row.glbsm,
// source: 2
// }
//});
});
},
},
computed
:
{},
...
...
Please
register
or
sign in
to post a comment