Merge branch 'master' of http://yun.pashanhoo.com:9090/renchao/CadastralSystem
Showing
8 changed files
with
117 additions
and
72 deletions
1 | <template> | 1 | <template> |
2 | <div class="hb-tabs top20"> | 2 | <div class="hb-tabs top20"> |
3 | <div class="hbq"> | 3 | <div class="hbq"> |
4 | <span class="tips" style="margin-left:0;">合并前多幢信息</span> | 4 | <span class="tips" style="margin-left:0;">合并前幢信息(已选择幢{{dzhbqData.length}}个)</span> |
5 | <table border="1"> | 5 | |
6 | <tr> | 6 | <div style="margin-top: 14px"> |
7 | <td class="xh">序号</td> | 7 | <el-table |
8 | <td class="zddm">宗地代码</td> | 8 | :data="dzhbqData" |
9 | <td class="bdcdyh">不动产单元号</td> | 9 | border |
10 | <td class="xmmc">项目名称</td> | 10 | style="width: 100%" |
11 | <td class="bdcqzh">不动产权证号</td> | 11 | height="200px" |
12 | <td class="qlr">权利人</td> | 12 | :header-cell-style="{'text-align':'center'}" |
13 | <td class="zl">坐落</td> | 13 | :cell-style="{'text-align':'center'}"> |
14 | <td class="zl">类型</td> | 14 | <el-table-column |
15 | <td class=""> | 15 | type="index" |
16 | label="序号" | ||
17 | width="80"> | ||
18 | </el-table-column> | ||
19 | <el-table-column | ||
20 | prop="zddm" | ||
21 | label="宗地代码"> | ||
22 | </el-table-column> | ||
23 | <el-table-column | ||
24 | prop="bdcdyh" | ||
25 | label="不动产单元号" | ||
26 | width="350"> | ||
27 | </el-table-column> | ||
28 | <el-table-column | ||
29 | prop="xmmc" | ||
30 | label="项目名称"> | ||
31 | </el-table-column> | ||
32 | <el-table-column | ||
33 | prop="bdcqzh" | ||
34 | label="不动产权证号"> | ||
35 | </el-table-column> | ||
36 | <el-table-column | ||
37 | prop="qlr" | ||
38 | label="权利人"> | ||
39 | </el-table-column> | ||
40 | <el-table-column | ||
41 | prop="zl" | ||
42 | label="坐落"> | ||
43 | </el-table-column> | ||
44 | <el-table-column | ||
45 | width="300"> | ||
46 | <template slot="header"> | ||
16 | 多幢: | 47 | 多幢: |
17 | <el-button | 48 | <el-button |
18 | type="primary" | 49 | type="primary" |
... | @@ -27,32 +58,19 @@ | ... | @@ -27,32 +58,19 @@ |
27 | @click="newAddZrz" | 58 | @click="newAddZrz" |
28 | >+ | 59 | >+ |
29 | </el-button> | 60 | </el-button> |
30 | </td> | 61 | </template> |
31 | </tr> | 62 | <template slot-scope="scope"> |
32 | <tr v-if="dzhbqData.length==0"> | ||
33 | <td colspan="9"> | ||
34 | <span class="noData">暂无数据</span> | ||
35 | </td> | ||
36 | </tr> | ||
37 | <tr v-else v-for="(item,index) in dzhbqData" :key="index"> | ||
38 | <td class="xh">{{index+1}}</td> | ||
39 | <td class="zddm">{{item.zddm}}</td> | ||
40 | <td class="bdcdyh">{{item.bdcdyh}}</td> | ||
41 | <td class="xmmc">{{item.xmmc}}</td> | ||
42 | <td class="bdcqzh">{{item.bdcqzh}}</td> | ||
43 | <td class="qlr">{{item.qlr}}</td> | ||
44 | <td class="zl">{{item.zl}}</td> | ||
45 | <td class="zl">{{item.type=='zrz'?'自然幢':'多幢'}}</td> | ||
46 | <td class="cz"> | ||
47 | <el-button | 63 | <el-button |
48 | type="primary" | 64 | type="primary" |
49 | class="changeBtn outMinus addMinus" | 65 | class="changeBtn outMinus addMinus" |
50 | @click="deleteData(index)" | 66 | @click="deleteData(scope.$index)" |
51 | >- | 67 | >- |
52 | </el-button> | 68 | </el-button> |
53 | </td> | 69 | </template> |
54 | </tr> | 70 | </el-table-column> |
55 | </table> | 71 | </el-table> |
72 | </div> | ||
73 | |||
56 | </div> | 74 | </div> |
57 | <div class="hbh dzhbh"> | 75 | <div class="hbh dzhbh"> |
58 | <span class="tips" style="width:100%;display:block;margin-left:0;">合并后多幢信息</span> | 76 | <span class="tips" style="width:100%;display:block;margin-left:0;">合并后多幢信息</span> |
... | @@ -61,47 +79,47 @@ | ... | @@ -61,47 +79,47 @@ |
61 | <span>多幢基本信息</span> | 79 | <span>多幢基本信息</span> |
62 | </div> | 80 | </div> |
63 | <ul class="zdjbxx"> | 81 | <ul class="zdjbxx"> |
64 | <li> | 82 | <li > |
65 | <span class="label">行政区:</span> | 83 | <span class="label">行政区划:</span> |
66 | <span class="value"> | 84 | <span class="value"> |
67 | <el-select v-model="dzhbhData.xzqbsm" @change="changeXzq(dzhbhData.xzqbsm)" | 85 | <el-row> |
68 | disabled> | 86 | <el-col :span="7" style="display: inline-block;"> |
87 | <el-select v-model="dzhbhData.xzqbsm" value-key="xzqbsm" placeholder="行政区" @change="changeXzq(dzhbhData.xzqbsm)" disabled> | ||
69 | <el-option | 88 | <el-option |
70 | v-for="i in xzq" | 89 | v-for="item in xzq" |
71 | :key="i.bsm" | 90 | :key="item.bsm" |
72 | :label="i.mc" | 91 | :label="item.mc" |
73 | :value="i.bsm" | 92 | :value="item.bsm"> |
74 | ></el-option> | 93 | </el-option> |
75 | </el-select> | 94 | </el-select> |
76 | </span> | 95 | </el-col> |
77 | </li> | 96 | <el-col :span="1"> </el-col> |
78 | <li> | 97 | <el-col :span="7"> |
79 | <span class="label">地籍区:</span> | 98 | <el-select v-model="dzhbhData.djqbsm" placeholder="地籍区" @change="changeDjq(dzhbhData.djqbsm)" disabled> |
80 | <span class="value"> | ||
81 | <el-select v-model="dzhbhData.djqbsm" @change="changeDjq(dzhbhData.djqbsm)" | ||
82 | disabled> | ||
83 | <el-option | 99 | <el-option |
84 | v-for="i in djq" | 100 | v-for="item in djq" |
85 | :key="i.bsm" | 101 | :key="item.bsm" |
86 | :label="i.mc" | 102 | :label="item.mc" |
87 | :value="i.bsm" | 103 | :value="item.bsm"> |
88 | ></el-option> | 104 | </el-option> |
89 | </el-select> | 105 | </el-select> |
90 | </span> | 106 | </el-col> |
91 | </li> | 107 | <el-col :span="1"> </el-col> |
92 | <li> | 108 | <el-col :span="8"> |
93 | <span class="label">地籍子区:</span> | 109 | <el-select v-model="dzhbhData.djzqbsm" placeholder="地籍子区" @change="$forceUpdate()" disabled> |
94 | <span class="value"> | ||
95 | <el-select v-model="dzhbhData.djzqbsm" @change="$forceUpdate()" disabled> | ||
96 | <el-option | 110 | <el-option |
97 | v-for="i in djzq" | 111 | v-for="item in djzq" |
98 | :key="i.bsm" | 112 | :key="item.bsm" |
99 | :label="i.mc" | 113 | :label="item.mc" |
100 | :value="i.bsm" | 114 | :value="item.bsm"> |
101 | ></el-option> | 115 | </el-option> |
102 | </el-select> | 116 | </el-select> |
117 | </el-col> | ||
118 | </el-row> | ||
103 | </span> | 119 | </span> |
104 | </li> | 120 | </li> |
121 | |||
122 | |||
105 | <li> | 123 | <li> |
106 | <span class="label">所有权类型:</span> | 124 | <span class="label">所有权类型:</span> |
107 | <span class="value"> | 125 | <span class="value"> |
... | @@ -434,6 +452,7 @@ | ... | @@ -434,6 +452,7 @@ |
434 | this.geZrztData(this.queryData) | 452 | this.geZrztData(this.queryData) |
435 | }, | 453 | }, |
436 | deleteData(index) { | 454 | deleteData(index) { |
455 | console.log(JSON.stringify(index)+":row") | ||
437 | let data = this.dzhbqData[index]; | 456 | let data = this.dzhbqData[index]; |
438 | // 多幢 | 457 | // 多幢 |
439 | if (data.zrzCount) { | 458 | if (data.zrzCount) { | ... | ... |
... | @@ -435,13 +435,13 @@ export default { | ... | @@ -435,13 +435,13 @@ export default { |
435 | height: 72px!important; | 435 | height: 72px!important; |
436 | .header-top { | 436 | .header-top { |
437 | height: 72px; | 437 | height: 72px; |
438 | border-bottom: 1px solid#EAEAEA; | 438 | // border-bottom: 1px solid#EAEAEA; |
439 | box-sizing: border-box; | 439 | box-sizing: border-box; |
440 | .top-items { | 440 | .top-items { |
441 | cursor: pointer; | 441 | cursor: pointer; |
442 | height: 72px; | 442 | height: 72px; |
443 | padding: 0 30px; | 443 | padding: 0 30px; |
444 | font-size: 18px; | 444 | font-size: 20px; |
445 | line-height: 72px; | 445 | line-height: 72px; |
446 | float: left; | 446 | float: left; |
447 | position: relative; | 447 | position: relative; |
... | @@ -450,7 +450,7 @@ export default { | ... | @@ -450,7 +450,7 @@ export default { |
450 | /*border-right: 1px solid #EAEAEA;*/ | 450 | /*border-right: 1px solid #EAEAEA;*/ |
451 | i { | 451 | i { |
452 | margin-right: 6px; | 452 | margin-right: 6px; |
453 | font-size: 18px; | 453 | font-size: 22px; |
454 | position: relative; | 454 | position: relative; |
455 | top: 1px; | 455 | top: 1px; |
456 | } | 456 | } | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -139,27 +139,33 @@ | ... | @@ -139,27 +139,33 @@ |
139 | let path = ""; | 139 | let path = ""; |
140 | switch (row.dylx) { | 140 | switch (row.dylx) { |
141 | case "zd": | 141 | case "zd": |
142 | type = "0"; | 142 | type = "zd"; |
143 | name = '宗地'; | 143 | name = '宗地'; |
144 | path = "/zd"; | 144 | path = "/zd"; |
145 | break; | 145 | break; |
146 | case "zrz": | 146 | case "zrz": |
147 | type = "1"; | 147 | type = "zrz"; |
148 | name = '自然幢'; | 148 | name = '自然幢'; |
149 | path = "/zrz"; | 149 | path = "/zrz"; |
150 | break; | 150 | break; |
151 | case "h": | 151 | case "h": |
152 | case "h0": | 152 | case "h0": |
153 | case "h1": | 153 | case "h1": |
154 | type = "2"; | 154 | type = "h"; |
155 | name = "户" | 155 | name = "户" |
156 | path = "/h"; | 156 | path = "/h"; |
157 | break; | 157 | break; |
158 | case "dz": | 158 | case "dz": |
159 | type = "3"; | 159 | type = "dz"; |
160 | name = "多幢"; | 160 | name = "多幢"; |
161 | path = "/dz"; | 161 | path = "/dz"; |
162 | break; | 162 | break; |
163 | case "gzw": | ||
164 | type = "gzw"; | ||
165 | name = "构筑物"; | ||
166 | path = "/gzw"; | ||
167 | break; | ||
168 | |||
163 | default: | 169 | default: |
164 | break; | 170 | break; |
165 | } | 171 | } |
... | @@ -192,6 +198,11 @@ | ... | @@ -192,6 +198,11 @@ |
192 | this.$store.state.dzbsm = row.glbsm; | 198 | this.$store.state.dzbsm = row.glbsm; |
193 | this.getTreeByBsm(row.glbsm,row.dylx,'1'); | 199 | this.getTreeByBsm(row.glbsm,row.dylx,'1'); |
194 | break; | 200 | break; |
201 | case "gzw": | ||
202 | this.$store.state.dzbsm = row.glbsm; | ||
203 | this.getTreeByBsm(row.glbsm,row.dylx,'1'); | ||
204 | break; | ||
205 | |||
195 | default: | 206 | default: |
196 | break; | 207 | break; |
197 | } | 208 | } |
... | @@ -240,6 +251,9 @@ | ... | @@ -240,6 +251,9 @@ |
240 | } | 251 | } |
241 | background: #eaedf5; | 252 | background: #eaedf5; |
242 | } | 253 | } |
254 | /deep/ .el-tabs__item { | ||
255 | height: 48px; | ||
256 | } | ||
243 | .main { | 257 | .main { |
244 | width: 100%; | 258 | width: 100%; |
245 | height: 100%; | 259 | height: 100%; | ... | ... |
-
Please register or sign in to post a comment