@@ -223,10 +223,14 @@ | |||
<div class="text1-2"> </div> | |||
</div> | |||
</div> | |||
<div style="height: 350px; width: 94%; margin: 0 auto"> | |||
<div id="data6" style="height: 350px"></div> | |||
<div v-if="data6flag" style="height: 350px; width: 94%; margin: 0 auto"> | |||
<div id="data6" style="height: 350px"></div> | |||
</div> | |||
<div v-else style="height: 350px; width: 94%; margin: 0 auto;text-align:center;color: #999999;"> | |||
<img class="imgboxc-img" src="/img/nullnull.png" alt="" /> | |||
<div class="nulltext">暂无数据</div> | |||
</div> | |||
</div> | |||
</div> | |||
<!-- 表格 --> | |||
@@ -432,6 +436,7 @@ export default { | |||
tablist: [], | |||
houseList: [], | |||
role: "", | |||
data6flag:true | |||
}; | |||
}, | |||
computed: { | |||
@@ -1138,10 +1143,14 @@ export default { | |||
option && myChart.setOption(option); | |||
window.addEventListener("resize", () => { | |||
myChart.resize(); | |||
this[data1+'flag']=true | |||
}); | |||
} | |||
catch(err){ | |||
console.log(err,data1); | |||
this[data1+'flag']=false | |||
echarts.init(document.getElementById(data1)).dispose(); | |||
console.log(this[data1+'flag']); | |||
} | |||
}, | |||
@@ -723,6 +723,12 @@ export default { | |||
}, | |||
sysChange(){ | |||
this.choicValue='' | |||
this.dateType = 4; | |||
this.dateType1 = 1; | |||
this.cardindex=1 | |||
this.secindex=1 | |||
this.echarValue1='0' | |||
this.echarValue='0' | |||
// this.selValue=this.options[0].value | |||
// this.houseList=[] | |||
this.getList(); | |||
@@ -732,8 +738,11 @@ export default { | |||
}, | |||
valuechange() { | |||
this.dateType = 4; | |||
this.dateType1 = 1; | |||
this.cardindex=1 | |||
this.secindex=1 | |||
this.echarValue1='0' | |||
this.echarValue='0' | |||
this.dataOverViewWithSystem(); | |||
this.dataOverviewWithSystemWithDay(); | |||
this.dataOverviewWithSystemWithLook(); | |||
@@ -742,8 +751,11 @@ export default { | |||
selChange() { | |||
this.choicValue = ""; | |||
this.dateType = 4; | |||
this.dateType1 = 1; | |||
this.cardindex=1 | |||
this.secindex=1 | |||
this.echarValue1='0' | |||
this.echarValue='0' | |||
this.getList(); | |||
}, | |||
// 获取下拉框数据 | |||
@@ -812,14 +812,24 @@ export default { | |||
}, | |||
valuechange() { | |||
this.dateType = 4; | |||
this.cardindex = 1; | |||
this.dateType1 = 1; | |||
this.cardindex = 6; | |||
this.secindex = 1; | |||
this.echarValue1='0' | |||
this.echarValue='0' | |||
// console.log(this.choicValue); | |||
this.dataOverViewWithSystem(); | |||
this.dataOverviewWithSystemWithDay(); | |||
this.dataOverviewWithSystemWithLook(); | |||
}, | |||
sysChange(){ | |||
this.choicValue = ""; | |||
this.dateType = 4; | |||
this.dateType1 = 1; | |||
this.cardindex = 6; | |||
this.secindex = 1; | |||
this.echarValue1='0' | |||
this.echarValue='0' | |||
this.dataOverViewWithSystem(); | |||
this.dataOverviewWithSystemWithDay(); | |||
this.dataOverviewWithSystemWithLook(); | |||
@@ -828,8 +838,11 @@ export default { | |||
selChange() { | |||
this.choicValue = ""; | |||
this.dateType = 4; | |||
this.cardindex = 1; | |||
this.dateType1 = 1; | |||
this.cardindex = 6; | |||
this.secindex = 1; | |||
this.echarValue1='0' | |||
this.echarValue='0' | |||
this.getList(); | |||
}, | |||
// 获取下拉框数据 | |||
@@ -94,14 +94,14 @@ | |||
<div class="text1">服务期内楼盘总数</div> | |||
<div class="text2">{{ firstTab.houseQofEnough || 0 }}</div> | |||
</div> | |||
<div class="grid-content"> | |||
<div class="grid-content" v-if='houseTypes=="0,1"'> | |||
<div class="text1">试用楼盘数</div> | |||
<div class="text2">{{ firstTab.houseQuantityOfTryOut || 0 }}</div> | |||
</div> | |||
<!-- <div class="grid-content" v-if='houseTypes=="2,3"'> | |||
<div class="grid-content" v-if='houseTypes=="2,3"'> | |||
<div class="text1">演示楼盘数</div> | |||
<div class="text2">{{ firstTab.houseQuantityOfTryOut || 0 }}</div> | |||
</div> --> | |||
<div class="text2">{{ firstTab.houseQuantityOfDemo || 0 }}</div> | |||
</div> | |||
<div class="grid-content"> | |||
<div class="text1">过期楼盘数</div> | |||
<div class="text2">{{ firstTab.houseQofUnenough || 0 }}</div> | |||
@@ -864,8 +864,11 @@ export default { | |||
}, | |||
valuechange() { | |||
this.dateType = 4; | |||
this.dateType1 = 1; | |||
this.cardindex = 1; | |||
this.secindex = 1; | |||
this.echarValue1='0' | |||
this.echarValue='0' | |||
if (this.choicValue == "") { | |||
} | |||
if (this.selValue == 1) { | |||
@@ -883,16 +886,19 @@ export default { | |||
}, | |||
// 当选择的代理商或者楼盘切换时 | |||
selChange(e) { | |||
console.log(e); | |||
if (e == -1) { | |||
// this.operaFlag = false; | |||
this.agentissow = true; | |||
return; | |||
// return; | |||
} | |||
this.choicValue = ""; | |||
this.dateType = 4; | |||
this.cardindex = 1; | |||
this.secindex = 1; | |||
this.getList(); | |||
this.echarValue1='0' | |||
this.echarValue='0' | |||
this.dateType1 = 1; | |||
if (this.selValue == 1) { | |||
this.agentissow = false; | |||
} else { | |||
@@ -902,13 +908,21 @@ export default { | |||
this.agentissow = false; | |||
} | |||
} | |||
this.getList(); | |||
}, | |||
sysChange() { | |||
this.choicValue='' | |||
this.selValue=this.options[0].value | |||
this.dataOverViewWithSystem(); | |||
this.dataOverviewWithSystemWithDay(); | |||
this.dataOverviewWithSystemWithLook(); | |||
this.dateType = 4; | |||
this.cardindex = 1; | |||
this.secindex = 1; | |||
this.echarValue1='0' | |||
this.echarValue='0' | |||
this.dateType1 = 1; | |||
this.getList() | |||
// this.dataOverViewWithSystem(); | |||
// this.dataOverviewWithSystemWithDay(); | |||
// this.dataOverviewWithSystemWithLook(); | |||
}, | |||
// 获取下拉框数据 | |||
getList() { | |||
@@ -310,9 +310,14 @@ export default { | |||
methods: { | |||
sysChange() { | |||
this.choicValue='' | |||
this.selValue=this.options[0].value | |||
this.houseDataAll(); | |||
this.houseTrends(); | |||
if(this.orgType==0){ | |||
this.selValue='0' | |||
}else{ | |||
this.selValue='1' | |||
} | |||
this.getList(); | |||
// this.houseDataAll(); | |||
// this.houseTrends(); | |||
}, | |||
// 获取tab一 | |||
houseDataAll() { | |||
@@ -4,8 +4,8 @@ | |||
*/ | |||
// const url = 'http://pigx-gateway' | |||
// const url = 'http://39.97.167.65:9999' //测试 | |||
// const url = 'http://192.168.31.169:9999' //长龙 | |||
const url = 'http://192.168.31.134:9999' //嘉豪 | |||
const url = 'http://192.168.31.169:9999' //长龙 | |||
// const url = 'http://192.168.31.134:9999' //嘉豪 | |||
// const url = 'http://192.168.31.100:9999' //王笑 | |||
// const url = 'http://nitu5e.natappfree.cc' //王笑 | |||