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
74b7522d
authored
2020-10-20 19:46:12 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
自然幢表单数据填充
1 parent
c35e886b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
75 additions
and
24 deletions
src/api/search.js
src/api/zrz.js
src/store/index.js
src/views/panel/create/index.vue
src/views/panel/search/index.vue
src/views/systemZRZ/zrzxx/index.vue
src/api/search.js
0 → 100644
View file @
74b7522
import
request
from
'@/plugin/axios'
/**
* 查询所有行政区
*/
export
function
getSearchList
()
{
return
request
({
url
:
'/system/basiccommon/query'
,
method
:
'get'
,
})
}
\ No newline at end of file
src/api/zrz.js
View file @
74b7522
...
...
@@ -9,3 +9,28 @@ export function insertZrzjbxx (data) {
data
:
data
,
})
}
/**
* 生成不动产单元号
*/
export
function
getBdcdyh
(
dpdm
,
dptype
)
{
return
request
({
url
:
'/system/generator/getBdcdyh'
,
method
:
'get'
,
params
:{
dpdm
:
dpdm
,
dptype
:
dptype
}
})
}
/**
* 保存自然幢信息
*/
export
function
saveZrzInfo
(
data
)
{
return
request
({
url
:
'/fw/qjZrz/updateQjZrz'
,
method
:
'put'
,
data
:
data
})
}
\ No newline at end of file
...
...
src/store/index.js
View file @
74b7522
...
...
@@ -12,7 +12,10 @@ const store = new Vuex.Store({
zdbsm
:
''
,
xzqList
:[],
djqList
:[],
djzqList
:[]
djzqList
:[],
//创建自然幢时需要用到的临时存储信息
zrzbsm
:
''
,
xmmc
:
''
,
},
modules
:
{
user
,
...
...
src/views/panel/create/index.vue
View file @
74b7522
...
...
@@ -242,7 +242,12 @@ export default {
});
//todo 跳转到自然幢基本信息内容表页面 (预留)
this
.
close
();
this
.
$router
.
push
(
"/zrz"
);
this
.
$store
.
zdbsm
=
res
.
result
.
zdbsm
;
this
.
$store
.
zrzbsm
=
res
.
result
.
bsm
;
this
.
$store
.
xmmc
=
res
.
result
.
xmmc
;
this
.
$router
.
push
({
path
:
'/zrz'
,
query
:{
data
:
res
.
result
}
});
}
else
{
this
.
$message
.
error
(
"创建失败!"
);
}
...
...
src/views/panel/search/index.vue
View file @
74b7522
...
...
@@ -43,6 +43,7 @@
<
script
>
import
SearchHead
from
"../../../components/searchHead/searchHead"
;
import
{
getSearchList
}
from
"../../../api/search"
;
export
default
{
name
:
""
,
components
:
{
SearchHead
},
...
...
@@ -55,35 +56,42 @@ export default {
type
:
[],
},
tableData
:
[
{
bdcdyh
:
"610101001001GB00001W"
,
xmmc
:
"万科集团万科城"
,
bdcqzh
:
"陕(2017)西安市不动产权第00000"
,
lx
:
"宗地"
,
qlr
:
"李子新"
,
zl
:
"灞桥-田家湾-咸宁东路,近浐河西路"
,
zrsj
:
"2020.09.07 "
,
cjr
:
"李子新"
,
},
//
{
//
bdcdyh: "610101001001GB00001W",
//
xmmc: "万科集团万科城",
//
bdcqzh: "陕(2017)西安市不动产权第00000",
//
lx: "宗地",
//
qlr: "李子新",
//
zl: "灞桥-田家湾-咸宁东路,近浐河西路",
//
zrsj: "2020.09.07 ",
//
cjr: "李子新",
//
},
],
tableHeight
:
""
,
};
},
created
()
{},
mounted
()
{
for
(
let
i
=
0
;
i
<
11
;
i
++
)
{
let
obj
=
{
bdcdyh
:
"610101001001GB00001W"
,
xmmc
:
"万科集团万科城"
,
bdcqzh
:
"陕(2017)西安市不动产权第00000"
,
lx
:
"自然幢"
,
qlr
:
"李子新"
,
zl
:
"灞桥-田家湾-咸宁东路,近浐河西路"
,
zrsj
:
"2020.09.07 "
,
cjr
:
"李子新"
,
};
this
.
tableData
.
push
(
obj
);
getSearchList
().
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
.
code
===
200
){
this
.
tableData
=
res
.
result
.
records
;
console
.
log
(
this
.
tableData
)
}
})
// for (let i = 0; i < 11; i++) {
// let obj = {
// bdcdyh: "610101001001GB00001W",
// xmmc: "万科集团万科城",
// bdcqzh: "陕(2017)西安市不动产权第00000",
// lx: "自然幢",
// qlr: "李子新",
// zl: "灞桥-田家湾-咸宁东路,近浐河西路",
// zrsj: "2020.09.07 ",
// cjr: "李子新",
// };
// this.tableData.push(obj);
// }
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
},
methods
:
{
...
...
src/views/systemZRZ/zrzxx/index.vue
View file @
74b7522
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment