|
@@ -53,22 +53,22 @@
|
|
|
<div class="block_7 flex-col">
|
|
|
<div class="section_4 flex-row justify-between">
|
|
|
<div class="section_5 flex-col"></div>
|
|
|
- <span class="text_29">人员进出统计</span>
|
|
|
+ <span class="text_29">车辆进出统计</span>
|
|
|
</div>
|
|
|
<div class="section_6 flex-row" style="position: relative;">
|
|
|
- <panel-group @handleSetLineChartData="handleSetLineChartData" />
|
|
|
+ <panel-group :chart-data="carNume" />
|
|
|
<div style="position: absolute;top: 33%;left: 41%;">
|
|
|
- <p style="color: #5A5A5A;font-size: 16px;font-weight: 700;margin: 0;">进入人员</p>
|
|
|
+ <p style="color: #5A5A5A;font-size: 16px;font-weight: 700;margin: 0;">进入车辆</p>
|
|
|
<p
|
|
|
style="color: #FDB72D;font-size: 20px; font-weight: 700; margin: 0;margin-top: 10px;text-align: center;s">
|
|
|
- 1237</p>
|
|
|
+ {{carNume.zs}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="section_7 flex-row" style="padding: 0 30px;">
|
|
|
<div style="flex: 1;">
|
|
|
<div style="display: flex;">
|
|
|
<div class="group_5 flex-col"></div>
|
|
|
- <span class="text_31">内部人员</span>
|
|
|
+ <span class="text_31">内部车辆</span>
|
|
|
</div>
|
|
|
<div class="text-wrapper_11 flex-row justify-between">
|
|
|
<span class="text_33" style="margin-left: 30px;">841</span>
|
|
@@ -77,7 +77,7 @@
|
|
|
<div style="flex: 1;">
|
|
|
<div style="display: flex;">
|
|
|
<div class="group_6 flex-col"></div>
|
|
|
- <span class="text_32">外来人员</span>
|
|
|
+ <span class="text_32">外来车辆</span>
|
|
|
</div>
|
|
|
<div class="text-wrapper_11 flex-row justify-between">
|
|
|
<span class="text_34" style="margin-left: 30px;">396</span>
|
|
@@ -221,7 +221,7 @@
|
|
|
<span class="paragraph_7">{{item.content == null?'暂无数据' : item.content}}</span>
|
|
|
<div class="group_12 flex-row justify-between">
|
|
|
<span class="text_87">{{item.createTime == null?'暂无数据' : item.createTime}}</span>
|
|
|
- <div class="text-wrapper_28 flex-col" v-if="item.status == 2">
|
|
|
+ <div class="text-wrapper_28 flex-col" v-if="item.isPublic == 'Y'" @click="yinange(item,index)">
|
|
|
<span class="text_92">隐藏</span>
|
|
|
</div>
|
|
|
<div class="text-wrapper_26 flex-col" v-if="item.status == 1" @click="tousuhuif(item)">
|
|
@@ -476,7 +476,8 @@
|
|
|
} from "@/api/wuguan/staffManage";
|
|
|
import {
|
|
|
qx,
|
|
|
- vehicleControl
|
|
|
+ vehicleControl,
|
|
|
+ car
|
|
|
} from "@/api/index";
|
|
|
import {
|
|
|
listCheckPointRecord,
|
|
@@ -544,13 +545,15 @@
|
|
|
zhexian: {},
|
|
|
userid: 0,
|
|
|
chelisngguan: {},
|
|
|
- isacr: 0
|
|
|
+ isacr: 0,
|
|
|
+ carNume:{}
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
this.userid = this.$store.getters.id
|
|
|
clearInterval(this.timer)
|
|
|
this.timer = null
|
|
|
+ this.getcharnae()
|
|
|
this.setTimer()
|
|
|
this.gettime()
|
|
|
this.getListtion()
|
|
@@ -560,8 +563,15 @@
|
|
|
this.getListRecordcun()
|
|
|
this.baozhe()
|
|
|
this.getche()
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 车辆进入\
|
|
|
+ getcharnae(){
|
|
|
+ car().then(response => {
|
|
|
+ this.carNume = response.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
// 车辆管控
|
|
|
getche() {
|
|
|
vehicleControl().then(response => {
|
|
@@ -702,11 +712,19 @@
|
|
|
getListtion() {
|
|
|
let sgmse = {
|
|
|
'pageNum': 1,
|
|
|
- 'pageSize': 2,
|
|
|
- 'userId': this.userid
|
|
|
+ 'pageSize': 10,
|
|
|
+ 'isPublic':'Y'
|
|
|
}
|
|
|
listSuggestion(sgmse).then(response => {
|
|
|
+ if(response.rows.length !=0){
|
|
|
+ if(response.rows.length > 2){
|
|
|
+ this.suggestionList = response.rows.slice(0, 2);
|
|
|
+ }else{
|
|
|
+ this.suggestionList = response.rows;
|
|
|
+ }
|
|
|
+ }else{
|
|
|
this.suggestionList = response.rows;
|
|
|
+ }
|
|
|
if (this.suggestionList.length == 0) {
|
|
|
let gnsh = {
|
|
|
'title': '暂无数据',
|
|
@@ -724,23 +742,44 @@
|
|
|
}
|
|
|
this.suggestionList.push(gnsh)
|
|
|
}
|
|
|
- this.tatse = response.total
|
|
|
- this.getListtiones()
|
|
|
+
|
|
|
+
|
|
|
+ this.getListtionesTOTL()
|
|
|
});
|
|
|
},
|
|
|
getListtiones() {
|
|
|
let sgmse = {
|
|
|
'pageNum': 1,
|
|
|
'pageSize': 2,
|
|
|
- 'status': 2
|
|
|
+ 'status': 2,
|
|
|
}
|
|
|
listSuggestion(sgmse).then(response => {
|
|
|
this.yifhufe = response.total
|
|
|
- this.bafe = this.percentage()
|
|
|
+ this.bafe = this.percentage() - 0
|
|
|
+ });
|
|
|
+ },
|
|
|
+ getListtionesTOTL() {
|
|
|
+ let sgmse = {
|
|
|
+ 'pageNum': 1,
|
|
|
+ 'pageSize': 10,
|
|
|
+ }
|
|
|
+ listSuggestion(sgmse).then(response => {
|
|
|
+ this.tatse = response.total
|
|
|
+ this.getListtiones()
|
|
|
+ });
|
|
|
+ },
|
|
|
+
|
|
|
+ // 投诉隐藏
|
|
|
+ yinange(row,index){
|
|
|
+ row.isPublic = 'N'
|
|
|
+ updateSuggestion(row).then(response => {
|
|
|
+ this.$modal.msgSuccess("操作成功");
|
|
|
+ // this.open = false;
|
|
|
+ // this.getList();
|
|
|
});
|
|
|
},
|
|
|
percentage() {
|
|
|
- return (this.yifhufe / this.tatse * 100).toFixed(2);
|
|
|
+ return (this.yifhufe / this.tatse * 100).toFixed(0);
|
|
|
},
|
|
|
|
|
|
tousuhuif(row) {
|