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
4c0ed48f
authored
2020-10-30 17:34:01 +0800
by
cheliming
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
联调前后端项目范围属性变更
1 parent
f3156a6b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
8 deletions
src/api/common.js
src/views/panel/change/fwsxbg/index.vue
src/views/panel/modify/index.vue
src/api/common.js
View file @
4c0ed48
...
...
@@ -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 @
4c0ed48
...
...
@@ -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 @
4c0ed48
...
...
@@ -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