master
coco1986509808 2024-07-28 19:44:56 +08:00
parent 702c6b3b0e
commit 68e08d187c
12 changed files with 133 additions and 114 deletions

View File

@ -1,5 +1,5 @@
window.GLOBAL_CONFIG = {
apiURL: "http://192.168.1.109:8889/face",
apiURL: "http://127.0.0.1:8889/face",
IMG_SERVER_URL: "http://192.168.1.133:9000",
SOCKET_URL: "ws://192.168.1.109:8889/face/webSocketServer",
rtspApi_URL: window.location.protocol + '//' + window.location.hostname + ':' + window.location.port,

View File

@ -4,7 +4,7 @@ t.loading = '加载中...'
t.brand = {}
t.brand.lg = '室外图像采集平台'
t.brand.mini = '像'
t.brand.mini = '像'
t.add = '新增'
t.delete = '删除'
@ -364,6 +364,7 @@ t.role = {}
t.role.name = '名称'
t.role.remark = '备注'
t.role.createDate = '创建时间'
t.role.updateDate = '更新时间'
t.role.menuList = '菜单授权'
t.role.deptList = '数据授权'

View File

@ -23,11 +23,11 @@ export default new Vuex.Store({
contentTabs: [
{
...window.SITE_CONFIG['contentTabDefault'],
'name': 'monitoring-home',
'name': 'monitoring-chart-test2',
'title': '首页'
}
],
contentTabsActiveName: 'monitoring-home',
contentTabsActiveName: 'monitoring-chart-test2',
//人像库 跳转页面 数据
libraryurl:''
},

View File

@ -12,7 +12,7 @@
</el-dropdown>
<el-tabs v-model="$store.state.contentTabsActiveName" @tab-click="tabSelectedHandle" @tab-remove="tabRemoveHandle">
<el-tab-pane v-for="item in $store.state.contentTabs" :key="item.name" :name="item.name" :label="item.title"
:closable="item.name !== 'monitoring-home'" :class="{ 'is-iframe': tabIsIframe(item.iframeURL) }">
:closable="item.name !== 'monitoring-chart-test2'" :class="{ 'is-iframe': tabIsIframe(item.iframeURL) }">
<!-- <template v-if="item.name === 'monitoring-home'">
<svg slot="label" class="icon-svg aui-content--tabs-icon-nav" aria-hidden="true">
<use xlink:href="#icon-home"></use>
@ -76,12 +76,12 @@
},
// tabs, tab
tabRemoveHandle(tabName) {
if (tabName === 'monitoring-home') {
if (tabName === 'monitoring-chart-test2') {
return false
}
this.$store.state.contentTabs = this.$store.state.contentTabs.filter(item => item.name !== tabName)
if (this.$store.state.contentTabs.length <= 0) {
this.$store.state.sidebarMenuActiveName = this.$store.state.contentTabsActiveName = 'monitoring-home'
this.$store.state.sidebarMenuActiveName = this.$store.state.contentTabsActiveName = 'monitoring-chart-test2'
return false
}
// tab
@ -99,14 +99,14 @@
// tabs,
tabsCloseOtherHandle() {
this.$store.state.contentTabs = this.$store.state.contentTabs.filter(item => {
return item.name === 'monitoring-home' || item.name === this.$store.state.contentTabsActiveName
return item.name === 'monitoring-chart-test2' || item.name === this.$store.state.contentTabsActiveName
})
},
// tabs,
tabsCloseAllHandle() {
this.$store.state.contentTabs = this.$store.state.contentTabs.filter(item => item.name === 'monitoring-home')
this.$store.state.contentTabs = this.$store.state.contentTabs.filter(item => item.name === 'monitoring-chart-test2')
this.$router.push({
name: 'monitoring-home'
name: 'monitoring-chart-test2'
})
}
}

View File

@ -9,7 +9,7 @@
activated() {
this.$store.state.contentTabs.pop()
this.$router.push({
name: "monitoring-home"
name: "monitoring-chart-test2"
})
}
}

View File

@ -2,61 +2,62 @@
<div>
<div v-show="!allPicState">
<!-- 预警-->
<div style="float:right;width: 528px;box-sizing: border-box;">
<div style="margin-bottom: 8px; display: flex;justify-content: space-between;">
<i style="font-size: 18px;font-weight: bold;color: #333;">人脸比中</i>
<i @click="showAllClick()" style="cursor: pointer;">查看全部
<i class="el-icon-arrow-right">
</i>
</i>
</div>
<div style="width: 528px;height: 190px;margin-bottom: 10px;background: #FFF;border-radius:2px; cursor: pointer;"
v-for="(item,index) in videoFaceList" v-if = "item.xsd > textStyle" class="warning-class" @click="openTask(item)">
<div v-if = "item.xsd > textStyle"
style="height:40px;display:flex;align-items: center; justify-content: space-between;border-bottom: 1px solid #F1F8FF;box-sizing: border-box;">
<!-- <i style="font-weight: bold;color: #333333;margin-left: 20px">{{item.cameraRegion}}</i>-->
<i style="font-weight: bold;color: #333333;margin-left: 20px">{{"十楼工位"}}</i>
<i style="font-weight: bold;color: #333333;margin-right: 20px;">{{item.time}}</i>
</div>
<div v-if = "item.xsd > textStyle" style="display: flex;align-items: center;height: 150px;margin-left: 34px;">
<div style="width: 120px;height: 120px;background: #F1F6F9;">
<!--<canvas width=120 height=120 :ref="'warningImage'+index">
</canvas>-->
<img style="width: 120px;height: 120px;" :src="videoFaceList[index].cphoto" fit="contain"/>
</div>
<div
style="width: 120px;height: 120px;background: #F1F6F9;margin: 0 20px;text-align: center;position: relative;">
<!-- src="item.rphoto"-->
<img style="width: 120px;height: 120px;" :src="item.rphoto" />
<div
style="position: absolute;width: 100%;background-color: red;bottom: 0;opacity: 0.6;background: #000;color: #FFF;line-height: 1.8;">
<i>测试库</i>
</div>
</div>
<div style="width: 194px;height: 120px;position: relative;">
<div
style="display: flex;flex-direction: column;justify-content: space-around;height: 120px;">
<span><iv
style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgritem.name}}</i></span>
<span><i>性别未知</i></span>
<span><i>来源测试库</i></span>
<span><i>相似度</i><i style="font-size: 30px;font-weight: 600;color: #FF343E; font-family:Bahnschrift;">
{{item.xsd+"%"}}</i></span>
</div>
<div style="position: absolute;top:0;right: 0;">
<img src="../../../assets/img/warning/jk.png" alt="监控">
<img v-if="item.taskType=='3'" src="../../../assets/img/warning/ts.png" alt="提示">
<img v-if="item.taskType=='2'" src="../../../assets/img/warning/jk.png" alt="监控">
<img v-if="item.taskType=='1'" src="../../../assets/img/warning/zb.png" alt="抓捕">
</div>
</div>
</div>
</div>
<!-- 子组件 任务详情 -->
<task v-if="taskVisible" ref="task" @refreshTaskList></task>
</div>
<!-- <div style="float:right;width: 528px;box-sizing: border-box;">-->
<!-- <div style="margin-bottom: 8px; display: flex;justify-content: space-between;">-->
<!-- <i style="font-size: 18px;font-weight: bold;color: #333;">人脸比中</i>-->
<!-- <i @click="showAllClick()" style="cursor: pointer;">查看全部-->
<!-- <i class="el-icon-arrow-right">-->
<!-- </i>-->
<!-- </i>-->
<!-- </div>-->
<!-- <div style="width: 528px;height: 190px;margin-bottom: 10px;background: #FFF;border-radius:2px; cursor: pointer;"-->
<!-- v-for="(item,index) in videoFaceList" v-if = "item.xsd > textStyle" class="warning-class" @click="openTask(item)">-->
<!-- <div v-if = "item.xsd > textStyle"-->
<!-- style="height:40px;display:flex;align-items: center; justify-content: space-between;border-bottom: 1px solid #F1F8FF;box-sizing: border-box;">-->
<!--&lt;!&ndash; <i style="font-weight: bold;color: #333333;margin-left: 20px">{{item.cameraRegion}}</i>&ndash;&gt;-->
<!-- <i style="font-weight: bold;color: #333333;margin-left: 20px">{{"十楼工位"}}</i>-->
<!-- <i style="font-weight: bold;color: #333333;margin-right: 20px;">{{item.time}}</i>-->
<!-- </div>-->
<!-- <div v-if = "item.xsd > textStyle" style="display: flex;align-items: center;height: 150px;margin-left: 34px;">-->
<!-- <div style="width: 120px;height: 120px;background: #F1F6F9;">-->
<!-- &lt;!&ndash;<canvas width=120 height=120 :ref="'warningImage'+index">-->
<!-- </canvas>&ndash;&gt;-->
<!-- <img style="width: 120px;height: 120px;" :src="videoFaceList[index].cphoto" fit="contain"/>-->
<!-- </div>-->
<!-- <div-->
<!-- style="width: 120px;height: 120px;background: #F1F6F9;margin: 0 20px;text-align: center;position: relative;">-->
<!-- &lt;!&ndash; src="item.rphoto"&ndash;&gt;-->
<!-- <img style="width: 120px;height: 120px;" :src="item.rphoto" />-->
<!-- <div-->
<!-- style="position: absolute;width: 100%;background-color: red;bottom: 0;opacity: 0.6;background: #000;color: #FFF;line-height: 1.8;">-->
<!-- <i>测试库</i>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div style="width: 194px;height: 120px;position: relative;">-->
<!-- <div-->
<!-- style="display: flex;flex-direction: column;justify-content: space-around;height: 120px;">-->
<!-- <span><iv-->
<!-- style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgr style="width: 120px;height: 120px;backgritem.name}}</i></span>-->
<!-- <span><i>性别未知</i></span>-->
<!-- <span><i>来源测试库</i></span>-->
<!-- <span><i>相似度</i><i style="font-size: 30px;font-weight: 600;color: #FF343E; font-family:Bahnschrift;">-->
<!-- {{item.xsd+"%"}}</i></span>-->
<!-- </div>-->
<!-- <div style="position: absolute;top:0;right: 0;">-->
<!-- <img src="../../../assets/img/warning/jk.png" alt="监控">-->
<!-- <img v-if="item.taskType=='3'" src="../../../assets/img/warning/ts.png" alt="提示">-->
<!-- <img v-if="item.taskType=='2'" src="../../../assets/img/warning/jk.png" alt="监控">-->
<!-- <img v-if="item.taskType=='1'" src="../../../assets/img/warning/zb.png" alt="抓捕">-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- &lt;!&ndash; 子组件 任务详情 &ndash;&gt;-->
<!-- <task v-if="taskVisible" ref="task" @refreshTaskList></task>-->
<!-- </div>-->
<!-- 抓拍-->
<div style="margin-right:548px;">
<!-- <div style="margin-right:548px;">-->
<div >
<!-- 条件 -->
<div style=";margin-bottom: 8px;">
<i style="font-size: 18px;font-weight: bold;color: #333;">卡口切换</i>
@ -65,7 +66,7 @@
<span class="el-icon-caret-bottom" style="font-size: 18px;cursor: pointer;"
@click.stop="barrierSelectStateClick" v-show="barrierState"></span>
<i style="font-size: 18px;margin-left: 30px;">{{barrierName}}</i>
<i style="font-size: 18px;float:right">布控任务:{{taskName}}</i>
<!-- <i style="font-size: 18px;float:right">布控任务:{{taskName}}</i>-->
</div>
<!-- 卡口树 -->
<div style="width: 305px;height: 600px;position: absolute;background-color: #FFF;z-index:1"
@ -97,36 +98,36 @@
<!-- </div>-->
<!-- </el-image>-->
<el-card shadow="never" class="aui-card--fill">
<div style="border: 1px solid #000000;height: 100%;width: 100%;float: left" v-for="item in cameraList" >
<video-control :msg=nowRtspurl :key="nowRtspurl" ></video-control>
<div style="border: 1px solid #000000;height: 400px;width: 50%;float: left" v-for="item in cameraList" >
<video-control :msg=item.rtspUrl ></video-control>
</div>
<!-- <button style="width: 200px;height: 200px;" @click="plays"></button>-->
<button style="width: 200px;height: 200px;" @click="plays"></button>
</el-card>
</div>
<!-- 抓拍图片详情 -->
<div style="display: flex;justify-content: space-between;margin: 10px 0 8px 0;">
<span>
<i style="color:#333;font-size: 14px;font-weight:bold ;">今日抓拍</i>
<i
style="color:#333;font-size: 18px;font-weight:bold;margin-left: 5px;font-family:Bahnschrift">{{toDaySnapShot}}</i>
<i style="color:#333;font-size: 14px;font-weight:bold ;">/累计抓拍 </i>
<i
style="color:#333;font-size: 18px;font-weight:bold;margin-left: 5px;font-family:Bahnschrift">{{totalSnapShot}}</i>
</span>
<i style="font-size: 14px;font-weight: 400;cursor: pointer;" @click="showAllPicClick()">
<span class="el-icon-arrow-right">
</span>
</i>
</div>
<!-- <div style="display: flex;justify-content: space-between;margin: 10px 0 8px 0;">-->
<!-- <span>-->
<!-- <i style="color:#333;font-size: 14px;font-weight:bold ;">今日抓拍</i>-->
<!-- <i-->
<!-- style="color:#333;font-size: 18px;font-weight:bold;margin-left: 5px;font-family:Bahnschrift">{{toDaySnapShot}}</i>-->
<!-- <i style="color:#333;font-size: 14px;font-weight:bold ;">/累计抓拍 </i>-->
<!-- <i-->
<!-- style="color:#333;font-size: 18px;font-weight:bold;margin-left: 5px;font-family:Bahnschrift">{{totalSnapShot}}</i>-->
<!-- </span>-->
<!-- <i style="font-size: 14px;font-weight: 400;cursor: pointer;" @click="showAllPicClick()">-->
<!-- <span class="el-icon-arrow-right">-->
<!-- </span>-->
<!-- </i>-->
<!-- </div>-->
<!-- 抓拍图片 -->
<div class="pic-div">
<div style="display: flex;align-items: center;">
<template v-for="(item,i) in videoFaceList">
<img width=120 height=120 style="margin-left: 12px;" :src="item.cphoto">
</template>
</div>
</div>
<!-- <div class="pic-div">-->
<!-- <div style="display: flex;align-items: center;">-->
<!-- <template v-for="(item,i) in videoFaceList">-->
<!-- <img width=120 height=120 style="margin-left: 12px;" :src="item.cphoto">-->
<!-- </template>-->
<!-- </div>-->
<!-- </div>-->
<!-- 声音提醒 -->
<!-- <audio ref="notice">-->
<!-- <source src="../../../assets/mp3/warning1.mp3" type="audio/mpeg">-->
@ -220,13 +221,20 @@
flag : false,
//70
textStyle : 70.00,
// websock: null
}
},
mounted() {
//this.timer = setInterval(this.get, 1000);
// this.get()
},
beforeDestroy() {},
beforeDestroy() {
},
destroyed() {
//this.websocketclose();
//ws
this.websock.close() // websocket
},
created() {
//
this.initGetCameraId()
@ -265,10 +273,10 @@
this.getCurrentTime()
}
},
// plays(){
// // this.cameraList.pop();
// this.cameraList.push({rtspUrl: "rtsp://admin:123uestc@192.168.1.32:554"});
// },
plays(){
// this.cameraList.pop();
this.cameraList.push({rtspUrl: "rtsp://admin:123uestc@192.168.1.32:554"});
},
// 4
initGetWarningPicture() {
this.$http.post("/faces/compareList", {

View File

@ -41,9 +41,9 @@
<el-form-item label="IP" prop="ip">
<el-input v-model="formModel.ip" placeholder="ip" clearable></el-input>
</el-form-item>
<el-form-item label="端口" prop="port">
<el-input v-model="formModel.port" placeholder="端口" clearable></el-input>
</el-form-item>
<!-- <el-form-item label="端口" prop="port">-->
<!-- <el-input v-model="formModel.port" placeholder="端口" clearable></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="用户名" prop="userName">
<el-input
v-model="formModel.userName"
@ -51,17 +51,18 @@
clearable
maxlength="30"
show-word-limit
disabled="true"
></el-input>
</el-form-item>
<el-form-item label="密码" prop="passwd">
<el-input
v-model="formModel.passwd"
placeholder="密码"
clearable
maxlength="30"
show-word-limit
></el-input>
</el-form-item>
<!-- <el-form-item label="密码" prop="passwd">-->
<!-- <el-input-->
<!-- v-model="formModel.passwd"-->
<!-- placeholder="密码"-->
<!-- clearable-->
<!-- maxlength="30"-->
<!-- show-word-limit-->
<!-- ></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="品牌" prop="idBrand">
<el-select
style="width:100%"
@ -246,7 +247,7 @@ export default {
cameraRegionFirstlevelArrays: [],
cameraAddress: "",
ip: "",
userName: "",
userName: this.$store.state.user.name,
passwd: "",
idBrand: "",
version: "",

View File

@ -266,7 +266,8 @@ export default {
},
//
commonSeach(pageObj = this.pageObj) {
this.$http.post("/camera/getList", pageObj).then(res => {
let userName =this.$store.state.user.name;
this.$http.post(`/camera/getList?userName=${userName}`, pageObj).then(res => {
if (res.data.code === 0) {
this.cameraList = res.data.data.records;
this.total = Number(res.data.data.total);
@ -276,7 +277,7 @@ export default {
console.log(res);
}
});
this.$http.get("/camera/getAllList").then(res => {
this.$http.get("/camera/getAllList",{params:{userName:this.$store.state.user.name}}).then(res => {
this.mapList = res.data.data;
this.mapList.forEach(item => {
item.displayCss = "block";

View File

@ -4,7 +4,7 @@
<el-header>
<div class="home_content">
<div >
<p class="home_title" style="color: rgb(0, 47, 255);font-size:45px">欢迎登录{{$store.state.user.name}}&nbsp;!</p>
<p class="home_title" style="color: rgb(0, 47, 255);font-size:45px">欢迎登录{{$store.state.user.name}}用户,好久不见!</p>
<p class="home_data" style="color: blue;font-size:45px">采集平台已经安全运行<span style="font-size:65x">&nbsp;{{homeData.daysOfOperation}}&nbsp;</span></p>
</div>
</div>
@ -40,6 +40,8 @@
</template>
<script>
import Cookies from "js-cookie";
export default {
data() {
return {
@ -82,6 +84,7 @@
}).catch(() => {})
},
data() {
console.log(Cookies)
this.$http.get('/index/show')
.then(res => {
if (res.data.code == 0) {

View File

@ -26,6 +26,7 @@
<el-table-column prop="name" :label="$t('role.name')" header-align="center" align="center"></el-table-column>
<el-table-column prop="remark" :label="$t('role.remark')" header-align="center" align="center"></el-table-column>
<el-table-column prop="createDate" :label="$t('role.createDate')" sortable="custom" header-align="center" align="center" width="180"></el-table-column>
<el-table-column prop="updateDate" :label="$t('role.updateDate')" sortable="custom" header-align="center" align="center" width="180"></el-table-column>
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150">
<template slot-scope="scope">
<el-button v-if="$hasPermission('sys:role:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}</el-button>

View File

@ -145,6 +145,8 @@ export default {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
console.log("角色列表")
console.log(res.data)
this.roleList = res.data
}).catch(() => {})
},

View File

@ -108,6 +108,7 @@
//
getCaptcha() {
this.dataForm.uuid = getUUID()
console.log("uuid"+this.dataForm.uuid)
this.captchaPath = `${window.SITE_CONFIG['apiURL']}/captcha?uuid=${this.dataForm.uuid}`
},
//
@ -124,8 +125,9 @@
return this.$message.error(res.msg)
}
Cookies.set('token', res.data.token)
//console.log(Cookies.get('token'))
this.$router.replace({
name: 'monitoring-home'
name: 'monitoring-chart-test2'
})
}).catch(() => {})
})