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
ea49bb2a
authored
2020-12-03 09:18:19 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新建自然幢后跳转至自然幢表单
1 parent
ffe684e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
src/views/panel/create/index.vue
src/views/panel/create/index.vue
View file @
ea49bb2
...
...
@@ -217,10 +217,10 @@ export default {
},
methods
:
{
// 重置
res
ul
t
(){
this
.
$refs
[
'ruleForm'
].
resetFields
()
this
.
$refs
[
"ruleForm1"
].
resetFields
()
this
.
$refs
[
"ruleForm2"
].
resetFields
()
res
e
t
(){
this
.
$refs
[
'ruleForm'
].
resetFields
()
;
this
.
$refs
[
"ruleForm1"
].
resetFields
()
;
this
.
$refs
[
"ruleForm2"
].
resetFields
()
;
},
handleClick
(
tab
,
event
)
{
console
.
log
(
tab
,
event
);
...
...
@@ -260,13 +260,13 @@ export default {
this
.
ruleForm1
.
dzbsm
=
this
.
$store
.
state
.
dzbsm
!=
''
?
this
.
$store
.
state
.
dzbsm
:
''
;
insertZrzjbxx
(
this
.
ruleForm1
)
.
then
((
res
)
=>
{
debugger
if
(
res
.
code
==
"200"
)
{
this
.
$message
({
message
:
"创建成功!"
,
type
:
"success"
,
});
//todo 跳转到自然幢基本信息内容表页面 (预留)
this
.
close
();
this
.
$store
.
state
.
zdbsm
=
res
.
result
.
zdbsm
;
this
.
$store
.
state
.
zrzbsm
=
res
.
result
.
bsm
;
this
.
$store
.
state
.
xmmc
=
res
.
result
.
xmmc
;
...
...
@@ -276,6 +276,7 @@ export default {
bsm
:
res
.
result
.
bsm
}
});
this
.
close
();
}
else
{
this
.
$message
.
error
(
"创建失败!"
);
}
...
...
@@ -370,7 +371,7 @@ export default {
},
close
()
{
this
.
$emit
(
"closeDialog"
);
this
.
res
ul
t
();
this
.
res
e
t
();
},
},
computed
:
{},
...
...
Please
register
or
sign in
to post a comment