弹框底图修改、个人信息对接

Lvtianfang
吕天方 1 year ago
parent 37afdb9888
commit 84fd95cd5e

@ -2,7 +2,7 @@
# @Author: 张涛 # @Author: 张涛
# @Date: 2023-11-09 18:29:41 # @Date: 2023-11-09 18:29:41
# @LastEditors: JC9527 # @LastEditors: JC9527
# @LastEditTime: 2024-01-23 13:54:49 # @LastEditTime: 2024-01-26 16:18:44
# @FilePath: \JiangningUrbanManagePc\.env.development # @FilePath: \JiangningUrbanManagePc\.env.development
### ###
# 页面标题 # 页面标题
@ -17,7 +17,7 @@ ENV = 'development'
VUE_APP_BASE_API = 'https://t-jn-bjh-admin-server.jsszkd.com' VUE_APP_BASE_API = 'https://t-jn-bjh-admin-server.jsszkd.com'
VUE_APP_BASE_API1 = 'https://t-kd-process-server.jsszkd.com' VUE_APP_BASE_API1 = 'https://t-kd-process-server.jsszkd.com'
VUE_APP_BASE_API2 = 'https://t-jn-development-manager-server.jsszkd.com/api/webapp' VUE_APP_BASE_API2 = 'https://t-jn-development-manager-server.jsszkd.com/api/webapp'
# VUE_APP_BASE_API = 'http://192.168.0.104:9037' # VUE_APP_BASE_API = 'http://192.168.0.106:9037'
# 路由懒加载 # 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true

