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
a0e971e1
authored
2020-10-23 09:54:03 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改宗地信息接口
1 parent
d65b99cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
11 deletions
src/api/zd.js
src/views/systemZD/zddcb/index.vue
src/api/zd.js
View file @
a0e971e
...
...
@@ -35,6 +35,16 @@ export function insertQjZdjbxx(data) {
data
:
data
,
});
}
/**
* 修改宗地基本信息
*/
export
function
updateQjZdjbxx
(
data
)
{
return
request
({
url
:
"zd/qjZdjbxx/updateQjZdjbxx"
,
method
:
"put"
,
data
:
data
,
});
}
/**
* 生成宗地代码
...
...
src/views/systemZD/zddcb/index.vue
View file @
a0e971e
...
...
@@ -315,6 +315,9 @@
</td>
</tr>
</table>
<div
style=
"min-height: 40px;text-align: center;margin-top: 10px"
>
<el-button
type=
"primary"
@
click=
"updateZDxx"
>
保存
</el-button>
</div>
</div>
</div>
</
template
>
...
...
@@ -327,7 +330,7 @@
getListByXzqbsm
,
getListByPbsm
,
}
from
"../../../api/common"
;
import
{
getBdcdyh
,
getQjZdjbxxDetailById
}
from
"../../../api/zd"
;
import
{
getBdcdyh
,
getQjZdjbxxDetailById
,
updateQjZdjbxx
}
from
"../../../api/zd"
;
export
default
{
name
:
""
,
...
...
@@ -393,9 +396,9 @@
"gmjjhyflbsm"
:
""
,
"gygyqlrqk"
:
""
,
"jg"
:
0
,
"jyjzm
u"
:
"
"
,
"jyjzxg"
:
""
,
"jyrjl"
:
""
,
"jyjzm
d"
:
">
"
,
"jyjzxg"
:
"
<
"
,
"jyrjl"
:
"
<
"
,
"jzmd"
:
0
,
"jzmdsm"
:
""
,
"jzxg"
:
0
,
...
...
@@ -422,12 +425,12 @@
"zdbsm"
:
""
,
"zddm"
:
""
,
"zdmj"
:
0
,
"zdszb"
:
""
,
"zdszd"
:
""
,
"zdszn"
:
""
,
"zdszx"
:
""
,
"zdszb"
:
"
北
"
,
"zdszd"
:
"
东
"
,
"zdszn"
:
"
南
"
,
"zdszx"
:
"
西
"
,
"zdtzmbsm"
:
""
,
"zl"
:
""
"zl"
:
"
坐落
"
},
};
},
...
...
@@ -456,12 +459,22 @@
.
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
formData
.
zddm
=
res
.
result
.
substring
(
0
,
19
);
this
.
formData
.
bdcdyh
=
res
.
result
;
this
.
formData
.
dyhbsm
=
res
.
result
;
})
.
catch
((
error
)
=>
{
});
},
//修改宗地基本信息
updateZDxx
(){
//获取权利性质数据
this
.
formData
.
list
=
this
.
$refs
.
qlxzModule
.
getQlxzDataList
();
updateQjZdjbxx
(
this
.
formData
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
})
.
catch
((
error
)
=>
{
});
},
getQlrxxData
()
{
console
.
log
(
this
.
$refs
.
qlrxxModule
.
getQlgyfsData
());
//权利共有方式数据
console
.
log
(
this
.
$refs
.
qlrxxModule
.
getQlrxxData
());
//权利人表格数据
...
...
Please
register
or
sign in
to post a comment