a05edcc3 by 杨威

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

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