10346c5d by 杨威

代码合并,楼盘表图例单元状态数据统计

2 parents 93128983 a7d0085d
...@@ -77,4 +77,20 @@ export function getLpbTj (data) { ...@@ -77,4 +77,20 @@ export function getLpbTj (data) {
77 method: 'get', 77 method: 'get',
78 data:data 78 data:data
79 }) 79 })
80 }
81
82 /**
83 * 楼盘表 批量实预测转换
84 * zrzbsm 自然幢标识码 ,
85 * scyclx 实测预测类型 0预测,1实测
86 */
87 export function batchGeneratorBdcdyh (dpdm,zrzbsm) {
88 return request({
89 url: 'system/generator/batchGeneratorBdcdyh',
90 method: 'get',
91 params: {
92 zrzbsm:zrzbsm,
93 dpdm:dpdm,
94 },
95 })
80 } 96 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -150,7 +150,7 @@ export function jzxsbatchModify(data) { ...@@ -150,7 +150,7 @@ export function jzxsbatchModify(data) {
150 */ 150 */
151 export function deleteZdInfoByBsm(data) { 151 export function deleteZdInfoByBsm(data) {
152 return request({ 152 return request({
153 url: '/zd/qjZdjbxx/deleteZdjbxxByBsm', 153 url: '/delete/deleteDyByBsm',
154 method: 'delete', 154 method: 'delete',
155 data: data 155 data: data
156 }) 156 })
...@@ -161,10 +161,32 @@ export function deleteZdInfoByBsm(data) { ...@@ -161,10 +161,32 @@ export function deleteZdInfoByBsm(data) {
161 */ 161 */
162 export function zdfg(data) { 162 export function zdfg(data) {
163 return request({ 163 return request({
164 url: '/fg/zdFg', 164 url: '/bg/zdSplitMerge/zdFg',
165 method: 'post', 165 method: 'post',
166 data: data 166 data: data
167 }) 167 })
168 } 168 }
169 169
170 /**
171 * 获取宗地下的自然幢、逻辑幢、幢单元
172 */
173 export function zdXlcd(bsm) {
174 return request({
175 url:'/zd/qjZdjbxx/parcels',
176 method:'get',
177 params:{
178 bsm
179 }
180 })
181 }
170 182
183 /**
184 * 户落宗
185 */
186 export function hzl(data) {
187 return request({
188 url:'/system/qjH/hcxlz',
189 method:'put',
190 data:data
191 })
192 }
......
...@@ -48,14 +48,14 @@ ...@@ -48,14 +48,14 @@
48 </el-row> 48 </el-row>
49 <table border="1"> 49 <table border="1">
50 <tr> 50 <tr>
51 <td>序号</td> 51 <td class="xh">序号</td>
52 <td>操作</td> 52 <td class="zddm">宗地代码</td>
53 <td>宗地代码</td> 53 <td class="bdcdyh">不动产单元号</td>
54 <td>不动产单元号</td> 54 <td class="xmmc">项目名称</td>
55 <td>项目名称</td> 55 <td class="bdcqzh">不动产权证号</td>
56 <td>不动产权证号</td> 56 <td class="qlr">权利人</td>
57 <td>权利人</td> 57 <td class="zl">坐落</td>
58 <td>坐落</td> 58 <td class="cz">操作</td>
59 </tr> 59 </tr>
60 <tr v-if="Data.length==0"> 60 <tr v-if="Data.length==0">
61 <td colspan="8"> 61 <td colspan="8">
...@@ -63,16 +63,16 @@ ...@@ -63,16 +63,16 @@
63 </td> 63 </td>
64 </tr> 64 </tr>
65 <tr v-else v-for="(item,index) in Data" :key="index"> 65 <tr v-else v-for="(item,index) in Data" :key="index">
66 <td>{{index+1}}</td> 66 <td class="xh">{{index+1}}</td>
67 <td @click="select(item)" class="xz"> 67 <td class="zddm" :title="item.zddm">{{item.zddm}}</td>
68 <span>选择</span> 68 <td class="bdcqdyh" :title="item.bdcdyh">{{item.bdcdyh}}</td>
69 <td class="xmmc" :title="item.xmmc">{{item.xmmc}}</td>
70 <td class="bdcqzh" :title="item.bdcqzd">{{item.bdcqzh}}</td>
71 <td class="qlr" :title="item.qlr">{{item.qlr}}</td>
72 <td class="zl" :title="item.zl">{{item.zl}}</td>
73 <td @click="saveNotarize(item)" class="cz">
74 <span>落宗</span>
69 </td> 75 </td>
70 <td>{{item.zddm}}</td>
71 <td>{{item.bdcdyh}}</td>
72 <td>{{item.xmmc}}</td>
73 <td>{{item.bdcqzh}}</td>
74 <td>{{item.qlr}}</td>
75 <td>{{item.zl}}</td>
76 </tr> 76 </tr>
77 </table> 77 </table>
78 </div> 78 </div>
...@@ -86,10 +86,6 @@ ...@@ -86,10 +86,6 @@
86 > 86 >
87 </el-pagination> 87 </el-pagination>
88 </div> 88 </div>
89 <div class="footer-button">
90 <el-button type="primary" @click="save">确认</el-button>
91 <el-button type="primary" @click="close">取消</el-button>
92 </div>
93 </el-dialog> 89 </el-dialog>
94 </div> 90 </div>
95 </template> 91 </template>
...@@ -144,13 +140,25 @@ ...@@ -144,13 +140,25 @@
144 created() { 140 created() {
145 }, 141 },
146 methods: { 142 methods: {
143 saveNotarize: function (val) {
144 this.zdbsm = val.glbsm;
145 this.$confirm('将落宗在该宗地上, 是否继续?', '提示', {
146 confirmButtonText: '确定',
147 cancelButtonText: '取消',
148 type: 'warning'
149 }).then(() => {
150 this.save();
151 }).catch(() => {
152 this.$message({
153 type: 'info',
154 message: '已取消'
155 });
156 });
157 },
147 currentChange: function (val) { 158 currentChange: function (val) {
148 this.queryData.pageNo = val; 159 this.queryData.pageNo = val;
149 this.getData(this.queryData); 160 this.getData(this.queryData);
150 }, 161 },
151 select: function (val) {
152 this.zdbsm = val.glbsm
153 },
154 save: function () { 162 save: function () {
155 zrzcxlz({ 163 zrzcxlz({
156 zdBsm: this.zdbsm, 164 zdBsm: this.zdbsm,
...@@ -216,6 +224,9 @@ ...@@ -216,6 +224,9 @@
216 background-color: #fff; 224 background-color: #fff;
217 font-size: 14px; 225 font-size: 14px;
218 width: 100%; 226 width: 100%;
227 tr:hover{
228 background-color: #F5F7FA;
229 }
219 } 230 }
220 231
221 td { 232 td {
...@@ -248,8 +259,38 @@ ...@@ -248,8 +259,38 @@
248 height: 650px; 259 height: 650px;
249 } 260 }
250 261
251 .footer-button { 262 .xh {
252 text-align: center; 263 width: 50px;
253 margin-top: 20px; 264 }
265
266 .zddm {
267 width: 120px;
268 }
269
270 .bdcdyh {
271 width: 180px;
272 }
273
274 .xmmc {
275 width: 100px;
276 }
277
278 .bdcqzh {
279 width: 100px;
280 }
281
282 .qlr {
283 width: 100px;
284 }
285
286 .zl {
287 width: 100px;
288 }
289
290 .cz {
291 width: 50px;
292 span {
293 color: blue;
294 }
254 } 295 }
255 </style> 296 </style>
......
1 <template>
2 <div class="main">
3 <div class='input' contenteditable placeholder='请输入文字'>
4 <div @mouseover="mouseover($event)" @mouseleave="mouseLeave($event)" v-for="(item,index) in datas"
5 :key="index" style="float: left;"
6 class="item">
7 {{item}};
8 <div style="float: right;display: none" @click="itemClick(index)">X</div>
9 </div>
10
11 </div>
12 </div>
13 </template>
14
15 <script>
16 export default {
17 name: "emailInput",
18 data() {
19 return {
20 datas: ['111', '222', '333', '444', '555', '666', '777', '888', '999'],
21 }
22 },
23 props: {},
24 methods: {
25 mouseover(e) {
26 // e.target 是你当前点击的元素
27 // 是你绑定事件的元素
28 let dom = e.currentTarget.firstElementChild
29 dom.style = "float: right;display: block";
30 // 获得点击元素的前一个元素
31 /* e.currentTarget.previousElementSibling.innerHTML
32 // 获得点击元素的第一个子元素
33 e.currentTarget.firstElementChild
34 // 获得点击元素的下一个元素
35 e.currentTarget.nextElementSibling
36 // 获得点击元素中id为string的元素
37 e.currentTarget.getElementById("string")
38 // 获得点击元素的string属性
39 e.currentTarget.getAttributeNode('string')
40 //获得点击元素的父级元素
41 e.currentTarget.parentElement
42 // 获得点击元素的前一个元素的第一个子元素的HTML值
43 e.currentTarget.previousElementSibling.firstElementChild.innerHTML*/
44
45 },
46 mouseLeave(e) {
47 let dom = e.currentTarget.firstElementChild
48 dom.style = "float: right;display: none"
49 },
50 itemClick(index){
51 this.datas.splice(index,1)
52 }
53 },
54 computed: {
55 text: function () {
56 let text = "";
57 for (let item of this.datas) {
58 text += item + ";";
59 }
60
61 return text;
62 }
63 }
64 }
65 </script>
66
67 <style scoped lang="less">
68 .main {
69 .input {
70 width: auto;
71 height: 24px;
72 line-height: 24px;
73 font-size: 14px;
74 padding: 5px 8px;
75 border: 1px solid #ddd;
76 }
77 .input:empty::before {
78 content: attr(placeholder);
79 }
80 .item{
81 cursor: pointer;
82 }
83 .item:hover {
84 border: 1px solid #BBF;
85 }
86 }
87 </style>
1 <template>
2 <div class="main">
3 <el-dialog
4 title="户重新落宗"
5 :visible.sync="isVisible"
6 width="50%"
7 @close="close"
8 :modal-append-to-body="false"
9 >
10 <div class="content">
11 <div class="input-suffix">
12 宗 地:
13 <input
14 placeholder="请选择宗地" v-model="zdxx" readonly="readonly"
15 />
16 <el-button type="primary" @click="xzzdVisible = true">选择宗地</el-button>
17 </div>
18 <div class="input-suffix">
19 自然幢:
20 <el-select v-model="hcxlzData.zrzbsm" filterable placeholder="请选择" @change="zrzChange">
21 <el-option
22 v-for="item in zrzList"
23 :key="item.xmmc"
24 :label="item.label"
25 :value="item.bsm">
26 </el-option>
27 </el-select>
28 </div>
29 <div class="input-suffix">
30 逻辑幢:
31 <el-select v-model="hcxlzData.ljzbsm" filterable placeholder="请选择" @change="ljzChange">
32 <el-option
33 v-for="item in ljzList"
34 :key="item.bsm"
35 :label="item.ljzmc"
36 :value="item.bsm">
37 </el-option>
38 </el-select>
39 </div>
40 <div class="input-suffix">
41 幢单元:
42 <el-select v-model="hcxlzData.zdybsm" filterable placeholder="请选择">
43 <el-option
44 v-for="item in zdyList"
45 :key="item.bsm"
46 :label="item.zdymc"
47 :value="item.bsm">
48 </el-option>
49 </el-select>
50 </div>
51 </div>
52 <div class="footer">
53 <el-button type="primary" @click="save">保存</el-button>
54 <el-button type="primary" @click="cancel">取消</el-button>
55 </div>
56 <query-data :centerDialogVisible="xzzdVisible" @close="xzzdClose" @getData="getZdxx"></query-data>
57 </el-dialog>
58 </div>
59 </template>
60
61 <script>
62 import queryData from './../../components/queryData/queryData'
63 import {zdXlcd, hzl} from './../../api/zd'
64 import {Message} from 'element-ui'
65 export default {
66 name: "hCxlz",
67 components: {queryData},
68 data() {
69 return {
70 zd: {},
71 zrz: {},
72 ljz: {},
73 zdy: {},
74 xzzdVisible: false,
75 isVisible: false,
76 zdxx: '', // 宗地信息
77 hcxlzData: {
78 bsms: [],
79 zrzbsm: '',
80 ljzbsm: '',
81 zdybsm: ''
82 },
83 total: 1,
84 zrzList: [],
85 ljzList: [],
86 zdyList: []
87 }
88 },
89 props: {
90 hCxlzVisble: {
91 type: Boolean,
92 default: false
93 },
94 bsms: {
95 type: Array
96 }
97 },
98 mounted() {
99 },
100 methods: {
101 ljzChange: function () {
102 const item = this.ljzList.find(i => i.bsm == this.hcxlzData.ljzbsm)
103 this.hcxlzData.zdybsm = ''
104 this.zdyList = item.list;
105 this.zdyList.push({
106 zdymc: '空',
107 bsm: ''
108 })
109 },
110 zrzChange: function () {
111 const item = this.zrzList.find(i => i.bsm == this.hcxlzData.zrzbsm);
112 this.hcxlzData.ljzbsm = ''
113 this.hcxlzData.zdybsm = ''
114 this.ljzList = item.ljzList;
115 this.ljzList.push({
116 ljzmc: '空',
117 bsm: ''
118 })
119 this.zdyList = item.zdyList;
120 this.zdyList.push({
121 zdymc: '空',
122 bsm: ''
123 })
124 },
125 getZrz: function (bsm) {
126 zdXlcd(bsm).then(res => {
127 this.zrzList = res.result;
128 })
129 },
130 getZdxx: function (val) {
131 console.log(val, "宗地信息")
132 this.zd = val
133 this.zdxx = val.xmmc + "(" + val.zddm + ")";
134 },
135 xzzdClose: function () {
136 this.xzzdVisible = false;
137 },
138 result: function () {
139 this.hcxlzData = {
140 bsms: [],
141 zrzbsm: '',
142 ljzbsm: '',
143 zdybsm: ''
144 };
145 },
146 cancel() {
147 console.log("cancel......")
148 this.close();
149 },
150 save() {
151 console.log("save.......")
152 if (this.hcxlzData.zrzbsm == '') {
153 Message.error("请选择自然幢")
154 return;
155 }
156 hzl(this.hcxlzData).then(res => {
157 if (res.success) {
158 this.close();
159 } else {
160 Message.error(res.message)
161 }
162 });
163 },
164 close() {
165 this.$emit('close', false);
166 this.result();
167 },
168 },
169 watch: {
170 hCxlzVisble: function (val) {
171 this.isVisible = val
172 },
173 zd: function (val) {
174 //this.getZrz(val.glbsm)
175 this.getZrz('815c80d0d5b35968432fdd9c654dd134')
176 }
177 }
178 }
179 </script>
180
181 <style scoped lang="less">
182 .input-suffix {
183 input {
184 width: 210px;
185 height: 30px;
186 border-radius: 3px;
187 border-color: #BBB;
188 }
189 }
190
191 .content {
192 text-align: center;
193 }
194
195 .footer {
196 margin-top: 20px;
197 text-align: center;
198 }
199 </style>
200
201
202
203
...@@ -222,23 +222,23 @@ export default { ...@@ -222,23 +222,23 @@ export default {
222 }, 222 },
223 //右键菜单的删除 223 //右键菜单的删除
224 deleteByBsm(){ 224 deleteByBsm(){
225 let zdBsm = this.zdData.zdbsm; 225 //let zdBsm = this.zdData.zdbsm;
226 let type; 226 //let type;
227 console.log(zdBsm); 227 console.log(this.zdData.zdbsm);
228 switch (this.zdData.type){ 228 //switch (this.zdData.type){
229 case "zd": 229 // case "zd":
230 type="0"; 230 // type="0";
231 break; 231 // break;
232 case "zrz": 232 // case "zrz":
233 type="1"; 233 // type="1";
234 break; 234 // break;
235 case "h": 235 // case "h":
236 type="2"; 236 // type="2";
237 break; 237 // break;
238 default: 238 // default:
239 break; 239 // break;
240 } 240 //}
241 let params={"id":zdBsm,"type":type} 241 let params={"bsm":this.zdData.zdbsm,"type":this.zdData.type}
242 deleteZdInfoByBsm(params) 242 deleteZdInfoByBsm(params)
243 .then((res) => { 243 .then((res) => {
244 if(res.code=200){ 244 if(res.code=200){
......
...@@ -79,6 +79,16 @@ ...@@ -79,6 +79,16 @@
79 </div> 79 </div>
80 <span slot="footer" class="dialog-footer"> 80 <span slot="footer" class="dialog-footer">
81 </span> 81 </span>
82 <div class="page">
83 <el-pagination
84 background
85 layout="prev, pager, next,total"
86 :page-size="queryData.pageSize"
87 :total="total"
88 @current-change="currentChange"
89 >
90 </el-pagination>
91 </div>
82 </el-dialog> 92 </el-dialog>
83 93
84 </div> 94 </div>
...@@ -91,6 +101,7 @@ ...@@ -91,6 +101,7 @@
91 name: "queryData", 101 name: "queryData",
92 data() { 102 data() {
93 return { 103 return {
104 total:1,
94 queryData: { 105 queryData: {
95 bdcdyh: "", 106 bdcdyh: "",
96 bdcqzh: "", 107 bdcqzh: "",
...@@ -99,7 +110,9 @@ ...@@ -99,7 +110,9 @@
99 qszt: "2", 110 qszt: "2",
100 xmmc: "", 111 xmmc: "",
101 zddm: "", 112 zddm: "",
102 zl: "" 113 zl: "",
114 pageNo: 1,
115 pageSize: 10,
103 }, 116 },
104 Data: [], 117 Data: [],
105 isVisible: false 118 isVisible: false
...@@ -125,6 +138,10 @@ ...@@ -125,6 +138,10 @@
125 created() { 138 created() {
126 }, 139 },
127 methods: { 140 methods: {
141 currentChange: function (val) {
142 this.queryData.pageNo = val;
143 this.getData(this.queryData);
144 },
128 result: function () { 145 result: function () {
129 this.queryData = { 146 this.queryData = {
130 bdcdyh: "", 147 bdcdyh: "",
...@@ -133,7 +150,9 @@ ...@@ -133,7 +150,9 @@
133 qszt: "2", 150 qszt: "2",
134 xmmc: "", 151 xmmc: "",
135 zddm: "", 152 zddm: "",
136 zl: "" 153 zl: "",
154 pageNo: 1,
155 pageSize: 10
137 }; 156 };
138 this.getData(this.queryData) 157 this.getData(this.queryData)
139 }, 158 },
...@@ -141,6 +160,7 @@ ...@@ -141,6 +160,7 @@
141 data['dylxs'] = this.dylxs; 160 data['dylxs'] = this.dylxs;
142 getSearchList(data).then(res => { 161 getSearchList(data).then(res => {
143 this.Data = res.result.records 162 this.Data = res.result.records
163 this.total = res.result.total;
144 }) 164 })
145 }, 165 },
146 search: function () { 166 search: function () {
...@@ -151,7 +171,7 @@ ...@@ -151,7 +171,7 @@
151 }, 171 },
152 close: function () { 172 close: function () {
153 this.$emit('close') 173 this.$emit('close')
154 this.isVisible = false 174 this.result();
155 } 175 }
156 }, 176 },
157 watch: { 177 watch: {
...@@ -176,6 +196,9 @@ ...@@ -176,6 +196,9 @@
176 background-color: #fff; 196 background-color: #fff;
177 font-size: 14px; 197 font-size: 14px;
178 width: 100%; 198 width: 100%;
199 tr:hover{
200 background-color: #F5F7FA;
201 }
179 } 202 }
180 203
181 td { 204 td {
......
...@@ -41,14 +41,14 @@ ...@@ -41,14 +41,14 @@
41 </el-row> 41 </el-row>
42 <table border="1"> 42 <table border="1">
43 <tr> 43 <tr>
44 <td>序号</td> 44 <td class="xh">序号</td>
45 <td>操作</td> 45 <td class="cz">操作</td>
46 <td>宗地代码</td> 46 <td class="zddm">宗地代码</td>
47 <td>不动产单元号</td> 47 <td class="bdcdyh">不动产单元号</td>
48 <td>项目名称</td> 48 <td class="xmmc">项目名称</td>
49 <td>不动产权证号</td> 49 <td class="bdcqzh">不动产权证号</td>
50 <td>权利人</td> 50 <td class="qlr">权利人</td>
51 <td>坐落</td> 51 <td class="zl">坐落</td>
52 </tr> 52 </tr>
53 <tr v-if="Data.length == 0"> 53 <tr v-if="Data.length == 0">
54 <td colspan="8"> 54 <td colspan="8">
...@@ -56,16 +56,16 @@ ...@@ -56,16 +56,16 @@
56 </td> 56 </td>
57 </tr> 57 </tr>
58 <tr v-else v-for="(item, index) in Data" :key="index"> 58 <tr v-else v-for="(item, index) in Data" :key="index">
59 <td>{{ index + 1 }}</td> 59 <td class="xh">{{ index + 1 }}</td>
60 <td @click="xzzrz(item)" class="xz"> 60 <td @click="xzzrz(item)" class="cz">
61 <span>选择</span> 61 <span>选择</span>
62 </td> 62 </td>
63 <td>{{ item.zddm }}</td> 63 <td class="zddm" :title="item.zddm">{{ item.zddm }}</td>
64 <td>{{ item.bdcdyh }}</td> 64 <td class="bdcdyh" :title="item.bdcdyh">{{ item.bdcdyh }}</td>
65 <td>{{ item.xmmc }}</td> 65 <td class="xmmc" :title="item.xmmc">{{ item.xmmc }}</td>
66 <td>{{ item.bdcqzh }}</td> 66 <td class="bdcqzh" :title="item.bdcqzh ">{{ item.bdcqzh }}</td>
67 <td>{{ item.qlr }}</td> 67 <td class="qlr" :title="item.qlr">{{ item.qlr }}</td>
68 <td>{{ item.zl }}</td> 68 <td class="zl">{{ item.zl }}</td>
69 </tr> 69 </tr>
70 </table> 70 </table>
71 </div> 71 </div>
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
107 bdcqzh: "", 107 bdcqzh: "",
108 dylxs: ["zrz"], 108 dylxs: ["zrz"],
109 qlrmc: "", 109 qlrmc: "",
110 qszt: "", 110 qszt: "2",
111 xmmc: "", 111 xmmc: "",
112 zddm: "", 112 zddm: "",
113 zl: "", 113 zl: "",
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
142 bdcqzh: "", 142 bdcqzh: "",
143 dylxs: ["zrz"], 143 dylxs: ["zrz"],
144 qlrmc: "", 144 qlrmc: "",
145 qszt: "", 145 qszt: "2",
146 xmmc: "", 146 xmmc: "",
147 zddm: "", 147 zddm: "",
148 zl: "", 148 zl: "",
...@@ -178,12 +178,19 @@ ...@@ -178,12 +178,19 @@
178 background-color: #fff; 178 background-color: #fff;
179 font-size: 14px; 179 font-size: 14px;
180 width: 100%; 180 width: 100%;
181 } 181 table-layout: fixed;
182 182 tr:hover{
183 td { 183 background-color: #F5F7FA;
184 text-align: center; 184 }
185 height: 36px; 185 td, th {
186 min-width: 50px; 186 text-align: center;
187 height: 36px;
188 min-width: 50px;
189 overflow: hidden;
190 white-space: nowrap;
191 -ms-text-overflow: ellipsis;
192 text-overflow: ellipsis;
193 }
187 } 194 }
188 195
189 table:hover { 196 table:hover {
...@@ -198,8 +205,39 @@ ...@@ -198,8 +205,39 @@
198 margin-top: 20px; 205 margin-top: 20px;
199 } 206 }
200 207
201 .xz { 208 .xh {
202 color: blue; 209 width: 50px;
210 }
211
212 .zddm {
213 width: 120px;
214 }
215
216 .bdcdyh {
217 width: 180px;
218 }
219
220 .xmmc {
221 width: 100px;
222 }
223
224 .bdcqzh {
225 width: 100px;
226 }
227
228 .qlr {
229 width: 100px;
230 }
231
232 .zl {
233 width: 100px;
234 }
235
236 .cz {
237 width: 50px;
238 span {
239 color: blue;
240 }
203 } 241 }
204 242
205 .noData { 243 .noData {
......
...@@ -9,23 +9,65 @@ ...@@ -9,23 +9,65 @@
9 </el-radio-group> 9 </el-radio-group>
10 <el-input 10 <el-input
11 v-model="bdcdyh" 11 v-model="bdcdyh"
12 :style="{'width':inputWidth+'px'}" 12 :style="{ width: inputWidth + 'px' }"
13 @focus="inputFocus" 13 @focus="inputFocus"
14 @blur="inputBlur" 14 @blur="inputBlur"
15 @change="inputChange" 15 @change="inputChange"
16 class="searchInput" 16 class="searchInput"
17 placeholder="输入不动产单元号" 17 placeholder="输入不动产单元号"
18 ><i slot="suffix" class="el-input__icon el-icon-search" @click="inputChange"></i></el-input> 18 ><i
19 slot="suffix"
20 class="el-input__icon el-icon-search"
21 @click="inputChange"
22 ></i
23 ></el-input>
19 </el-col> 24 </el-col>
20 <el-col :span="16"> 25 <el-col :span="16">
21 <div class="fr"> 26 <div class="fr">
22 <el-button class="radioBtn" label="1" border @click="create">创建楼盘</el-button> 27 <el-button class="radioBtn" label="1" border @click="create"
23 <el-button class="radioBtn" label="2" border @click="plScYcChange">实预测转换</el-button> 28 >创建楼盘</el-button
24 <el-button class="radioBtn" label="3" border @click="plhVisible=true">批量户</el-button> 29 >
25 <el-button class="radioBtn" label="4" border @click="plcVisible=true">批量层</el-button> 30 <el-button class="radioBtn" label="2" border @click="plScYcChange"
26 <el-button class="radioBtn" label="5" border @click="plShVisible=true">批量室号</el-button> 31 >实预测转换</el-button
27 <el-button class="radioBtn" label="6" border @click="plzlVisible=true">批量坐落</el-button> 32 >
28 <el-button class="radioBtn" label="7" border @click="addBdcdyh">批量单元号</el-button> 33 <el-button
34 class="radioBtn"
35 label="3"
36 border
37 @click="plhVisible = true"
38 >批量户</el-button
39 >
40 <el-button
41 class="radioBtn"
42 label="4"
43 border
44 @click="plcVisible = true"
45 >批量层</el-button
46 >
47 <el-button
48 class="radioBtn"
49 label="5"
50 border
51 @click="plShVisible = true"
52 >批量室号</el-button
53 >
54 <el-button
55 class="radioBtn"
56 label="6"
57 border
58 @click="plzlVisible = true"
59 >批量坐落</el-button
60 >
61 <el-button class="radioBtn" label="7" border @click="addBdcdyh"
62 >批量单元号</el-button
63 >
64 <el-button
65 class="radioBtn"
66 label="7"
67 border
68 @click="hcxlzVisible = true"
69 >户重新落宗</el-button
70 >
29 </div> 71 </div>
30 </el-col> 72 </el-col>
31 </el-row> 73 </el-row>
...@@ -56,13 +98,22 @@ ...@@ -56,13 +98,22 @@
56 <i v-show="!legendToggleFlag" class="el-icon-d-arrow-left"></i> 98 <i v-show="!legendToggleFlag" class="el-icon-d-arrow-left"></i>
57 <i v-show="legendToggleFlag" class="el-icon-d-arrow-right"></i> 99 <i v-show="legendToggleFlag" class="el-icon-d-arrow-right"></i>
58 </div> 100 </div>
59 <div :class="selectedZt == 'dyzt'? 'dyzt selectedZt':'dyzt'" @click="selectedZt='dyzt'"> 101 <div
102 :class="selectedZt == 'dyzt' ? 'dyzt selectedZt' : 'dyzt'"
103 @click="selectedZt = 'dyzt'"
104 >
60 <span>单元状态</span> 105 <span>单元状态</span>
61 </div> 106 </div>
62 <div :class="selectedZt == 'fwxz'? 'fwxz selectedZt':'fwxz'" @click="selectedZt='fwxz'"> 107 <div
108 :class="selectedZt == 'fwxz' ? 'fwxz selectedZt' : 'fwxz'"
109 @click="selectedZt = 'fwxz'"
110 >
63 <span>房屋性质</span> 111 <span>房屋性质</span>
64 </div> 112 </div>
65 <div :class="selectedZt == 'fwyt'? 'fwyt selectedZt':'fwyt'" @click="selectedZt='fwyt'"> 113 <div
114 :class="selectedZt == 'fwyt' ? 'fwyt selectedZt' : 'fwyt'"
115 @click="selectedZt = 'fwyt'"
116 >
66 <span>房屋用途</span> 117 <span>房屋用途</span>
67 </div> 118 </div>
68 </div> 119 </div>
...@@ -70,13 +121,24 @@ ...@@ -70,13 +121,24 @@
70 class="legendTable-wrap" 121 class="legendTable-wrap"
71 :style="{ width: legendToggleFlag ? '204px' : '0' }" 122 :style="{ width: legendToggleFlag ? '204px' : '0' }"
72 > 123 >
73 <table class="legendTable" v-show="selectedZt == 'dyzt'" cellspacing="1" cellpadding="1" border="1"> 124 <table
125 class="legendTable"
126 v-show="selectedZt == 'dyzt'"
127 cellspacing="1"
128 cellpadding="1"
129 border="1"
130 >
74 <tr> 131 <tr>
75 <th>状态</th> 132 <th>状态</th>
76 <th>套数</th> 133 <th>套数</th>
77 <th>面积</th> 134 <th>面积</th>
78 </tr> 135 </tr>
79 <tr v-for="(item, index) in dyztList" :key="index" class="cp" @click="handleChoosedH(item.name)"> 136 <tr
137 v-for="(item, index) in dyztList"
138 :key="index"
139 class="cp"
140 @click="handleChoosedH(item.name)"
141 >
80 <td> 142 <td>
81 <i class="el-icon-star-on" :style="{ color: item.color }"></i 143 <i class="el-icon-star-on" :style="{ color: item.color }"></i
82 >{{ item.name }} 144 >{{ item.name }}
...@@ -85,13 +147,25 @@ ...@@ -85,13 +147,25 @@
85 <td>{{ item.mj }}</td> 147 <td>{{ item.mj }}</td>
86 </tr> 148 </tr>
87 </table> 149 </table>
88 <table class="legendTable" v-show="selectedZt == 'fwxz'" cellspacing="1" cellpadding="1" border="1"> 150
151 <table
152 class="legendTable"
153 v-show="selectedZt == 'fwxz'"
154 cellspacing="1"
155 cellpadding="1"
156 border="1"
157 >
89 <tr> 158 <tr>
90 <th>性质</th> 159 <th>性质</th>
91 <th>套数</th> 160 <th>套数</th>
92 <th>面积</th> 161 <th>面积</th>
93 </tr> 162 </tr>
94 <tr v-for="(item, index) in fwxzList" :key="index" class="cp" @click="handleChoosedH(item.name)"> 163 <tr
164 v-for="(item, index) in fwxzList"
165 :key="index"
166 class="cp"
167 @click="handleChoosedH(item.name)"
168 >
95 <td> 169 <td>
96 <i class="el-icon-star-on" :style="{ color: item.color }"></i 170 <i class="el-icon-star-on" :style="{ color: item.color }"></i
97 >{{ item.name }} 171 >{{ item.name }}
...@@ -99,17 +173,29 @@ ...@@ -99,17 +173,29 @@
99 <td>{{ item.ts }}</td> 173 <td>{{ item.ts }}</td>
100 <td>{{ item.mj }}</td> 174 <td>{{ item.mj }}</td>
101 </tr> 175 </tr>
102 <tr v-show="fwxzList.length<1"> 176 <tr v-show="fwxzList.length < 1">
103 <td colspan="3" class="tac">暂无数据</td> 177 <td colspan="3" class="tac">暂无数据</td>
104 </tr> 178 </tr>
105 </table> 179 </table>
106 <table class="legendTable" v-show="selectedZt == 'fwyt'" cellspacing="1" cellpadding="1" border="1"> 180
181 <table
182 class="legendTable"
183 v-show="selectedZt == 'fwyt'"
184 cellspacing="1"
185 cellpadding="1"
186 border="1"
187 >
107 <tr> 188 <tr>
108 <th>用途</th> 189 <th>用途</th>
109 <th>套数</th> 190 <th>套数</th>
110 <th>面积</th> 191 <th>面积</th>
111 </tr> 192 </tr>
112 <tr v-for="(item, index) in fwytList" :key="index" class="cp" @click="handleChoosedH(item.name)"> 193 <tr
194 v-for="(item, index) in fwytList"
195 :key="index"
196 class="cp"
197 @click="handleChoosedH(item.name)"
198 >
113 <td> 199 <td>
114 <i class="el-icon-star-on" :style="{ color: item.color }"></i 200 <i class="el-icon-star-on" :style="{ color: item.color }"></i
115 >{{ item.name }} 201 >{{ item.name }}
...@@ -117,7 +203,7 @@ ...@@ -117,7 +203,7 @@
117 <td>{{ item.ts }}</td> 203 <td>{{ item.ts }}</td>
118 <td>{{ item.mj }}</td> 204 <td>{{ item.mj }}</td>
119 </tr> 205 </tr>
120 <tr v-show="fwytList.length<1"> 206 <tr v-show="fwytList.length < 1">
121 <td colspan="3" class="tac">暂无数据</td> 207 <td colspan="3" class="tac">暂无数据</td>
122 </tr> 208 </tr>
123 </table> 209 </table>
...@@ -135,7 +221,11 @@ ...@@ -135,7 +221,11 @@
135 <addZdy ref="zdy"></addZdy> 221 <addZdy ref="zdy"></addZdy>
136 </div> 222 </div>
137 <div class="addCh" v-show="menuType == 'ch'"> 223 <div class="addCh" v-show="menuType == 'ch'">
138 <addCh ref="ch" :dialogVisible="dialogVisible" :treeData="treeData"></addCh> 224 <addCh
225 ref="ch"
226 :dialogVisible="dialogVisible"
227 :treeData="treeData"
228 ></addCh>
139 </div> 229 </div>
140 <div class="btnGroup"> 230 <div class="btnGroup">
141 <el-button type="primary" @click="saveInfo">保存</el-button> 231 <el-button type="primary" @click="saveInfo">保存</el-button>
...@@ -149,10 +239,15 @@ ...@@ -149,10 +239,15 @@
149 <pl-h :plh-visible="plhVisible" :bsms="bsms" @close="plhClose"></pl-h> 239 <pl-h :plh-visible="plhVisible" :bsms="bsms" @close="plhClose"></pl-h>
150 <pl-zl :pl-zl-visible="plzlVisible" :bsms="bsms" @close="plZlClose"></pl-zl> 240 <pl-zl :pl-zl-visible="plzlVisible" :bsms="bsms" @close="plZlClose"></pl-zl>
151 <pl-c :plc-visible="plcVisible" :bsms="bsms" @close="plcClose"></pl-c> 241 <pl-c :plc-visible="plcVisible" :bsms="bsms" @close="plcClose"></pl-c>
152 <pl-sh :plShVisible="plShVisible" :bsms="bsms" @close="plshClose"></pl-sh> 242 <pl-sh :plShVisible="plShVisible" :bsms="bsms" @close="plshClose"></pl-sh>
243 <h-cxlz
244 :h-cxlz-visble="hcxlzVisible"
245 :bsms="bsms"
246 @close="hcxlzClose"
247 ></h-cxlz>
153 <!-- 双击户的弹出框 --> 248 <!-- 双击户的弹出框 -->
154 <el-dialog title="户编辑" :visible.sync="hbjVisible" width="50%" center> 249 <el-dialog title="户编辑" :visible.sync="hbjVisible" width="50%" center>
155 <hbj ref="hbj" :bsm='hbsm'></hbj> 250 <hbj ref="hbj" :bsm="hbsm"></hbj>
156 <div class="btnGroup"> 251 <div class="btnGroup">
157 <el-button type="primary" @click="hbjSaveInfo">保存</el-button> 252 <el-button type="primary" @click="hbjSaveInfo">保存</el-button>
158 <el-button type="primary" @click="hbjResetInfo">重置</el-button> 253 <el-button type="primary" @click="hbjResetInfo">重置</el-button>
...@@ -163,34 +258,47 @@ ...@@ -163,34 +258,47 @@
163 </template> 258 </template>
164 259
165 <script> 260 <script>
166 import PlC from "./../../../../components/plc/plC" 261 import HCxlz from "./../../../../components/hCxlz/hCxlz";
167 import PlSh from "./../../../../components/plsh/plSh" 262 import PlC from "./../../../../components/plc/plC";
168 import PlH from "./../../../../components/plh/plH" 263 import PlSh from "./../../../../components/plsh/plSh";
169 import PlZl from "./../../../../components/plzl/plZl" 264 import PlH from "./../../../../components/plh/plH";
265 import PlZl from "./../../../../components/plzl/plZl";
170 import LineTree from "../../../../components/lineTree/lineTree"; 266 import LineTree from "../../../../components/lineTree/lineTree";
171 import addLjz from "./ljz/index"; 267 import addLjz from "./ljz/index";
172 import addZdy from "./zdy/index"; 268 import addZdy from "./zdy/index";
173 import addCh from "./ch/index"; 269 import addCh from "./ch/index";
174 import hbj from "./hbj/index" 270 import hbj from "./hbj/index";
175 import lpbContent from "./lpbContent/index"; 271 import lpbContent from "./lpbContent/index";
176 import {getLpbMenuTree,batchScYcChange,getLpbTj} from "../../../../api/lpb"; 272 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh } from "../../../../api/lpb";
177
178 273
179 export default { 274 export default {
180 name: "", 275 name: "",
181 components: { LineTree, addLjz, addZdy, addCh, lpbContent,PlC,PlSh,PlH ,PlZl,hbj}, 276 components: {
277 LineTree,
278 addLjz,
279 addZdy,
280 addCh,
281 lpbContent,
282 PlC,
283 PlSh,
284 PlH,
285 PlZl,
286 hbj,
287 HCxlz,
288 },
182 props: {}, 289 props: {},
183 data() { 290 data() {
184 return { 291 return {
185 bsms:["123","321","231"], 292 bsms: ["123", "321", "231"],
186 hbsm:'', 293 hbsm: "",
187 dialogVisible: false, 294 dialogVisible: false,
188 plcVisible:false, 295 plcVisible: false,
189 plhVisible:false, 296 plhVisible: false,
190 plShVisible:false, 297 plShVisible: false,
191 plzlVisible:false, 298 plzlVisible: false,
192 hbjVisible:false, 299 hbjVisible: false,
193 tabPosition:"1", //1是实测 0是预测 300 hcxlzVisible:false,
301 tabPosition: "1", //1是实测 0是预测
194 radio1: "", 302 radio1: "",
195 radio2: "", 303 radio2: "",
196 createFlag: false, 304 createFlag: false,
...@@ -199,8 +307,8 @@ export default { ...@@ -199,8 +307,8 @@ export default {
199 pd: [], //创建楼盘的树结构数据 307 pd: [], //创建楼盘的树结构数据
200 menuType: "", 308 menuType: "",
201 treeData: {}, 309 treeData: {},
202 inputWidth:74, 310 inputWidth: 74,
203 selectedZt:'dyzt', //图例选中项,默认选中单元状态 311 selectedZt: "dyzt", //图例选中项,默认选中单元状态
204 dyztList: [ 312 dyztList: [
205 { 313 {
206 name: "未确权", 314 name: "未确权",
...@@ -257,13 +365,13 @@ export default { ...@@ -257,13 +365,13 @@ export default {
257 mj: "285", 365 mj: "285",
258 }, 366 },
259 ], 367 ],
260 fwxzList:[], 368 fwxzList: [],
261 fwytList:[], 369 fwytList: [],
262 legendToggleFlag: false, 370 legendToggleFlag: false,
263 lpbContentHight: "", 371 lpbContentHight: "",
264 lpbContentwidth: "", 372 lpbContentwidth: "",
265 time:'', 373 time: "",
266 dyztBsmList:{},//单元状态bsmList 374 dyztBsmList: {}, //单元状态bsmList
267 }; 375 };
268 }, 376 },
269 created() { 377 created() {
...@@ -281,18 +389,21 @@ export default { ...@@ -281,18 +389,21 @@ export default {
281 }, 100); 389 }, 100);
282 }, 390 },
283 methods: { 391 methods: {
284 plZlClose(){ 392 hcxlzClose() {
285 this.plzlVisible=false 393 this.hcxlzVisible = false;
394 },
395 plZlClose() {
396 this.plzlVisible = false;
286 }, 397 },
287 plcClose(){ 398 plcClose() {
288 this.plcVisible=false; 399 this.plcVisible = false;
289 }, 400 },
290 plhClose(){ 401 plhClose() {
291 this.plhVisible=false; 402 this.plhVisible = false;
403 },
404 plshClose() {
405 this.plShVisible = false;
292 }, 406 },
293 plshClose(){
294 this.plShVisible=false
295 },
296 //获取高度计算lpb内容区高度 407 //获取高度计算lpb内容区高度
297 getHeight() { 408 getHeight() {
298 this.lpbContentHight = window.innerHeight - 285; 409 this.lpbContentHight = window.innerHeight - 285;
...@@ -357,146 +468,151 @@ export default { ...@@ -357,146 +468,151 @@ export default {
357 this.legendToggleFlag = !this.legendToggleFlag; 468 this.legendToggleFlag = !this.legendToggleFlag;
358 }, 469 },
359 //获取选中户bsm 470 //获取选中户bsm
360 getHbsm(data,type){ 471 getHbsm(data, type) {
361 this.bsms = data; 472 this.bsms = data;
362 if(type){ 473 if (type) {
363 // 双击 474 // 双击
364 this.hbsm = this.bsms[this.bsms.length-1]; 475 this.hbsm = this.bsms[this.bsms.length - 1];
365 this.hbjVisible = true; 476 this.hbjVisible = true;
366 this.$nextTick(function () { 477 this.$nextTick(function() {
367 this.$refs.hbj.getHInfo(this.hbsm); 478 this.$refs.hbj.getHInfo(this.hbsm);
368 }) 479 });
369 }else{ 480 } else {
370 //单击 TO DO 481 //单击 TO DO
371
372 } 482 }
373 console.log(this.bsms); 483 console.log(this.bsms);
374 }, 484 },
375 //不动产单元号输入框事件 485 //不动产单元号输入框事件
376 inputFocus(){ 486 inputFocus() {
377 this.inputWidth = 200 487 this.inputWidth = 200;
378 }, 488 },
379 inputBlur(){ 489 inputBlur() {
380 this.inputWidth = 74 490 this.inputWidth = 74;
381 }, 491 },
382 inputChange(){ 492 inputChange() {
383 if (this.bdcdyh!='') { 493 if (this.bdcdyh != "") {
384 console.log('查询'+this.bdcdyh); 494 console.log("查询" + this.bdcdyh);
385 this.$refs.lpbContent.lpbDataMap(this.bdcdyh); 495 this.$refs.lpbContent.lpbDataMap(this.bdcdyh);
386 }else{ 496 } else {
387 this.$message({ 497 this.$message({
388 message: "请输入内容后查询", 498 message: "请输入内容后查询",
389 type: "warning", 499 type: "warning",
390 }) 500 });
391 } 501 }
392 }, 502 },
393 //户保存 503 //户保存
394 hbjSaveInfo(){ 504 hbjSaveInfo() {
395 this.$refs.hbj.onSave(this.bsms[this.bsms.length-1],this.tabPosition); 505 this.$refs.hbj.onSave(this.bsms[this.bsms.length - 1], this.tabPosition);
396 }, 506 },
397 //户编辑表单重置 507 //户编辑表单重置
398 hbjResetInfo(){ 508 hbjResetInfo() {
399 this.$refs.hbj.onReset(); 509 this.$refs.hbj.onReset();
400 }, 510 },
401 //调用楼盘表信息查询接口 511 //调用楼盘表信息查询接口
402 getlpbData(){ 512 getlpbData() {
403 this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm); 513 this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm);
404 //改变楼盘表子组件的key值,重新渲染 514 //改变楼盘表子组件的key值,重新渲染
405 this.time = new Date().getTime(); 515 this.time = new Date().getTime();
406 }, 516 },
407 //实预测装换 517 //实预测装换
408 plScYcChange(){ 518 plScYcChange() {
409 let data={ 519 let data = {
410 zrzbsm:this.$store.state.zrzbsm, 520 zrzbsm: this.$store.state.zrzbsm,
411 scyclx:"0" 521 scyclx: "0",
412 } 522 };
413 batchScYcChange(data).then((res)=>{ 523 batchScYcChange(data).then((res) => {
414 if(res.code===200){ 524 if (res.code === 200) {
415 this.$message.success("实预测转换成功") 525 this.$message.success("实预测转换成功");
416 } 526 }
417 }) 527 });
418 }, 528 },
419 //选中房屋状态 529 //选中房屋状态
420 handleChoosedH(name){ 530 handleChoosedH(name) {
421 console.log(name,'选中房屋状态'); 531 console.log(name, "选中房屋状态");
422 // Dyzt:{list:[],mj:''} 532 // Dyzt:{list:[],mj:''}
423 //清除选中户 533 //清除选中户
424 this.$refs.lpbContent.clearChoosedH() 534 this.$refs.lpbContent.clearChoosedH();
425 //给hBsmList传值 535 //给hBsmList传值
426 switch (name) { 536 switch (name) {
427 case '未确权': 537 case "未确权":
428 this.$refs.lpbContent.choosedList = this.dyztBsmList.Wqqzt.bsms; 538 this.$refs.lpbContent.choosedList = this.dyztBsmList.Wqqzt.bsms;
429 break; 539 break;
430 case '已确权': 540 case "已确权":
431 this.$refs.lpbContent.choosedList = this.dyztBsmList.Qqzt.bsms; 541 this.$refs.lpbContent.choosedList = this.dyztBsmList.Qqzt.bsms;
432 break; 542 break;
433 case '已备案': 543 case "已备案":
434 this.$refs.lpbContent.choosedList = this.dyztBsmList.Bazt.bsms; 544 this.$refs.lpbContent.choosedList = this.dyztBsmList.Bazt.bsms;
435 break; 545 break;
436 case '预抵押': 546 case "预抵押":
437 this.$refs.lpbContent.choosedList = this.dyztBsmList.Ydyzt.bsms; 547 this.$refs.lpbContent.choosedList = this.dyztBsmList.Ydyzt.bsms;
438 break; 548 break;
439 case '在建抵押': 549 case "在建抵押":
440 this.$refs.lpbContent.choosedList = this.dyztBsmList.Zjgcdyzt.bsms; 550 this.$refs.lpbContent.choosedList = this.dyztBsmList.Zjgcdyzt.bsms;
441 break; 551 break;
442 case '抵押': 552 case "抵押":
443 this.$refs.lpbContent.choosedList = this.dyztBsmList.Dyzt.bsms; 553 this.$refs.lpbContent.choosedList = this.dyztBsmList.Dyzt.bsms;
444 break; 554 break;
445 case '查封': 555 case "查封":
446 this.$refs.lpbContent.choosedList = this.dyztBsmList.Cfzt.bsms; 556 this.$refs.lpbContent.choosedList = this.dyztBsmList.Cfzt.bsms;
447 break; 557 break;
448 case '异议': 558 case "异议":
449 this.$refs.lpbContent.choosedList = this.dyztBsmList.Yyzt.bsms; 559 this.$refs.lpbContent.choosedList = this.dyztBsmList.Yyzt.bsms;
450 break; 560 break;
451 case '限制': 561 case "限制":
452 this.$refs.lpbContent.choosedList = this.dyztBsmList.Xzzt.bsms; 562 this.$refs.lpbContent.choosedList = this.dyztBsmList.Xzzt.bsms;
453 break; 563 break;
454 564
455 default: 565 default:
456 break; 566 break;
457 } 567 }
458 // this.$refs.lpbContent.choosedList=["0a66bc775dcec26385f9124cc0fd8656", "58cafdbee129bb412527f674ef9267ae", "4bbca678fa56d5ab97b8a62c7cb54898", "ecfd72e9a31a03ba0ab4e46faba2b51b", "049033ea9d244b4b5ea75521b6862239", "013352d8a001a1d5f790296b6843627b", "ed8e3f0e2b2682cf76b4d58b9a74e49c", "37cc53acaf2c3bb92be4b9adf06d94c9", "f5a5e14ce08c26056aca5861f56e5cf6", "11eeaaa5c9f5f1231c69d3b958d05568", "421978023a36d4920dbb86300cc52dc9", "e97f2af2588cc0e41ffb6b203df617c9", "7210987d94350472dca10d4ad71fffc5", "6eb1b50edce538a4c63574e9e28fedce", "43c5fecd7623ceabc37844e8a4722603", "c361ccfcd3da9f7288110c6fa202cb96", "2321512f6f8d0ec9f570c6eec9a892fe", "ea08fb234cd908c89a0d21c085dadb2f", "be71f7f0ec926e1850d3baec8817cdbd", "6f695d6b7ecb97f7ff17f22dbe86b93c", "4ee1604b2629e6797d3096c20229223b"] 568 // this.$refs.lpbContent.choosedList=["0a66bc775dcec26385f9124cc0fd8656", "58cafdbee129bb412527f674ef9267ae", "4bbca678fa56d5ab97b8a62c7cb54898", "ecfd72e9a31a03ba0ab4e46faba2b51b", "049033ea9d244b4b5ea75521b6862239", "013352d8a001a1d5f790296b6843627b", "ed8e3f0e2b2682cf76b4d58b9a74e49c", "37cc53acaf2c3bb92be4b9adf06d94c9", "f5a5e14ce08c26056aca5861f56e5cf6", "11eeaaa5c9f5f1231c69d3b958d05568", "421978023a36d4920dbb86300cc52dc9", "e97f2af2588cc0e41ffb6b203df617c9", "7210987d94350472dca10d4ad71fffc5", "6eb1b50edce538a4c63574e9e28fedce", "43c5fecd7623ceabc37844e8a4722603", "c361ccfcd3da9f7288110c6fa202cb96", "2321512f6f8d0ec9f570c6eec9a892fe", "ea08fb234cd908c89a0d21c085dadb2f", "be71f7f0ec926e1850d3baec8817cdbd", "6f695d6b7ecb97f7ff17f22dbe86b93c", "4ee1604b2629e6797d3096c20229223b"]
459 }, 569 },
460 //批量添加不动产单元号 570 //批量添加不动产单元号
461 addBdcdyh(){ 571 addBdcdyh() {
462 // this.pd[0].bsm //自然幢标识码 572 // this.pd[0].bsm //自然幢标识码
463 console.log(this.$store.state.zrzh,'this.$store.state.zrzh'); 573 batchGeneratorBdcdyh(this.$store.state.zrzh, this.pd[0].bsm).then(
574 (res) => {
575 if (res.code === 200) {
576 this.$message.success("生成完成!");
577 } else {
578 this.$message.warning("生成失败!");
579 }
580 }
581 );
464 }, 582 },
465 //获取各项单元状态的户bsm 583 //获取各项单元状态的户bsm
466 getDyztBsmList(){ 584 getDyztBsmList() {
467 let data={ 585 let data = {
468 zrzbsm:this.$store.state.zrzbsm, 586 zrzbsm: this.$store.state.zrzbsm,
469 syclx:"0" 587 syclx: "0",
470 } 588 };
471 getLpbTj(data).then((res)=>{ 589 getLpbTj(data).then((res) => {
472 if(res.code===200){ 590 if (res.code === 200) {
473 this.dyztBsmList = res.result; 591 this.dyztBsmList = res.result;
474 //给单元状态图例数据dyztList赋值 592 //给单元状态图例数据dyztList赋值
475 this.dyztList[0].mj = res.result.Wqqzt.mj 593 this.dyztList[0].mj = res.result.Wqqzt.mj;
476 this.dyztList[0].ts = res.result.Wqqzt.bsms.length 594 this.dyztList[0].ts = res.result.Wqqzt.bsms.length;
477 this.dyztList[1].mj = res.result.Qqzt.mj 595 this.dyztList[1].mj = res.result.Qqzt.mj;
478 this.dyztList[1].ts = res.result.Qqzt.bsms.length 596 this.dyztList[1].ts = res.result.Qqzt.bsms.length;
479 this.dyztList[2].mj = res.result.Bazt.mj 597 this.dyztList[2].mj = res.result.Bazt.mj;
480 this.dyztList[2].ts = res.result.Bazt.bsms.length 598 this.dyztList[2].ts = res.result.Bazt.bsms.length;
481 this.dyztList[3].mj = res.result.Ydyzt.mj 599 this.dyztList[3].mj = res.result.Ydyzt.mj;
482 this.dyztList[3].ts = res.result.Ydyzt.bsms.length 600 this.dyztList[3].ts = res.result.Ydyzt.bsms.length;
483 this.dyztList[4].mj = res.result.Zjgcdyzt.mj 601 this.dyztList[4].mj = res.result.Zjgcdyzt.mj;
484 this.dyztList[4].ts = res.result.Zjgcdyzt.bsms.length 602 this.dyztList[4].ts = res.result.Zjgcdyzt.bsms.length;
485 this.dyztList[5].mj = res.result.Dyzt.mj 603 this.dyztList[5].mj = res.result.Dyzt.mj;
486 this.dyztList[5].ts = res.result.Dyzt.bsms.length 604 this.dyztList[5].ts = res.result.Dyzt.bsms.length;
487 this.dyztList[6].mj = res.result.Cfzt.mj 605 this.dyztList[6].mj = res.result.Cfzt.mj;
488 this.dyztList[6].ts = res.result.Cfzt.bsms.length 606 this.dyztList[6].ts = res.result.Cfzt.bsms.length;
489 this.dyztList[7].mj = res.result.Yyzt.mj 607 this.dyztList[7].mj = res.result.Yyzt.mj;
490 this.dyztList[7].ts = res.result.Yyzt.bsms.length 608 this.dyztList[7].ts = res.result.Yyzt.bsms.length;
491 this.dyztList[8].mj = res.result.Xzzt.mj 609 this.dyztList[8].mj = res.result.Xzzt.mj;
492 this.dyztList[8].ts = res.result.Xzzt.bsms.length 610 this.dyztList[8].ts = res.result.Xzzt.bsms.length;
493 console.log(res,'各项单元状态的户bsmList');
494 } 611 }
495 }) 612 });
496 } 613 },
497 },
498 computed: {
499 }, 614 },
615 computed: {},
500 destroyed() { 616 destroyed() {
501 window.removeEventListener("resize", this.getHeight); 617 window.removeEventListener("resize", this.getHeight);
502 }, 618 },
...@@ -534,21 +650,21 @@ export default { ...@@ -534,21 +650,21 @@ export default {
534 box-sizing: border-box; 650 box-sizing: border-box;
535 padding: 0 20px; 651 padding: 0 20px;
536 /deep/.el-radio-button__inner { 652 /deep/.el-radio-button__inner {
537 border: 1px solid #00CACD; 653 border: 1px solid #00cacd;
538 color: #00CACD; 654 color: #00cacd;
539 } 655 }
540 /deep/.el-radio-button__inner:hover{ 656 /deep/.el-radio-button__inner:hover {
541 color: #00CACD; 657 color: #00cacd;
542 } 658 }
543 /deep/.is-active .el-radio-button__inner{ 659 /deep/.is-active .el-radio-button__inner {
544 color: #fff; 660 color: #fff;
545 } 661 }
546 /deep/.el-radio-button__orig-radio:checked+.el-radio-button__inner{ 662 /deep/.el-radio-button__orig-radio:checked + .el-radio-button__inner {
547 background-color: #00CACD; 663 background-color: #00cacd;
548 border-color: #00CACD; 664 border-color: #00cacd;
549 } 665 }
550 .searchInput { 666 .searchInput {
551 transition: .5s; 667 transition: 0.5s;
552 margin-left: 20px; 668 margin-left: 20px;
553 display: inline-block; 669 display: inline-block;
554 } 670 }
...@@ -601,7 +717,7 @@ export default { ...@@ -601,7 +717,7 @@ export default {
601 height: 40px; 717 height: 40px;
602 line-height: 40px; 718 line-height: 40px;
603 text-align: center; 719 text-align: center;
604 background-color: #0091FF; 720 background-color: #0091ff;
605 color: #fff; 721 color: #fff;
606 border-bottom: 1px solid #e6e6e6; 722 border-bottom: 1px solid #e6e6e6;
607 } 723 }
...@@ -627,8 +743,8 @@ export default { ...@@ -627,8 +743,8 @@ export default {
627 letter-spacing: 2px; 743 letter-spacing: 2px;
628 } 744 }
629 } 745 }
630 .selectedZt{ 746 .selectedZt {
631 background-color: #0091FF; 747 background-color: #0091ff;
632 color: #fff; 748 color: #fff;
633 } 749 }
634 } 750 }
...@@ -663,7 +779,7 @@ export default { ...@@ -663,7 +779,7 @@ export default {
663 } 779 }
664 } 780 }
665 } 781 }
666 .tab-content::-webkit-scrollbar{ 782 .tab-content::-webkit-scrollbar {
667 width: 1px; 783 width: 1px;
668 } 784 }
669 .btnGroup { 785 .btnGroup {
......