减少摄像头的控制

直接不采用验证码
不显示盘点管理下侧统计
玉溪
LAPTOP-S9HJSOEB\昊天 11 months ago
parent 5512f9b49a
commit 3a2580cb82

@ -4,7 +4,7 @@ NODE_ENV=production
VITE_DEV=true VITE_DEV=true
# 请求路径 # 请求路径
VITE_BASE_URL='http://192.168.0.10:48080' VITE_BASE_URL='http://172.18.94.172:48080'
# 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务 # 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务
VITE_UPLOAD_TYPE=server VITE_UPLOAD_TYPE=server

@ -2,7 +2,7 @@
<ContentWrap> <ContentWrap>
<el-row :gutter="20"> <el-row :gutter="20">
<!-- 左侧区域 --> <!-- 左侧区域 -->
<el-col :span="7"> <el-col :span="12">
<!-- 左上统计信息 --> <!-- 左上统计信息 -->
<el-card style="height: 250px" shadow="always" class="mb-20px"> <el-card style="height: 250px" shadow="always" class="mb-20px">
<template #header> <template #header>
@ -29,31 +29,8 @@
</el-card> </el-card>
</el-col> </el-col>
<!-- 中间区域 -->
<el-col :span="10">
<!-- 中上和中中选择相机直播 -->
<el-card shadow="always">
<template #header>
<div class="card-header">
<span>选择相机</span>
</div>
</template>
<el-select v-model="selectedCamera" placeholder="请选择相机" style="width: 100%">
<el-option
v-for="camera in cameraList"
:key="camera.id"
:label="camera.name"
:value="camera.id"
/>
</el-select>
<div style="height: 420px; background-color: #555555" class="mt-20px">
<Camera v-if="selectedCamera" :cameraId="selectedCamera" />
</div>
</el-card>
</el-col>
<!-- 右侧区域 --> <!-- 右侧区域 -->
<el-col :span="7"> <el-col :span="12">
<!-- 右上快捷方式 --> <!-- 右上快捷方式 -->
<el-card style="height: 250px" shadow="always" class="mb-20px"> <el-card style="height: 250px" shadow="always" class="mb-20px">
<template #header> <template #header>
@ -105,7 +82,7 @@
<Echart style="width: 100%; height: 200px" :options="stockPieOptions" /> <Echart style="width: 100%; height: 200px" :options="stockPieOptions" />
</el-card> </el-card>
</el-col> </el-col>
<el-col :span="10"> <el-col :span="17">
<el-card shadow="always"> <el-card shadow="always">
<template #header> <template #header>
<div class="card-header"> <div class="card-header">
@ -115,25 +92,7 @@
<Echart style="width: 100%; height: 200px" :options="laneInventoryLineOptions" /> <Echart style="width: 100%; height: 200px" :options="laneInventoryLineOptions" />
</el-card> </el-card>
</el-col> </el-col>
<el-col :span="7">
<!-- 左下实时滚动信息 -->
<el-card shadow="always">
<template #header>
<div class="card-header">
<span>实时滚动信息</span>
</div>
</template>
<el-scrollbar height="200px">
<div
v-for="(item, index) in realTimeLogs.slice().reverse()"
:key="index"
class="log-item"
>
{{ item }}
</div>
</el-scrollbar>
</el-card>
</el-col>
</el-row> </el-row>
</ContentWrap> </ContentWrap>
</template> </template>

@ -49,13 +49,13 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<Verify <!-- <Verify
ref="verify" ref="verify"
:captchaType="captchaType" :captchaType="captchaType"
:imgSize="{ width: '400px', height: '200px' }" :imgSize="{ width: '400px', height: '200px' }"
mode="pop" mode="pop"
@success="handleLogin" @success="handleLogin"
/> /> -->
</el-row> </el-row>
</el-form> </el-form>
</template> </template>
@ -108,13 +108,14 @@ const loginData = reactive({
// //
const getCode = async () => { const getCode = async () => {
// //
if (loginData.captchaEnable === 'false') { // if (loginData.captchaEnable === 'false') {
await handleLogin({})
} else { // } else {
// // //
// // //
verify.value.show() // verify.value.show()
} // }
await handleLogin({})
} }
// //
const getLoginFormCache = () => { const getLoginFormCache = () => {

@ -69,7 +69,7 @@
</ContentWrap> </ContentWrap>
<ContentWrap> <ContentWrap v-if="f">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col style="height: 30vh;" :span="5"> <el-col style="height: 30vh;" :span="5">

Loading…
Cancel
Save