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
2c6e62e2
authored
2020-11-02 09:43:28 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
750786f7
3917f637
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
9 deletions
src/api/common.js
src/views/panel/change/fwsxbg/index.vue
src/views/panel/modify/index.vue
src/api/common.js
View file @
2c6e62e
...
...
@@ -96,6 +96,17 @@ export function updateQsztByBsm(data){
data
:
data
})
}
/**x
*修改 宗地,自然幢,户的权属状态
*/
export
function
copyZdjbxx
(
data
){
return
request
({
url
:
'/bg/fwsxbg/copyZdjbxx'
,
method
:
'post'
,
data
:
data
})
}
/**
* 提交表单信息
* glbsm 关联标识码,自然幢,多幢等标识码 ,
...
...
src/views/panel/change/fwsxbg/index.vue
View file @
2c6e62e
...
...
@@ -52,7 +52,7 @@
<
script
>
import
SearchHead
from
"../../../../components/searchHead/searchHead"
;
import
{
getSearchList
}
from
"../../../../api/search"
;
import
{
copyZdjbxx
}
from
"../../../../api/common"
;
export
default
{
name
:
""
,
components
:
{
SearchHead
},
...
...
@@ -108,25 +108,50 @@
},
//点击办理
handleClick
(
row
)
{
debugger
;
console
.
log
(
'fwsxbg'
);
console
.
log
(
row
);
var
bsm
=
row
.
glbsm
;
var
type
;
let
path
=
""
;
switch
(
row
.
dylx
)
{
case
"zrz"
:
type
=
"1"
;
path
=
"/zrz"
;
break
;
case
"zd"
:
type
=
"0"
;
this
.
$store
.
state
.
zdbsm
=
row
.
glbsm
;
path
=
"/zd"
;
break
;
case
"h"
:
type
=
"2"
break
;
default
:
break
;
}
this
.
$router
.
push
({
path
:
path
,
query
:
{
bsm
:
row
.
glbsm
,
source
:
2
}
var
params
=
{
"id"
:
bsm
,
"type"
:
type
};
copyZdjbxx
(
params
)
.
then
((
res
=>
{
if
(
res
.
code
==
200
){
this
.
$message
({
message
:
res
.
message
,
type
:
"success"
,
});
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
"warning"
,
});
}
}));
//this.$router.push({
// path: path,
// query: {
// bsm: row.glbsm,
// source: 2
// }
//});
},
},
computed
:
{},
...
...
src/views/panel/modify/index.vue
View file @
2c6e62e
...
...
@@ -117,7 +117,7 @@
console
.
log
(
row
);
let
path
=
""
;
var
type
;
var
id
=
row
.
gl
bsm
;
var
id
=
row
.
bsm
;
switch
(
row
.
dylx
)
{
case
"自然幢"
:
path
=
"/zrz"
;
...
...
@@ -137,7 +137,15 @@
updateQsztByBsm
(
data
)
.
then
((
res
=>
{
if
(
res
.
code
==
200
){
console
.
log
(
res
);
this
.
$message
({
message
:
res
.
message
,
type
:
"success"
,
});
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
"warning"
,
});
}
}))
this
.
$router
.
push
(
path
);
...
...
Please
register
or
sign in
to post a comment