@ -187,3 +187,21 @@ export function listZhzz(query) {
params: query params: query
}) })
} }
// 根据imei查询人员信息
export function getUserByImei(params){
return request({
url: '/jn/dwgj/getUserByImei',
method: 'get',
params
})
}
// 根据手机号和人员名称查询
export function dwgjList(params){
return request({
url: '/jn/dwgj/list',
method: 'get',
params
})
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

@ -15,7 +15,7 @@
.event-popup { .event-popup {
width: 252px; width: 252px;
height: 224px; height: 224px;
background-image: url("../images/popup/bg2.png"); background-image: url("../images/popup/popup.png");
background-size: 100% 100%; background-size: 100% 100%;
z-index: 600; z-index: 600;
@ -44,8 +44,8 @@
} }
.mask { .mask {
width: 13px; width: 15px;
height: 13px; height: 15px;
cursor: pointer; cursor: pointer;
} }
} }
@ -110,7 +110,7 @@
// width: 242px; // width: 242px;
width: 470px; width: 470px;
height: 244px; height: 244px;
background-image: url("../images/popup/bg1.png"); background-image: url("../images/popup/popup.png");
background-size: 100% 100%; background-size: 100% 100%;
z-index: 600; z-index: 600;
@ -141,8 +141,8 @@
.mask { .mask {
// width: 13px; // width: 13px;
width: 35px; width: 15px;
height: 13px; height: 15px;
cursor: pointer; cursor: pointer;
} }
} }
@ -219,7 +219,7 @@
.car-popup { .car-popup {
width: 262px; width: 262px;
height: 138px; height: 138px;
background-image: url("../images/popup/bg3.png"); background-image: url("../images/popup/popup.png");
background-size: 100% 100%; background-size: 100% 100%;
z-index: 600; z-index: 600;
@ -248,8 +248,8 @@
} }
.mask { .mask {
width: 13px; width: 15px;
height: 13px; height: 15px;
cursor: pointer; cursor: pointer;
} }
} }
@ -308,7 +308,7 @@
width: 282px; width: 282px;
// height: 230px; // height: 230px;
// height: 220px; // height: 220px;
background-image: url("../images/popup/bg4.png"); background-image: url("../images/popup/popup.png");
background-size: 100% 100%; background-size: 100% 100%;
z-index: 600; z-index: 600;
@ -338,8 +338,8 @@
} }
.mask { .mask {
width: 13px; width: 15px;
height: 13px; height: 15px;
cursor: pointer; cursor: pointer;
} }
} }
@ -509,7 +509,7 @@
} }
.travel { .travel {
background-image: url("../images/dialogbg/792@2x.png"); background-image: url("../images/dialogbg/dialog1.png");
background-size: 100% 100%; background-size: 100% 100%;
background-color: transparent; background-color: transparent;
.el-dialog__header { .el-dialog__header {
@ -549,10 +549,10 @@
} }
} }
} }
.close { .closeimg {
position: absolute; position: absolute;
width: 50px; width: 20px;
height: 50px; height: 20px;
right: 0px; right: 0px;
top: 6px; top: 6px;
cursor: pointer; cursor: pointer;

@ -4,7 +4,7 @@
* @Author: JC9527 * @Author: JC9527
* @Date: 2023-08-14 14:40:02 * @Date: 2023-08-14 14:40:02
* @LastEditors: JC9527 * @LastEditors: JC9527
* @LastEditTime: 2024-01-12 23:43:59 * @LastEditTime: 2024-01-23 17:53:57
--> -->
<template> <template>
<div class="pc-container"> <div class="pc-container">
@ -98,7 +98,7 @@ export default {
this.rightAnimation = !this.rightAnimation; this.rightAnimation = !this.rightAnimation;
}, },
changeBackground(id){ changeBackground(id){
console.log(id); // console.log(id);
this.backgroundId = id; this.backgroundId = id;
} }
// getcodeImg(){ // getcodeImg(){

@ -4,7 +4,7 @@
* @Author: JC9527 * @Author: JC9527
* @Date: 2024-01-09 23:08:15 * @Date: 2024-01-09 23:08:15
* @LastEditors: JC9527 * @LastEditors: JC9527
* @LastEditTime: 2024-01-23 13:58:59 * @LastEditTime: 2024-01-26 16:41:44
--> -->
<template> <template>
<div class="map-main"> <div class="map-main">
@ -57,7 +57,8 @@
<div class="person-popup"> <div class="person-popup">
<div class="person-title"> <div class="person-title">
<div class="title">人员信息</div> <div class="title">人员信息</div>
<div class="mask" @click="markersClosePopup"></div> <!-- <div class="mask" @click="markersClosePopup"></div> -->
<img src="@/assets/images/dialogbg/close.png" class="mask" @click="markersClosePopup" alt="" />
</div> </div>
<div class="person-main"> <div class="person-main">
<div class="person-info"> <div class="person-info">
@ -72,14 +73,14 @@
<div class="dot"></div> <div class="dot"></div>
<div class="name">联系方式</div> <div class="name">联系方式</div>
</div> </div>
<div class="position">18868887888</div> <div class="position">{{ personInfo.personinfo.phonenumber }}</div>
</div> </div>
<div class="person-info"> <div class="person-info">
<div class="info-left"> <div class="info-left">
<div class="dot"></div> <div class="dot"></div>
<div class="name">所属部门</div> <div class="name">所属部门</div>
</div> </div>
<div class="position">一中队</div> <div class="position">{{ personInfo.personinfo.deptName }}</div>
</div> </div>
<div class="person-info"> <div class="person-info">
<div class="info-left"> <div class="info-left">
@ -93,14 +94,14 @@
<div class="dot"></div> <div class="dot"></div>
<div class="name">所属围栏</div> <div class="name">所属围栏</div>
</div> </div>
<div class="position">一中队一号网格</div> <div class="position">{{ personInfo.personinfo.fenceName || '-' }}</div>
</div> </div>
<div class="person-info"> <div class="person-info">
<div class="info-left"> <div class="info-left">
<div class="dot"></div> <div class="dot"></div>
<div class="name">当前位置</div> <div class="name">当前位置</div>
</div> </div>
<div class="position">江苏省南京市江宁区XX街XX号</div> <div class="position">{{ personInfo.info.address }}</div>
</div> </div>
<div class="btns"> <div class="btns">
<div @click="travelPath()"></div> <div @click="travelPath()"></div>
@ -124,7 +125,8 @@
<div class="event-popup"> <div class="event-popup">
<div class="event-title"> <div class="event-title">
<div class="title">事件信息</div> <div class="title">事件信息</div>
<div class="mask" @click="markersClosePopup"></div> <!-- <div class="mask" @click="markersClosePopup"></div> -->
<img src="@/assets/images/dialogbg/close.png" class="mask" @click="markersClosePopup" alt="" />
</div> </div>
<div class="event-main"> <div class="event-main">
<div class="event-info"> <div class="event-info">
@ -165,7 +167,8 @@
<div class="car-popup"> <div class="car-popup">
<div class="car-title"> <div class="car-title">
<div class="title">车辆信息</div> <div class="title">车辆信息</div>
<div class="mask" @click="markersClosePopup"></div> <!-- <div class="mask" @click="markersClosePopup"></div> -->
<img src="@/assets/images/dialogbg/close.png" class="mask" @click="markersClosePopup" alt="" />
</div> </div>
<div class="car-main"> <div class="car-main">
<div class="car-info"> <div class="car-info">
@ -189,7 +192,8 @@
<div class="monitoring-popup"> <div class="monitoring-popup">
<div class="monitoring-title"> <div class="monitoring-title">
<div class="title">{{ monitoringInfo.info.name }}</div> <div class="title">{{ monitoringInfo.info.name }}</div>
<div class="mask" @click="markersClosePopup"></div> <!-- <div class="mask" @click="markersClosePopup"></div> -->
<img src="@/assets/images/dialogbg/close.png" class="mask" @click="markersClosePopup" alt="" />
</div> </div>
<div class="monitoring"> <div class="monitoring">
<div class="monitoring-list"> <div class="monitoring-list">
@ -234,7 +238,8 @@
<div class="event-popup"> <div class="event-popup">
<div class="event-title"> <div class="event-title">
<div class="title">主体基本信息</div> <div class="title">主体基本信息</div>
<div class="mask" @click="markersClosePopup"></div> <!-- <div class="mask" @click="markersClosePopup"></div> -->
<img src="@/assets/images/dialogbg/close.png" class="mask" @click="markersClosePopup" alt="" />
</div> </div>
<div class="event-main"> <div class="event-main">
<div class="event-info"> <div class="event-info">
@ -290,10 +295,19 @@
class="middle-top-left" class="middle-top-left"
:class="!leftAnimationData ? 'middle-top-left2' : 'middle-top-left'" :class="!leftAnimationData ? 'middle-top-left2' : 'middle-top-left'"
> >
<div class="input-keyword"> <div class="input-keyword" v-if="MyInput">
<el-input placeholder="请输入关键字" v-model="input"> <!-- <el-input placeholder="请输入关键字" v-model="input">
<i slot="suffix" class="el-icon-search" @click="search"></i> <i slot="suffix" class="el-icon-search" @click="search"></i>
</el-input> </el-input> -->
<el-autocomplete
prefix-icon="el-icon-search"
class="inline-input"
v-model="input"
:fetch-suggestions="querySearch"
placeholder="请输入关键字进行搜索"
:trigger-on-focus="false"
@select="handleSelect"
></el-autocomplete>
</div> </div>
<div class="laser-positioning" @click="positioning"> <div class="laser-positioning" @click="positioning">
<span>地图扎点</span> <span>地图扎点</span>
@ -427,7 +441,8 @@
<div class="headline" text="title123kmalskdnj"> <div class="headline" text="title123kmalskdnj">
<div class="headlinetitle" text="强制观摩">强制观摩</div> <div class="headlinetitle" text="强制观摩">强制观摩</div>
</div> </div>
<div class="close" @click="videoClose"></div> <!-- <div class="close" @click="videoClose"></div> -->
<img src="@/assets/images/dialogbg/close.png" class="closeimg" @click="videoClose" alt="" />
</div> </div>
</template> </template>
<div class="watch-video-play"> <div class="watch-video-play">
@ -481,6 +496,8 @@ import {
getCarManageList, getCarManageList,
getStreetShopList, getStreetShopList,
listZhzz, listZhzz,
getUserByImei,
dwgjList
} from "@/api/bigScreenApi"; } from "@/api/bigScreenApi";
import { import {
robotLogin, robotLogin,
@ -518,6 +535,7 @@ export default {
personInfo: { personInfo: {
position: [], position: [],
info: {}, info: {},
personinfo:{},
visible: false, visible: false,
}, },
// //
@ -567,6 +585,8 @@ export default {
mapLoading:false, mapLoading:false,
count:0, count:0,
cluster:null, cluster:null,
personMarkers:[],
MyInput:true,
@ -594,7 +614,7 @@ export default {
// console.log(o.getCenter()) // console.log(o.getCenter())
// console.log(this.map,'initMapinitMap'); // console.log(this.map,'initMapinitMap');
this.layers.layer = new AMap.OverlayGroup(); // this.layers.layer = new AMap.OverlayGroup(); //
this.layers.layer2 = new AMap.OverlayGroup(); // this.layers.layer2 = new AMap.OverlayGroup(); //
this.layers.layer3 = new AMap.OverlayGroup(); // this.layers.layer3 = new AMap.OverlayGroup(); //
this.layers.layer4 = new AMap.OverlayGroup(); // this.layers.layer4 = new AMap.OverlayGroup(); //
this.layers.text = new AMap.OverlayGroup(); // this.layers.text = new AMap.OverlayGroup(); //
@ -814,7 +834,7 @@ export default {
// //
// this.layers.layer2.setOptions({ zIndex: 100 }); // this.layers.layer2.setOptions({ zIndex: 100 });
// this.layers.layer3.setOptions({ zIndex: 99 }); // this.layers.layer3.setOptions({ zIndex: 99 });
this.layers.layer2.on('click', (e)=>{ this.layers.layer.on('click', (e)=>{
// console.log(e,'this.layers.layer2'); // console.log(e,'this.layers.layer2');
if(this.isPositioning) { if(this.isPositioning) {
// console.log(e,'eeeeeeee'); // console.log(e,'eeeeeeee');
@ -859,13 +879,13 @@ export default {
} }
// //
this.getMarkers(1); this.getMarkers(1);
if(this.layers.layer2) { // if(this.layers.layer2) {
this.layers.layer2.hide(); // this.layers.layer2.hide();
} // }
// zoomchange zoomstart zoomend // zoomchange zoomstart zoomend
map.on("zoomend", (ev) => { map.on("zoomend", (ev) => {
let zoom = map.getZoom(); let zoom = map.getZoom();
// console.log(zoom,'zoom'); console.log(zoom,'zoom层级');
if(zoom < 11) { if(zoom < 11) {
this.componentMarker.visible = false; this.componentMarker.visible = false;
@ -877,34 +897,14 @@ export default {
} else { } else {
this.componentMarker.visible = true; this.componentMarker.visible = true;
if(zoom < 13.2) { if(zoom < 13.2) {
if(zoom < 12) {
this.unlightedPolygonId() this.unlightedPolygonId()
if(this.layers.layer2) {
this.layers.layer2.hide();
this.layers.text1.hide();
this.isPositioning = false;
} }
if(this.layers.layer3) { if(this.layers.layer3) {
this.layers.layer3.hide(); this.layers.layer3.hide();
this.isPositioning = false;
} }
// if(this.layers.layer) {
// this.layers.layer.show();
// this.layers.text.show();
// }
} else if(zoom > 13.2){ } else if(zoom > 13.2){
if(this.layers.layer2) {
this.layers.layer2.show();
this.layers.text1.hide();
}
// if(this.layers.layer) {
// if(this.wanggeData.length > 0){
// this.layers.layer.hide();
// this.layers.text.hide();
// }
// }
if(this.layers.layer3) {
this.layers.layer3.hide();
}
if(zoom > 14) { if(zoom > 14) {
this.layers.text1.show(); this.layers.text1.show();
this.layers.layer3.show(); this.layers.layer3.show();
@ -917,10 +917,8 @@ export default {
} }
}); });
}); });
// console.log(this.$refs.map.$$getInstance(),'TTTTTTT')
}, },
// //
_personRenderMarker(context){ _personRenderMarker(context){
let imgSrc let imgSrc
@ -931,17 +929,34 @@ export default {
} }
var content = `<div class="markerStyles"><div class="marker-Text" style="width:${context.data[0].text.length * 15}px">${context.data[0].text}</div><img src="${imgSrc}" alt=""></div>`; var content = `<div class="markerStyles"><div class="marker-Text" style="width:${context.data[0].text.length * 15}px">${context.data[0].text}</div><img src="${imgSrc}" alt=""></div>`;
var offset = new AMap.Pixel(-27, -94); var offset = new AMap.Pixel(-27, -94);
context.marker.setContent(content) context.marker.setContent(content);
context.marker.setOffset(offset) context.marker.setOffset(offset);
let obj = {};
obj.markers = context.marker;
obj.imei = context.data[0].info.imei;
this.personMarkers.push(obj)
context.marker.on('click',(ev)=>{ context.marker.on('click',(ev)=>{
// imei
getUserByImei({imei:context.data[0].info.imei}).then(res=>{
if(res.code == 200) {
this.personInfo.position = context.data[0].position; this.personInfo.position = context.data[0].position;
this.personInfo.info = context.data[0].info; this.personInfo.info = context.data[0].info;
// console.log(context.data[0].info,''); this.personInfo.personinfo = res.data[0];
// TODO:
// getDeviceList({imei:context.data[0].info.imei}).then((res) => {
// console.log(res,"");
this.personInfo.visible = true; this.personInfo.visible = true;
// }) }
})
})
},
//
_eventMarker (context) {
var content = `<div class="markerStyles"><img src="${require("../../../assets/images/icon/icon2.png")}" alt=""></div>`;
var offset = new AMap.Pixel(-27, -94);
context.marker.setContent(content)
context.marker.setOffset(offset)
context.marker.on('click',(ev)=>{
this.eventInfo.position = context.data[0].position;
this.eventInfo.info = context.data[0].info;
this.eventInfo.visible = true;
}) })
}, },
// //
@ -961,7 +976,7 @@ export default {
var content = `<div class="markerStyles"><div class="marker-Text" style="width:${context.data[0].info.shopName.length * 15}px">${context.data[0].info.shopName}</div><img src="${require("../../../assets/images/icon/icon6.png")}" alt=""></div>`; var content = `<div class="markerStyles"><div class="marker-Text" style="width:${context.data[0].info.shopName.length * 15}px">${context.data[0].info.shopName}</div><img src="${require("../../../assets/images/icon/icon6.png")}" alt=""></div>`;
var offset = new AMap.Pixel(-27, -94); var offset = new AMap.Pixel(-27, -94);
context.marker.setContent(content) context.marker.setContent(content)
context.marker.setOffset(offset) context.marker.setOffset(offset);
context.marker.on('click',(ev)=>{ context.marker.on('click',(ev)=>{
this.shopInfo.position = context.data[0].position; this.shopInfo.position = context.data[0].position;
this.shopInfo.info = context.data[0].info; this.shopInfo.info = context.data[0].info;
@ -1014,7 +1029,7 @@ export default {
// console.log(res,''); // console.log(res,'');
if (res.data.obj) { if (res.data.obj) {
res.data.obj.forEach((element) => { res.data.obj.forEach((element) => {
if (element.status == 0 || element.status == 1) { if (element.status == "0" || element.status == "1") {
this.personLine.push(element); this.personLine.push(element);
let obj = {position:[]}; let obj = {position:[]};
obj.position[0] = element.longitude; obj.position[0] = element.longitude;
@ -1058,6 +1073,34 @@ export default {
this.mapLoading = false; this.mapLoading = false;
} }
}) })
let data = {'queryValue' : [], "myInstanceClassify" : "all", "parameterValue":[], fks: []}
ViewListPage({viewCode:'shi_jian_shou_li_list_page', pageNo: 1, pageSize:500}, data).then(res=>{
this.mapLoading = false;
if(res.code == 200) {
let videoPoint = [];
res.result.records.forEach((element)=>{
let obj = {position:[]};
obj.position[0] = element.longitude;
obj.position[1] = element.latitude;
// obj.imgSrc = element.status == "0" ? offIcon4 : ico5;
obj.lnglat = new AMap.LngLat(element.longitude ? element.longitude : 0 ,element.latitude ? element.latitude : 0)
obj.imgSrc = ico2;
obj.info = element
// this.markers.push(obj)
videoPoint.push(obj)
})
this.count = videoPoint.length;
AMap.plugin(['AMap.MarkerCluster'],()=>{
this.cluster = new AMap.MarkerCluster(this.map,videoPoint,{
gridSize: 20, //
maxZoom: 17,
styles: sts,
// renderClusterMarker: this._renderClusterMarker, //
renderMarker: this._eventMarker, //
})
})
}
})
} else if(id == 3){ } else if(id == 3){
point.features.forEach((element)=>{ point.features.forEach((element)=>{
if (element.properties.name == "执法车辆") { if (element.properties.name == "执法车辆") {
@ -1071,19 +1114,6 @@ export default {
} }
}) })
} else if(id == 4){ } else if(id == 4){
// point.features.forEach((element)=>{
// if (element.properties.name == "") {
// this.mapLoading = false;
// let obj = {position:[]};
// obj.position[0] = element.geometry.coordinates[0];
// obj.position[1] = element.geometry.coordinates[1];
// obj.imgSrc = element.properties.status == "0" ? offIcon4 : ico5;
// // obj.imgSrc = ico5;
// obj.info = element;
// this.markers.push(obj)
// }
// })
getVideoPageEq({pageNo:1,pageSize:1000}).then(res=>{ getVideoPageEq({pageNo:1,pageSize:1000}).then(res=>{
this.mapLoading = false; this.mapLoading = false;
// console.log(res,"res"); // console.log(res,"res");
@ -1279,8 +1309,9 @@ export default {
}, },
// //
watchClick(){ watchClick(){
if(this.personInfo.status == 1) {
this.showVideo = true; this.showVideo = true;
videoSurveillance({...this.videoCondition,destID:'9999' + this.personInfo.info.imei,imei:this.personInfo.info.imei}).then(res=>{ videoSurveillance({...this.videoCondition,destID:this.personInfo.info.userId,imei:this.personInfo.info.imei}).then(res=>{
if(res.code == 200 && res.data.msg == '操作成功') { if(res.code == 200 && res.data.msg == '操作成功') {
// http://121.229.2.163:9291/live/9999 http://120.27.25.166:9305/live/9999_ // http://121.229.2.163:9291/live/9999 http://120.27.25.166:9305/live/9999_
setTimeout(()=>{ setTimeout(()=>{
@ -1288,6 +1319,9 @@ export default {
},3000) },3000)
} }
}) })
} else {
this.$modal.msgError("该人员已离线");
}
}, },
// //
videoClose(){ videoClose(){
@ -1581,7 +1615,7 @@ export default {
if(this.isPositioning) { if(this.isPositioning) {
let latlng = e.lnglat let latlng = e.lnglat
let name; let name;
this.layers.layer2.eachOverlay((item)=>{ this.layers.layer.eachOverlay((item)=>{
// console.log(item,'item'); // console.log(item,'item');
if(item.getBounds().contains(latlng)){ if(item.getBounds().contains(latlng)){
name = item.getExtData().name name = item.getExtData().name
@ -1630,7 +1664,8 @@ export default {
}, },
// //
divClick(lightedPolygonId){ divClick(lightedPolygonId){
console.log(lightedPolygonId,"父组件的名称点击事件"); // console.log(lightedPolygonId,"");
if(this.action == 1) {
// //
this.quyuData.forEach((element) => { this.quyuData.forEach((element) => {
element.myPolygon?.setOptions({ element.myPolygon?.setOptions({
@ -1674,10 +1709,10 @@ export default {
// //
this.wanggeData.forEach((element)=>{ this.wanggeData.forEach((element)=>{
element.myPolygon?.setOptions({ element.myPolygon?.setOptions({
strokeColor: '#FFBF7A',
fillColor: '#DC8419',
strokeOpacity: 1, strokeOpacity: 1,
fillOpacity: 0.3, strokeColor: '#00C5EC',
fillColor: '#00AEFF',
fillOpacity: 0.4,
editable:false, editable:false,
visible:true, visible:true,
}); });
@ -1817,6 +1852,195 @@ export default {
}) })
} }
} else if(this.action == 2) {
// console.log("");
// console.log(lightedPolygonId.item.id,"id");
//
this.quyuData.forEach((element) => {
element.myPolygon?.setOptions({
strokeOpacity: 0,
strokeColor: '#FF0000',
fillColor: '#FF0000',
fillOpacity:0.6,
editable:false,
visible:true,
});
element.text?.setStyle({
'color': '#E4ECFF',
});
})
//
this.luduanData.forEach((element) => {
element.myPolyline?.setOptions({
strokeOpacity: 1,
strokeColor: '#46FF77',
editable:false,
visible:true,
});
element.text?.setStyle({
'color': '#46FF77',
});
})
//
this.weilanData.forEach((element) => {
element.myPolygon?.setOptions({
strokeOpacity: 1,
strokeColor: "#00B7FF",
fillColor: "#001AFF",
fillOpacity: 0.5,
editable:false,
visible:true,
});
element.text?.setStyle({
'color': '#E4ECFF',
});
})
//
this.wanggeData.forEach((element)=>{
element.myPolygon?.setOptions({
strokeColor: '#0084FF',
fillColor: '#40AFFF',
fillOpacity: 0.8,
editable:false,
visible:true,
});
element.text?.setStyle({
'color': '#DFFAFF',
'text-shadow': '0px 1px 0px rgba(0,0,0,0.3)',
});
})
this.isClickLingtedPolygonId = true;
this.highlightedPolygonId = lightedPolygonId.id;
if(lightedPolygonId.id == 1) {
//
this.wanggeData.forEach((element)=>{
// console.log(element,"element");
// let shapeStr = JSON.parse(element.shapeStr);
if(element.id === lightedPolygonId.item.id) {
element.myPolygon.setOptions({
strokeColor: '#46FF77',
fillColor: '#46FF77',
fillOpacity: 0.5,
strokeOpacity: 0.8,
editable:false,
visible:true,
});
element.text.setStyle({
'color': '#46FF77',
});
this.lightedPolygon = element.myPolygon;
this.lightedText = element.text;
this.map.setFitView(element.myPolygon);
} else {
element.myPolygon.setOptions({
strokeColor: '#0084FF',
fillColor: '#40AFFF',
fillOpacity: 0.8,
strokeOpacity: 1,
editable:false,
visible:true,
});
element.text.setStyle({
'color': '#00AEFF',
'text-shadow': '0px 1px 0px rgba(0,0,0,0.3)',
});
}
})
} else if(lightedPolygonId.id == 2) {
//
this.quyuData.forEach((element) => {
if(element.id == lightedPolygonId.item.id) {
element.myPolygon.setOptions({
strokeColor: '#46FF77',
fillColor: '#46FF77',
fillOpacity: 0.5,
strokeOpacity: 0.8,
editable:false,
visible:true,
});
element.text.setStyle({
'color': '#FFDBB7',
});
this.lightedPolygon = element.myPolygon;
this.lightedText = element.text;
this.map.setFitView(element.myPolygon);
} else {
element.myPolygon.setOptions({
strokeOpacity: 0,
strokeColor: '#FF0000',
fillColor: '#FF0000',
fillOpacity:0.6,
editable:false,
visible:true,
});
element.text.setStyle({
'color': '#E4ECFF',
});
}
})
} else if(lightedPolygonId.id == 3) {
//
this.luduanData.forEach((element) => {
if(element.id == lightedPolygonId.item.id) {
element.myPolyline.setOptions({
strokeOpacity: 1,
strokeColor: '#FF0000',
editable:false,
visible:true,
});
element.text.setStyle({
'color': '#FF0000',
});
this.lightedPolygon = element.myPolyline;
this.lightedText = element.text;
this.map.setFitView(element.myPolyline);
} else {
element.myPolyline.setOptions({
strokeOpacity: 1,
strokeColor: '#46FF77',
editable:false,
visible:true,
});
element.text.setStyle({
'color': '#46FF77',
});
}
})
} else if(lightedPolygonId.id == 4) {
//
this.weilanData.forEach((element) => {
if(element.id == lightedPolygonId.item.id) {
element.myPolygon.setOptions({
strokeColor: '#46FF77',
fillColor: '#46FF77',
fillOpacity: 0.5,
strokeOpacity: 0.8,
editable:false,
visible:true,
});
element.text.setStyle({
'color': '#46FF77',
});
this.lightedPolygon = element.myPolygon;
this.lightedText = element.text;
this.map.setFitView(element.myPolygon);
} else {
element.myPolygon.setOptions({
strokeOpacity: 1,
strokeColor: "#00B7FF",
fillColor: "#001AFF",
fillOpacity: 0.5,
editable:false,
visible:true,
});
element.text.setStyle({
'color': '#E4ECFF',
});
}
})
}
}
@ -1826,6 +2050,7 @@ export default {
// console.log(this.highlightedPolygonId,'this.highlightedPolygonId'); // console.log(this.highlightedPolygonId,'this.highlightedPolygonId');
if(this.isClickLingtedPolygonId) { if(this.isClickLingtedPolygonId) {
this.isClickLingtedPolygonId = false; this.isClickLingtedPolygonId = false;
if(this.action == 1) {
if(this.highlightedPolygonId == 1) { if(this.highlightedPolygonId == 1) {
this.lightedPolygon.setOptions({ this.lightedPolygon.setOptions({
strokeColor: '#00C5EC', strokeColor: '#00C5EC',
@ -1875,19 +2100,59 @@ export default {
'color': '#62E1FA', 'color': '#62E1FA',
}); });
} }
} else if(this.action == 2) {
if(this.highlightedPolygonId == 1) {
this.lightedPolygon.setOptions({
strokeColor: '#0084FF',
fillColor: '#40AFFF',
fillOpacity: 0.8,
editable:false,
visible:true,
});
this.lightedText.setStyle({
'color': '#DFFAFF',
'text-shadow': '0px 1px 0px rgba(0,0,0,0.3)',
});
} else if(this.highlightedPolygonId == 2) {
// console.log("");
this.lightedPolygon.setOptions({
strokeOpacity: 0,
strokeColor: '#FF0000',
fillColor: '#FF0000',
fillOpacity:0.6,
editable:false,
visible:true,
});
this.lightedText.setStyle({
'color': '#E4ECFF',
});
} else if(this.highlightedPolygonId == 3) {
this.lightedPolygon.setOptions({
strokeOpacity: 1,
strokeColor: '#46FF77',
editable:false,
visible:true,
});
this.lightedText.setStyle({
'color': '#46FF77',
});
} else if(this.highlightedPolygonId == 4) {
this.lightedPolygon.setOptions({
strokeOpacity: 1,
strokeColor: "#00B7FF",
fillColor: "#001AFF",
fillOpacity: 0.5,
editable:false,
visible:true,
});
this.lightedText.setStyle({
'color': '#E4ECFF',
});
}
}
} }
}, },
getIcons(name, src) {
let icon = L.divIcon({
className: "divIcon-marker",
html: `<div class="markers"><div class="marker-title">${name}</div><img src="${src}" /></div>`,
iconSize: [100, 50],
});
return icon;
},
// / // /
actionBtn(id) { actionBtn(id) {
this.action = id; this.action = id;
@ -1915,12 +2180,12 @@ export default {
}) })
} }
// //
this.layers.layer2.setOptions ({ // this.layers.layer2.setOptions ({
strokeColor: '#FFBF7A', // strokeColor: '#FFBF7A',
fillColor: '#DC8419', // fillColor: '#DC8419',
strokeOpacity: 1, // strokeOpacity: 1,
fillOpacity: 0.3, // fillOpacity: 0.3,
}) // })
// //
var overlays = this.layers.layer3.getOverlays(); var overlays = this.layers.layer3.getOverlays();
for (var i = 0; i < overlays.length; i++) { for (var i = 0; i < overlays.length; i++) {
@ -1973,18 +2238,18 @@ export default {
'white-space': 'nowrap', 'white-space': 'nowrap',
}) })
} }
// // //
this.layers.layer2.setOptions ({ // this.layers.layer2.setOptions ({
strokeColor: '#FF8400', // strokeColor: '#FF8400',
fillColor: '#FF911A', // fillColor: '#FF911A',
strokeOpacity: 1, // strokeOpacity: 1,
fillOpacity: 0.4, // fillOpacity: 0.4,
}) // })
// //
var overlays = this.layers.layer3.getOverlays(); var overlays = this.layers.layer3.getOverlays();
for (var i = 0; i < overlays.length; i++) { for (var i = 0; i < overlays.length; i++) {
let id = overlays[i].getExtData().id; let id = overlays[i].getExtData().id;
console.log(id,'id'); // console.log(id,'id');
if(id == "围栏text" || id == "区域text") { if(id == "围栏text" || id == "区域text") {
overlays[i].setStyle({ overlays[i].setStyle({
'font-size': '14px', 'font-size': '14px',
@ -2024,28 +2289,74 @@ export default {
} }
}, },
// //
search() { querySearch(queryString, cb){
// TODO:marker //
let ico5 = require("../../../assets/images/icon/icon5.png"); if(this.actionMap == 1) {
let offIcon4 = require("../../../assets/images/icon/offLine4.png"); dwgjList({name:queryString}).then(res=>{
point.features.forEach((element)=>{ var restaurants = res.data;
if(element.properties.name == "重点事件"){ let a = [];
var marker = new AMap.Marker({ restaurants.forEach((per=>{
position: new AMap.LngLat(element.geometry.coordinates[0], element.geometry.coordinates[1]), // let item = { value: per.nickName, imei: per.imei };
offset: new AMap.Pixel(-27, -94), a.push(item);
content:`<div class="markerStyles"> }))
<img src="${element.properties.status == "0"? offIcon4 : ico5}" alt=""> cb(a);
</div>`,
});
marker.on("click",(e)=>{
this.monitoringInfo.visible = true;
this.monitoringInfo.position = [element.geometry.coordinates[0],element.geometry.coordinates[1]];
}) })
this.layers.markers.addOverlay(marker); } else if (this.actionMap == 2) {
this.map.add(this.layers.markers) //
let data = {'queryValue' : [{colCode:"name",queryValue:queryString}], "myInstanceClassify" : "all", "parameterValue":[], fks: []}
ViewListPage({viewCode:'shi_jian_shou_li_list_page', pageNo: 1, pageSize:10}, data).then(res=>{
console.log(res,"事件信息");
var restaurants = res.result.records;
let a = [];
restaurants.forEach((per=>{
let item = { value: per.name, imei: per.id };
a.push(item);
}))
cb(a);
})
} else if (this.actionMap == 3) {
//
} else if(this.actionMap == 4) {
//
} else if(this.actionMap == 5) {
//
getStreetShopList({shopName:queryString,pageSize:20,pageNum:1}).then(res=>{
var restaurants = res.rows;
let a = [];
restaurants.forEach((per=>{
let item = { value: per.shopName, imei: per.id, longitude:per.longitude, latitude:per.latitude };
a.push(item);
}))
cb(a);
})
}
},
//
handleSelect(item){
console.log(item,"item");
if(this.actionMap == 1) {
if(item.imei) {
// imei
getDeviceList({imei:item.imei}).then(res=>{
if(res.code == 200 && res.data.msg == "操作成功") {
this.map.setZoomAndCenter(16,[res.data.obj[0].longitude,res.data.obj[0].latitude]);
} }
}) })
}
} else if (this.actionMap == 2) {
//
} else if (this.actionMap == 3) {
//
} else if(this.actionMap == 4) {
//
} else if(this.actionMap == 5) {
//
if(item.longitude && item.latitude) {
this.map.setZoomAndCenter(16,[item.longitude,item.latitude]);
}
}
}, },
// //
createdTask() { createdTask() {
@ -2062,7 +2373,9 @@ export default {
}, },
// //
changeMap(id) { changeMap(id) {
this.MyInput = true;
this.actionMap = id; this.actionMap = id;
this.input = "";
this.personInfo.visible = false; this.personInfo.visible = false;
this.eventInfo.visible = false; this.eventInfo.visible = false;
this.carInfo.visible = false; this.carInfo.visible = false;
@ -2075,18 +2388,12 @@ export default {
} else if (id == 3) { } else if (id == 3) {
this.markerOffset = new AMap.Pixel(-35, -148); this.markerOffset = new AMap.Pixel(-35, -148);
} else if (id == 4) { } else if (id == 4) {
this.MyInput = false;
this.markerOffset = new AMap.Pixel(-27, -94); this.markerOffset = new AMap.Pixel(-27, -94);
} else if (id == 5) { } else if (id == 5) {
this.markerOffset = new AMap.Pixel(-27, -94); this.markerOffset = new AMap.Pixel(-27, -94);
} }
this.getMarkers(id); this.getMarkers(id);
// this.markerInterval()
// if (id == 1) {
// this.getTem();
// } else {
// this.addMark();
// }
}, },
// //
leftAnimation() { leftAnimation() {
@ -2110,10 +2417,29 @@ export default {
}, },
// //
markerInterval(){ markerInterval(){
let timer let timer
if(this.actionMap == 1) { if(this.actionMap == 1) {
timer = setInterval(() => { timer = setInterval(() => {
this.getMarkers(1,true) for(let i = 0; i < this.personMarkers.length; i++) {
for(let j = i+1; j < this.personMarkers.length; j++) {
if(this.personMarkers[i].imei == this.personMarkers[j].imei) {
this.personMarkers.splice(i,1);
}
}
}
console.log("this.personMarkers",this.personMarkers);
getDeviceList().then(res=>{
if(res.code == 200) {
res.data.obj.forEach((item,index)=>{
this.personMarkers.forEach((per)=>{
if(item.imei == per.imei) {
per.markers.setPosition(new AMap.LngLat(item.longitude,item.latitude))
}
})
})
}
})
}, 10000); }, 10000);
} else { } else {
clearInterval(timer) clearInterval(timer)
@ -2134,7 +2460,7 @@ export default {
listZhzz().then(res=>{ listZhzz().then(res=>{
if(res.code == 200) { if(res.code == 200) {
this.onIcon = res.rows[0].onIcon ? process.env.VUE_APP_BASE_API + res.rows[0].onIcon : require("../../../assets/images/icon/icon1.png"); this.onIcon = res.rows[0].onIcon ? process.env.VUE_APP_BASE_API + res.rows[0].onIcon : require("../../../assets/images/icon/icon1.png");
this.offIcon = res.rows[0].offIcon ? process.env.VUE_APP_BASE_API + res.rows[0].offIcon : require("../../../assets/images/icon/icon1.png"); this.offIcon = res.rows[0].offIcon ? process.env.VUE_APP_BASE_API + res.rows[0].offIcon : require("../../../assets/images/icon/offLine1.png");
// console.log(this.onIcon,'this.onIcon'); // console.log(this.onIcon,'this.onIcon');
// console.log(this.offIcon,'this.offIcon'); // console.log(this.offIcon,'this.offIcon');
const faviconUrl = res.rows[0].platformLogoUrl ? process.env.VUE_APP_BASE_API + res.rows[0].platformLogoUrl : require("@/assets/images/login-logo.png"); const faviconUrl = res.rows[0].platformLogoUrl ? process.env.VUE_APP_BASE_API + res.rows[0].platformLogoUrl : require("@/assets/images/login-logo.png");
@ -2157,7 +2483,7 @@ export default {
this.getCarList(); this.getCarList();
this.getrobotToken(); this.getrobotToken();
// this.markerInterval() // this.markerInterval();
}, },
}; };
</script> </script>

@ -4,19 +4,10 @@
* @Author: JC9527 * @Author: JC9527
* @Date: 2023-08-16 14:19:37 * @Date: 2023-08-16 14:19:37
* @LastEditors: JC9527 * @LastEditors: JC9527
* @LastEditTime: 2024-01-15 16:32:33 * @LastEditTime: 2024-01-23 15:44:59
--> -->
<template> <template>
<el-dialog <!-- :custom-class="
:visible.sync="dialogVisible"
:show-close="false"
:destroy-on-close="true"
:close-on-click-modal="false"
:close-on-press-escape="false"
:width="width"
:style="heightStyle"
append-to-body
:custom-class="
type == 1 type == 1
? 'dialog-boxed' ? 'dialog-boxed'
: type == 2 : type == 2
@ -28,14 +19,26 @@
: type == 10 : type == 10
? 'dialog-boxed10' ? 'dialog-boxed10'
: '' : ''
" " -->
<el-dialog
:visible.sync="dialogVisible"
:show-close="false"
:destroy-on-close="true"
:close-on-click-modal="false"
:close-on-press-escape="false"
:width="width"
:style="heightStyle"
append-to-body
> >
<template slot="title"> <template slot="title">
<div class="closeClick"> <div class="closeClick">
<div class="headline" text="title123kmalskdnj"> <div class="headline" text="title123kmalskdnj">
<div class="headlinetitle" :text="title">{{ title }}</div> <div class="headlinetitle" :text="title">{{ title }}</div>
<!-- <img src="@/assets/images/dialogbg/close.png" class="closeimg" @click="Close" alt="" /> -->
</div> </div>
<div class="close" @click="Close"></div> <img src="@/assets/images/dialogbg/close.png" class="closeimg" @click="Close" alt="" />
<!-- <div class="close" @click="Close"></div> -->
</div> </div>
</template> </template>
<slot> </slot> <slot> </slot>
@ -85,7 +88,7 @@ export default {
// width: vw(878); // width: vw(878);
// height: 520px; // height: 520px;
// border: 1px solid red; // border: 1px solid red;
background-image: url("../../../assets/images/dialogbg.png"); background-image: url("../../../assets/images/dialogbg/dialog1.png");
background-size: 100% 100%; background-size: 100% 100%;
background-color: transparent; background-color: transparent;
.el-dialog__header { .el-dialog__header {
@ -124,11 +127,14 @@ export default {
text-shadow: none; text-shadow: none;
} }
} }
} }
.close { .closeimg {
// width: 20px;
// height: 20px;
position: absolute; position: absolute;
width: 50px; width: 20px;
height: 50px; height: 20px;
right: 0px; right: 0px;
top: 6px; top: 6px;
cursor: pointer; cursor: pointer;
@ -142,16 +148,16 @@ export default {
::v-deep .dialog-boxed { ::v-deep .dialog-boxed {
background-image: url("../../../assets/images/dialogbg/dialog13.png"); background-image: url("../../../assets/images/dialogbg/dialog13.png");
.el-dialog__header { .el-dialog__header {
.closeClick { // .closeClick {
.close { // .close {
position: absolute; // position: absolute;
width: 27px; // width: 27px;
height: 23px; // height: 23px;
right: 10px; // right: 10px;
top: 18px; // top: 18px;
cursor: pointer; // cursor: pointer;
} // }
} // }
} }
} }
::v-deep .dialog-boxed2 { ::v-deep .dialog-boxed2 {
@ -160,46 +166,46 @@ export default {
::v-deep .dialog-boxed3 { ::v-deep .dialog-boxed3 {
background-image: url("../../../assets/images/dialogbg/792@2x.png"); background-image: url("../../../assets/images/dialogbg/792@2x.png");
.el-dialog__header { .el-dialog__header {
.closeClick { // .closeClick {
.close { // .close {
position: absolute; // position: absolute;
width: 20px; // width: 20px;
height: 18px; // height: 18px;
right: 17px; // right: 17px;
top: 8px; // top: 8px;
cursor: pointer; // cursor: pointer;
} // }
} // }
} }
} }
::v-deep .dialog-boxed9 { ::v-deep .dialog-boxed9 {
background-image: url("../../../assets/images/dialogbg/792@2x.png"); background-image: url("../../../assets/images/dialogbg/792@2x.png");
.el-dialog__header { .el-dialog__header {
.closeClick { // .closeClick {
.close { // .close {
position: absolute; // position: absolute;
width: 27px; // width: 27px;
height: 25px; // height: 25px;
right: 20px; // right: 20px;
top: 12px; // top: 12px;
cursor: pointer; // cursor: pointer;
} // }
} // }
} }
} }
::v-deep .dialog-boxed10 { ::v-deep .dialog-boxed10 {
background-image: url("../../../assets/images/dialogbg/792@2x.png"); background-image: url("../../../assets/images/dialogbg/792@2x.png");
.el-dialog__header { .el-dialog__header {
.closeClick { // .closeClick {
.close { // .close {
position: absolute; // position: absolute;
width: 27px; // width: 27px;
height: 27px; // height: 27px;
right: 20px; // right: 20px;
top: 15px; // top: 15px;
cursor: pointer; // cursor: pointer;
} // }
} // }
} }
} }
</style> </style>

@ -71,6 +71,8 @@
<section> <section>
<el-table <el-table
class="exporttable" class="exporttable"
v-loading="TabLoading"
element-loading-background="rgba(11, 34, 72, 0.8)"
:data="tableData" :data="tableData"
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
:header-cell-style="tableHeaderCellStyle" :header-cell-style="tableHeaderCellStyle"
@ -78,29 +80,32 @@
:cell-style="{padding:0+'px'}" :cell-style="{padding:0+'px'}"
style="width: 100%"> style="width: 100%">
<el-table-column <el-table-column
prop="date" prop="rand_number"
label="事件流水号" label="事件流水号"
header-align="center" header-align="center"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="eventName" prop="name"
label="事件名称" label="事件名称"
:show-overflow-tooltip="true"
header-align="center" header-align="center"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="eventType" prop="type"
header-align="center" header-align="center"
:show-overflow-tooltip="true"
label="事件类型"> label="事件类型">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="eventAddress" prop="address"
header-align="center" header-align="center"
:show-overflow-tooltip="true"
label="事件地址"> label="事件地址">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="eventDate" prop="open_time"
header-align="center" header-align="center"
label="事件发生时间"> label="事件发生时间">
</el-table-column> </el-table-column>
@ -137,7 +142,7 @@ export default {
components:{diaLog}, components:{diaLog},
data() { data() {
return { return {
total:20, total:0,
title:"任务派发", title:"任务派发",
taskForm:{ taskForm:{
task:"", task:"",
@ -149,56 +154,8 @@ export default {
] ]
}, },
info:null, info:null,
tableData: [{ tableData: [],
date: '20240120084248951', TabLoading:false,
eventName: '事件名称',
eventType: '事件类型',
eventAddress: '地址',
eventDate:"2019-04-12"
}, {
date: '20240120084248951',
eventName: '事件名称',
eventType: '事件类型',
eventAddress: '地址',
eventDate:"2019-04-12"
}, {
date: '20240120084248951',
eventName: '事件名称',
eventType: '事件类型',
eventAddress: '地址',
eventDate:"2019-04-12"
}, {
date: '20240120084248951',
eventName: '事件名称',
eventType: '事件类型',
eventAddress: '地址',
eventDate:"2019-04-12"
}, {
date: '20240120084248951',
eventName: '事件名称',
eventType: '事件类型',
eventAddress: '地址',
eventDate:"2019-04-12"
}, {
date: '20240120084248951',
eventName: '事件名称',
eventType: '事件类型',
eventAddress: '地址',
eventDate:"2019-04-12"
}, {
date: '20240120084248951',
eventName: '事件名称',
eventType: '事件类型',
eventAddress: '地址',
eventDate:"2019-04-12"
}, {
date: '20240120084248951',
eventName: '事件名称',
eventType: '事件类型',
eventAddress: '地址',
eventDate:"2019-04-12"
}
]
} }
}, },
mounted() { mounted() {
@ -208,21 +165,19 @@ export default {
open(info){ open(info){
this.info = info; this.info = info;
this.$refs.taskDialog.open(); this.$refs.taskDialog.open();
// this.getViewListPageList();
}, },
getViewListPageList(){ getViewListPageList(page){
let data = {'queryValue' : [], "myInstanceClassify" : "all"} this.TabLoading = true;
ViewListPage({viewCode:'event-all-list',pageNo:"1",pageSize:"50"}, data).then(res => { let data = {'queryValue' : [], "myInstanceClassify" : "all", "parameterValue":[], fks: []}
console.log(res,"获取的事件列表"); ViewListPage({viewCode:'shi_jian_shou_li_list_page', pageNo: page || 1, pageSize:10}, data).then(res => {
if(res.code == 200) { if(res.code == 200) {
res.result.records.forEach(item => { this.total = res.result.total;
let obj = {}; this.tableData = res.result.records;
obj["label"] = item.name;
obj["value"] = item.id;
this.options.push(obj);
})
} }
this.TabLoading = false;
}).catch(err =>{
this.TabLoading = false;
}) })
}, },
@ -238,15 +193,18 @@ export default {
}, },
zhipai(row){ zhipai(row){
console.log("事件触发了"); console.log("事件触发了");
this.taskForm.task = row.name
this.$refs.eventDialog.Close();
}, },
// //
select(){ select(){
this.$refs.eventDialog.open() this.$refs.eventDialog.open()
this.getViewListPageList();
}, },
// //
cancel(refForm){ cancel(refForm){
this.$refs[refForm].resetFields(); this.$refs[refForm].resetFields();
this.$refs.dialog5.Close(); this.$refs.taskDialog.Close();
}, },
// //
confirm(refForm){ confirm(refForm){
@ -265,7 +223,8 @@ export default {
}, },
// //
pageChange(pages) { pageChange(pages) {
console.log(pages); // console.log(pages);
this.getViewListPageList(pages);
} }
}, },
} }
@ -513,6 +472,8 @@ export default {
height: 0px; height: 0px;
} }
.btns { .btns {
display: flex;
justify-content: center;
.btn { .btn {
width: 91px; width: 91px;
height: 35px; height: 35px;

Loading…
Cancel
Save