Commit 1a69cbe6 by 李君

优化

1 parent 1a6f2b07
......@@ -146,7 +146,7 @@ export default {
let channelRules = []
for (let item of this.counterTypeData) {
if(item.key != 4){
if(item.queueLengthThreshold&&item.queueLengthThreshold&&item.queueLengthThreshold&&item.trolleyThreshold){
if(item.queueLengthThreshold !== ''&&item.queueLengthThreshold !== ''&&item.queueLengthThreshold !== ''&&item.trolleyThreshold !== ''){
channelRules.push({
queueLengthThreshold:item.queueLengthThreshold,
waitTimeThreshold:item.waitTimeThreshold,
......
......@@ -94,7 +94,15 @@
<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">
<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 slot="footer" class="dialog-footer">
<el-button @click="imgDialogVisible = false" class="dialog-btn">{{ $t('dialog.close') }}</el-button>
......
......@@ -127,7 +127,7 @@
xAxis: {
name:'%',
type: 'value',
show:false
// show:false
},
yAxis: {
name: 'Wating Time',
......@@ -135,9 +135,9 @@
// axisLine:{
// show:false
// },
axisTick:{
show:false // 不显示坐标轴刻度线
},
// axisTick:{
// show:false // 不显示坐标轴刻度线
// },
data: []
},
series: [{
......@@ -148,6 +148,7 @@
return params.value + '%'
}
},
barWidth:50,
itemStyle: {
normal: {
color: function(params) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!