Commit 00f5c83e authored by 王晓倩's avatar 王晓倩

企业数据检测页面数据调整

parent be431469
...@@ -112,16 +112,16 @@ export default { ...@@ -112,16 +112,16 @@ export default {
visible: true, visible: true,
addStartNum: 3, addStartNum: 3,
filterList: [ filterList: [
{ value: "全部", count: 100, state: "all" }, { value: "全部", count: 17, state: "all" },
{ value: "正常", count: 100, state: 1 }, { value: "正常", count: 16, state: 1 },
{ value: "报警", count: 100, state: 2 }, { value: "报警", count: 0, state: 2 },
{ value: "离线", count: 100, state: 3 }, { value: "离线", count: 1, state: 3 },
], ],
typeState: ["正常", "报警", "离线"], typeState: ["正常", "报警", "离线"],
deviceTypeArr: [1, 2, 3], deviceTypeArr: [1, 2, 3],
czList: [ czList: [
{ {
companyName: "河北泽宏股份储罐", companyName: "中诚燃气门站储罐1",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
...@@ -133,8 +133,8 @@ export default { ...@@ -133,8 +133,8 @@ export default {
popoVidible: true, popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "中诚燃气门站储罐2",
state: 2, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -142,11 +142,11 @@ export default { ...@@ -142,11 +142,11 @@ export default {
e: 56, e: 56,
image: "", image: "",
show: true, show: true,
popoVidible: false, popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "平山中燃气站储罐1",
state: 3, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -154,10 +154,10 @@ export default { ...@@ -154,10 +154,10 @@ export default {
e: 56, e: 56,
image: "", image: "",
show: true, show: true,
popoVidible: false, popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "平山中燃气站储罐2",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
...@@ -166,11 +166,11 @@ export default { ...@@ -166,11 +166,11 @@ export default {
e: 56, e: 56,
image: "", image: "",
show: true, show: true,
popoVidible: false, popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "隆和气化站储罐1",
state: 2, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -178,10 +178,11 @@ export default { ...@@ -178,10 +178,11 @@ export default {
e: 56, e: 56,
image: "", image: "",
show: true, show: true,
popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "隆和气化站储罐2",
state: 3, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -189,9 +190,10 @@ export default { ...@@ -189,9 +190,10 @@ export default {
e: 56, e: 56,
image: "", image: "",
show: true, show: true,
popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "温塘气化站储罐1",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
...@@ -200,10 +202,11 @@ export default { ...@@ -200,10 +202,11 @@ export default {
e: 56, e: 56,
image: "", image: "",
show: true, show: true,
popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "温塘气化站储罐2",
state: 2, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -211,10 +214,11 @@ export default { ...@@ -211,10 +214,11 @@ export default {
e: 56, e: 56,
image: "", image: "",
show: true, show: true,
popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "93701部队气化站储罐1",
state: 3, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -222,9 +226,10 @@ export default { ...@@ -222,9 +226,10 @@ export default {
e: 56, e: 56,
image: "", image: "",
show: true, show: true,
popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "93701部队气化站储罐2",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
...@@ -233,10 +238,71 @@ export default { ...@@ -233,10 +238,71 @@ export default {
e: 56, e: 56,
image: "", image: "",
show: true, show: true,
popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "隆城绿都气化站储罐1",
state: 2, state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: true,
},
{
companyName: "隆城绿都气化站储罐2",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: true,
},
{
companyName: "中诚燃气罐车1",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: false,
},
{
companyName: "中诚燃气罐车2",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: false,
},
{
companyName: "中诚燃气罐车3",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: false,
},
{
companyName: "中诚燃气罐车4",
state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -246,7 +312,7 @@ export default { ...@@ -246,7 +312,7 @@ export default {
show: true, show: true,
}, },
{ {
companyName: "河北泽宏股份储罐", companyName: "中诚燃气罐车5",
state: 3, state: 3,
a: 25, a: 25,
b: 56, b: 56,
......
...@@ -52,99 +52,135 @@ export default { ...@@ -52,99 +52,135 @@ export default {
carHide: true, carHide: true,
addStartNum: 3, addStartNum: 3,
filterList: [ filterList: [
{ value: "全部", count: 100, type: "all" }, { value: "全部", count: 6, type: "all" },
{ value: "加气站", count: 100, type: 1 }, { value: "加气站", count: 2, type: 1 },
{ value: "门站", count: 100, type: 2 }, { value: "门站", count: 0, type: 2 },
{ value: "调压站", count: 100, type: 3 }, { value: "调压站", count: 0, type: 3 },
{ value: "储备站", count: 100, type: 4 }, { value: "储备站", count: 0, type: 4 },
{ value: "气化站", count: 100, type: 5 }, { value: "气化站", count: 4, type: 5 },
], ],
deviceTypeArr: [1, 2, 3, 4, 5], deviceTypeArr: [1, 2, 3, 4],
czList: [ czList: [
{ {
deviceName: "加气站", deviceName: "中诚燃气门站",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
d: 15, d: 15,
e: 56, // e: 56,
image: "", image: "",
show: true, show: true,
type: 1, type: 1,
}, },
{ {
deviceName: "门站", deviceName: "平山中燃气站",
state: 2,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
type: 2,
},
{
deviceName: "调压站",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
d: 15, d: 15,
e: 56, // e: 56,
image: "", image: "",
show: true, show: true,
type: 3, type: 1,
}, },
// {
// deviceName: "门站",
// state: 2,
// a: 25,
// b: 56,
// c: 54,
// d: 15,
// e: 56,
// image: "",
// show: true,
// type: 2,
// },
// {
// deviceName: "调压站",
// state: 1,
// a: 25,
// b: 56,
// c: 54,
// d: 15,
// e: 56,
// image: "",
// show: true,
// type: 3,
// },
// {
// deviceName: "储备站",
// state: 1,
// a: 25,
// b: 56,
// c: 54,
// d: 15,
// e: 56,
// image: "",
// show: true,
// type: 4,
// },
{ {
deviceName: "储备站", deviceName: "隆和气化站",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
d: 15, d: 15,
e: 56, // e: 56,
image: "", image: "",
show: true, show: true,
type: 4, type: 5,
}, },
{ {
deviceName: "气化站", deviceName: "温塘气化站",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
d: 15, d: 15,
e: 56, // e: 56,
image: "", image: "",
show: true, show: true,
type: 5, type: 5,
}, },
{ {
deviceName: "气化站", deviceName: "93701部队气化站",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
d: 15, d: 15,
e: 56, // e: 56,
image: "", image: "",
show: true, show: true,
type: 5, type: 5,
}, },
{ {
deviceName: "储备站", deviceName: "隆城绿都气化站",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
d: 15, d: 15,
e: 56, // e: 56,
image: "", image: "",
show: true, show: true,
type: 4, type: 5,
}, },
// {
// deviceName: "储备站",
// state: 1,
// a: 25,
// b: 56,
// c: 54,
// d: 15,
// e: 56,
// image: "",
// show: true,
// type: 4,
// },
], ],
}; };
}, },
......
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
<div> <div>
湿度:<span :class="{ active: list.d > 50 }">{{ list.d }}°C</span> 湿度:<span :class="{ active: list.d > 50 }">{{ list.d }}°C</span>
</div> </div>
<div> <!--<div>
水温:<span :class="{ active: list.e > 50 }">{{ list.e }}°C</span> 水温:<span :class="{ active: list.e > 50 }">{{ list.e }}°C</span>
</div> </div>-->
</div> </div>
</div> </div>
</template> </template>
......
...@@ -112,16 +112,16 @@ export default { ...@@ -112,16 +112,16 @@ export default {
visible: true, visible: true,
addStartNum: 3, addStartNum: 3,
filterList: [ filterList: [
{ value: "全部", count: 100, state: "all" }, { value: "全部", count: 20, state: "all" },
{ value: "正常", count: 100, state: 1 }, { value: "正常", count: 20, state: 1 },
{ value: "报警", count: 100, state: 2 }, { value: "报警", count: 0, state: 2 },
{ value: "离线", count: 100, state: 3 }, { value: "离线", count: 0, state: 3 },
], ],
typeState: ["正常", "报警", "离线"], typeState: ["正常", "报警", "离线"],
deviceTypeArr: [1, 2, 3], deviceTypeArr: [1, 2, 3],
czList: [ czList: [
{ {
companyName: "河北泽宏股份阀门井", companyName: "恒盛小区门口",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
...@@ -133,8 +133,104 @@ export default { ...@@ -133,8 +133,104 @@ export default {
popoVidible: true, popoVidible: true,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "建安小区阀门井",
state: 2, state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: true,
},
{
companyName: "金辉花园4号阀门井",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: true,
},
{
companyName: "金水家园1号阀门井",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: true,
},
{
companyName: "上东区阀门井",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: true,
},
{
companyName: "圣地汇金港3号楼阀门井",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: true,
},
{
companyName: "圣地汇金港9号楼阀门井",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: true,
},
{
companyName: "舒房静居1期阀门井",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: true,
},
{
companyName: "舒房静居2期阀门井",
state: 1,
a: 25,
b: 56,
c: 54,
d: 15,
e: 56,
image: "",
show: true,
popoVidible: true,
},
{
companyName: "文昌苑小区阀门井",
state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -145,8 +241,8 @@ export default { ...@@ -145,8 +241,8 @@ export default {
popoVidible: false, popoVidible: false,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "花城小区阀门井",
state: 3, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -157,7 +253,7 @@ export default { ...@@ -157,7 +253,7 @@ export default {
popoVidible: false, popoVidible: false,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "御景国际阀门井",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
...@@ -169,8 +265,8 @@ export default { ...@@ -169,8 +265,8 @@ export default {
popoVidible: false, popoVidible: false,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "龙博园小区阀门井",
state: 2, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -180,8 +276,8 @@ export default { ...@@ -180,8 +276,8 @@ export default {
show: true, show: true,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "隆城绿都阀门井",
state: 3, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -191,7 +287,7 @@ export default { ...@@ -191,7 +287,7 @@ export default {
show: true, show: true,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "隆和大酒店阀门井",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
...@@ -202,8 +298,8 @@ export default { ...@@ -202,8 +298,8 @@ export default {
show: true, show: true,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "西石桥阀门井",
state: 2, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -213,8 +309,8 @@ export default { ...@@ -213,8 +309,8 @@ export default {
show: true, show: true,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "烟堡村1号阀门井",
state: 3, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -224,7 +320,7 @@ export default { ...@@ -224,7 +320,7 @@ export default {
show: true, show: true,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "烟堡村2号阀门井",
state: 1, state: 1,
a: 25, a: 25,
b: 56, b: 56,
...@@ -235,8 +331,8 @@ export default { ...@@ -235,8 +331,8 @@ export default {
show: true, show: true,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "烟堡村3号阀门井",
state: 2, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
...@@ -246,8 +342,8 @@ export default { ...@@ -246,8 +342,8 @@ export default {
show: true, show: true,
}, },
{ {
companyName: "河北泽宏股份阀门井", companyName: "烟堡村4号阀门井",
state: 3, state: 1,
a: 25, a: 25,
b: 56, b: 56,
c: 54, c: 54,
......
...@@ -42,16 +42,22 @@ ...@@ -42,16 +42,22 @@
</div> </div>
<div class="bottom flex"> <div class="bottom flex">
<div class="first">1234</div> <div class="first" v-if="index != 2">8</div>
<div class="first" v-if="index == 2">1238</div>
<!-- 2是探测器,探测器只有报警,没有高低报 --> <!-- 2是探测器,探测器只有报警,没有高低报 -->
<template v-if="index != 2"> <template v-if="index == 0">
<div>123321</div> <div>2</div>
<div>12321</div> <div>1</div>
</template> </template>
<template v-else> <template v-if="index == 1">
<div>12312</div> <div>0</div>
<div>0</div>
</template>
<template v-if="index == 2">
<div>0</div>
</template> </template>
<div class="last">534534</div> <div class="last" v-if="index != 1">0</div>
<div class="last" v-if="index == 1">1</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -34,9 +34,9 @@ export default { ...@@ -34,9 +34,9 @@ export default {
data() { data() {
return { return {
cardList: [ cardList: [
{ deviceName: "压力表", count: 123123 }, { deviceName: "压力表", count: 11 },
{ deviceName: "流量计", count: 123123 }, { deviceName: "流量计", count: 9 },
{ deviceName: "探测器", count: 123123 }, { deviceName: "探测器", count: 1238 },
], ],
deviceIconList: ["ylb", "llj", "tcq"], deviceIconList: ["ylb", "llj", "tcq"],
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment