7ddb3444 by yangwei

集体建设用地使用权/房屋所有权登记簿修改

1 parent 0ee4a321
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:52:46
* @LastEditTime: 2023-08-10 16:28:55
-->
<template>
<div class="content">
......@@ -57,7 +57,7 @@
if (res.code === 200) {
this.treedata = loadTreeData(res.result, this.formData.bdcdyh);
this.$nextTick(function () {
this.defaultNode = getNode(this.formData.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, "");
this.defaultNode = getNode(this.formData.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, this.formData.bdcdylx || "");
this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点
this.loadComponent(this.defaultNode.form);
});
......@@ -95,7 +95,7 @@
</script>
<style scoped lang="scss">
/deep/.rollTable {
height: calc(100vh - 240px) !important;
height: calc(100vh - 300px) !important;
}
.content {
......@@ -115,7 +115,7 @@
width: calc(100% - 256px);
height: 704px;
// overflow-y: scroll;
overflow: auto;
// overflow: auto;
background-color: #f5f5f5;
border: 1px solid rgb(228, 228, 228);
}
......
......@@ -12,7 +12,7 @@
<div class="xxTableBox rollTable">
<!-- 固定前三个 -->
<table class="xxTable">
<tr v-for="(item, colindex) in columns" :key="colindex">
<tr v-for="(item, colindex) in columns" :class="judge(item.label) ? 'cols':''" :key="colindex">
<td>
{{ item.label }}
</td>
......@@ -46,9 +46,14 @@
{{ getQsztName(row[item.prop]) }}
</span>
<span v-else> {{ row[item.prop] }}</span>
<span v-if="item.prop !== 'qszt' && !judge(item.label)"> {{ row[item.prop] }}</span>
<div class="many" v-if="judge(item.label)">
<div v-for="(label, index) in row.djQlxxFdcqxmDoList" :key="index">
{{ label[item.prop] }}
</div>
</div>
</td>
<td v-for="count in emptycolNum" :key="~count"></td>
<td v-for="count in emptycolNum" class="empty" :key="~count"></td>
</tr>
</table>
</div>
......@@ -137,6 +142,18 @@
}
return name;
},
/**
* @description: judge
* @param {*} lable
* @author: renchao
*/
judge(label){
if ('项目名称幢号总层数规划用途用途名称批准用途实际用途房屋结构房屋结构名称建筑面积竣工时间总套数'.indexOf(label) > -1) {
return true
}else{
return false
}
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
......@@ -170,4 +187,23 @@
<style lang="scss" scoped>
@import "./qlxxCommon.scss";
.cols{
td{
.many{
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
div{
flex: 1;
border-right: 2px solid #e3e2e2;
line-height: 40px;
overflow: hidden;
}
div:last-child{
border: 0;
}
}
}
}
</style>
......
......@@ -183,7 +183,11 @@
min-width: 280px;
z-index: 1;
}
td:first-child{
flex: inherit !important;
width: 200px !important;
min-width: auto !important;
}
>tr:nth-child(odd) td {
background: #f2f2f2;
}
......