减少摄像头的控制

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

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

@ -2,7 +2,7 @@
<ContentWrap>
<el-row :gutter="20">
<!-- 左侧区域 -->
<el-col :span="7">
<el-col :span="12">
<!-- 左上统计信息 -->
<el-card style="height: 250px" shadow="always" class="mb-20px">
<template #header>
@ -29,31 +29,8 @@
</el-card>
</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">
<template #header>
@ -105,7 +82,7 @@
<Echart style="width: 100%; height: 200px" :options="stockPieOptions" />
</el-card>
</el-col>
<el-col :span="10">
<el-col :span="17">
<el-card shadow="always">
<template #header>
<div class="card-header">
@ -115,25 +92,7 @@
<Echart style="width: 100%; height: 200px" :options="laneInventoryLineOptions" />
</el-card>
</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>
</ContentWrap>
</template>

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

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

Loading…
Cancel
Save