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
a5bd9106
authored
2021-01-07 14:05:32 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
a63c7144
7f675083
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
0 deletions
src/api/zdy.js
src/views/zrz/lpb/bjlp/zdy/index.vue
src/api/zdy.js
0 → 100644
View file @
a5bd910
import
request
from
'@/plugin/axios'
/**
* 查询幢单元基本信息
*/
export
function
getQjZdyDetailById
(
data
)
{
return
request
({
url
:
'/system/qjZdy/getQjZdyDetailById'
,
method
:
'get'
,
params
:
{
id
:
data
,
}
})
}
/**
* 更新保存幢单元基本信息
*/
export
function
updateQjZdy
(
data
)
{
return
request
({
url
:
'/system/qjZdy/updateQjZdy'
,
method
:
'put'
,
data
:
data
,
})
}
src/views/zrz/lpb/bjlp/zdy/index.vue
View file @
a5bd910
...
...
@@ -46,6 +46,7 @@
<
script
>
import
{
insertZdyInfo
}
from
"@api/lpb"
import
{
getQjZdyDetailById
,
updateQjZdy
}
from
"@api/zdy"
export
default
{
name
:
"index"
,
components
:
{},
...
...
@@ -113,10 +114,20 @@
});
}
else
{
//编辑幢单元接口
updateQjZdy
(
this
.
form
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"保存成功"
)
}
})
}
},
getZdyInfo
(
bsm
){
//查询幢单元信息接口
getQjZdyDetailById
(
bsm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
form
=
res
.
result
;
}
})
},
reset
(){
...
...
Please
register
or
sign in
to post a comment