@@ -223,10 +223,14 @@ | |||||
<div class="text1-2"> </div> | <div class="text1-2"> </div> | ||||
</div> | </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> | ||||
<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> | ||||
</div> | </div> | ||||
<!-- 表格 --> | <!-- 表格 --> | ||||
@@ -432,6 +436,7 @@ export default { | |||||
tablist: [], | tablist: [], | ||||
houseList: [], | houseList: [], | ||||
role: "", | role: "", | ||||
data6flag:true | |||||
}; | }; | ||||
}, | }, | ||||
computed: { | computed: { | ||||
@@ -1138,10 +1143,14 @@ export default { | |||||
option && myChart.setOption(option); | option && myChart.setOption(option); | ||||
window.addEventListener("resize", () => { | window.addEventListener("resize", () => { | ||||
myChart.resize(); | myChart.resize(); | ||||
this[data1+'flag']=true | |||||
}); | }); | ||||
} | } | ||||
catch(err){ | catch(err){ | ||||
console.log(err,data1); | 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(){ | sysChange(){ | ||||
this.choicValue='' | 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.selValue=this.options[0].value | ||||
// this.houseList=[] | // this.houseList=[] | ||||
this.getList(); | this.getList(); | ||||
@@ -732,8 +738,11 @@ export default { | |||||
}, | }, | ||||
valuechange() { | valuechange() { | ||||
this.dateType = 4; | this.dateType = 4; | ||||
this.dateType1 = 1; | |||||
this.cardindex=1 | this.cardindex=1 | ||||
this.secindex=1 | this.secindex=1 | ||||
this.echarValue1='0' | |||||
this.echarValue='0' | |||||
this.dataOverViewWithSystem(); | this.dataOverViewWithSystem(); | ||||
this.dataOverviewWithSystemWithDay(); | this.dataOverviewWithSystemWithDay(); | ||||
this.dataOverviewWithSystemWithLook(); | this.dataOverviewWithSystemWithLook(); | ||||
@@ -742,8 +751,11 @@ export default { | |||||
selChange() { | selChange() { | ||||
this.choicValue = ""; | this.choicValue = ""; | ||||
this.dateType = 4; | this.dateType = 4; | ||||
this.dateType1 = 1; | |||||
this.cardindex=1 | this.cardindex=1 | ||||
this.secindex=1 | this.secindex=1 | ||||
this.echarValue1='0' | |||||
this.echarValue='0' | |||||
this.getList(); | this.getList(); | ||||
}, | }, | ||||
// 获取下拉框数据 | // 获取下拉框数据 | ||||
@@ -812,14 +812,24 @@ export default { | |||||
}, | }, | ||||
valuechange() { | valuechange() { | ||||
this.dateType = 4; | this.dateType = 4; | ||||
this.cardindex = 1; | |||||
this.dateType1 = 1; | |||||
this.cardindex = 6; | |||||
this.secindex = 1; | this.secindex = 1; | ||||
this.echarValue1='0' | |||||
this.echarValue='0' | |||||
// console.log(this.choicValue); | // console.log(this.choicValue); | ||||
this.dataOverViewWithSystem(); | this.dataOverViewWithSystem(); | ||||
this.dataOverviewWithSystemWithDay(); | this.dataOverviewWithSystemWithDay(); | ||||
this.dataOverviewWithSystemWithLook(); | this.dataOverviewWithSystemWithLook(); | ||||
}, | }, | ||||
sysChange(){ | sysChange(){ | ||||
this.choicValue = ""; | |||||
this.dateType = 4; | |||||
this.dateType1 = 1; | |||||
this.cardindex = 6; | |||||
this.secindex = 1; | |||||
this.echarValue1='0' | |||||
this.echarValue='0' | |||||
this.dataOverViewWithSystem(); | this.dataOverViewWithSystem(); | ||||
this.dataOverviewWithSystemWithDay(); | this.dataOverviewWithSystemWithDay(); | ||||
this.dataOverviewWithSystemWithLook(); | this.dataOverviewWithSystemWithLook(); | ||||
@@ -828,8 +838,11 @@ export default { | |||||
selChange() { | selChange() { | ||||
this.choicValue = ""; | this.choicValue = ""; | ||||
this.dateType = 4; | this.dateType = 4; | ||||
this.cardindex = 1; | |||||
this.dateType1 = 1; | |||||
this.cardindex = 6; | |||||
this.secindex = 1; | this.secindex = 1; | ||||
this.echarValue1='0' | |||||
this.echarValue='0' | |||||
this.getList(); | this.getList(); | ||||
}, | }, | ||||
// 获取下拉框数据 | // 获取下拉框数据 | ||||
@@ -94,14 +94,14 @@ | |||||
<div class="text1">服务期内楼盘总数</div> | <div class="text1">服务期内楼盘总数</div> | ||||
<div class="text2">{{ firstTab.houseQofEnough || 0 }}</div> | <div class="text2">{{ firstTab.houseQofEnough || 0 }}</div> | ||||
</div> | </div> | ||||
<div class="grid-content"> | |||||
<div class="grid-content" v-if='houseTypes=="0,1"'> | |||||
<div class="text1">试用楼盘数</div> | <div class="text1">试用楼盘数</div> | ||||
<div class="text2">{{ firstTab.houseQuantityOfTryOut || 0 }}</div> | <div class="text2">{{ firstTab.houseQuantityOfTryOut || 0 }}</div> | ||||
</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="text1">演示楼盘数</div> | ||||
<div class="text2">{{ firstTab.houseQuantityOfTryOut || 0 }}</div> | |||||
</div> --> | |||||
<div class="text2">{{ firstTab.houseQuantityOfDemo || 0 }}</div> | |||||
</div> | |||||
<div class="grid-content"> | <div class="grid-content"> | ||||
<div class="text1">过期楼盘数</div> | <div class="text1">过期楼盘数</div> | ||||
<div class="text2">{{ firstTab.houseQofUnenough || 0 }}</div> | <div class="text2">{{ firstTab.houseQofUnenough || 0 }}</div> | ||||
@@ -864,8 +864,11 @@ export default { | |||||
}, | }, | ||||
valuechange() { | valuechange() { | ||||
this.dateType = 4; | this.dateType = 4; | ||||
this.dateType1 = 1; | |||||
this.cardindex = 1; | this.cardindex = 1; | ||||
this.secindex = 1; | this.secindex = 1; | ||||
this.echarValue1='0' | |||||
this.echarValue='0' | |||||
if (this.choicValue == "") { | if (this.choicValue == "") { | ||||
} | } | ||||
if (this.selValue == 1) { | if (this.selValue == 1) { | ||||
@@ -883,16 +886,19 @@ export default { | |||||
}, | }, | ||||
// 当选择的代理商或者楼盘切换时 | // 当选择的代理商或者楼盘切换时 | ||||
selChange(e) { | selChange(e) { | ||||
console.log(e); | |||||
if (e == -1) { | if (e == -1) { | ||||
// this.operaFlag = false; | // this.operaFlag = false; | ||||
this.agentissow = true; | this.agentissow = true; | ||||
return; | |||||
// return; | |||||
} | } | ||||
this.choicValue = ""; | this.choicValue = ""; | ||||
this.dateType = 4; | this.dateType = 4; | ||||
this.cardindex = 1; | this.cardindex = 1; | ||||
this.secindex = 1; | this.secindex = 1; | ||||
this.getList(); | |||||
this.echarValue1='0' | |||||
this.echarValue='0' | |||||
this.dateType1 = 1; | |||||
if (this.selValue == 1) { | if (this.selValue == 1) { | ||||
this.agentissow = false; | this.agentissow = false; | ||||
} else { | } else { | ||||
@@ -902,13 +908,21 @@ export default { | |||||
this.agentissow = false; | this.agentissow = false; | ||||
} | } | ||||
} | } | ||||
this.getList(); | |||||
}, | }, | ||||
sysChange() { | sysChange() { | ||||
this.choicValue='' | this.choicValue='' | ||||
this.selValue=this.options[0].value | 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() { | getList() { | ||||
@@ -310,9 +310,14 @@ export default { | |||||
methods: { | methods: { | ||||
sysChange() { | sysChange() { | ||||
this.choicValue='' | 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一 | // 获取tab一 | ||||
houseDataAll() { | houseDataAll() { | ||||
@@ -4,8 +4,8 @@ | |||||
*/ | */ | ||||
// const url = 'http://pigx-gateway' | // const url = 'http://pigx-gateway' | ||||
// const url = 'http://39.97.167.65:9999' //测试 | // 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://192.168.31.100:9999' //王笑 | ||||
// const url = 'http://nitu5e.natappfree.cc' //王笑 | // const url = 'http://nitu5e.natappfree.cc' //王笑 | ||||