8d5f45b5 by 杨威
2 parents 6ffa52b0 c05d2bba
...@@ -13,42 +13,42 @@ ...@@ -13,42 +13,42 @@
13 }, 13 },
14 "dependencies": { 14 "dependencies": {
15 "@antv/g6": "^4.0.3", 15 "@antv/g6": "^4.0.3",
16 "axios": "^0.19.0", 16 "axios": "^0.19.2",
17 "core-js": "^2.6.5", 17 "core-js": "^2.6.12",
18 "e-icon-picker": "^1.0.7", 18 "e-icon-picker": "^1.0.15",
19 "el-select-tree": "^1.0.26", 19 "el-select-tree": "^1.0.26",
20 "el-tree-select": "^3.1.10", 20 "el-tree-select": "^3.1.11",
21 "element-ui": "^2.13.2", 21 "element-ui": "^2.14.1",
22 "esri-loader": "^2.16.0", 22 "esri-loader": "^2.16.0",
23 "file-saver": "^2.0.2", 23 "file-saver": "^2.0.5",
24 "form-making": "^1.2.9", 24 "form-making": "^1.2.10",
25 "insert-css": "^2.0.0", 25 "insert-css": "^2.0.0",
26 "js-cookie": "^2.2.1", 26 "js-cookie": "^2.2.1",
27 "mockjs": "^1.1.0", 27 "mockjs": "^1.1.0",
28 "screenfull": "^5.0.2", 28 "screenfull": "^5.0.2",
29 "shapefile": "^0.6.6", 29 "shapefile": "^0.6.6",
30 "style-resources-loader": "^1.3.3", 30 "style-resources-loader": "^1.4.1",
31 "terraformer-arcgis-parser": "^1.1.0", 31 "terraformer-arcgis-parser": "^1.1.0",
32 "terraformer-wkt-parser": "^1.2.1", 32 "terraformer-wkt-parser": "^1.2.1",
33 "vue": "^2.6.10", 33 "vue": "^2.6.12",
34 "vue-cli-plugin-style-resources-loader": "^0.1.4", 34 "vue-cli-plugin-style-resources-loader": "^0.1.4",
35 "vue-quill-editor": "^3.0.6", 35 "vue-quill-editor": "^3.0.6",
36 "vue-router": "^3.0.3", 36 "vue-router": "^3.4.9",
37 "vuex": "^3.0.1", 37 "vuex": "^3.6.0",
38 "webpack-theme-color-replacer": "^1.3.14", 38 "webpack-theme-color-replacer": "^1.3.14",
39 "xlsx": "^0.16.6" 39 "xlsx": "^0.16.9"
40 }, 40 },
41 "devDependencies": { 41 "devDependencies": {
42 "@vue/cli-plugin-babel": "^3.11.0", 42 "@vue/cli-plugin-babel": "^3.12.1",
43 "@vue/cli-plugin-eslint": "^3.11.0", 43 "@vue/cli-plugin-eslint": "^3.12.1",
44 "@vue/cli-service": "^3.11.0", 44 "@vue/cli-service": "^3.12.1",
45 "babel-eslint": "^10.0.1", 45 "babel-eslint": "^10.1.0",
46 "babel-polyfill": "^6.26.0", 46 "babel-polyfill": "^6.26.0",
47 "eslint": "^5.16.0", 47 "eslint": "^5.16.0",
48 "eslint-plugin-vue": "^5.0.0", 48 "eslint-plugin-vue": "^5.0.0",
49 "less": "^3.0.4", 49 "less": "^3.12.2",
50 "less-loader": "^5.0.0", 50 "less-loader": "^5.0.0",
51 "script-loader": "^0.7.2", 51 "script-loader": "^0.7.2",
52 "vue-template-compiler": "^2.6.10" 52 "vue-template-compiler": "^2.6.12"
53 } 53 }
54 } 54 }
......
...@@ -179,3 +179,18 @@ export function batchCommit(data) { ...@@ -179,3 +179,18 @@ export function batchCommit(data) {
179 data:data 179 data:data
180 }) 180 })
181 } 181 }
182
183
184 /**
185 * 批量提交
186 */
187 export function getDetailInfo(zrzbsm,lx) {
188 return request({
189 url:'/fw/lpb/getDetailInfo',
190 method:'get',
191 params: {
192 zrzbsm:zrzbsm,
193 scyclx:lx,
194 },
195 })
196 }
......
1 <template> 1 <template>
2 <div class=""></div> 2 <div class="">
3 <el-table
4 :data="tableData"
5 style="width: 100%;margin-bottom: 20px;"
6 row-key="bsm"
7 border
8 default-expand-all
9 :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
10 <el-table-column
11 prop="mc"
12 label="地址(单元名称)">
13 </el-table-column>
14 <el-table-column
15 prop="bdcdyh"
16 label="不动产单元号">
17 </el-table-column>
18 <el-table-column
19 prop="ch"
20 label="层号"
21 :formatter="chFilter">
22 </el-table-column>
23 <el-table-column
24 prop="hh"
25 label="户号"
26 :formatter="hhFilter">
27 </el-table-column>
28 <el-table-column
29 prop="mj"
30 label="面积">
31 </el-table-column>
32 </el-table>
33 </div>
3 </template> 34 </template>
4 35
5 <script> 36 <script>
37 import {getDetailInfo} from "./../../../../api/lpb"
6 export default { 38 export default {
7 name:"", 39 name:"",
8 components:{}, 40 components:{},
9 props:{}, 41 props:{},
10 data(){ 42 data(){
11 return { 43 return {
44 tableData: []
12 } 45 }
13 }, 46 },
14 created(){}, 47 created(){},
15 mounted(){}, 48 mounted(){
16 methods:{}, 49 this.getData();
50 },
51 methods:{
52
53 chFilter(row, column){
54 if(row.ch === 0){
55 return ''
56 }else {
57 return row.ch;
58 }
59 },
60
61 hhFilter(row, column){
62 if(row.hh === 0){
63 return ''
64 }else {
65 return row.hh;
66 }
67 },
68
69 getData(){
70 let zrzbsm = '12a4eb0cf2b527273ff5f0b96820715a';
71 let scyclx = '0';
72 getDetailInfo(zrzbsm,scyclx).then((res)=>{
73 if(res.code===200){
74 console.log(res.result)
75 this.tableData = res.result;
76 }
77 })
78 },
79
80 load(tree, treeNode, resolve) {
81 setTimeout(() => {
82 resolve([
83 {
84 id: 31,
85 date: '2016-05-01',
86 name: '王小虎',
87 address: '上海市普陀区金沙江路 1519 弄'
88 }, {
89 id: 32,
90 date: '2016-05-01',
91 name: '王小虎',
92 address: '上海市普陀区金沙江路 1519 弄'
93 }
94 ])
95 }, 1000)
96 }
97
98
99 },
17 computed: {}, 100 computed: {},
18 watch: {}, 101 watch: {},
19 } 102 }
......