Commit 1a69cbe6 by 李君

优化

1 parent 1a6f2b07
...@@ -146,7 +146,7 @@ export default { ...@@ -146,7 +146,7 @@ export default {
let channelRules = [] let channelRules = []
for (let item of this.counterTypeData) { for (let item of this.counterTypeData) {
if(item.key != 4){ if(item.key != 4){
if(item.queueLengthThreshold&&item.queueLengthThreshold&&item.queueLengthThreshold&&item.trolleyThreshold){ if(item.queueLengthThreshold !== ''&&item.queueLengthThreshold !== ''&&item.queueLengthThreshold !== ''&&item.trolleyThreshold !== ''){
channelRules.push({ channelRules.push({
queueLengthThreshold:item.queueLengthThreshold, queueLengthThreshold:item.queueLengthThreshold,
waitTimeThreshold:item.waitTimeThreshold, waitTimeThreshold:item.waitTimeThreshold,
......
...@@ -94,7 +94,15 @@ ...@@ -94,7 +94,15 @@
<el-dialog :title="$t('allPages.Image')" class="manage-dialog dialog_lj imgDialog" :visible.sync="imgDialogVisible" <el-dialog :title="$t('allPages.Image')" class="manage-dialog dialog_lj imgDialog" :visible.sync="imgDialogVisible"
:close-on-click-modal="false" v-if="imgDialogVisible" @close="imgDialogVisible = false"> :close-on-click-modal="false" v-if="imgDialogVisible" @close="imgDialogVisible = false">
<div style="height: 600px;"> <div style="height: 600px;">
<el-image v-for="(item,index) in imgArr" :key="index" :src='picUrl+item'></el-image> <div v-for="(item,index) in imgArr" :key="index">
<el-image :src='picUrl+item'>
</el-image>
<p style="line-height: 32px;width: 100%;text-align: right;">
{{item.slice(14)}}
</p>
</div>
</div> </div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="imgDialogVisible = false" class="dialog-btn">{{ $t('dialog.close') }}</el-button> <el-button @click="imgDialogVisible = false" class="dialog-btn">{{ $t('dialog.close') }}</el-button>
......
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
xAxis: { xAxis: {
name:'%', name:'%',
type: 'value', type: 'value',
show:false // show:false
}, },
yAxis: { yAxis: {
name: 'Wating Time', name: 'Wating Time',
...@@ -135,9 +135,9 @@ ...@@ -135,9 +135,9 @@
// axisLine:{ // axisLine:{
// show:false // show:false
// }, // },
axisTick:{ // axisTick:{
show:false // 不显示坐标轴刻度线 // show:false // 不显示坐标轴刻度线
}, // },
data: [] data: []
}, },
series: [{ series: [{
...@@ -148,6 +148,7 @@ ...@@ -148,6 +148,7 @@
return params.value + '%' return params.value + '%'
} }
}, },
barWidth:50,
itemStyle: { itemStyle: {
normal: { normal: {
color: function(params) { color: function(params) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!