现有问题修改
Showing
5 changed files
with
96 additions
and
22 deletions
... | @@ -187,7 +187,7 @@ | ... | @@ -187,7 +187,7 @@ |
187 | 187 | ||
188 | <tr> | 188 | <tr> |
189 | <td colspan="12" rowspan="4" align="center"> | 189 | <td colspan="12" rowspan="4" align="center"> |
190 | <Qlxz ref="qlxzModule" :hasSyqx='false'></Qlxz> | 190 | <Qlxz ref="qlxzModule" :hasSyqx='false' :formData="form"></Qlxz> |
191 | </td> | 191 | </td> |
192 | </tr> | 192 | </tr> |
193 | <tr></tr> | 193 | <tr></tr> |
... | @@ -210,7 +210,7 @@ | ... | @@ -210,7 +210,7 @@ |
210 | </div> | 210 | </div> |
211 | <div class="shop"> | 211 | <div class="shop"> |
212 | <el-button type="primary" @click="save">保存</el-button> | 212 | <el-button type="primary" @click="save">保存</el-button> |
213 | <el-button type="primary" @click="result">重置</el-button> | 213 | <el-button type="primary" @click="reset">重置</el-button> |
214 | <el-button type="primary" @click="cancel">取消</el-button> | 214 | <el-button type="primary" @click="cancel">取消</el-button> |
215 | </div> | 215 | </div> |
216 | </el-dialog> | 216 | </el-dialog> |
... | @@ -252,6 +252,7 @@ | ... | @@ -252,6 +252,7 @@ |
252 | }, | 252 | }, |
253 | 253 | ||
254 | form:{ | 254 | form:{ |
255 | qszt:'0', | ||
255 | jzmj:'', | 256 | jzmj:'', |
256 | tnjzmj:'', | 257 | tnjzmj:'', |
257 | ftjzmj:'', | 258 | ftjzmj:'', |
... | @@ -360,8 +361,50 @@ | ... | @@ -360,8 +361,50 @@ |
360 | this.isVisible = false | 361 | this.isVisible = false |
361 | this.result() | 362 | this.result() |
362 | }, | 363 | }, |
363 | result: function () { | 364 | reset: function () { |
364 | 365 | this.form={ | |
366 | qszt:'0', | ||
367 | jzmj:'', | ||
368 | tnjzmj:'', | ||
369 | ftjzmj:'', | ||
370 | dxbfjzmj:'', | ||
371 | qtjzmj:'', | ||
372 | ftxs:'', | ||
373 | hxbsm:'', | ||
374 | hxjgbsm:'', | ||
375 | gytdmj: '', | ||
376 | fttdmj: '', | ||
377 | dytdmj: '', | ||
378 | fwlxbsm: '', | ||
379 | fwcbbsm:'', | ||
380 | fwcqlybsm:'', | ||
381 | fwxzbsm:'', | ||
382 | dqtgs:'', | ||
383 | nqtgs:'', | ||
384 | xqtgs:'', | ||
385 | bqtgs:'', | ||
386 | fwjgbsm:'', | ||
387 | fwytList:[{ | ||
388 | glbsm:'', //关联标识码 | ||
389 | fwytzdbsm:'', //房屋用途字典标识码 | ||
390 | sx:'', //顺序 | ||
391 | fwsjytbsm:'', //房屋实际用途字典标识码 | ||
392 | }], | ||
393 | fwjgList:[{ | ||
394 | fwjgzdbsm:'', //房屋结构字典标识码 | ||
395 | glbsm:'', //关联标识码 | ||
396 | sx:'', //顺序 | ||
397 | }], | ||
398 | qlxzList:[{ | ||
399 | qlxzdm:'', //权利性质代码 | ||
400 | glbsm:'', //宗地BSM、自然幢BSM、户BSM、多幢BSM、宗海BSM | ||
401 | qlxzzdbsm:'', //权利性质字典表标识码 | ||
402 | qlxzmc:'', //权利名称名称 | ||
403 | zhqlxzlx:'', //除宗海数据外,默认都是空;0:用海类型权利性质;2:海岛用途权利性质 | ||
404 | addQjTdytRequestList:[{ | ||
405 | }], //土地用途新增实体列表 | ||
406 | }] | ||
407 | } | ||
365 | }, | 408 | }, |
366 | save: function () { | 409 | save: function () { |
367 | this.form['hbsms'] = this.bsms | 410 | this.form['hbsms'] = this.bsms |
... | @@ -372,6 +415,8 @@ | ... | @@ -372,6 +415,8 @@ |
372 | if(res.code===200){ | 415 | if(res.code===200){ |
373 | this.lodding() | 416 | this.lodding() |
374 | this.$message.success("保存成功!") | 417 | this.$message.success("保存成功!") |
418 | this.reset(); | ||
419 | this.close(); | ||
375 | } | 420 | } |
376 | }) | 421 | }) |
377 | }, | 422 | }, | ... | ... |
... | @@ -150,15 +150,17 @@ | ... | @@ -150,15 +150,17 @@ |
150 | <tr> | 150 | <tr> |
151 | <td colspan="2">国民经济行业分类</td> | 151 | <td colspan="2">国民经济行业分类</td> |
152 | <td colspan="4"> | 152 | <td colspan="4"> |
153 | <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.gmjjhyflbsm"> | 153 | <el-select-tree |
154 | <el-option | 154 | :disabled="formData.qszt!='0'" |
155 | v-for="item in $store.state.gmjjhyflbsmList" | 155 | :default-expand-all="defaultExpandAll" |
156 | :key="item.bsm" | 156 | :multiple="multiple" |
157 | :label="item.mc" | 157 | :placeholder="placeholder" |
158 | :value="item.bsm" | 158 | :data="$store.state.gmjjhyflbsmList" |
159 | > | 159 | :props="treeProps" |
160 | </el-option> | 160 | :check-strictly="checkStrictly" |
161 | </el-select> | 161 | :clearable="clearable" |
162 | v-model="formData.gmjjhyflbsm" | ||
163 | ></el-select-tree> | ||
162 | </td> | 164 | </td> |
163 | <td colspan="2">价格(元)</td> | 165 | <td colspan="2">价格(元)</td> |
164 | <td colspan="4" class="psr"> | 166 | <td colspan="4" class="psr"> |
... | @@ -384,6 +386,21 @@ export default { | ... | @@ -384,6 +386,21 @@ export default { |
384 | props: {}, | 386 | props: {}, |
385 | data() { | 387 | data() { |
386 | return { | 388 | return { |
389 | |||
390 | //树型结构 | ||
391 | show: true, | ||
392 | clearable: true, | ||
393 | defaultExpandAll: true, | ||
394 | multiple: false, | ||
395 | placeholder: "请选择", | ||
396 | disabled: false, | ||
397 | checkStrictly: true, | ||
398 | treeProps: { | ||
399 | value: "dm", | ||
400 | children: "children", | ||
401 | label: "mc", | ||
402 | }, | ||
403 | |||
387 | rules: [], | 404 | rules: [], |
388 | rjl:'', | 405 | rjl:'', |
389 | jzmd:'', | 406 | jzmd:'', | ... | ... |
... | @@ -310,7 +310,7 @@ | ... | @@ -310,7 +310,7 @@ |
310 | 310 | ||
311 | <tr> | 311 | <tr> |
312 | <td colspan="12" rowspan="4" align="center"> | 312 | <td colspan="12" rowspan="4" align="center"> |
313 | <Qlxz ref="qlxzModule" :hasSyqx='false'></Qlxz> | 313 | <Qlxz ref="qlxzModule" :hasSyqx='false' :formData="form"></Qlxz> |
314 | </td> | 314 | </td> |
315 | </tr> | 315 | </tr> |
316 | <tr></tr> | 316 | <tr></tr> | ... | ... |
... | @@ -507,6 +507,9 @@ export default { | ... | @@ -507,6 +507,9 @@ export default { |
507 | openLpbDialog(data, type) { | 507 | openLpbDialog(data, type) { |
508 | this.treeData = data; | 508 | this.treeData = data; |
509 | this.menuType = type; | 509 | this.menuType = type; |
510 | this.$nextTick(()=>{ | ||
511 | this.resetInfo(); | ||
512 | }); | ||
510 | this.dialogVisible = true; | 513 | this.dialogVisible = true; |
511 | }, | 514 | }, |
512 | //弹框中的保存按钮,根据不同菜单点击类型调用不同子组件的保存方法 | 515 | //弹框中的保存按钮,根据不同菜单点击类型调用不同子组件的保存方法 | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class=""> | 2 | <div class=""> |
3 | <el-radio-group v-model="scyclx" @change="scyclxChange"> | ||
4 | <el-radio-button label="0">预测</el-radio-button> | ||
5 | <el-radio-button label="1">实测</el-radio-button> | ||
6 | </el-radio-group> | ||
3 | <el-table | 7 | <el-table |
4 | :data="tableData" | 8 | :data="tableData" |
5 | style="width: 100%;margin-bottom: 20px;" | 9 | style="width: 100%;margin-bottom: 20px;" |
... | @@ -35,23 +39,23 @@ | ... | @@ -35,23 +39,23 @@ |
35 | </el-table-column> | 39 | </el-table-column> |
36 | <el-table-column | 40 | <el-table-column |
37 | prop="jzmj" | 41 | prop="jzmj" |
38 | label="面积"> | 42 | label="建筑面积(㎡)"> |
39 | </el-table-column> | 43 | </el-table-column> |
40 | <el-table-column | 44 | <el-table-column |
41 | prop="tnjzmj" | 45 | prop="tnjzmj" |
42 | label="套内建筑面积"> | 46 | label="套内建筑面积(㎡)"> |
43 | </el-table-column> | 47 | </el-table-column> |
44 | <el-table-column | 48 | <el-table-column |
45 | prop="ftjzmj" | 49 | prop="ftjzmj" |
46 | label="分摊建筑面积"> | 50 | label="分摊建筑面积(㎡)"> |
47 | </el-table-column> | 51 | </el-table-column> |
48 | <el-table-column | 52 | <el-table-column |
49 | prop="dxbfjzmj" | 53 | prop="dxbfjzmj" |
50 | label="地下部分建筑面积"> | 54 | label="地下部分建筑面积(㎡)"> |
51 | </el-table-column> | 55 | </el-table-column> |
52 | <el-table-column | 56 | <el-table-column |
53 | prop="qtjzmj" | 57 | prop="qtjzmj" |
54 | label="其它建筑面积"> | 58 | label="其它建筑面积(㎡)"> |
55 | </el-table-column> | 59 | </el-table-column> |
56 | </el-table> | 60 | </el-table> |
57 | </div> | 61 | </div> |
... | @@ -65,7 +69,8 @@ export default { | ... | @@ -65,7 +69,8 @@ export default { |
65 | props:{}, | 69 | props:{}, |
66 | data(){ | 70 | data(){ |
67 | return { | 71 | return { |
68 | tableData: [] | 72 | tableData: [], |
73 | scyclx:'0', | ||
69 | } | 74 | } |
70 | }, | 75 | }, |
71 | created(){}, | 76 | created(){}, |
... | @@ -74,6 +79,10 @@ export default { | ... | @@ -74,6 +79,10 @@ export default { |
74 | }, | 79 | }, |
75 | methods:{ | 80 | methods:{ |
76 | 81 | ||
82 | scyclxChange(){ | ||
83 | this.getData(); | ||
84 | }, | ||
85 | |||
77 | chFilter(row, column){ | 86 | chFilter(row, column){ |
78 | if(row.ch === 0){ | 87 | if(row.ch === 0){ |
79 | return '' | 88 | return '' |
... | @@ -91,8 +100,8 @@ export default { | ... | @@ -91,8 +100,8 @@ export default { |
91 | }, | 100 | }, |
92 | 101 | ||
93 | getData(){ | 102 | getData(){ |
94 | let zrzbsm = '12a4eb0cf2b527273ff5f0b96820715a'; | 103 | let zrzbsm = this.$store.state.zrzbsm; |
95 | let scyclx = '0'; | 104 | let scyclx = this.scyclx; |
96 | getDetailInfo(zrzbsm,scyclx).then((res)=>{ | 105 | getDetailInfo(zrzbsm,scyclx).then((res)=>{ |
97 | if(res.code===200){ | 106 | if(res.code===200){ |
98 | console.log(res.result) | 107 | console.log(res.result) | ... | ... |
-
Please register or sign in to post a comment