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
929b93ef
authored
2021-01-06 17:30:53 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
双击打开层信息
1 parent
76aea714
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
4 deletions
src/api/c.js
src/views/zrz/lpb/bjlp/c/index.vue
src/views/zrz/lpb/bjlp/index.vue
src/api/c.js
0 → 100644
View file @
929b93e
import
request
from
'@/plugin/axios'
/**
* 查询层基本信息
*/
export
function
getQjCDetailById
(
data
)
{
return
request
({
url
:
'/system/qjC/getQjCDetailById'
,
method
:
'get'
,
params
:
{
id
:
data
,
}
})
}
/**
* 更新保存层基本信息
*/
export
function
updateQjC
(
data
)
{
return
request
({
url
:
'/system/qjC/updateQjC'
,
method
:
'put'
,
data
:
data
,
})
}
src/views/zrz/lpb/bjlp/c/index.vue
View file @
929b93e
...
...
@@ -82,7 +82,7 @@
</
template
>
<
script
>
import
{
insertCInfo
}
from
"@api/zrz
"
;
import
{
getQjCDetailById
,
updateQjC
}
from
"@api/c
"
;
export
default
{
name
:
'c'
,
components
:{},
...
...
@@ -114,12 +114,23 @@
},
methods
:
{
onSave
(){
this
.
form
.
zrzbsm
=
this
.
$route
r
.
query
.
bsm
;
this
.
form
.
zrzbsm
=
this
.
$route
.
query
.
bsm
;
//编辑层信息接口调用 TODO
updateQjC
(
this
.
form
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"保存成功"
)
}
})
},
getCinfo
(
bsm
){
this
.
reset
();
//获取层信息接口调用 TODO
getQjCDetailById
(
bsm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
form
=
res
.
result
;
this
.
form
.
zrzh
=
this
.
$store
.
state
.
zrzh
;
}
})
},
reset
(){
...
...
@@ -140,6 +151,9 @@
}
}
},
mounted
(){
this
.
getCinfo
(
this
.
cbsm
);
},
watch
:{
cbsm
:
{
handler
:
function
(
item
)
{
...
...
src/views/zrz/lpb/bjlp/index.vue
View file @
929b93e
...
...
@@ -544,7 +544,7 @@ export default {
this
.
$refs
.
ch
.
onSave
(
this
.
pd
[
0
].
bsm
);
break
;
case
"c"
:
this
.
$refs
.
c
h
.
onSave
(
this
.
pd
[
0
].
bsm
);
this
.
$refs
.
c
.
onSave
(
this
.
pd
[
0
].
bsm
);
break
;
default
:
break
;
...
...
Please
register
or
sign in
to post a comment