5a5ec20b by 杨威
2 parents 69bd0ece a9651d72
......@@ -7,41 +7,41 @@
<div class="table">
<span class="tips">分割前宗地信息</span>
<table border="1">
<tr>
<th class="xh">序号</th>
<th class="zddm">宗地代码</th>
<th class="bdcdyh">不动产单元号</th>
<th class="xmmc">项目名称</th>
<th class="bdcqzh">不动产权证号</th>
<th class="qlr">权利人</th>
<th class="zl">坐落</th>
</tr>
<tr v-if="Object.keys(bgqData)==0">
<td colspan="7">
<span class="noData">暂无数据</span>
</td>
</tr>
<tr v-else>
<td class="xh">1</td>
<td class="zddm"><input type="text" class="formInput" v-model="bgqData.zddm"
readonly="readonly"/>
</td>
<td class="bdcdyh"><input type="text" class="formInput" v-model="bgqData.bdcdyh"
readonly="readonly"/>
</td>
<td class="xmmc"><input type="text" class="formInput" v-model="bgqData.xmmc"
readonly="readonly"/>
</td>
<td class="bdcqzh"><input type="text" class="formInput" v-model="bgqData.bdcqzh"
readonly="readonly"/>
</td>
<td class="qlr"><input type="text" class="formInput" v-model="bgqData.qlr"
readonly="readonly"/>
</td>
<td class="zl"><input type="text" class="formInput" v-model="bgqData.zl"
readonly="readonly"/></td>
</tr>
</table>
<tr>
<th class="xh">序号</th>
<th class="zddm">宗地代码</th>
<th class="bdcdyh">不动产单元号</th>
<th class="xmmc">项目名称</th>
<th class="bdcqzh">不动产权证号</th>
<th class="qlr">权利人</th>
<th class="zl">坐落</th>
</tr>
<tr v-if="Object.keys(bgqData)==0">
<td colspan="7">
<span class="noData">暂无数据</span>
</td>
</tr>
<tr v-else>
<td class="xh">1</td>
<td class="zddm"><input type="text" class="formInput" v-model="bgqData.zddm"
readonly="readonly"/>
</td>
<td class="bdcdyh"><input type="text" class="formInput" v-model="bgqData.bdcdyh"
readonly="readonly"/>
</td>
<td class="xmmc"><input type="text" class="formInput" v-model="bgqData.xmmc"
readonly="readonly"/>
</td>
<td class="bdcqzh"><input type="text" class="formInput" v-model="bgqData.bdcqzh"
readonly="readonly"/>
</td>
<td class="qlr"><input type="text" class="formInput" v-model="bgqData.qlr"
readonly="readonly"/>
</td>
<td class="zl"><input type="text" class="formInput" v-model="bgqData.zl"
readonly="readonly"/></td>
</tr>
</table>
</div>
<div class="fgh">
<span class="tips">分割后宗地信息</span>
......@@ -56,13 +56,14 @@
<th class="xmmc">项目名称</th>
<th class="zxx">幢信息</th>
</tr>
<tr v-for="(item,index) in fghData.newzdlist" :key="index">
<tr v-for="(item,index) in fghData.newZdlist" :key="index">
<td class="cz">
<el-button
type="primary"
class="changeBtn outMinus addMinus"
@click="delRow(index)"
>-</el-button
type="primary"
class="changeBtn outMinus addMinus"
@click="delRow(index)"
>-
</el-button
>
</td>
<td class="xzq">
......@@ -124,12 +125,15 @@
</td>
</tr>
<tr>
<td><el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="addRow"
>+</el-button
></td>
<td>
<el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="addRow"
>+
</el-button
>
</td>
<td></td>
<td></td>
<td></td>
......@@ -142,7 +146,7 @@
</div>
<el-dialog
v-if="fghData.newzdlist.length>0"
v-if="fghData.newZdlist.length>0"
title="提示"
:visible.sync="isopenXz"
width="50%"
......@@ -155,7 +159,7 @@
<td>幢类型</td>
<td>幢信息</td>
</tr>
<tr v-for="(item,index) in fghData.newzdlist[selectIndex].fwlist" :key="index">
<tr v-for="(item,index) in fghData.newZdlist[selectIndex].fwlist" :key="index">
<td>
<el-select v-model="item.ztype"
>
......@@ -244,13 +248,14 @@
<th class="xmmc">项目名称</th>
<th class="zxx">幢信息</th>
</tr>
<tr v-for="(item,index) in fghData.newzdlist" :key="index">
<tr v-for="(item,index) in fghData.newZdlist" :key="index">
<td class="cz">
<el-button
type="primary"
class="changeBtn outMinus addMinus"
@click="delRow(index)"
>-</el-button
type="primary"
class="changeBtn outMinus addMinus"
@click="delRow(index)"
>-
</el-button
>
</td>
<td class="xzq">
......@@ -312,7 +317,14 @@
</td>
</tr>
<tr>
<td @click="addRow">+</td>
<td>
<el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="addRow"
>+
</el-button>
</td>
<td></td>
<td></td>
<td></td>
......@@ -325,7 +337,7 @@
</div>
<el-dialog
v-if="fghData.newzdlist.length>0"
v-if="fghData.newZdlist.length>0"
title="提示"
:visible.sync="isopenXz"
:modal-append-to-body="false"
......@@ -338,7 +350,7 @@
<td>幢类型</td>
<td>幢信息</td>
</tr>
<tr v-for="(item,index) in fghData.newzdlist[selectIndex].fwlist" :key="index">
<tr v-for="(item,index) in fghData.newZdlist[selectIndex].fwlist" :key="index">
<td>
<el-select v-model="item.ztype"
>
......@@ -427,14 +439,15 @@
<th class="xmmc">项目名称</th>
<th class="zxx">幢信息</th>
</tr>
<tr v-for="(item,index) in fghData.newzdlist" :key="index">
<tr v-for="(item,index) in fghData.newZdlist" :key="index">
<td class="cz">
<el-button
type="primary"
class="changeBtn outMinus addMinus"
@click="delRow(index)"
>-</el-button
type="primary"
class="changeBtn outMinus addMinus"
@click="delRow(index)"
>-
</el-button
>
</td>
<td class="xzq">
......@@ -496,7 +509,14 @@
</td>
</tr>
<tr>
<td @click="addRow">+</td>
<td>
<el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="addRow"
>+
</el-button>
</td>
<td></td>
<td></td>
<td></td>
......@@ -509,7 +529,7 @@
</div>
<el-dialog
v-if="fghData.newzdlist.length>0"
v-if="fghData.newZdlist.length>0"
title="提示"
:visible.sync="isopenXz"
:modal-append-to-body="false"
......@@ -522,7 +542,7 @@
<td>幢类型</td>
<td>幢信息</td>
</tr>
<tr v-for="(item,index) in fghData.newzdlist[selectIndex].fwlist" :key="index">
<tr v-for="(item,index) in fghData.newZdlist[selectIndex].fwlist" :key="index">
<td>
<el-select v-model="item.ztype"
>
......@@ -558,19 +578,6 @@
</el-tab-pane>
</el-tabs>
</div>
<!-- <div class="lpb">
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="编辑楼盘" name="edit">
<bjlp></bjlp>
</el-tab-pane>
<el-tab-pane label="预览楼盘" name="preview">
<yllp></yllp>
</el-tab-pane>
<el-tab-pane label="详细信息" name="detail">
<xxxx></xxxx>
</el-tab-pane>
</el-tabs>
</div> -->
</template>
<script>
......@@ -673,8 +680,8 @@
fwlist: []
},
fghData: {
oldzdbsm: "",
newzdlist: []
oldZdbsm: "",
newZdlist: []
},
fgBoxWidth: 0,
}
......@@ -693,7 +700,7 @@
console.log(node, 'node');
console.log(node.parent, 'node.parent')
console.log(node.children, 'node.children')
this.fghData.newzdlist[this.selectIndex].fwlist.push({
this.fghData.newZdlist[this.selectIndex].fwlist.push({
zbsm: node.label,
ztype: '多幢'
}
......@@ -759,8 +766,8 @@
this.djq = [];
this.djzq = [];
if (index != undefined) {
this.fghData.newzdlist[index].djqbsm = ''
this.fghData.newzdlist[index].djzqbsm = ''
this.fghData.newZdlist[index].djqbsm = ''
this.fghData.newZdlist[index].djzqbsm = ''
}
getListByXzqbsm(id)
.then((res) => {
......@@ -776,7 +783,7 @@
changeDjq(item, index) {
this.djzq = [];
if (index != undefined) {
this.fghData.newzdlist[index].djzqbsm = ''
this.fghData.newZdlist[index].djzqbsm = ''
}
if (item == null) {
} else {
......@@ -793,7 +800,7 @@
}
},
addRow() {
this.fghData.newzdlist.push({
this.fghData.newZdlist.push({
xzqbsm: "",
djqbsm: "",
djzqbsm: "",
......@@ -810,10 +817,10 @@
});
this.changeXzq(this.checkedData.xzqbsm)
this.changeDjq(this.checkedData.djqbsm)
this.$set(this.fghData.newzdlist, this.fghData.newzdlist.length - 1, JSON.parse(JSON.stringify(this.checkedData)))
this.$set(this.fghData.newZdlist, this.fghData.newZdlist.length - 1, JSON.parse(JSON.stringify(this.checkedData)))
},
delRow(index) {
this.fghData.newzdlist.splice(index, 1)
this.fghData.newZdlist.splice(index, 1)
},
close: function () {
this.centerDialogVisible = false;
......@@ -833,7 +840,7 @@
watch: {
bgqData: {
handler: function (item) {
this.fghData.oldzdbsm = item.glbsm
this.fghData.oldZdbsm = item.glbsm
this.getJbxx(item.glbsm)
},
deep: true
......@@ -991,7 +998,7 @@
width: 100px;
}
.xzq, .djq, djzq {
.xzq, .djq, .djzq {
width: 150px;
}
</style>
......
......@@ -3,14 +3,9 @@
<el-tabs v-model="tabName" class="menu" @tab-click="handleClick">
<el-tab-pane label="宗地合并" name="zd">
<div class="hb-tabs">
<el-button type="primary" class="addBtn" @click="newAdd">新增</el-button>
<div class="header">
<span>合并后项目名称</span>
<el-input></el-input>
</div>
<div class="table">
<div class="hbq">
<span class="tips">合并前宗地信息</span>
<table border="1">
<tr>
<td class="xh">序号</td>
......@@ -28,12 +23,90 @@
</tr>
<tr v-else v-for="(item,index) in bgqData" :key="index">
<td class="xh">{{index+1}}</td>
<td class="zddm"><input type="text" class="formInput" v-model="item.zddm" readonly="readonly"/></td>
<td class="bdcdyh"><input type="text" class="formInput" v-model="item.bdcdyh" readonly="readonly"/></td>
<td class="xmmc"><input type="text" class="formInput" v-model="item.xmmc" readonly="readonly"/></td>
<td class="bdcqzh"><input type="text" class="formInput" v-model="item.bdcqzh" readonly="readonly"/></td>
<td class="qlr"><input type="text" class="formInput" v-model="item.qlr" readonly="readonly"/></td>
<td class="zl"><input type="text" class="formInput" v-model="item.zl" readonly="readonly"/></td>
<td class="zddm"><input type="text" class="formInput" v-model="item.zddm"
readonly="readonly"/></td>
<td class="bdcdyh"><input type="text" class="formInput" v-model="item.bdcdyh"
readonly="readonly"/></td>
<td class="xmmc"><input type="text" class="formInput" v-model="item.xmmc"
readonly="readonly"/></td>
<td class="bdcqzh"><input type="text" class="formInput" v-model="item.bdcqzh"
readonly="readonly"/></td>
<td class="qlr"><input type="text" class="formInput" v-model="item.qlr"
readonly="readonly"/></td>
<td class="zl"><input type="text" class="formInput" v-model="item.zl"
readonly="readonly"/></td>
</tr>
</table>
</div>
<div class="hbh">
<span class="tips">合并后宗地信息</span>
<table border="1">
<tr>
<th class="xzq">行政区</th>
<th class="djq">地籍区</th>
<th class="djzq">地籍子区</th>
<th class="syqlx">所有权类型</th>
<th class="tdtzm">土地特征码</th>
<th class="xmmc">项目名称</th>
<th class="zxx">幢信息</th>
</tr>
<tr>
<td class="xzq">
<el-select v-model="hbhData.xzqbsm" @change="changeXzq(hbhData.xzqbsm)">
<el-option
v-for="i in xzq"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="djq">
<el-select v-model="hbhData.djqbsm" @change="changeDjq(hbhData.djqbsm)">
<el-option
v-for="i in djq"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="syqlx">
<el-select v-model="hbhData.djzqbsm">
<el-option
v-for="i in djzq"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="tdtzm">
<el-select v-model="hbhData.syqlxbsm">
<el-option
v-for="i in syq"
:key="i.value"
:label="i.label"
:value="i.value"
></el-option>
</el-select>
</td>
<td class="syqlx">
<el-select v-model="hbhData.zdtzmbsm">
<el-option
v-for="i in tdtzm"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="xmmc">
<input type="text" v-model="hbhData.xmmc" class="formInput"/>
</td>
<td class="zxx">
<span class="xz">选择</span>
</td>
</tr>
</table>
</div>
......@@ -48,11 +121,8 @@
<el-tab-pane label="多幢合并" name="dz">
<div class="hb-tabs">
<el-button type="primary" class="addBtn" @click="newAdd">新增</el-button>
<div class="header">
<span>合并后项目名称</span>
<el-input></el-input>
</div>
<div class="table">
<div class="hbq">
<span class="tips">合并前宗地信息</span>
<table border="1">
<tr>
<td class="xh">序号</td>
......@@ -70,12 +140,90 @@
</tr>
<tr v-else v-for="(item,index) in bgqData" :key="index">
<td class="xh">{{index+1}}</td>
<td class="zddm"><input type="text" class="formInput" v-model="item.zddm" readonly="readonly"/></td>
<td class="bdcdyh"><input type="text" class="formInput" v-model="item.bdcdyh" readonly="readonly"/></td>
<td class="xmmc"><input type="text" class="formInput" v-model="item.xmmc" readonly="readonly"/></td>
<td class="bdcqzh"><input type="text" class="formInput" v-model="item.bdcqzh" readonly="readonly"/></td>
<td class="qlr"><input type="text" class="formInput" v-model="item.qlr" readonly="readonly"/></td>
<td class="zl"><input type="text" class="formInput" v-model="item.zl" readonly="readonly"/></td>
<td class="zddm"><input type="text" class="formInput" v-model="item.zddm"
readonly="readonly"/></td>
<td class="bdcdyh"><input type="text" class="formInput" v-model="item.bdcdyh"
readonly="readonly"/></td>
<td class="xmmc"><input type="text" class="formInput" v-model="item.xmmc"
readonly="readonly"/></td>
<td class="bdcqzh"><input type="text" class="formInput" v-model="item.bdcqzh"
readonly="readonly"/></td>
<td class="qlr"><input type="text" class="formInput" v-model="item.qlr"
readonly="readonly"/></td>
<td class="zl"><input type="text" class="formInput" v-model="item.zl"
readonly="readonly"/></td>
</tr>
</table>
</div>
<div class="hbh">
<span class="tips">合并后宗地信息</span>
<table border="1">
<tr>
<th class="xzq">行政区</th>
<th class="djq">地籍区</th>
<th class="djzq">地籍子区</th>
<th class="syqlx">所有权类型</th>
<th class="tdtzm">土地特征码</th>
<th class="xmmc">项目名称</th>
<th class="zxx">幢信息</th>
</tr>
<tr>
<td class="xzq">
<el-select v-model="hbhData.xzqbsm" @change="changeXzq(hbhData.xzqbsm)">
<el-option
v-for="i in xzq"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="djq">
<el-select v-model="hbhData.djqbsm" @change="changeDjq(hbhData.djqbsm)">
<el-option
v-for="i in djq"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="syqlx">
<el-select v-model="hbhData.djzqbsm">
<el-option
v-for="i in djzq"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="tdtzm">
<el-select v-model="hbhData.syqlxbsm">
<el-option
v-for="i in syq"
:key="i.value"
:label="i.label"
:value="i.value"
></el-option>
</el-select>
</td>
<td class="syqlx">
<el-select v-model="hbhData.zdtzmbsm">
<el-option
v-for="i in tdtzm"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="xmmc">
<input type="text" v-model="hbhData.xmmc" class="formInput"/>
</td>
<td class="zxx">
<span class="xz">选择</span>
</td>
</tr>
</table>
</div>
......@@ -89,11 +237,8 @@
<el-tab-pane label="户合并" name="h">
<div class="hb-tabs">
<el-button type="primary" class="addBtn" @click="newAdd">新增</el-button>
<div class="header">
<span>合并后项目名称</span>
<el-input></el-input>
</div>
<div class="table">
<div class="hbq">
<span class="tips">合并前宗地信息</span>
<table border="1">
<tr>
<td class="xh">序号</td>
......@@ -111,12 +256,90 @@
</tr>
<tr v-else v-for="(item,index) in bgqData" :key="index">
<td class="xh">{{index+1}}</td>
<td class="zddm"><input type="text" class="formInput" v-model="item.zddm" readonly="readonly"/></td>
<td class="bdcdyh"><input type="text" class="formInput" v-model="item.bdcdyh" readonly="readonly"/></td>
<td class="xmmc"><input type="text" class="formInput" v-model="item.xmmc" readonly="readonly"/></td>
<td class="bdcqzh"><input type="text" class="formInput" v-model="item.bdcqzh" readonly="readonly"/></td>
<td class="qlr"><input type="text" class="formInput" v-model="item.qlr" readonly="readonly"/></td>
<td class="zl"><input type="text" class="formInput" v-model="item.zl" readonly="readonly"/></td>
<td class="zddm"><input type="text" class="formInput" v-model="item.zddm"
readonly="readonly"/></td>
<td class="bdcdyh"><input type="text" class="formInput" v-model="item.bdcdyh"
readonly="readonly"/></td>
<td class="xmmc"><input type="text" class="formInput" v-model="item.xmmc"
readonly="readonly"/></td>
<td class="bdcqzh"><input type="text" class="formInput" v-model="item.bdcqzh"
readonly="readonly"/></td>
<td class="qlr"><input type="text" class="formInput" v-model="item.qlr"
readonly="readonly"/></td>
<td class="zl"><input type="text" class="formInput" v-model="item.zl"
readonly="readonly"/></td>
</tr>
</table>
</div>
<div class="hbh">
<span class="tips">合并后宗地信息</span>
<table border="1">
<tr>
<th class="xzq">行政区</th>
<th class="djq">地籍区</th>
<th class="djzq">地籍子区</th>
<th class="syqlx">所有权类型</th>
<th class="tdtzm">土地特征码</th>
<th class="xmmc">项目名称</th>
<th class="zxx">幢信息</th>
</tr>
<tr>
<td class="xzq">
<el-select v-model="hbhData.xzqbsm" @change="changeXzq(hbhData.xzqbsm)">
<el-option
v-for="i in xzq"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="djq">
<el-select v-model="hbhData.djqbsm" @change="changeDjq(hbhData.djqbsm)">
<el-option
v-for="i in djq"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="syqlx">
<el-select v-model="hbhData.djzqbsm">
<el-option
v-for="i in djzq"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="tdtzm">
<el-select v-model="hbhData.syqlxbsm">
<el-option
v-for="i in syq"
:key="i.value"
:label="i.label"
:value="i.value"
></el-option>
</el-select>
</td>
<td class="syqlx">
<el-select v-model="hbhData.zdtzmbsm">
<el-option
v-for="i in tdtzm"
:key="i.bsm"
:label="i.mc"
:value="i.bsm"
></el-option>
</el-select>
</td>
<td class="xmmc">
<input type="text" v-model="hbhData.xmmc" class="formInput"/>
</td>
<td class="zxx">
<span class="xz">选择</span>
</td>
</tr>
</table>
</div>
......@@ -132,6 +355,12 @@
</template>
<script>
import {
getAllList,
getListByXzqbsm,
getListByPbsm,
getDdicByMC
} from "./../../../../api/common";
import QueryData from './../../../../components/queryData/queryData'
export default {
......@@ -143,17 +372,84 @@
tabName: 'zd',
centerDialogVisible: false,
bgqData: [],
fgBoxWidth:0
hbhData: {},
fgBoxWidth: 0,
xzq: [],
djq: [],
djzq: [],
tdtzm: [],
syq: [
{
label: "国家所有",
value: "G",
},
{
label: "集体所有",
value: "J",
},
{
label: "土地所有权未确定或有争议",
value: "Z",
}
],
}
},
created() {
},
mounted() {
this.$nextTick(()=>{
this.getXzqList();
this.getzdtzm();
this.$nextTick(() => {
this.fgBoxWidth = this.$refs.hbBox.clientWidth;
})
},
methods: {
getzdtzm() {
getDdicByMC('宗地(宗海)特征码').then(res => {
this.tdtzm = res.result
})
},
getXzqList() {
getAllList()
.then((res) => {
this.xzq = res.result;
})
.catch((error) => {
});
},
changeXzq(id) {
this.djq = [];
this.djzq = [];
this.hbhData.djqbsm = ''
this.hbhData.djzqbsm = ''
getListByXzqbsm(id)
.then((res) => {
if (res.result == null) {
this.djq = null;
} else {
this.djq = res.result;
}
})
.catch((error) => {
});
},
changeDjq(item) {
this.djzq = [];
this.hbhData.djzqbsm = ''
if (item == null) {
} else {
getListByPbsm(item)
.then((res) => {
if (res.result == null) {
this.djzq = null;
} else {
this.djzq = res.result;
}
})
.catch((error) => {
});
}
},
handleClick(tab, event) {
console.log(tab, event);
},
......@@ -177,56 +473,57 @@
</script>
<style scoped lang="less">
.hb{
.menu{
/deep/.el-tabs__content{
position: unset;
margin-top: 62px;
overflow: visible;
}
/deep/.el-tabs__header{
position: -webkit-fixed;
position: fixed;
top: 120px;
z-index: 999;
width: 100%;
margin-bottom: 0;
border: 0;
/deep/.el-tabs__nav-scroll{
height: 50px;
box-sizing: border-box;
padding-left: 20px;
.el-tabs__active-bar{
display: none;
}
>.el-tabs__nav{
border: 0;
>.el-tabs__item{
border: 1px solid #DEDEDE;
height: 36px;
line-height: 36px;
padding: 0 20px;
margin: 9px 10px 9px 0;
background-color: #ffffff;
.hb {
.menu {
/deep/ .el-tabs__content {
position: unset;
margin-top: 62px;
overflow: visible;
}
/deep/ .el-tabs__header {
position: -webkit-fixed;
position: fixed;
top: 120px;
z-index: 999;
width: 100%;
margin-bottom: 0;
border: 0;
/deep/ .el-tabs__nav-scroll {
height: 50px;
box-sizing: border-box;
padding-left: 20px;
.el-tabs__active-bar {
display: none;
}
.is-active{
color: #006CFF;
border: 1px solid #006CFF;
> .el-tabs__nav {
border: 0;
> .el-tabs__item {
border: 1px solid #DEDEDE;
height: 36px;
line-height: 36px;
padding: 0 20px;
margin: 9px 10px 9px 0;
background-color: #ffffff;
}
.is-active {
color: #006CFF;
border: 1px solid #006CFF;
}
}
}
}
/deep/.el-tabs__nav-wrap::after{
width: 0;
/deep/ .el-tabs__nav-wrap::after {
width: 0;
}
}
}
}
}
.hb-tabs {
height: auto;
width: 100%;
position: relative;
.addBtn{
.addBtn {
position: absolute;
right: 30px;
top: -46px;
......@@ -255,18 +552,14 @@
text-align: center;
background-color: #ffffff;
}
.table{
box-sizing: border-box;
padding: 0 18px;
}
table {
margin-top: 10px;
background-color: #fff;
font-size: 14px;
width: 100%;
tr:nth-of-type(odd){
tr:nth-of-type(odd) {
background: #FAFAFA;
th{
th {
height: 36px;
}
}
......@@ -280,7 +573,7 @@
text-align: center;
cursor: text;
}
tr:hover{
tr:hover {
background-color: #F5F7FA;
}
......@@ -299,18 +592,34 @@
.noData {
color: #b2b2b2;
}
.saveBtn{
.saveBtn {
background-color: #00CACD;
border-color: #00CACD;
padding: 10px 30px;
margin-top: 8px;
}
.saveBtn:hover{
.saveBtn:hover {
background-color: rgba(0, 202, 205, .8);
border-color: rgba(0, 202, 205, .8);
border-color: rgba(0, 202, 205, .8);
}
.xh{
.xh {
width: 100px;
}
.xzq, .djq, .djzq {
width: 150px;
}
.tips {
color: #9B9B9B;
}
.hbq {
margin-top: 12px;
box-sizing: border-box;
padding: 18px;
}
.hbh {
box-sizing: border-box;
padding: 0 18px;
margin-top: 10px;
}
}
</style>
......
......@@ -41,7 +41,7 @@
class="radioBtn"
label="4"
border
@click="plcVisible"
@click="openPlC"
>批量层</el-button
>
<el-button
......@@ -238,7 +238,7 @@
<!-- 批量操作弹出框 -->
<pl-h :plh-visible="plhVisible" :bsms="bsms" @close="plhClose" @lodding="lodding"></pl-h>
<pl-zl :pl-zl-visible="plzlVisible" :bsms="bsms" @close="plZlClose" @lodding="lodding"></pl-zl>
<pl-c :plc-visible="plcVisible" :bsms="bsms" @close="plcClose" @lodding="lodding"></pl-c>
<pl-c :plc-visible="plcVisible" :bsms="cbsmList" @close="plcClose" @lodding="lodding"></pl-c>
<pl-sh :plShVisible="plShVisible" :bsms="bsms" @close="plshClose" @lodding="lodding"></pl-sh>
<h-cxlz
:h-cxlz-visble="hcxlzVisible"
......@@ -393,6 +393,13 @@ export default {
}, 100);
},
methods: {
openPlC(){
if (this.cbsmList.length <= 0) {
Message.warning("请选择层")
return
}
this.plcVisible=true
},
openPl(val){
if (this.bsms.length <= 0) {
Message.warning("请选择操作户")
......@@ -413,8 +420,7 @@ export default {
}
},
lodding(){
let zrzbsm=this.$store.state.zrzbsm;
this.$refs.lpbContent.getLpb(zrzbsm,this.syclx);
this.getlpbData();
},
hcxlzClose() {
this.hcxlzVisible = false;
......@@ -534,7 +540,7 @@ export default {
},
//户保存
hbjSaveInfo() {
this.$refs.hbj.onSave(this.bsms[this.bsms.length - 1], this.syclx);
this.$refs.hbj.onSave(this.bsms[this.bsms.length - 1], this.tabPosition);
},
//户编辑表单重置
hbjResetInfo() {
......@@ -542,7 +548,7 @@ export default {
},
//调用楼盘表信息查询接口
getlpbData() {
this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm,this.syclx);
this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm);
//改变楼盘表子组件的key值,重新渲染
this.time = new Date().getTime();
},
......