26ec19af by renchao@pashanhoo.com

style:房屋明细详情修改

1 parent 5865588c
1 <template> 1 <template>
2 <div class="jtfccx-edit">
3 <div class="jtfccx-edit-con"> 2 <div class="jtfccx-edit-con">
4 <b class="title"></b> 3 <b class="title"></b>
5 <b class="title">房屋状况</b> 4 <b class="title">房屋状况</b>
...@@ -31,17 +30,16 @@ ...@@ -31,17 +30,16 @@
31 :pagination="false"> 30 :pagination="false">
32 </lb-table> 31 </lb-table>
33 </div> 32 </div>
34 </div>
35 </template> 33 </template>
36 34
37 <script> 35 <script>
38 import { datas, sendThis } from "./infodata"; 36 import { datas, sendThis } from "./infodata";
39 import { getFwmxInfo } from "@/api/jtfc.js"; 37 import { getFwmxInfo } from "@/api/jtfc.js";
40 export default { 38 export default {
41 props: { 39 props: {
42 formData: { 40 formData: {
43 type: Object, 41 type: Object,
44 default: () => {}, 42 default: () => { },
45 }, 43 },
46 }, 44 },
47 data () { 45 data () {
...@@ -69,7 +67,7 @@ export default { ...@@ -69,7 +67,7 @@ export default {
69 }; 67 };
70 }, 68 },
71 mounted () { 69 mounted () {
72 if(this.formData){ 70 if (this.formData) {
73 this.getDetailInfo() 71 this.getDetailInfo()
74 } 72 }
75 }, 73 },
...@@ -79,14 +77,14 @@ export default { ...@@ -79,14 +77,14 @@ export default {
79 * @param {*} data 77 * @param {*} data
80 * @author: renchao 78 * @author: renchao
81 */ 79 */
82 setResult(data){ 80 setResult (data) {
83 this.resultData = data 81 this.resultData = data
84 }, 82 },
85 /** 83 /**
86 * @description: getDetailInfo 84 * @description: getDetailInfo
87 * @author: renchao 85 * @author: renchao
88 */ 86 */
89 getDetailInfo(){ 87 getDetailInfo () {
90 this.$startLoading(); 88 this.$startLoading();
91 getFwmxInfo({ sqcxBsm: this.formData.bsmSqcx }).then((res) => { 89 getFwmxInfo({ sqcxBsm: this.formData.bsmSqcx }).then((res) => {
92 this.$endLoading(); 90 this.$endLoading();
...@@ -96,19 +94,22 @@ export default { ...@@ -96,19 +94,22 @@ export default {
96 }) 94 })
97 } 95 }
98 } 96 }
99 }; 97 };
100 </script> 98 </script>
101 <style scoped lang="scss"> 99 <style scoped lang="scss">
102 @import "~@/styles/mixin.scss"; 100 @import "~@/styles/mixin.scss";
103 101 .jtfccx-edit-con {
104 .table1 { 102 max-height: 85vh;
103 overflow-y: scroll;
104 }
105 .table1 {
105 border-spacing: 0; 106 border-spacing: 0;
106 border-collapse: collapse; 107 border-collapse: collapse;
107 width: 100%; 108 width: 100%;
108 } 109 }
109 110
110 .table1 td { 111 .table1 td {
111 border: 1px solid #acbed1; 112 border: 1px solid #acbed1;
112 height: 30px; 113 height: 30px;
113 } 114 }
114 </style> 115 </style>
......