f098346b by weimo934
2 parents 0317fdb6 9a4588de
......@@ -116,7 +116,7 @@ ol, ul { list-style:none; }
>.el-tabs__item{
border: 1px solid #DEDEDE;
height: 30px;
line-height: 30px;
line-height: 28px;
padding: 0 20px;
margin: 9px 10px 9px 0;
}
......@@ -128,6 +128,9 @@ ol, ul { list-style:none; }
}
}
}
.el-tabs__item{
font-size: 16px;
}
//弹框遮罩层样式
.v-modal{
opacity: .2;
......
......@@ -720,6 +720,8 @@ export default {
// height: 100%;
border-right: 1px solid #E6E6E6;
position: relative;
text-align: right;
padding-right: 10px;
.qlxz {
line-height: 34px;
}
......
......@@ -373,6 +373,8 @@ export default {
// height: 100%;
border-right: 1px solid #E6E6E6;
position: relative;
text-align: right;
padding-right: 10px;
.qlxz {
line-height: 34px;
}
......
......@@ -24,8 +24,8 @@
v-if="item.children"
class="reTree_icon"
:style="{
height: (size || 14 * 1.2) + 'px',
width: (size || 14 * 1.2) + 'px',
height: (size || 16 * 1.2) + 'px',
width: (size || 16 * 1.2) + 'px',
}"
:class="{
reTree_default_icon: item.children.length === 0,
......@@ -37,8 +37,8 @@
v-if="item.children==null"
class="reTree_icon reTree_expand_icon"
:style="{
height: (size || 14 * 1.2) + 'px',
width: (size || 14 * 1.2) + 'px',
height: (size || 16 * 1.2) + 'px',
width: (size || 16 * 1.2) + 'px',
}"
></div>
<div
......@@ -46,7 +46,7 @@
@contextmenu.prevent="openMenu($event, item,list)"
:class="{
active_color: item.expand,
curPage:$route.query.bsm==item.bsm
curPage:$route.query.bsm && $route.query.bsm==item.bsm
}"
>
<img class="qsztImg" v-if="item.qszt=='0'" :src="linshi"/>
......@@ -83,7 +83,7 @@ export default {
},
size: {
type: Number,
default: 14,
default: 16,
},
visible: {
type: Boolean,
......@@ -174,7 +174,7 @@ export default {
}
},
// 左键双击事件
dbclick(item) {
dbclick(item,) {
clearTimeout(this.time);
//此处不要将$router移到if的外面,因为可能是双击行政区,就不知道去哪儿了
if (item.type == 'zd') {
......@@ -342,8 +342,8 @@ export default {
content: "";
position: absolute;
/* 为了触顶 */
top: -14px;
height: calc(100% + 14px);
top: -16px;
height: calc(100% + 16px);
width: 1px;
left: 7px;
opacity: .5;
......@@ -355,7 +355,7 @@ export default {
content: "";
position: absolute;
height: 23px;
top: -14px;
top: -16px;
width: 1px;
left: 7px;
opacity: .5;
......@@ -401,7 +401,7 @@ export default {
background-size: contain;
}
.qsztImg{
width: 14px;
width: 16px;
position: relative;
top: 1px;
}
......
<template>
<div
class="content column-start-center reTree_box"
:style="{ fontSize: (size || 14) + 'px', lineHeight: (size || 14) + 'px', width: (islpb ? '200':'374') + 'px' }"
:style="{ fontSize: (size || 16) + 'px', lineHeight: (size || 16) + 'px', width: (islpb ? '200':'374') + 'px' }"
>
<div
class="column-start-center basic_layer"
......@@ -19,8 +19,8 @@
<div
class="reTree_icon"
:style="{
height: (size || 14 * 1.2) + 'px',
width: (size || 14 * 1.2) + 'px',
height: (size || 16 * 1.2) + 'px',
width: (size || 16 * 1.2) + 'px',
}"
:class="{
reTree_default_icon: item.children.length === 0,
......@@ -129,7 +129,7 @@ export default {
pd: {},
size: {
type: Number,
default: 14,
default: 16,
},
islpb:{
type: Boolean,
......@@ -730,8 +730,8 @@ export default {
content: "";
position: absolute;
/* 为了触顶 */
top: -14px;
height: calc(100% + 14px);
top: -16px;
height: calc(100% + 16px);
width: 1px;
left: 9px;
background: #c3c5c8;
......@@ -741,7 +741,7 @@ export default {
content: "";
position: absolute;
height: 23px;
top: -14px;
top: -16px;
width: 1px;
left: 9px;
background: #c3c5c8;
......
......@@ -287,7 +287,7 @@ export default {
}
},
cadFileSuccess(response, file, fileList){
debugger
},
excelFileSuccess(response, file, fileList){
var self = this;
......
......@@ -248,6 +248,8 @@ export default {
this.getRightTreeByZrzbsm(this.$store.state.zrzbsm)
}else if(this.$route.path == '/zd'){
this.getRightTree(this.$store.state.zdbsm)
}else if(this.$route.path == '/dz'){
this.getRightTreeByDzbsm(this.$store.state.dzbsm)
}else{
this.getTreeList();
}
......@@ -468,7 +470,7 @@ export default {
cursor: pointer;
height: 60px;
padding: 0 30px;
font-size: 16px;
font-size: 18px;
line-height: 60px;
float: left;
position: relative;
......
......@@ -37,16 +37,9 @@
</tr>
<tr height="30">
<td colspan="2" align="center" >房屋类型</td>
<td colspan="2" align="center" >共有土地面积(㎡)</td>
<td colspan="4" >
<el-select class="formSelect" v-model="form.fwlxbsm" placeholder="请选择" >
<el-option
v-for="item in $store.state.fwlxList"
:key="item.bsm"
:label="item.mc"
:value="item.bsm">
</el-option>
</el-select>
<input class="formInput" v-model="form.zdmj">
</td>
<td colspan="2" align="center" >竣工日期</td>
<td colspan="4" >
......@@ -59,6 +52,10 @@
</tr>
<tr height="30">
<td colspan="2" align="center" >分摊土地面积(㎡)</td>
<td colspan="4" >
<input class="formInput" v-model="form.fttdsymj">
</td>
<td colspan="2" align="center" >产别</td>
<td colspan="4" >
<el-select class="formSelect" v-model="form.fwcbbsm" placeholder="请选择" >
......@@ -70,6 +67,13 @@
</el-option>
</el-select>
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >多幢独用土地面积(㎡)</td>
<td colspan="4" >
<input class="formInput" v-model="form.dlsytdmj">
</td>
<td colspan="2" align="center" >产权来源</td>
<td colspan="4" >
<el-select class="formSelect" v-model="form.fwcqlybsm" placeholder="请选择" >
......@@ -96,6 +100,7 @@
<td colspan="3" align="center" >
<el-select-tree style="width:100%"
v-if="show"
@change="updateSjfyyt(item1)"
:default-expand-all="defaultExpandAll"
:multiple="multiple"
:placeholder="placeholder"
......@@ -124,21 +129,6 @@
</td>
</tr>
<tr height="30">
<td colspan="2" align="center" >共有土地面积(㎡)</td>
<td colspan="2" >
<input class="formInput" v-model="form.zdmj">
</td>
<td colspan="2" align="center" >分摊土地面积(㎡)</td>
<td colspan="2" >
<input class="formInput" v-model="form.fttdsymj">
</td>
<td colspan="2" align="center" >多幢独用土地面积(㎡)</td>
<td colspan="2" >
<input class="formInput" v-model="form.dlsytdmj">
</td>
</tr>
<tr>
<td colspan="12" align="center">
<Qlxz ref="qlxzModule" :hasSyqx='false' :formData="form"></Qlxz>
......@@ -450,6 +440,11 @@
}
})
},
updateSjfyyt(data){
data.fwsjytbsm = data.fwytzdbsm;
},
open() {
this.$confirm('已经存在不动产单元号或者自然幢号, 是否继续?', '提示', {
confirmButtonText: '确定',
......@@ -497,7 +492,17 @@
this.getDzDetailByBsm(this.$route.query.bsm)
}
},
computed: {
dzbsm() {
return this.$route.query.bsm;
},
},
watch:{
dzbsm:function (val) {
this.getDzDetailByBsm(val)
},
"$store.state.sxdrType": {
handler(n) {
this.$nextTick(()=>{
......
......@@ -64,8 +64,8 @@
<!-- <th class="xzzxx">幢信息</th> -->
<!-- <th class="">选择</th> -->
</tr>
<template v-for="(item,index) in zdFghData.newZdlist">
<tr :key="item.xzqbsm">
<template v-for="(item,index) in zdFghData.newZdlist" >
<tr :key="index">
<td class="cz" rowspan="2">
<el-button
type="primary"
......@@ -129,7 +129,7 @@
<input type="text" v-model="item.xmmc" class="formInput"/>
</td>
</tr>
<tr :key="index">
<tr :key="index+100">
<td colspan="6">
<div class="fghzxx">
<div class="choosedZxx">
......@@ -699,21 +699,21 @@
changeXzq(id, index) {
this.djq = [];
this.djzq = [];
getListByXzqbsm(id)
.then((res) => {
if (res.result == null) {
this.djq = null;
} else {
this.djq = res.result;
}
})
.catch((error) => {
});
if (index !== undefined) {
switch (this.tabName) {
case "zd":
this.zdFghData.newZdlist[index].djqbsm = '';
this.zdFghData.newZdlist[index].djzqbsm = '';
getListByXzqbsm(id)
.then((res) => {
if (res.result == null) {
this.djq = null;
} else {
this.djq = res.result;
}
})
.catch((error) => {
});
break;
case "dz":
//to do
......@@ -900,7 +900,7 @@
> .el-tabs__item {
border: 1px solid #DEDEDE;
height: 36px;
line-height: 36px;
line-height: 32px;
padding: 0 20px;
margin: 9px 10px 9px 0;
background-color: #ffffff;
......
......@@ -497,7 +497,7 @@
> .el-tabs__item {
border: 1px solid #DEDEDE;
height: 36px;
line-height: 36px;
line-height: 32px;
padding: 0 20px;
margin: 9px 10px 9px 0;
background-color: #ffffff;
......
......@@ -318,7 +318,7 @@ export default {
xmmc:'测试自然幢',
bdcqzh:'A12111111111111111',
dylx:'zrz',
zrzbsm:'b7162d97848b0d31d301f8d4a5b4596b'
zrzbsm:'1a94f3ab0f95ecc7137c5c3e51c15ac6'
}
]
},
......
<template>
<div class="content_box">
<el-tabs v-model="activeName" class="tabs" @tab-click="handleClick">
<el-tab-pane label="分割" name="fg"><fg></fg></el-tab-pane>
<el-tab-pane label="合并" name="hb"><hb v-if="hbLoad"></hb></el-tab-pane>
<el-tab-pane label="分割" name="fg"><fg ref="fg" v-if="fgLoad"></fg></el-tab-pane>
<el-tab-pane label="合并" name="hb"><hb ref="hb" v-if="hbLoad"></hb></el-tab-pane>
<el-tab-pane label="范围属性变更" name="fwsxbg"><fwsxbg v-if="fwsxbgLoad"></fwsxbg></el-tab-pane>
<el-tab-pane label="重新落宗" name="cxlz"><cxlz v-if="cxlzLoad"></cxlz></el-tab-pane>
</el-tabs>
......@@ -23,6 +23,7 @@ export default {
data() {
return {
activeName: "fg",
fgLoad:true,
hbLoad:false, //默认不加载合并tab
fwsxbgLoad:false, //默认不加载范围属性变更tab
cxlzLoad:false, //默认不加载重新落宗tab
......@@ -30,10 +31,19 @@ export default {
},
methods: {
handleClick(tab, event) {
console.log(tab.name);
// this.$refs.fg.$refs.isSearch = true;
if (tab.name != 'fg') {
this.fgLoad = false;
}
if (tab.name != 'hb') {
this.hbLoad = false;
}
if(!this.hbLoad){
this.hbLoad = tab.name == 'hb' ? true : false
}
if(!this.fgLoad){
this.fgLoad = tab.name == 'fg' ? true : false
}
if(!this.fwsxbgLoad){
this.fwsxbgLoad = tab.name == 'fwsxbg' ? true : false
}
......
......@@ -189,7 +189,7 @@ export default {
getLshsData(){
let _this = this;
const data = {
"bsm": "d85a274a332ad2d35c922a3a95eb154f",
"bsm": this.$store.state.zdbsm,
"type": "zd"
};
getLshs(data).then((res)=>{
......
......@@ -19,7 +19,7 @@
<th colspan="12">宗地基本信息</th>
</tr>
<tr>
<td colspan="2">行政区</td>
<td colspan="2" class="tdright">行政区</td>
<td colspan="2">
<el-select
:disabled="formData.qszt!='0'"
......@@ -36,7 +36,7 @@
</el-option>
</el-select>
</td>
<td colspan="2">地籍区</td>
<td colspan="2" class="tdright">地籍区</td>
<td colspan="2">
<el-select
class="formSelect"
......@@ -53,7 +53,7 @@
</el-option>
</el-select>
</td>
<td colspan="2">地籍子区</td>
<td colspan="2" class="tdright">地籍子区</td>
<td colspan="2">
<el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.djzqbsm">
<el-option
......@@ -67,7 +67,7 @@
</td>
</tr>
<tr>
<td colspan="2">权利类型</td>
<td colspan="2" class="tdright">权利类型</td>
<td colspan="4">
<el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.qllxbsm">
<el-option
......@@ -79,7 +79,7 @@
</el-option>
</el-select>
</td>
<td colspan="2">宗地特征码<i class="requisite">*</i></td>
<td colspan="2" class="tdright">宗地特征码<i class="requisite">*</i></td>
<td colspan="4">
<el-select class="formSelect" ref="zdtzm" :disabled="formData.qszt!='0'"
v-model="formData.zdtzmbsm">
......@@ -94,7 +94,7 @@
</td>
</tr>
<tr>
<td colspan="2">权利设定方式</td>
<td colspan="2" class="tdright">权利设定方式</td>
<td colspan="4">
<el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.qlsdfs">
<el-option
......@@ -106,7 +106,7 @@
</el-option>
</el-select>
</td>
<td colspan="2">宗地代码<i class="requisite">*</i></td>
<td colspan="2" class="tdright">宗地代码<i class="requisite">*</i></td>
<td colspan="4" class="psr">
<input :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zddm" on maxlength="19"
type="text"
......@@ -120,12 +120,12 @@
</td>
</tr>
<tr>
<td colspan="2">地籍号</td>
<td colspan="2" class="tdright">地籍号</td>
<td colspan="4">
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.djh"/>
</td>
<td colspan="2">不动产单元号<i class="requisite">*</i></td>
<td colspan="2" class="tdright">不动产单元号<i class="requisite">*</i></td>
<td colspan="4" class="psr">
<input
type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="bdcdyh"
......@@ -137,12 +137,12 @@
</td>
</tr>
<tr>
<td colspan="2">坐落<i class="requisite">*</i></td>
<td colspan="2" class="tdright">坐落<i class="requisite">*</i></td>
<td colspan="4">
<input type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zl"
class="formInput" v-model="formData.zl"/>
</td>
<td colspan="2">项目名称</td>
<td colspan="2" class="tdright">项目名称</td>
<td colspan="4" class="psr">
<input :disabled="formData.qszt!='0'"
type="text"
......@@ -152,7 +152,7 @@
</td>
</tr>
<tr>
<td colspan="2">国民经济行业分类</td>
<td colspan="2" class="tdright">国民经济行业分类</td>
<td colspan="4">
<!-- <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.gmjjhyflbsm">-->
<!-- <el-option-->
......@@ -176,13 +176,13 @@
v-model="formData.gmjjhyflbsm"
></el-select-tree>
</td>
<td colspan="2">价格(元)</td>
<td colspan="2" class="tdright">价格(元)</td>
<td colspan="4" class="psr">
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jg"/>
</td>
</tr>
<tr>
<td colspan="2">容积率</td>
<td colspan="2" class="tdright">容积率</td>
<td colspan="2">
<el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyrjl">
<el-option
......@@ -208,13 +208,13 @@
:class="isInterval(formData.jyrjl) ? 'formInput percent47' : 'formInput'"
/>
</td>
<td colspan="2">容积说明</td>
<td colspan="2" class="tdright">容积说明</td>
<td colspan="4" class="psr">
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.rjlsm"/>
</td>
</tr>
<tr>
<td colspan="2">建筑密度</td>
<td colspan="2" class="tdright">建筑密度</td>
<td colspan="2">
<el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyjzmd">
<el-option
......@@ -240,13 +240,13 @@
:class="isInterval(formData.jyjzmd) ? 'formInput percent47' : 'formInput'"
/>
</td>
<td colspan="2">建筑密度说明</td>
<td colspan="2" class="tdright">建筑密度说明</td>
<td colspan="4" class="psr">
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzmdsm"/>
</td>
</tr>
<tr>
<td colspan="2">建筑限高</td>
<td colspan="2" class="tdright">建筑限高</td>
<td colspan="2">
<el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyjzxg">
<el-option
......@@ -272,49 +272,49 @@
:class="isInterval(formData.jyjzxg) ? 'formInput percent47' : 'formInput'"
/>
</td>
<td colspan="2">建筑限高说明</td>
<td colspan="2" class="tdright">建筑限高说明</td>
<td colspan="4" class="psr">
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzxgsm"/>
</td>
</tr>
<tr>
<td colspan="2" rowspan="2">所在图幅号</td>
<td colspan="2">比例尺</td>
<td colspan="2" rowspan="2" class="tdright">所在图幅号</td>
<td colspan="2" class="tdright">比例尺</td>
<td colspan="8" class="psr">
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.blc"/>
</td>
</tr>
<tr>
<td colspan="2">图幅号</td>
<td colspan="2" class="tdright">图幅号</td>
<td colspan="8" class="psr">
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.tfh"/>
</td>
</tr>
<tr>
<td colspan="2" rowspan="4">宗地四至</td>
<td colspan="2">北至<i class="requisite">*</i></td>
<td colspan="2" rowspan="4" class="tdright">宗地四至</td>
<td colspan="2" class="tdright">北至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" @blur="inputBlur($event)" ref="zdszb" :disabled="formData.qszt!='0'"
class="formInput" v-model="formData.zdszb"/>
</td>
</tr>
<tr>
<td colspan="2">东至<i class="requisite">*</i></td>
<td colspan="2" class="tdright">东至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" @blur="inputBlur($event)" ref="zdszd" :disabled="formData.qszt!='0'"
class="formInput" v-model="formData.zdszd"/>
</td>
</tr>
<tr>
<td colspan="2">南至<i class="requisite">*</i></td>
<td colspan="2" class="tdright">南至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" @blur="inputBlur($event)" ref="zdszn" :disabled="formData.qszt!='0'"
class="formInput" v-model="formData.zdszn"/>
</td>
</tr>
<tr>
<td colspan="2">西至<i class="requisite">*</i></td>
<td colspan="2" class="tdright">西至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" @blur="inputBlur($event)" ref="zdszx" :disabled="formData.qszt!='0'"
class="formInput" v-model="formData.zdszx"/>
......@@ -326,38 +326,38 @@
</td>
</tr>
<tr>
<td colspan="2" rowspan="2">批准面积(㎡)</td>
<td colspan="2" rowspan="2" class="tdright">批准面积(㎡)</td>
<td colspan="2" rowspan="2">
<input type="text" :disabled="formData.qszt!='0'" onkeyup="value=value.replace(/[^\d\.]/g,'')"
class="formInput" v-model="formData.pzmj"/>
</td>
<td colspan="2" rowspan="2">宗地面积(㎡)<i class="requisite">*</i></td>
<td colspan="2" rowspan="2" class="tdright">宗地面积(㎡)<i class="requisite">*</i></td>
<td colspan="2" rowspan="2">
<input type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zdmj"
onkeyup="value=value.replace(/[^\d\.]/g,'')" class="formInput" v-model="formData.zdmj"/>
</td>
<td colspan="2">建筑占地总面积</td>
<td colspan="2" class="tdright">建筑占地总面积</td>
<td colspan="2">
<input type="text" :disabled="formData.qszt!='0'" onkeyup="value=value.replace(/[^\d\.]/g,'')"
class="formInput" v-model="formData.jzzdzmj"/>
</td>
</tr>
<tr>
<td colspan="2">建筑面积(㎡)</td>
<td colspan="2" class="tdright">建筑面积(㎡)</td>
<td colspan="2">
<input type="text" :disabled="formData.qszt!='0'" onkeyup="value=value.replace(/[^\d\.]/g,'')"
class="formInput" v-model="formData.jzzmj"/>
</td>
</tr>
<tr>
<td colspan="2">共有/共用权利人情况</td>
<td colspan="2" class="tdright">共有/共用权利人情况</td>
<td colspan="10">
<input type="text" :disabled="formData.qszt!='0'" class="formInput"
v-model="formData.gygyqlrqk"/>
</td>
</tr>
<tr>
<td colspan="2" rowspan="2">说明</td>
<td colspan="2" class="tdright" rowspan="2">说明</td>
<td colspan="10" rowspan="2">
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.sm"/>
</td>
......@@ -982,6 +982,11 @@
height: 36px;
border-color: #E6E6E6;
}
.tdright {
text-align: right;
padding-right: 10px;
}
/deep/ .el-input__inner {
margin: 0;
height: 36px;
......
......@@ -238,6 +238,7 @@
<el-select-tree
v-if="show"
:default-expand-all="defaultExpandAll"
@change="updateSjfyyt(item1)"
:multiple="multiple"
:placeholder="placeholder"
:disabled="disableFlag"
......@@ -546,6 +547,11 @@
}
})
},
updateSjfyyt(data){
data.fwsjytbsm = data.fwytzdbsm;
},
addYtInfo(){
this.form.fwytList.push({
glbsm:'',
......
......@@ -84,6 +84,7 @@
<!-- 循环逻辑幢下的层户 -->
<div
class="ljz-ch"
ref="ljzDlch"
:style="{ height: 'auto' }"
v-if="ljzs.cs.length > 0"
>
......@@ -196,6 +197,7 @@
<!-- <template > -->
<div
class="zdy column-reverse"
ref="zrzDlch"
:style="{ 'min-height': cHeight + 'px' }"
>
<table
......@@ -307,7 +309,7 @@
<el-form :model="fgData">
<el-form-item label="分割户数" required="" :label-width="formLabelWidth">
<el-input
:disabled="fgData.fghs!=''"
:disabled="fgData.fgfx!=0"
v-model="fgData.fghs"
autocomplete="off"
></el-input>
......@@ -472,6 +474,11 @@ export default {
this.ljzWidth += item.offsetWidth + 20;
});
} else {
if (this.$refs.ljzDlch != undefined) {
this.$refs.ljzDlch.forEach((item) => {
this.ljzWidth += item.offsetWidth + 20;
});
}
}
//计算独立幢单元和独立层户宽度
//考虑this.$refs.zdy的length为0的情况,即自然幢下没有独立幢单元
......@@ -500,10 +507,8 @@ export default {
}
} else {
//有且仅有独立层户
if (this.$refs.hBsm != undefined) {
this.$refs.hBsm.forEach((item) => {
this.zdyWidth += item.offsetWidth + 21;
});
if (this.$refs.zrzDlch != undefined) {
this.zdyWidth = this.$refs.zrzDlch.offsetWidth+20;
}
}
......@@ -538,7 +543,7 @@ export default {
});
}
} else {
// this.zdyWidth = 124;
}
},
//户单击事件
......@@ -634,10 +639,18 @@ export default {
//分割
this.lpbChVisible = true;
this.fgData.oldbsm = item.bsm;
console.log(item,'item');
//判断户的实际sjcs为1,只能水平分割
this.fgData.fgfx = item.sjcs == 1 ? 0 : 1;
//判断户的实际sjhs不为1,分割户数为sjhs的值
this.fgData.fghs = item.sjhs == 1 ? '' : item.sjhs;
if(item.sjcs == 1){
//判断户的实际sjcs为1,只能水平分割
this.fgData.fgfx = 0;
this.fgData.fghs = '';
}else{
this.fgData.fgfx = 1;
//判断户的实际sjhs不为1,分割户数为sjhs的值
this.fgData.fghs = item.sjcs;
}
}
}else{
console.log(e, "e");
......@@ -795,6 +808,7 @@ export default {
if(res.code == 200){
Message.success('分割成功');
// 清除选中户
this.hfgDialogVisible = false
this.clearChoosedH();
this.fghbChoosedList = [];
// 更新楼盘表
......
......@@ -7,41 +7,41 @@
<th colspan="12">自然幢基本信息</th>
</tr>
<tr>
<td colspan="2">宗地代码</td>
<td colspan="2" class="tdright">宗地代码</td>
<td colspan="4" style="min-width:450px">
<input v-model="form.zddm" class="formInput" disabled>
<input v-show="false" :disabled="form.qszt!='0'" maxlength="19" class="formInput" v-model="form.zdbsm">
</td>
<td colspan="2" >自然幢号<i class="requisite">*</i></td>
<td colspan="2" class="tdright">自然幢号<i class="requisite">*</i></td>
<td colspan="4" class="psr">
<input class="formInput percent80" ref="zrzh" @blur="inputBlur($event)" :disabled="form.qszt!='0'" maxlength="24" v-model="form.zrzh">
<el-button @click.prevent="generatorCode" type="warning" class="createBtn" size="mini">生成</el-button>
</td>
</tr>
<tr>
<td colspan="2" >项目名称<i class="requisite">*</i></td>
<td colspan="2" class="tdright">项目名称<i class="requisite">*</i></td>
<td colspan="4" >
<input class="formInput " ref="xmmc" @blur="inputBlur($event)" :disabled="form.qszt!='0'" v-model="form.xmmc">
</td>
<td colspan="2" >不动产单元号<i class="requisite">*</i></td>
<td colspan="2" class="tdright">不动产单元号<i class="requisite">*</i></td>
<td colspan="4">
<input class="formInput " ref="bdcdyh" @blur="inputBlur($event)" :disabled="form.qszt!='0'" maxlength="28" v-model="form.bdcdyh">
</td>
</tr>
<tr>
<td colspan="2" >建筑物名称</td>
<td colspan="2" class="tdright">建筑物名称</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.jzwmc">
</td>
<td colspan="2" >建筑物基本用途</td>
<td colspan="2" class="tdright">建筑物基本用途</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.jzwjbyt">
</td>
</tr>
<tr>
<td colspan="2" >房屋性质<i class="requisite">*</i></td>
<td colspan="2" class="tdright">房屋性质<i class="requisite">*</i></td>
<td colspan="4" >
<el-select class="formSelect" ref="fwxz" :disabled="form.qszt!='0'" v-model="form.fwxzbsm" placeholder="请选择" >
<el-option
......@@ -52,7 +52,7 @@
</el-option>
</el-select>
</td>
<td colspan="2" >竣工日期</td>
<td colspan="2" class="tdright">竣工日期</td>
<td colspan="4" >
<el-date-picker
:disabled="form.qszt!='0'"
......@@ -62,64 +62,65 @@
</el-date-picker>
</td>
</tr>
<tr>
<td colspan="2" >建筑物高度(m)</td>
<tr>
<td colspan="2" class="tdright">地下层数</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.jzwgd">
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.dxcs">
</td>
<td colspan="2" >总套</td>
<td colspan="2" class="tdright">地上层</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zts">
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.dscs">
</td>
</tr>
<tr>
<td colspan="2" >幢用地面积(㎡)</td>
<td colspan="2" class="tdright">总层数</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zydmj">
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zcs">
</td>
<td colspan="2" >幢占用地面积(㎡)</td>
<td colspan="2" class="tdright">总套数</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zzdmj">
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zts">
</td>
</tr>
</tr>
<tr>
<td colspan="2" >预测建筑面积(㎡)</td>
<td colspan="2" class="tdright">建筑物高度(m)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.ycjzmj">
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.jzwgd">
</td>
<td colspan="2" >实测建筑面积(㎡)</td>
<td colspan="2" class="tdright">地下深度(m)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.scjzmj">
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.dxsd">
</td>
</tr>
<tr>
<td colspan="2" >地下层数</td>
<td colspan="2" class="tdright">幢用地面积(㎡)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.dxcs">
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zydmj">
</td>
<td colspan="2" >地上层数</td>
<td colspan="2" class="tdright">幢占用地面积(㎡)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.dscs">
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zzdmj">
</td>
</tr>
<tr>
<td colspan="2" >总层数</td>
<td colspan="2" class="tdright">预测建筑面积(㎡)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.zcs">
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.ycjzmj">
</td>
<td colspan="2" >地下深度(m)</td>
<td colspan="2" class="tdright">实测建筑面积(㎡)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.dxsd">
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.scjzmj">
</td>
</tr>
<tr>
<td colspan="2" >产别</td>
<td colspan="2" class="tdright">产别</td>
<td colspan="4" >
<el-select v-model="form.fwcbbsm" :disabled="form.qszt!='0'" placeholder="请选择" >
<el-option
......@@ -130,7 +131,7 @@
</el-option>
</el-select>
</td>
<td colspan="2" >产权来源</td>
<td colspan="2" class="tdright">产权来源</td>
<td colspan="4" >
<el-select v-model="form.fwcqlybsm" :disabled="form.qszt!='0'" placeholder="请选择" >
<el-option
......@@ -157,6 +158,7 @@
<el-select-tree style="width:100%"
ref="ghyt"
v-if="show"
@change="updateSjfyyt(item1)"
:default-expand-all="defaultExpandAll"
:multiple="multiple"
:placeholder="placeholder"
......@@ -181,7 +183,7 @@
:props="treeProps"
:check-strictly="checkStrictly"
:clearable="clearable"
v-model="item1.fwytzdbsm"
v-model="item1.fwsjytbsm"
></el-select-tree>
</td>
</tr>
......@@ -214,7 +216,7 @@
</tr>
<tr>
<td colspan="2" >
<td colspan="2" class="tdright">
<span>坐落<i class="requisite">*</i></span>
</td>
<td colspan="10" >
......@@ -223,7 +225,7 @@
</tr>
<tr>
<td colspan="2" rowspan="2" >
<td colspan="2" rowspan="2" class="tdright">
<span>附加说明</span>
</td>
<td colspan="10" rowspan="2" >
......@@ -234,7 +236,7 @@
</tr>
<tr>
<td colspan="2" rowspan="2" >
<td colspan="2" rowspan="2" class="tdright">
<span>调查意见</span>
</td>
<td colspan="10" >
......@@ -243,13 +245,13 @@
</tr>
<tr>
<td colspan="4" rowspan="2">
<td colspan="4" rowspan="2" class="tdright">
<span>审查员</span>
</td>
<td colspan="2" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.scy">
</td>
<td colspan="2">
<td colspan="2" class="tdright">
<span>审查日期</span>
</td>
<td colspan="2" >
......@@ -402,6 +404,11 @@
},
mixins:[geoUtils],
methods: {
updateSjfyyt(data){
data.fwsjytbsm = data.fwytzdbsm;
},
registerCall(){
let data={
type:'zrz',
......@@ -813,7 +820,12 @@
td {
text-align: center;
height: 36px;
}
}
.tdright {
text-align: right;
padding-right: 10px;
}
/deep/ .el-input__inner {
margin: 0;
height: 36px;
......