2f62c379 by weimo934

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/views/zrz/lpb/bjlp/index.vue
2 parents 4ca4142e 2f680e51
@font-face {font-family: "iconfont";
src: url('//at.alicdn.com/t/font_8d5l8fzk5b87iudi.eot?t=1501489744354'); /* IE9*/
src: url('//at.alicdn.com/t/font_8d5l8fzk5b87iudi.eot?t=1501489744354#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('//at.alicdn.com/t/font_8d5l8fzk5b87iudi.woff?t=1501489744354') format('woff'), /* chrome, firefox */
url('//at.alicdn.com/t/font_8d5l8fzk5b87iudi.ttf?t=1501489744354') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('//at.alicdn.com/t/font_8d5l8fzk5b87iudi.svg?t=1501489744354#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family:"iconfont" !important;
font-size:16px;
font-style:normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-tuichu:before { content: "\e604"; }
.icon-fanhui:before { content: "\e608"; }
.icon-facebook:before { content: "\e60e"; }
.icon-twitter:before { content: "\e60f"; }
.icon-xiangyou:before { content: "\e609"; }
.icon-right:before { content: "\e60a"; }
.icon-fanhui1:before { content: "\e60b"; }
.icon-fenxiang:before { content: "\e632"; }
.icon-xiangxia:before { content: "\e605"; }
.icon-xiangxia1:before { content: "\e606"; }
.icon-xiangxia2:before { content: "\e607"; }
.icon-suofang:before { content: "\e677"; }
.icon-chexiao:before { content: "\e688"; }
.icon-esc:before { content: "\e629"; }
.icon-chexiao1:before { content: "\e675"; }
.icon-iconfont:before { content: "\e631"; }
.icon-suoding:before { content: "\e633"; }
.icon-bianji:before { content: "\e636"; }
.icon-shoucang2:before { content: "\e638"; }
.icon-xinjian:before { content: "\e639"; }
.icon-shoucang1:before { content: "\e63a"; }
.icon-gongkai:before { content: "\e63b"; }
.icon-gouwuche1:before { content: "\e63c"; }
.icon-zhongwen:before { content: "\e63f"; }
.icon-shangchuan:before { content: "\e640"; }
.icon-yingwen:before { content: "\e641"; }
.icon-gouwuche2:before { content: "\e642"; }
.icon-shanchu:before { content: "\e643"; }
.icon-xiazai:before { content: "\e644"; }
.icon-sousuo:before { content: "\e645"; }
.icon-dashang:before { content: "\e634"; }
.icon-xiangmu:before { content: "\e635"; }
.icon-fuzhidaima1:before { content: "\e646"; }
.icon-wofaqi:before { content: "\e647"; }
.icon-xiangmuchengyuan:before { content: "\e648"; }
.icon-gengduo:before { content: "\e649"; }
.icon-wocanyu:before { content: "\e64a"; }
.icon-lishi:before { content: "\e64b"; }
.icon-piliang:before { content: "\e64c"; }
.icon-shijian:before { content: "\e64d"; }
.icon-gonggao:before { content: "\e652"; }
.icon-weixin:before { content: "\e653"; }
.icon-weibo:before { content: "\e654"; }
.icon-gerenzhanghu:before { content: "\e637"; }
.icon-tianjiachengyuan:before { content: "\e63d"; }
.icon-soutubiao:before { content: "\e63e"; }
.icon-souren:before { content: "\e655"; }
.icon-yuzhanghao:before { content: "\e656"; }
.icon-biaoqing:before { content: "\e657"; }
.icon-qq:before { content: "\e658"; }
.icon-weibo1:before { content: "\e659"; }
.icon-zuoxuan:before { content: "\e65a"; }
.icon-fangda2:before { content: "\e65b"; }
.icon-zuo2:before { content: "\e65c"; }
.icon-suoxiao:before { content: "\e65d"; }
.icon-you2:before { content: "\e65e"; }
.icon-suoxiao2:before { content: "\e65f"; }
.icon-youxuan2:before { content: "\e660"; }
.icon-zuo:before { content: "\e661"; }
.icon-zuoxuan2:before { content: "\e662"; }
.icon-shang:before { content: "\e663"; }
.icon-shang2:before { content: "\e664"; }
.icon-youxuan:before { content: "\e665"; }
.icon-xia2:before { content: "\e666"; }
.icon-fangda:before { content: "\e667"; }
.icon-xia:before { content: "\e668"; }
.icon-you:before { content: "\e669"; }
.icon-zhuanrang:before { content: "\e66a"; }
.icon-dianzan:before { content: "\e66b"; }
.icon-huifu:before { content: "\e66c"; }
.icon-saoyisao:before { content: "\e66d"; }
.icon-shuoming:before { content: "\e600"; }
.icon-jinggao:before { content: "\e601"; }
.icon-jieshi:before { content: "\e602"; }
.icon-youxiang:before { content: "\e603"; }
.icon-guanbi:before { content: "\e60c"; }
.icon-qunzhu:before { content: "\e60d"; }
.icon-fuzhichenggong:before { content: "\e611"; }
.icon-weijiaru:before { content: "\e612"; }
.icon-daishenhe:before { content: "\e613"; }
.icon-shenhetongguo:before { content: "\e614"; }
.icon-shenhejujue:before { content: "\e615"; }
.icon-xinjiantubiaoku:before { content: "\e616"; }
.icon-tubiaoku:before { content: "\e617"; }
.icon-gouwuche:before { content: "\e618"; }
.icon-huidingbu:before { content: "\e619"; }
.icon-dianzan1:before { content: "\e61a"; }
.icon-morentouxiang:before { content: "\e610"; }
.icon-paixu:before { content: "\e61b"; }
.icon-wenjian:before { content: "\e61c"; }
.icon-github:before { content: "\e61d"; }
.icon-yuzhanghao1:before { content: "\e61e"; }
.icon-weibo2:before { content: "\e61f"; }
.icon-you1:before { content: "\e620"; }
.icon-zuo1:before { content: "\e621"; }
.icon-shang1:before { content: "\e622"; }
.icon-iconfont1:before { content: "\e623"; }
.icon-gonggaodayi:before { content: "\e625"; }
.icon-gongnengjieshao:before { content: "\e626"; }
.icon-tubiaohuizhi:before { content: "\e627"; }
.icon-daimayingyong:before { content: "\e628"; }
.icon-zhifubao:before { content: "\e624"; }
.icon-alibaba:before { content: "\e62a"; }
.icon-xiaomi:before { content: "\e62b"; }
.icon-zhongguodianxin:before { content: "\e62c"; }
.icon-tianmao:before { content: "\e62d"; }
.icon-alimama:before { content: "\e62e"; }
.icon-zhubajie:before { content: "\e62f"; }
.icon-tengxunwang:before { content: "\e630"; }
.icon-aliyun:before { content: "\e64e"; }
.icon-taobaowang:before { content: "\e64f"; }
.icon-anzhuo:before { content: "\e650"; }
.icon-ios:before { content: "\e651"; }
.icon-pcduan:before { content: "\e670"; }
.icon-qingchu:before { content: "\e673"; }
.icon-huizhiguize:before { content: "\e66e"; }
.icon-zhizuoliucheng:before { content: "\e66f"; }
.icon-fuzhidaima:before { content: "\e671"; }
.icon-fankui1:before { content: "\e672"; }
.icon-weitijiao:before { content: "\e674"; }
.icon-chexiao2:before { content: "\e676"; }
\ No newline at end of file
{
"id": "2105925",
"name": "不动产项目",
"id": "2242995",
"name": "权籍系统 ICO",
"font_family": "iconfont",
"css_prefix_text": "icon",
"description": "权籍及互联网+不动产登记项目",
"description": "",
"glyphs": [
{
"icon_id": "8554264",
"name": "导入CAD",
"font_class": "tubiao_daoruCAD",
"unicode": "e630",
"unicode_decimal": 58928
"icon_id": "18620628",
"name": "CAD",
"font_class": "CAD",
"unicode": "e770",
"unicode_decimal": 59248
},
{
"icon_id": "18620518",
"name": "excel",
"font_class": "excel",
"unicode": "e768",
"unicode_decimal": 59240
},
{
"icon_id": "3747068",
"name": "地球",
"font_class": "diqiu1",
"unicode": "e60c",
"unicode_decimal": 58892
"icon_id": "18620520",
"name": "pdf",
"font_class": "pdf",
"unicode": "e774",
"unicode_decimal": 59252
},
{
"icon_id": "12694038",
"name": "属性管理",
"font_class": "shuxingguanli",
"unicode": "e610",
"unicode_decimal": 58896
"icon_id": "18620521",
"name": "txt",
"font_class": "txt",
"unicode": "e775",
"unicode_decimal": 59253
},
{
"icon_id": "605008",
"icon_id": "18620522",
"name": "zip",
"font_class": "uploadicon03",
"unicode": "e71a",
"unicode_decimal": 59162
"font_class": "zip",
"unicode": "e776",
"unicode_decimal": 59254
},
{
"icon_id": "13254178",
"name": "cad-fill",
"font_class": "cad-fill",
"unicode": "e7d8",
"unicode_decimal": 59352
"icon_id": "18620523",
"name": "导入CAD",
"font_class": "daoruCAD",
"unicode": "e777",
"unicode_decimal": 59255
},
{
"icon_id": "2325940",
"name": "文本文档",
"font_class": "wenbenwendang",
"unicode": "e645",
"unicode_decimal": 58949
"icon_id": "18618421",
"name": "地图",
"font_class": "ditu",
"unicode": "e772",
"unicode_decimal": 59250
},
{
"icon_id": "14476526",
"name": "excel",
"font_class": "excel",
"unicode": "e66e",
"unicode_decimal": 58990
"icon_id": "18618422",
"name": "信息",
"font_class": "xinxi",
"unicode": "e773",
"unicode_decimal": 59251
},
{
"icon_id": "2676724",
"name": "放大",
"font_class": "fangda",
"unicode": "e6de",
"unicode_decimal": 59102
"icon_id": "18618397",
"name": "添加",
"font_class": "tianjia",
"unicode": "e771",
"unicode_decimal": 59249
},
{
"icon_id": "9655540",
"name": "缩小",
"font_class": "suoxiao",
"unicode": "e66d",
"unicode_decimal": 58989
"icon_id": "18605314",
"name": "测距",
"font_class": "ceju",
"unicode": "e769",
"unicode_decimal": 59241
},
{
"icon_id": "430199",
"name": "面测量",
"font_class": "mianceliang",
"unicode": "e90f",
"unicode_decimal": 59663
"icon_id": "18605315",
"name": "测面积",
"font_class": "cemianji",
"unicode": "e76a",
"unicode_decimal": 59242
},
{
"icon_id": "1177695",
"name": "打印 (1)",
"font_class": "dayin1",
"unicode": "e665",
"unicode_decimal": 58981
"icon_id": "18605316",
"name": "查询属性",
"font_class": "chaxunshuxing",
"unicode": "e76b",
"unicode_decimal": 59243
},
{
"icon_id": "1719347",
"name": "地球",
"font_class": "diqiu",
"unicode": "e7b9",
"unicode_decimal": 59321
"icon_id": "18605317",
"name": "拉框缩小",
"font_class": "lakuangsuoxiao",
"unicode": "e76c",
"unicode_decimal": 59244
},
{
"icon_id": "5650846",
"name": "测距",
"font_class": "ceju",
"unicode": "e604",
"unicode_decimal": 58884
"icon_id": "18605318",
"name": "清除",
"font_class": "qingchu",
"unicode": "e76d",
"unicode_decimal": 59245
},
{
"icon_id": "18605319",
"name": "全图",
"font_class": "quantu",
"unicode": "e76e",
"unicode_decimal": 59246
},
{
"icon_id": "18605320",
"name": "拉框放大",
"font_class": "lakuangfangda",
"unicode": "e76f",
"unicode_decimal": 59247
},
{
"icon_id": "18593403",
"name": "批量单元号",
"font_class": "piliangdanyuanhao",
"unicode": "e75d",
"unicode_decimal": 59229
},
{
"icon_id": "18593404",
"name": "创建楼盘",
"font_class": "chuangjianloupan",
"unicode": "e75e",
"unicode_decimal": 59230
},
{
"icon_id": "18593405",
"name": "批量层",
"font_class": "piliangceng",
"unicode": "e75f",
"unicode_decimal": 59231
},
{
"icon_id": "18593406",
"name": "批量户",
"font_class": "pilianghu",
"unicode": "e760",
"unicode_decimal": 59232
},
{
"icon_id": "18593407",
"name": "批量坐落",
"font_class": "piliangzuola",
"unicode": "e761",
"unicode_decimal": 59233
},
{
"icon_id": "18593408",
"name": "批量室号",
"font_class": "piliangshihao",
"unicode": "e762",
"unicode_decimal": 59234
},
{
"icon_id": "18593409",
"name": "实预测转换",
"font_class": "shiyucezhuanhuan",
"unicode": "e763",
"unicode_decimal": 59235
},
{
"icon_id": "18593370",
"name": "首页",
"font_class": "shouye",
"unicode": "e75c",
"unicode_decimal": 59228
},
{
"icon_id": "18590441",
"name": "办理",
"font_class": "banli",
"unicode": "e75a",
"unicode_decimal": 59226
},
{
"icon_id": "18590442",
"name": "定位",
"font_class": "dingwei",
"unicode": "e75b",
"unicode_decimal": 59227
},
{
"icon_id": "18587822",
"name": "搜索",
"font_class": "sousuo",
"unicode": "e753",
"unicode_decimal": 59219
},
{
"icon_id": "18587823",
"name": "变更",
"font_class": "biangeng",
"unicode": "e754",
"unicode_decimal": 59220
},
{
"icon_id": "18587824",
"name": "缩进",
"font_class": "suojin",
"unicode": "e755",
"unicode_decimal": 59221
},
{
"icon_id": "18587825",
"name": "展开",
"font_class": "zhankai",
"unicode": "e756",
"unicode_decimal": 59222
},
{
"icon_id": "18587826",
"name": "更正",
"font_class": "gengzheng",
"unicode": "e757",
"unicode_decimal": 59223
},
{
"icon_id": "18587827",
"name": "新建",
"font_class": "xinjian",
"unicode": "e758",
"unicode_decimal": 59224
},
{
"icon_id": "15736919",
"name": "属性",
"font_class": "shuxing",
"unicode": "e62a",
"unicode_decimal": 58922
"icon_id": "18587828",
"name": "综合查询",
"font_class": "zonghechaxun",
"unicode": "e759",
"unicode_decimal": 59225
}
]
}
......
......@@ -140,6 +140,9 @@ ol, ul { list-style:none; }
.el-dialog__body{
padding-bottom: 25px!important;
}
.el-dialog__header{
border-bottom: 1px solid #F1F1F1;
}
// 自定义右键菜单样式
.contextmenu {
margin: 0;
......@@ -218,4 +221,25 @@ ol, ul { list-style:none; }
border: 1px solid #FA6400!important;
background-color: #fff!important;
color: #FA6400!important;
}
.import{
background-color: #00CACD!important;
border-color: #00CACD!important;
}
.cancel{
background-color: #F79700!important;
border-color: #F79700!important;
}
.creat{
background-color: #0091FF!important;
border-color: #0091FF!important;
}
.import:hover:focus{
opacity: .8!important;
}
.cancel:hover:focus{
opacity: .8!important;
}
.creat:hover:focus{
opacity: .8!important;
}
\ No newline at end of file
......
......@@ -134,7 +134,7 @@
type="text"
style="top: -1px;"
:disabled="formData.qszt!='0'"
placeholder="请输入"
v-model="childItem.pzytdm"
class="formInput"
/>
......@@ -143,7 +143,7 @@
<input
type="text"
:disabled="formData.qszt!='0'"
placeholder="请输入"
v-model="childItem.sjytdm"
class="formInput"
/>
......@@ -152,7 +152,7 @@
<input
type="text"
:disabled="formData.qszt!='0'"
placeholder="请输入"
v-model="childItem.syqx"
class="formInput"
/>
......
......@@ -130,7 +130,7 @@
<input
type="text"
style="top: -1px;"
placeholder="请输入"
v-model="childItem.pzytdm"
class="formInput"
/>
......@@ -138,7 +138,7 @@
<li>
<input
type="text"
placeholder="请输入"
v-model="childItem.sjytdm"
class="formInput"
/>
......
......@@ -89,15 +89,15 @@
<li v-show="zdData.type == 'zrz'" @click="openLpbDialog('ljz')">添加逻辑幢</li>
<li v-show="zdData.type == 'zrz' || zdData.type == 'ljz'" @click="openLpbDialog('zdy')">添加幢单元</li>
<li v-show="zdData.type == 'zrz' || zdData.type == 'ljz' || zdData.type == 'zdy'" @click="openLpbDialog('ch')">添加层户</li>
<li v-show="zdData.type == 'ljz'" @click="deleteLjz">删除逻辑幢</li>
<li v-show="zdData.type == 'zdy'" @click="deleteZdy">删除幢单元</li>
<li v-show="zdData.type == 'ljz'" @click="deleteLjz">删除</li>
<li v-show="zdData.type == 'zdy'" @click="deleteZdy">删除</li>
</ul>
<el-dialog title="导入图形" :visible.sync="improtDialog">
<import-geo :property-info="zdData" :geo-info="currentClickZdGeo" @closeImportDialog="closeImportDialog"></import-geo>
</el-dialog>
<!-- 添加定着物弹框 -->
<el-dialog title="新建" :visible.sync="dialogVisible" width="40%">
<el-dialog title="新建" :visible.sync="dialogVisible" width="48%">
<Create @closeDialog="closeDialog" :auth="true"></Create>
</el-dialog>
</div>
......
......@@ -18,8 +18,8 @@
<el-header>
<div class="header-top">
<div class="top-items" @click="toggleClick">
<i class="fa fa-outdent" v-show="!isActive"></i>
<i class="fa fa-indent" v-show="isActive"></i>
<i class="iconfont iconsuojin" v-show="!isActive"></i>
<i class="iconfont iconzhankai" v-show="isActive"></i>
</div>
<div
class="top-items"
......@@ -33,14 +33,14 @@
</div>
<div class="top-items tuOrShu" >
<i class="iconfont icondiqiu1" title="图形管理" v-if="!isMap" @click="goMap"></i>
<i class="iconfont iconshuxingguanli" title="属性管理" v-else @click="goBack"></i>
<i class="iconfont iconditu" title="图形管理" v-if="!isMap" @click="goMap"></i>
<i class="iconfont iconxinxi" title="属性管理" v-else @click="goBack"></i>
</div>
</div>
<!-- <div class="header-bottom">
<Navigation ref="navigation"></Navigation>
</div> -->
<el-dialog title="新建" :visible.sync="dialogVisible" width="40%">
<el-dialog title="新建" :visible.sync="dialogVisible" width="48%">
<Create @closeDialog="closeDialog" :auth="false"></Create>
</el-dialog>
</el-header>
......@@ -188,28 +188,28 @@ export default {
let list = [
{
name: "首页",
icon: "fa fa-home",
icon: "iconfont iconshouye",
path: "/panel",
},
{
name: "新建",
icon: "fa fa-plus-square",
icon: "iconfont iconxinjian",
path: "/create",
},
{
name: "添加",
icon: "fa fa-plus-circle",
icon: "iconfont icontianjia",
path: "/add",
},
{ name: "更正", icon: "fa fa-pencil-square", path: "/modify" },
{ name: "更正", icon: "iconfont icongengzheng", path: "/modify" },
{
name: "变更",
icon: "fa fa-exchange",
icon: "iconfont iconbiangeng",
path: "/change",
},
{
name: "综合查询",
icon: "fa fa-search",
icon: "iconfont iconzonghechaxun",
path: "/search",
},
];
......@@ -436,6 +436,9 @@ export default {
color: #4a4a4a;
i {
margin-right: 6px;
font-size: 18px;
position: relative;
top: 1px;
}
.hamburger {
font-size: 16px;
......
......@@ -209,6 +209,7 @@
import Qlxz from "../../../components/formMenu/qlxz_simple";
import {saveDzInfo,getBdcdyh,getDzDetailByBsm} from "../../../api/dz";
import {getQjZdjbxxDetailById} from "../../../api/zd"
import {submit} from "../../../api/common"
export default {
name:'zrz',
components:{
......@@ -416,6 +417,17 @@
},
onSubmit(){
console.log(this.form)
let data={
glbsm:this.bsm,
status:1,
type:"dz"
}
submit(data).then((res)=>{
if(res.code===200){
this.$message.success("提交完成!");
this.getDzDetailByBsm(this.$route.query.bsm)
}
})
},
getZddm(zdbsm){
getQjZdjbxxDetailById(zdbsm).then((res)=>{
......
......@@ -8,48 +8,56 @@
@tab-click="handleClick">
<el-tab-pane class="eltabspane" v-if="!auth" label="宗地" name="zd">
<el-form :inline="true" :rules="rules" :model="ruleForm" ref="ruleForm" class="demo-form-inline">
<el-form-item label="行政区划" required prop="xzqbsm">
<el-select v-model="ruleForm.xzqbsm" style="width:100px;" value-key="xzqbsm" placeholder="行政区" @change="changeXzq(ruleForm.xzqbsm)">
<el-option
v-for="item in xzq"
:key="item.bsm"
:label="item.mc"
:value="item.bsm">
</el-option>
</el-select>
</el-form-item>
<el-form-item prop="djqbsm">
<el-select v-model="ruleForm.djqbsm" style="width:130px;" placeholder="地籍区" @change="changeDjq(ruleForm.djqbsm)">
<el-option
v-for="item in djq"
:key="item.bsm"
:label="item.mc"
:value="item.bsm">
</el-option>
</el-select>
<el-form-item label="行政区划" class="w100" required prop="xmmc">
<el-col :span="7">
<el-form-item required prop="xzqbsm">
<el-select v-model="ruleForm.xzqbsm" value-key="xzqbsm" placeholder="行政区" @change="changeXzq(ruleForm.xzqbsm)">
<el-option
v-for="item in xzq"
:key="item.bsm"
:label="item.mc"
:value="item.bsm">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="1">&nbsp;</el-col>
<el-col :span="7">
<el-form-item prop="djqbsm">
<el-select v-model="ruleForm.djqbsm" placeholder="地籍区" @change="changeDjq(ruleForm.djqbsm)">
<el-option
v-for="item in djq"
:key="item.bsm"
:label="item.mc"
:value="item.bsm">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="1">&nbsp;</el-col>
<el-col :span="8">
<el-form-item prop="djzqbsm" style="margin-right:0">
<el-select v-model="ruleForm.djzqbsm" placeholder="地籍子区">
<el-option
v-for="item in djzq"
:key="item.bsm"
:label="item.mc"
:value="item.bsm">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-form-item>
<el-form-item prop="djzqbsm">
<el-select v-model="ruleForm.djzqbsm" style="width:150px;" placeholder="地籍子区">
<el-option
v-for="item in djzq"
:key="item.bsm"
:label="item.mc"
:value="item.bsm">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="项目名称" required prop="xmmc">
<el-form-item label="项目名称" class="w100" required prop="xmmc">
<el-input
v-model="ruleForm.xmmc"
placeholder="项目名称"
style="width:400px;"
></el-input>
</el-form-item>
<el-form-item label="所有权类型" required prop="syqlxbsm">
<el-form-item label="所有权类型" class="w100" required prop="syqlxbsm">
<el-select
v-model="ruleForm.syqlxbsm"
placeholder="所有权类型"
style="width:300px;"
>
<el-option
v-for="item in syqlx"
......@@ -60,11 +68,10 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="特征码" required prop="zdtzmbsm">
<el-form-item label="特征码" class="w100" required prop="zdtzmbsm">
<el-select
v-model="ruleForm.zdtzmbsm"
placeholder="宗地特征码"
style="width:200px;"
>
<el-option
v-for="item in $store.state.zdtzmList"
......@@ -75,16 +82,22 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item class="handleBtn">
<el-button type="primary">导入图形</el-button>
<el-button type="primary" @click="newZd">创建</el-button>
<el-button type="primary" @click="close">取消</el-button>
</el-form-item>
</el-form>
<div class="handleBtn">
<el-button type="primary" class="w98 import">导入图形</el-button>
<el-button type="primary" class="w98 creat" @click="newZd">创建</el-button>
<el-button type="primary" class="w98 cancel" @click="close">取消</el-button>
</div>
</el-tab-pane>
<el-tab-pane class="eltabspane" v-if="!auth" label="宗海" name="zh">
<div class="handleBtn">
<el-button type="primary" class="w98 import">导入图形</el-button>
<el-button type="primary" class="w98 creat" @click="todo">创建</el-button>
<el-button type="primary" class="w98 cancel" @click="close">取消</el-button>
</div>
</el-tab-pane>
<!-- <el-tab-pane class="eltabspane" v-if="!auth" label="宗海" name="zh">宗海</el-tab-pane> -->
<el-tab-pane class="eltabspane" label="自然幢" name="zrz">
<el-form :inline="true" :rules="rules1" :model="ruleForm1" ref="ruleForm1" class="zrzProject">
<el-form :inline="true" :rules="rules1" :model="ruleForm1" ref="ruleForm1" class="demo-form-inline">
<el-form-item label="项目名称" prop="xmmc">
<el-input
v-model="ruleForm1.xmmc"
......@@ -92,15 +105,15 @@
style="width:400px;"
></el-input>
</el-form-item>
<el-form-item class="handleBtn">
<el-button type="primary">导入图形</el-button>
<el-button type="primary" @click="newZrz">创建</el-button>
<el-button type="primary" @click="close">取消</el-button>
</el-form-item>
</el-form>
<div class="handleBtn">
<el-button type="primary" class="w98 import">导入图形</el-button>
<el-button type="primary" class="w98 creat" @click="newZrz">创建</el-button>
<el-button type="primary" class="w98 cancel" @click="close">取消</el-button>
</div>
</el-tab-pane>
<el-tab-pane class="eltabspane" label="多幢" name="dz">
<el-form :inline="true" :rules="rules2" :model="ruleForm2" ref="ruleForm2" class="dzProject">
<el-form :inline="true" :rules="rules2" :model="ruleForm2" ref="ruleForm2" class="demo-form-inline">
<el-form-item label="项目名称" prop="xmmc">
<el-input
v-model="ruleForm2.xmmc"
......@@ -108,15 +121,27 @@
style="width:400px;"
></el-input>
</el-form-item>
<el-form-item class="handleBtn">
<el-button type="primary">导入图形</el-button>
<el-button type="primary" @click="newDz">创建</el-button>
<el-button type="primary" @click="close">取消</el-button>
</el-form-item>
</el-form>
<div class="handleBtn">
<el-button type="primary" class="w98 import">导入图形</el-button>
<el-button type="primary" class="w98 creat" @click="newDz">创建</el-button>
<el-button type="primary" class="w98 cancel" @click="close">取消</el-button>
</div>
</el-tab-pane>
<el-tab-pane class="eltabspane" label="林权" name="lq">
<div class="handleBtn">
<el-button type="primary" class="w98 import">导入图形</el-button>
<el-button type="primary" class="w98 creat" @click="todo">创建</el-button>
<el-button type="primary" class="w98 cancel" @click="close">取消</el-button>
</div>
</el-tab-pane>
<el-tab-pane class="eltabspane" label="构筑物" name="gzw">
<div class="handleBtn">
<el-button type="primary" class="w98 import">导入图形</el-button>
<el-button type="primary" class="w98 creat" @click="todo">创建</el-button>
<el-button type="primary" class="w98 cancel" @click="close">取消</el-button>
</div>
</el-tab-pane>
<!-- <el-tab-pane class="eltabspane" label="林权" name="lq">林权</el-tab-pane>
<el-tab-pane class="eltabspane" label="构筑物" name="gzw">构筑物</el-tab-pane> -->
</el-tabs>
</template>
<script>
......@@ -324,6 +349,12 @@ export default {
});
},
todo(){
this.$message({
message: "待开发",
type: "warning",
});
},
getXzqList() {
getAllList()
.then((res) => {
......@@ -382,33 +413,65 @@ export default {
.eltabs {
height: 366px;
width: 100%;
}
.eltabspane {
height: 100%;
width: 100%;
padding: 20px;
.el-form--inline .el-form-item__label{
width: 100px;
position: relative;
margin-left: 20px;
margin-top: 20px;
.eltabspane {
height: 100%;
width: 100%;
.el-form--inline .el-form-item__label{
width: 100px;
}
.el-form-item{
margin-bottom: 20px;
}
.w100{
width: calc(100% - 40px);
.el-form-item{
margin-bottom: 0!important;
.el-form-item__content{
width: 100%;
}
}
.el-form-item__content{
width: calc(100% - 100px);
.el-select{
width: 100%;
}
}
}
.handleBtn{
width: 314;
position: absolute;
bottom: 0;
left: 50%;
margin-left: -250px;
.w98{
width: 98px;
}
}
.el-form{
margin-top: 10px;
box-sizing: border-box;
padding-left: 40px;
}
}
.el-form-item{
margin-bottom: 20px;
.el-tabs__content{
height: 100%;
}
.handleBtn{
width: 90%;
.el-form-item__content{
float: right;
}
/deep/.el-tabs__item {
font-size: 16px !important;
color: #333;
width: 140px;
height: 50px;
line-height: 50px;
text-align: center!important;
border-color: #E4E4E4!important;
}
/deep/ .is-active{
background-color: #E5F4FF;
color: #358BFF;
}
}
#tabs .el-tabs__item {
font-size: 18px !important;
color: #333;
width: 100px;
height: 60px;
line-height: 80px;
}
.zrzProject {
margin-top: 80px;
}
</style>
......
......@@ -162,7 +162,7 @@
this.$router.push({
path: path,
query: {
bsm: res.result,
bsm: row.glbsm,
source: 2
}
});
......
......@@ -108,7 +108,7 @@
<td colspan="2">宗地代码<i class="requisite">*</i></td>
<td colspan="4" class="psr">
<input :disabled="formData.qszt!='0'" maxlength="19"
type="text" placeholder="请输入"
type="text"
class="formInput percent80"
v-model="formData.zddm"
/>
......@@ -120,7 +120,7 @@
<tr>
<td colspan="2">地籍号</td>
<td colspan="4">
<input type="text" :disabled="formData.qszt!='0'" placeholder="请输入" class="formInput" v-model="formData.djh" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.djh" />
</td>
<td colspan="2">不动产单元号<i class="requisite">*</i></td>
......@@ -136,12 +136,12 @@
<tr>
<td colspan="2">坐落<i class="requisite">*</i></td>
<td colspan="4">
<input type="text" :disabled="formData.qszt!='0'" placeholder="请输入" class="formInput" v-model="formData.zl" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zl" />
</td>
<td colspan="2">项目名称</td>
<td colspan="4" class="psr">
<input :disabled="formData.qszt!='0'"
type="text" placeholder="请输入"
type="text"
class="formInput "
v-model="formData.xmmc"
/>
......@@ -162,20 +162,20 @@
</td>
<td colspan="2">价格(元)</td>
<td colspan="4" class="psr">
<input type="text" :disabled="formData.qszt!='0'" placeholder="请输入" class="formInput" v-model="formData.jg" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jg" />
</td>
</tr>
<tr>
<td colspan="2" rowspan="2">所在图幅号</td>
<td colspan="2">比例尺</td>
<td colspan="8" class="psr">
<input type="text" :disabled="formData.qszt!='0'" placeholder="请输入" class="formInput" v-model="formData.blc" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.blc" />
</td>
</tr>
<tr>
<td colspan="2">图幅号</td>
<td colspan="8" class="psr">
<input type="text" :disabled="formData.qszt!='0'" placeholder="请输入" class="formInput" v-model="formData.tfh" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.tfh" />
</td>
</tr>
<tr>
......@@ -193,21 +193,21 @@
</td>
<td colspan="2">
<input
type="text" placeholder="请输入" :disabled="formData.qszt!='0'"
type="text" :disabled="formData.qszt!='0'"
v-model="rjl"
v-show="isInterval(formData.jyrjl)"
class="formInput percent47"
/>
<span class="percent4" v-show="isInterval(formData.jyrjl)">-</span>
<input
type="text" placeholder="请输入" :disabled="formData.qszt!='0'"
type="text" :disabled="formData.qszt!='0'"
v-model="formData.rjl"
:class="isInterval(formData.jyrjl) ? 'formInput percent47' : 'formInput'"
/>
</td>
<td colspan="2">容积说明</td>
<td colspan="4" class="psr">
<input type="text" :disabled="formData.qszt!='0'" placeholder="请输入" class="formInput" v-model="formData.rjsm" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.rjsm" />
</td>
</tr>
<tr>
......@@ -225,21 +225,21 @@
</td>
<td colspan="2">
<input
type="text" placeholder="请输入"
type="text"
v-model="jzmd" :disabled="formData.qszt!='0'"
v-show="isInterval(formData.jyjzmd)"
class="formInput percent47"
/>
<span class="percent4" v-show="isInterval(formData.jyjzmd)">-</span>
<input
type="text" placeholder="请输入"
type="text"
v-model="formData.jzmd" :disabled="formData.qszt!='0'"
:class="isInterval(formData.jyjzmd) ? 'formInput percent47' : 'formInput'"
/>
</td>
<td colspan="2">建筑密度说明</td>
<td colspan="4" class="psr">
<input type="text" :disabled="formData.qszt!='0'" placeholder="请输入" class="formInput" v-model="formData.jzmdsm" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzmdsm" />
</td>
</tr>
<tr>
......@@ -257,46 +257,46 @@
</td>
<td colspan="2">
<input
type="text" placeholder="请输入" :disabled="formData.qszt!='0'"
type="text" :disabled="formData.qszt!='0'"
v-model="jzxg"
v-show="isInterval(formData.jyjzxg)"
class="formInput percent47"
/>
<span class="percent4" v-show="isInterval(formData.jyjzxg)">-</span>
<input
type="text" placeholder="请输入" :disabled="formData.qszt!='0'"
type="text" :disabled="formData.qszt!='0'"
v-model="formData.jzxg"
:class="isInterval(formData.jyjzxg) ? 'formInput percent47' : 'formInput'"
/>
</td>
<td colspan="2">建筑限高说明</td>
<td colspan="4" class="psr">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzxgsm" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzxgsm" />
</td>
</tr>
<tr>
<td colspan="2" rowspan="4">宗地四至</td>
<td colspan="2">北至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zdszb" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zdszb" />
</td>
</tr>
<tr>
<td colspan="2">东至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zdszd" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zdszd" />
</td>
</tr>
<tr>
<td colspan="2">南至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zdszn" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zdszn" />
</td>
</tr>
<tr>
<td colspan="2">西至<i class="requisite">*</i></td>
<td colspan="8" class="psr">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zdszx" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zdszx" />
</td>
</tr>
<tr>
......@@ -307,33 +307,33 @@
<tr>
<td colspan="2" rowspan="2">批准面积(㎡)</td>
<td colspan="2" rowspan="2">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.pzmj" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.pzmj" />
</td>
<td colspan="2" rowspan="2">宗地面积(㎡)</td>
<td colspan="2" rowspan="2">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zdmj" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.zdmj" />
</td>
<td colspan="2">建筑占地总面积</td>
<td colspan="2">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzzdzmj" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzzdzmj" />
</td>
</tr>
<tr>
<td colspan="2">建筑面积(㎡)</td>
<td colspan="2">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzzmj" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzzmj" />
</td>
</tr>
<tr>
<td colspan="2">共有/共用权利人情况</td>
<td colspan="10">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.gygyqlrqk" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.gygyqlrqk" />
</td>
</tr>
<tr>
<td colspan="2" rowspan="2">说明</td>
<td colspan="10" rowspan="2">
<input type="text" placeholder="请输入" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.sm" />
<input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.sm" />
</td>
</tr>
</table>
......@@ -591,6 +591,7 @@ export default {
submit(data).then((res)=>{
if(res.code===200){
this.$message.success("提交完成!")
this.getZdjbxxData(this.$store.state.zdbsm);
}
})
},
......
......@@ -15,7 +15,7 @@
@blur="inputBlur"
@change="inputChange"
class="searchInput"
placeholder="输入不动产单元号"
placeholder="输入不动产单元号或室号"
><i
slot="suffix"
class="el-input__icon el-icon-search"
......@@ -26,48 +26,48 @@
<el-col :span="16">
<div class="fr">
<el-button class="radioBtn" label="1" border @click="create"
><i class="fa fa-building-o"></i>创建楼盘</el-button
><i class="iconfont iconchuangjianloupan"></i>创建楼盘</el-button
>
<el-button class="radioBtn" label="2" border @click="plScYcChange"
><i class="fa fa-building-o"></i>实预测转换</el-button
><i class="iconfont iconshiyucezhuanhuan"></i>实预测转换</el-button
>
<el-button
class="radioBtn"
label="3"
border
@click="openPl('h')"
><i class="fa fa-building-o"></i> 批量户</el-button
><i class="iconfont iconpilianghu"></i> 批量户</el-button
>
<el-button
class="radioBtn"
label="4"
border
@click="openPlC"
><i class="fa fa-building-o"></i>批量层</el-button
><i class="iconfont iconpiliangceng"></i>批量层</el-button
>
<el-button
class="radioBtn"
label="5"
border
@click="openPl('sh')"
><i class="fa fa-building-o"></i>批量室号</el-button
><i class="iconfont iconpiliangshihao"></i>批量室号</el-button
>
<el-button
class="radioBtn"
label="6"
border
@click="openPl('zl')"
><i class="fa fa-building-o"></i>批量坐落</el-button
><i class="iconfont iconpiliangzuola"></i>批量坐落</el-button
>
<el-button class="radioBtn" label="7" border @click="addBdcdyh"
><i class="fa fa-building-o"></i>批量单元号</el-button
><i class="iconfont iconpiliangdanyuanhao"></i>批量单元号</el-button
>
<el-button
class="radioBtn"
label="7"
border
@click="hcxlz"
><i class="fa fa-building-o"></i>户重新落宗</el-button
@click="hcxlzVisible = true"
><i class="iconfont fa-building-o"></i>户重新落宗</el-button
>
</div>
</el-col>
......@@ -449,17 +449,25 @@ export default {
plshClose() {
this.plShVisible = false;
},
//改变预测数据类型
//改变预测数据类型
scyclxChange(val){
//清空已选中层户
this.cbsmList = [];
this.bsms = [];
console.log(this.$refs.lpbContent.$refs.hBsm,'this.$refs.lpbContent');
this.$refs.lpbContent.$refs.hBsm.forEach(item=>{
console.log(this.$refs.lpbContent.$refs.cBsm,'this.$refs.lpbContent.$refs.cBsm');
this.$nextTick(()=>{
this.$refs.lpbContent.$refs.hBsm.forEach(item=>{
if (item.className == "tdSelect") {
item.className = "";
}
});
this.$refs.lpbContent.$refs.cBsm.forEach(item=>{
console.log(item.className,'item.className');
item.className = "floor";
});
})
//获取图例数据
this.getDyztBsmList();
},
//获取高度计算lpb内容区高度
getHeight() {
......@@ -757,6 +765,10 @@ export default {
.radioBtn {
margin-left: 16px;
padding:12px 14px;
i{
font-size: 13px;
padding-right: 4px;
}
/deep/.el-radio-button__inner {
border: 1px solid #dcdfe6;
border-radius: 4px;
......
<template>
<div class="lpbContent-wrap" ref="lpbContentWrap">
<div :class="lpbData.ljzs.length == 0 ? 'column-reverse lpbContent':'lpbContent'" ref="lpbContent" v-loading='loading'>
<div :class="(lpbData.cs.length == 0 && lpbData.zdys.length == 0) ? 'bottom40 ljz-wrap':'ljz-wrap'" :style="{'width':ljzWidth+'px'}" v-show="lpbData.ljzs.length>0">
<div :class="(lpbData.cs.length == 0 && lpbData.zdys.length == 0) ? 'bottom40 ljz-wrap':'ljz-wrap'" v-show="lpbData.ljzs.length>0">
<!-- 循环逻辑幢数据 -->
<div class="ljz" ref="ljz" v-for="(ljzs,ljzIndex) in lpbData.ljzs" :key="ljzIndex">
<div class="ljz-zdy-wrap" :style="{'min-height':ljzzdyHeight+40+'px'}">
<!-- <div class="ljz-zdy-wrap" :style="{'min-height':ljzzdyHeight+40+'px'}"> -->
<!-- 循环逻辑幢下的幢单元 -->
<div class="ljz-zdy" :style="{'min-height':ljzzdyHeight+40+'px'}" ref="ljzzdy" v-show="ljzs.zdys.length>0" v-for="(zdys,zdyIndex) in ljzs.zdys" :key="zdyIndex" >
<!-- 循环幢单元下的层户 -->
<!-- <div class="chTable-wrap"> -->
<table class="chTable" :style="{'top':(ljzzdyHeight-1-zdys.cs.length*65)+'px'}" border="1" cellspacing="0" cellpadding="0" v-show="zdys.cs.length>0">
<table class="chTable psr" :style="{'top':(ljzzdyHeight-1-zdys.cs.length*65)+'px'}" border="1" cellspacing="0" cellpadding="0" v-show="zdys.cs.length>0">
<tr v-for="(cs,csIndex) in zdys.cs" :key="csIndex">
<!-- 显示层数 -->
<td class="floor" @contextmenu.prevent="openMenu($event, cs,'c')" @click="handleClickC($event,cs)">{{cs.sjc}}</td>
<td class="floor" ref="cBsm" @contextmenu.prevent="openMenu($event, cs,'c')" @click="handleClickC($event,cs)">{{cs.sjc}}</td>
<!-- 显示户 -->
<td v-for="(hs,hsIndex) in cs.hs" :data-bsm="hs.bsm" ref="hBsm" :key="hsIndex" :class="(searchNum == hs.shbw || searchNum == hs.bdcdyh) ? 'tdSelect':''" @click="handleTdClick($event,hs.bsm)" @dblclick="dbclick(hs.bsm)" @contextmenu.prevent="openMenu($event, hs,'h')">{{hs.shbw}}</td>
</tr>
......@@ -24,17 +24,17 @@
</div>
</div>
<!-- 循环逻辑幢下的层户 -->
<div class="ljz-ch" :style="{'min-height':ljzzdyHeight+40+'px'}" v-if="ljzs.cs.length>0">
<div class="ljz-ch" :style="{'height':'auto'}" v-if="ljzs.cs.length>0">
<table class="chTable" :style="{'top':(ljzzdyHeight+40-1-ljzs.cs.length*65)<0? 0:(ljzzdyHeight+40-1-ljzs.cs.length*65) +'px'}" border="1" cellspacing="0" cellpadding="0">
<tr v-for="(cs) in ljzs.cs" :key="cs.bsm">
<!-- 显示层数 -->
<td class="floor" @contextmenu.prevent="openMenu($event, cs,'c')" @click="handleClickC($event,cs)">{{cs.sjc}}</td>
<td class="floor" ref="cBsm" @contextmenu.prevent="openMenu($event, cs,'c')" @click="handleClickC($event,cs)">{{cs.sjc}}</td>
<!-- 显示户 -->
<td v-for="(hs,hsIndex) in cs.hs" :data-bsm="hs.bsm" ref="hBsm" :key="hsIndex" :class="(searchNum == hs.shbw || searchNum == hs.bdcdyh) ? 'tdSelect':''" @click="handleTdClick($event,hs.bsm)" @dblclick="dbclick(hs.bsm)" @contextmenu.prevent="openMenu($event, hs,'h')">{{hs.shbw}}</td>
</tr>
</table>
</div>
</div>
<!-- </div> -->
<!-- 逻辑幢名称 -->
<div class="ljz-name name">
......@@ -53,7 +53,7 @@
<table class="chTable" border="1" cellspacing="0" cellpadding="0" v-show="zdys.cs.length>0">
<tr v-for="(cs,csIndex) in zdys.cs" :key="csIndex">
<!-- 显示层数 -->
<td class="floor" @contextmenu.prevent="openMenu($event, cs,'c')" @click="handleClickC($event,cs)">{{cs.sjc}}</td>
<td class="floor" ref="cBsm" @contextmenu.prevent="openMenu($event, cs,'c')" @click="handleClickC($event,cs)">{{cs.sjc}}</td>
<!-- 显示户 -->
<td v-for="(hs,hsIndex) in cs.hs" :data-bsm="hs.bsm" ref="hBsm" :key="hsIndex" :class="(searchNum == hs.shbw || searchNum == hs.bdcdyh) ? 'tdSelect':''" @click="handleTdClick($event,hs.bsm)" @dblclick="dbclick(hs.bsm)" @contextmenu.prevent="openMenu($event, hs,'h')">{{hs.shbw}}</td>
</tr>
......@@ -65,7 +65,7 @@
<table class="chTable" ref="ch" border="1" cellspacing="0" cellpadding="0" v-show="lpbData.cs != null && lpbData.cs.length>0" >
<tr v-for="(cs,csIndex) in lpbData.cs" :key="csIndex">
<!-- 显示层数 -->
<td class="floor" @contextmenu.prevent="openMenu($event, cs,'c')" @click="handleClickC($event,cs)">{{cs.sjc}}</td>
<td class="floor" ref="cBsm" @contextmenu.prevent="openMenu($event, cs,'c')" @click="handleClickC($event,cs)">{{cs.sjc}}</td>
<!-- 显示户 -->
<td v-for="(hs,hsIndex) in cs.hs" :data-bsm="hs.bsm" ref="hBsm" :key="hsIndex" :class="(searchNum == hs.shbw || searchNum == hs.bdcdyh) ? 'tdSelect':''" @click="handleTdClick($event,hs.bsm)" @dblclick="dbclick(hs.bsm)" @contextmenu.prevent="openMenu($event, hs,'h')">{{hs.shbw}}</td>
</tr>
......@@ -184,6 +184,7 @@ export default {
getLpb(zrzbsm,scyclx).then((res) => {
if (res.code == 200) {
this.loading = false;
res.result.ljzs = res.result.ljzs.sort(this.compare('place')).reverse();
this.lpbData = res.result == null ? this.lpbData : res.result;
this.$nextTick(()=>{
//渲染楼盘表
......@@ -197,6 +198,13 @@ export default {
}
});
},
compare(property){
return function(a,b){
var value1 = a[property];
var value2 = b[property];
return value1 - value2;
}
},
//按照bdcdyh或shbw筛选户
lpbDataMap(sh) {
//清除之前选中户
......@@ -241,7 +249,12 @@ export default {
highest = 0;
}
} else {
// this.zdyWidth = 124;
//有且仅有独立层户
if(this.$refs.hBsm != undefined){
this.$refs.hBsm.forEach((item) => {
this.zdyWidth += item.offsetWidth + 21;
});
}
}
//计算逻辑幢下的幢单元和层户的高度
......@@ -507,12 +520,13 @@ export default {
.ljz-wrap {
height: auto;
overflow: hidden;
margin-bottom: 20px;
.ljz {
float: left;
margin-right: 20px;
margin-bottom: 20px;
display: table;
// position: relative;
.ljz-zdy-wrap {
// .ljz-zdy-wrap {
// width: auto;
// display: table;
.ljz-zdy {
height: auto;
margin-right: 20px;
......@@ -530,6 +544,9 @@ export default {
// bottom: 40px;
// }
}
div:last-child{
margin-right: 0;
}
.ljz-ch {
float: left;
}
......@@ -540,9 +557,9 @@ export default {
display: flex;
flex-direction: column-reverse;
}
}
// }
.ljz-name {
width: 100%;
width: calc(100% - 32px);
height: 40px;
background-color: darkorange;
}
......@@ -578,7 +595,7 @@ export default {
}
}
.zdy-name {
width: 100%;
width: calc;
height: 40px;
background-color: rosybrown;
}
......@@ -591,7 +608,7 @@ export default {
// 公共部分样式 start
.chTable {
position: relative;
// position: relative;
tr {
.floor {
background-color: blanchedalmond;
......@@ -615,7 +632,7 @@ export default {
.name {
line-height: 40px;
text-align: center;
display: inline-block;
display: table-footer-group;
}
// end
}
......
......@@ -432,7 +432,8 @@
}
submit(data).then((res)=>{
if(res.code===200){
this.$message.success("提交完成!")
this.$message.success("提交完成!");
this.getZrzDetailByBsm(this.$route.query.bsm)
}
})
},
......