a05edcc3 by 杨威

楼盘表默认加载预测类型数据

1 parent db6f3d57
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
4 <el-row class="searchContent"> 4 <el-row class="searchContent">
5 <el-col :span="6"> 5 <el-col :span="6">
6 <el-radio-group v-model="scyclx" @change="scyclxChange"> 6 <el-radio-group v-model="scyclx" @change="scyclxChange">
7 <el-radio-button label="1">实测</el-radio-button>
8 <el-radio-button label="0">预测</el-radio-button> 7 <el-radio-button label="0">预测</el-radio-button>
8 <el-radio-button label="1">实测</el-radio-button>
9 </el-radio-group> 9 </el-radio-group>
10 <el-input 10 <el-input
11 maxlength="28" 11 maxlength="28"
...@@ -312,7 +312,7 @@ export default { ...@@ -312,7 +312,7 @@ export default {
312 plzlVisible: false, 312 plzlVisible: false,
313 hbjVisible: false, 313 hbjVisible: false,
314 hcxlzVisible:false, 314 hcxlzVisible:false,
315 scyclx: "1", //1是实测 0是预测 315 scyclx: "0", //1是实测 0是预测
316 radio1: "", 316 radio1: "",
317 radio2: "", 317 radio2: "",
318 createFlag: false, 318 createFlag: false,
...@@ -648,6 +648,7 @@ export default { ...@@ -648,6 +648,7 @@ export default {
648 // this.$refs.lpbContent.clearChoosedH(); 648 // this.$refs.lpbContent.clearChoosedH();
649 this.$nextTick(()=>{ 649 this.$nextTick(()=>{
650 //给hBsmList传值 650 //给hBsmList传值
651 // console.log(bsms,'bsms');
651 this.$refs.lpbContent.choosedList = bsms; 652 this.$refs.lpbContent.choosedList = bsms;
652 this.$refs.lpbContent.borderColor = color; 653 this.$refs.lpbContent.borderColor = color;
653 }) 654 })
......
...@@ -681,6 +681,8 @@ export default { ...@@ -681,6 +681,8 @@ export default {
681 //父组件中选择单元状态改变选中户的边框颜色 681 //父组件中选择单元状态改变选中户的边框颜色
682 choosedList(n) { 682 choosedList(n) {
683 this.$refs.hBsm.forEach((item) => { 683 this.$refs.hBsm.forEach((item) => {
684 // console.log(item.dataset.bsm,'item.dataset.bsm');
685 // console.log(this.choosedList,'this.choosedList');
684 this.choosedList.forEach((i) => { 686 this.choosedList.forEach((i) => {
685 if (item.dataset.bsm == i) { 687 if (item.dataset.bsm == i) {
686 console.log(item.style.borderColor ,'item.style.borderColor '); 688 console.log(item.style.borderColor ,'item.style.borderColor ');
......