26ec19af by renchao@pashanhoo.com

style:房屋明细详情修改

1 parent 5865588c
<template>
<div class="jtfccx-edit">
<div class="jtfccx-edit-con">
<b class="title"></b>
<b class="title">房屋状况</b>
......@@ -31,17 +30,16 @@
:pagination="false">
</lb-table>
</div>
</div>
</template>
<script>
import { datas, sendThis } from "./infodata";
import { getFwmxInfo } from "@/api/jtfc.js";
export default {
import { datas, sendThis } from "./infodata";
import { getFwmxInfo } from "@/api/jtfc.js";
export default {
props: {
formData: {
type: Object,
default: () => {},
default: () => { },
},
},
data () {
......@@ -69,7 +67,7 @@ export default {
};
},
mounted () {
if(this.formData){
if (this.formData) {
this.getDetailInfo()
}
},
......@@ -79,14 +77,14 @@ export default {
* @param {*} data
* @author: renchao
*/
setResult(data){
setResult (data) {
this.resultData = data
},
/**
* @description: getDetailInfo
* @author: renchao
*/
getDetailInfo(){
getDetailInfo () {
this.$startLoading();
getFwmxInfo({ sqcxBsm: this.formData.bsmSqcx }).then((res) => {
this.$endLoading();
......@@ -96,19 +94,22 @@ export default {
})
}
}
};
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
.table1 {
@import "~@/styles/mixin.scss";
.jtfccx-edit-con {
max-height: 85vh;
overflow-y: scroll;
}
.table1 {
border-spacing: 0;
border-collapse: collapse;
width: 100%;
}
}
.table1 td {
.table1 td {
border: 1px solid #acbed1;
height: 30px;
}
}
</style>
......