Commit 44462a7b authored by zhangjianqian's avatar zhangjianqian

Merge remote-tracking branch 'origin/master'

parents eebc4e26 7afc16be
...@@ -18,6 +18,9 @@ public class TDetectorUserVO ...@@ -18,6 +18,9 @@ public class TDetectorUserVO
/** 用户id */ /** 用户id */
private Long userId; private Long userId;
/** 图标类型 */
private String iconType;
/** 用户账号 */ /** 用户账号 */
private String username; private String username;
......
...@@ -84,6 +84,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService ...@@ -84,6 +84,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
userVO.setHistoryAlarmNum(historyAlarmNum); userVO.setHistoryAlarmNum(historyAlarmNum);
userVO.setCancelAlarmNum(cancelAlarmNum); userVO.setCancelAlarmNum(cancelAlarmNum);
userVO.setProcessingAlarmNum(Math.abs(historyAlarmNum - cancelAlarmNum)); userVO.setProcessingAlarmNum(Math.abs(historyAlarmNum - cancelAlarmNum));
userVO.setIconType("6");
list.add(userVO); list.add(userVO);
} }
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2022-01-26 20:07:52 * @Date: 2022-01-26 20:07:52
* @LastEditTime: 2022-02-26 23:06:21 * @LastEditTime: 2022-02-28 09:45:42
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
...@@ -99,8 +99,8 @@ export default { ...@@ -99,8 +99,8 @@ export default {
return { return {
companyType, companyType,
deviceType, deviceType,
profile: profile:"暂无"
"公司位于长江三角洲经济快速增长、风景秀丽的太湖之畔——无锡。 公司自1984年成立至今,已经过了3次跨越式的发展。2004年至今公司投入5000多万元资金建设新的生产基地,目前已竣工并投入生产,占地面积达40000m2,厂房面积近15000m2。公司2004年的年产值达4350多万元,并且每年以平均30%的速度快速增长。",
}; };
}, },
computed: { computed: {
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2022-01-27 14:25:45 * @Date: 2022-01-27 14:25:45
* @LastEditTime: 2022-02-25 17:53:43 * @LastEditTime: 2022-02-28 09:52:51
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /hello-world/src/views/components/User.vue * @FilePath: /hello-world/src/views/components/User.vue
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<div class="group flex"> <div class="group flex">
<div class="left first">管道走向:</div> <div class="left first">管道走向:</div>
<div class="right">{{ deviceData.pipeTrend }}</div> <div class="right zzz" :title="deviceData.pipeTrend">{{ deviceData.pipeTrend }}</div>
<div class="left">权属单位:</div> <div class="left">权属单位:</div>
<div :title="deviceData.powerCompany" class="right last zzz"> <div :title="deviceData.powerCompany" class="right last zzz">
{{ deviceData.powerCompany }} {{ deviceData.powerCompany }}
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<div class="first left">建设年代:</div> <div class="first left">建设年代:</div>
<div class="right">{{ deviceData.buildyear }}</div> <div class="right">{{ deviceData.buildyear }}</div>
<div class="left">建设单位:</div> <div class="left">建设单位:</div>
<div class="last right">{{ deviceData.buildCompany }}</div> <div class="last right zzz" :title="deviceData.buildCompany">{{ deviceData.buildCompany }}</div>
</div> </div>
<div class="group flex"> <div class="group flex">
...@@ -108,7 +108,7 @@ export default { ...@@ -108,7 +108,7 @@ export default {
background-color: rgba(9, 18, 32, 0.6); background-color: rgba(9, 18, 32, 0.6);
padding: 10px; padding: 10px;
position: relative; position: relative;
width: 400px; width: 500px;
.title { .title {
font-size: 14px; font-size: 14px;
line-height: 14px; line-height: 14px;
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
.right { .right {
box-sizing: border-box; box-sizing: border-box;
text-align: left; text-align: left;
padding: 0 1em; padding: 0 5px;
} }
.last { .last {
border: none; border: none;
......
...@@ -8,32 +8,26 @@ ...@@ -8,32 +8,26 @@
--> -->
<template> <template>
<div> <div>
<div class="pipePressure"> <!-- <div class="pipePressure">
<!-- <div>管道压力</div> -->
<div style="float: left;margin-right: 5px;"> <div style="float: left;margin-right: 5px;">
<div class="hasColorBox"> <div class="hasColorBox">
<!-- <div :style="{ backgroundColor: pipeColor[`4`] }"></div> -->
<img src="../../assets/image/bigtyx.svg" alt=""> <img src="../../assets/image/bigtyx.svg" alt="">
调压箱 调压箱
</div> </div>
<div class="hasColorBox"> <div class="hasColorBox">
<!-- <div :style="{ backgroundColor: pipeColor[`4`] }"></div> -->
<img src="../../assets/image/bigfmj.svg" alt=""> <img src="../../assets/image/bigfmj.svg" alt="">
阀门井 阀门井
</div> </div>
<div class="hasColorBox"> <div class="hasColorBox">
<!-- <div :style="{ backgroundColor: pipeColor[`4`] }"></div> -->
<img src="../../assets/image/bigcz.svg" alt=""> <img src="../../assets/image/bigcz.svg" alt="">
厂站 厂站
</div> </div>
<div class="hasColorBox"> <div class="hasColorBox">
<!-- <div :style="{ backgroundColor: pipeColor[`4`] }"></div> -->
<img src="../../assets/image/biguser.svg" alt=""> <img src="../../assets/image/biguser.svg" alt="">
用户 用户
</div> </div>
<div class="hasColorBox"> <div class="hasColorBox">
<!-- <div :style="{ backgroundColor: pipeColor[`4`] }"></div> -->
<img src="../../assets/image/bigjk.svg" alt=""> <img src="../../assets/image/bigjk.svg" alt="">
监控 监控
</div> </div>
...@@ -56,7 +50,7 @@ ...@@ -56,7 +50,7 @@
高压管线 高压管线
</div> </div>
</div> </div>
</div> </div> -->
<div class="mapChange"> <div class="mapChange">
<div :class="{ active: mapStyle }" @click="mapChange(2)">全景地图</div> <div :class="{ active: mapStyle }" @click="mapChange(2)">全景地图</div>
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2022-01-26 20:07:52 * @Date: 2022-01-26 20:07:52
* @LastEditTime: 2022-02-26 21:27:45 * @LastEditTime: 2022-02-28 10:01:07
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
<div class="group"> <div class="group">
<div class="left">联系电话:</div> <div class="left">联系电话:</div>
<div class="right zzz"> <div v-unValue class="right zzz">
{{ deviceData.phone }} {{ deviceData.phone }}
</div> </div>
</div> </div>
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<div class="last">报警中</div> <div class="last">报警中</div>
</div> </div>
<div class="tbody flex"> <div class="tbody flex">
<div class="first zzz">{{ 123 }}</div> <div v-unValue class="first zzz">{{ }}</div>
<div class="">{{ deviceData.detectorCount }}</div> <div class="">{{ deviceData.detectorCount }}</div>
<div v-unValue class=""> <div v-unValue class="">
{{ deviceData.onLineNum }} {{ deviceData.onLineNum }}
......
...@@ -34,9 +34,9 @@ ...@@ -34,9 +34,9 @@
</div> </div>
</div> </div>
<div id="main1" style="width: 100%;height: 280px;"></div> <div id="main1" style="width: 100%;height: 280px;"></div>
<div class="echarts-two" style="margin-top: 30px;width: 430px;margin-left: 10px;"> <!-- <div class="echarts-two" style="margin-top: 30px;width: 430px;margin-left: 10px;"> -->
<div> <div>
<div class="item1"> <div class="item1" style="margin-top: 30px;">
<span class="dot"> <span class="dot">
<span class="dot-inner"></span> <span class="dot-inner"></span>
</span> </span>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<div class="el-left">其他</div> <div class="el-left">其他</div>
<el-progress class="el-progress_text" :text-inside="true" :stroke-width="18" :percentage="50" status="exception"></el-progress> <el-progress class="el-progress_text" :text-inside="true" :stroke-width="18" :percentage="50" status="exception"></el-progress>
</div> </div>
</div> <!-- </div> -->
</div> </div>
</template> </template>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
<el-table <el-table
size="mini" size="mini"
:data="tableData" :data="tableData"
style="width: 92%"
:height="tableHeight" :height="tableHeight"
class="el-bottom" class="el-bottom"
ref="table" ref="table"
...@@ -50,7 +49,7 @@ ...@@ -50,7 +49,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="alarmTime" label="预警时间" width="140"> <el-table-column prop="alarmTime" label="预警时间" width="140">
</el-table-column> </el-table-column>
<el-table-column prop="handledStatus" label="状态" width=""> <el-table-column prop="handledStatus" label="状态" width="70">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="ddd" :title="scope.row.handledStatus"> <div class="ddd" :title="scope.row.handledStatus">
{{ scope.row.handledStatus }} {{ scope.row.handledStatus }}
...@@ -93,21 +92,20 @@ ...@@ -93,21 +92,20 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> --> </div> -->
<div>
<div class="echarts-one" style="margin-top: 10px;width: 430px;margin-left: 10px;"> <div class="item1" style="margin-top: 10px;">
<div>
<div class="item1">
<span class="dot"> <span class="dot">
<span class="dot-inner"></span> <span class="dot-inner"></span>
</span> </span>
<span>资源统计</span> <span>资源统计</span>
<div class="fong-div" style="width: 8px;height: 12px;background-color: #2c888899;float: right;margin-top: 10px;transform: skewX(-25deg)"></div> <div class="fong-div" style="width: 8px;height: 12px;background-color: #2c888899;float: right;margin-top: 10px;transform: skewX(-25deg)"></div>
<div class="fong-div" style="width: 8px;height: 12px;background-color: #24b1b1b3;float: right;margin-top: 10px;margin-right: 10px;transform: skewX(-25deg)"></div> <div class="fong-div" style="width: 8px;height: 12px;background-color: #24b1b1b3;float: right;margin-top: 10px;margin-right: 10px;transform: skewX(-25deg)"></div>
<div class="fong-div" style="width: 8px;height: 12px;background-color: #11e9e9b3;float: right;margin-top: 10px;margin-right: 10px;transform: skewX(-25deg)"></div> <div class="fong-div" style="width: 8px;height: 12px;background-color: #11e9e9b3;float: right;margin-top: 10px;margin-right: 10px;transform: skewX(-25deg)"></div>
</div>
</div> </div>
<div id="myChartone" :style="{width: '420px', height: '250px'}"></div> </div>
</div> <div class="echarts-one" style="margin-top: 10px;width: 430px;margin-left: 10px;">
<div id="myChartone" :style="{width: '420px', height: '240px'}"></div>
</div>
<!-- <div> <!-- <div>
<div class="item1"> <div class="item1">
<span class="dot"> <span class="dot">
...@@ -500,10 +498,10 @@ ...@@ -500,10 +498,10 @@
trigger: "item" trigger: "item"
}, },
grid: { grid: {
top: "15%", top: "8%",
left: "8%", left: "8%",
right: "12%", right: "8%",
bottom: "15%", bottom: "13%",
containLabel: true containLabel: true
}, },
xAxis: { xAxis: {
...@@ -752,7 +750,7 @@ ...@@ -752,7 +750,7 @@
font-size: 30px; font-size: 30px;
} }
.item1{ .item1{
width: 90%; width: 93%;
height: 30px; height: 30px;
font-size: 18px; font-size: 18px;
line-height: 30px; line-height: 30px;
......
...@@ -94,7 +94,6 @@ ...@@ -94,7 +94,6 @@
margin-left: 15px; margin-left: 15px;
left: 0; left: 0;
z-index: 999; z-index: 999;
width: 300px;
height: 50px; height: 50px;
" "
> >
...@@ -103,7 +102,7 @@ ...@@ -103,7 +102,7 @@
scrolling="no" scrolling="no"
src="https://tianqiapi.com/api.php?style=tz&skin=pitaya&color=339CC9" src="https://tianqiapi.com/api.php?style=tz&skin=pitaya&color=339CC9"
frameborder="0" frameborder="0"
width="400" width="450"
height="30" height="30"
allowtransparency="true" allowtransparency="true"
></iframe> ></iframe>
......
...@@ -186,7 +186,7 @@ export default { ...@@ -186,7 +186,7 @@ export default {
}; };
</script> </script>
<style rel="stylesheet/scss" lang="scss"> <style rel="stylesheet/scss" lang="scss" scoped>
.login { .login {
display: flex; display: flex;
justify-content: center; justify-content: center;
......
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