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
9965f665
authored
2020-11-30 15:16:08 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
范围属性变更办理增加二次提醒
1 parent
76b5450e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
42 deletions
src/views/panel/change/fwsxbg/index.vue
src/views/panel/change/fwsxbg/index.vue
View file @
9965f66
...
...
@@ -121,55 +121,59 @@ export default {
},
//点击办理
handleClick
(
row
)
{
console
.
log
(
"fwsxbg"
);
console
.
log
(
row
);
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
let
params
=
{
bsm
:
row
.
glbsm
,
type
:
row
.
dylx
};
this
.
$confirm
(
'是否确定范围属性变更?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
fwsxbgbl
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
message
:
res
.
message
,
type
:
"变更成功"
,
});
let
path
=
""
;
switch
(
row
.
dylx
)
{
case
"zrz"
:
this
.
$store
.
state
.
zrzbsm
=
res
.
result
;
path
=
"/zrz"
;
break
;
case
"zd"
:
this
.
$store
.
state
.
zdbsm
=
res
.
result
;
path
=
"/zd"
;
break
;
case
"dz"
:
this
.
$store
.
state
.
dzbsm
=
res
.
result
;
path
=
"/dz"
;
break
;
default
:
break
;
}
});
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
"warning"
,
});
}
})
this
.
$router
.
push
({
path
:
path
,
query
:
{
bsm
:
newGlbsm
,
source
:
2
}
});
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
"warning"
,
});
}
})
.
catch
((
error
)
=>
{
this
.
$message
({
message
:
res
.
message
,
type
:
"error"
,
});
});
}).
catch
(()
=>
{
});
},
},
...
...
Please
register
or
sign in
to post a comment