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
ed5375b4
authored
2020-12-11 17:00:07 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
楼盘表详细信息数据展示
1 parent
0c9a1806
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
119 additions
and
21 deletions
package.json
src/api/lpb.js
src/views/zrz/lpb/xxxx/index.vue
package.json
View file @
ed5375b
...
...
@@ -13,42 +13,42 @@
},
"dependencies"
:
{
"@antv/g6"
:
"^4.0.3"
,
"axios"
:
"^0.19.
0
"
,
"core-js"
:
"^2.6.
5
"
,
"e-icon-picker"
:
"^1.0.
7
"
,
"axios"
:
"^0.19.
2
"
,
"core-js"
:
"^2.6.
12
"
,
"e-icon-picker"
:
"^1.0.
15
"
,
"el-select-tree"
:
"^1.0.26"
,
"el-tree-select"
:
"^3.1.1
0
"
,
"element-ui"
:
"^2.1
3.2
"
,
"el-tree-select"
:
"^3.1.1
1
"
,
"element-ui"
:
"^2.1
4.1
"
,
"esri-loader"
:
"^2.16.0"
,
"file-saver"
:
"^2.0.
2
"
,
"form-making"
:
"^1.2.
9
"
,
"file-saver"
:
"^2.0.
5
"
,
"form-making"
:
"^1.2.
10
"
,
"insert-css"
:
"^2.0.0"
,
"js-cookie"
:
"^2.2.1"
,
"mockjs"
:
"^1.1.0"
,
"screenfull"
:
"^5.0.2"
,
"shapefile"
:
"^0.6.6"
,
"style-resources-loader"
:
"^1.
3.3
"
,
"style-resources-loader"
:
"^1.
4.1
"
,
"terraformer-arcgis-parser"
:
"^1.1.0"
,
"terraformer-wkt-parser"
:
"^1.2.1"
,
"vue"
:
"^2.6.1
0
"
,
"vue"
:
"^2.6.1
2
"
,
"vue-cli-plugin-style-resources-loader"
:
"^0.1.4"
,
"vue-quill-editor"
:
"^3.0.6"
,
"vue-router"
:
"^3.
0.3
"
,
"vuex"
:
"^3.
0.1
"
,
"vue-router"
:
"^3.
4.9
"
,
"vuex"
:
"^3.
6.0
"
,
"webpack-theme-color-replacer"
:
"^1.3.14"
,
"xlsx"
:
"^0.16.
6
"
"xlsx"
:
"^0.16.
9
"
},
"devDependencies"
:
{
"@vue/cli-plugin-babel"
:
"^3.1
1.0
"
,
"@vue/cli-plugin-eslint"
:
"^3.1
1.0
"
,
"@vue/cli-service"
:
"^3.1
1.0
"
,
"babel-eslint"
:
"^10.
0.1
"
,
"@vue/cli-plugin-babel"
:
"^3.1
2.1
"
,
"@vue/cli-plugin-eslint"
:
"^3.1
2.1
"
,
"@vue/cli-service"
:
"^3.1
2.1
"
,
"babel-eslint"
:
"^10.
1.0
"
,
"babel-polyfill"
:
"^6.26.0"
,
"eslint"
:
"^5.16.0"
,
"eslint-plugin-vue"
:
"^5.0.0"
,
"less"
:
"^3.
0.4
"
,
"less"
:
"^3.
12.2
"
,
"less-loader"
:
"^5.0.0"
,
"script-loader"
:
"^0.7.2"
,
"vue-template-compiler"
:
"^2.6.1
0
"
"vue-template-compiler"
:
"^2.6.1
2
"
}
}
...
...
src/api/lpb.js
View file @
ed5375b
...
...
@@ -179,3 +179,18 @@ export function batchCommit(data) {
data
:
data
})
}
/**
* 批量提交
*/
export
function
getDetailInfo
(
zrzbsm
,
lx
)
{
return
request
({
url
:
'/fw/lpb/getDetailInfo'
,
method
:
'get'
,
params
:
{
zrzbsm
:
zrzbsm
,
scyclx
:
lx
,
},
})
}
...
...
src/views/zrz/lpb/xxxx/index.vue
View file @
ed5375b
<
template
>
<div
class=
""
></div>
<div
class=
""
>
<el-table
:data=
"tableData"
style=
"width: 100%;margin-bottom: 20px;"
row-key=
"bsm"
border
default-expand-all
:tree-props=
"
{children: 'children', hasChildren: 'hasChildren'}">
<el-table-column
prop=
"mc"
label=
"地址(单元名称)"
>
</el-table-column>
<el-table-column
prop=
"bdcdyh"
label=
"不动产单元号"
>
</el-table-column>
<el-table-column
prop=
"ch"
label=
"层号"
:formatter=
"chFilter"
>
</el-table-column>
<el-table-column
prop=
"hh"
label=
"户号"
:formatter=
"hhFilter"
>
</el-table-column>
<el-table-column
prop=
"mj"
label=
"面积"
>
</el-table-column>
</el-table>
</div>
</
template
>
<
script
>
import
{
getDetailInfo
}
from
"./../../../../api/lpb"
export
default
{
name
:
""
,
components
:{},
props
:{},
data
(){
return
{
tableData
:
[]
}
},
created
(){},
mounted
(){},
methods
:{},
mounted
(){
this
.
getData
();
},
methods
:{
chFilter
(
row
,
column
){
if
(
row
.
ch
===
0
){
return
''
}
else
{
return
row
.
ch
;
}
},
hhFilter
(
row
,
column
){
if
(
row
.
hh
===
0
){
return
''
}
else
{
return
row
.
hh
;
}
},
getData
(){
let
zrzbsm
=
'12a4eb0cf2b527273ff5f0b96820715a'
;
let
scyclx
=
'0'
;
getDetailInfo
(
zrzbsm
,
scyclx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
console
.
log
(
res
.
result
)
this
.
tableData
=
res
.
result
;
}
})
},
load
(
tree
,
treeNode
,
resolve
)
{
setTimeout
(()
=>
{
resolve
([
{
id
:
31
,
date
:
'2016-05-01'
,
name
:
'王小虎'
,
address
:
'上海市普陀区金沙江路 1519 弄'
},
{
id
:
32
,
date
:
'2016-05-01'
,
name
:
'王小虎'
,
address
:
'上海市普陀区金沙江路 1519 弄'
}
])
},
1000
)
}
},
computed
:
{},
watch
:
{},
}
...
...
Please
register
or
sign in
to post a comment