优化
This commit is contained in:
@ -5,10 +5,10 @@ VITE_APP_TITLE = 新能源项目管理平台
|
|||||||
VITE_APP_ENV = 'development'
|
VITE_APP_ENV = 'development'
|
||||||
|
|
||||||
# 开发环境
|
# 开发环境
|
||||||
VITE_APP_BASE_API = 'http://192.168.110.119:8899'
|
# VITE_APP_BASE_API = 'http://192.168.110.119:8899'
|
||||||
# VITE_APP_BASE_API = 'http://58.17.134.85:8899'
|
VITE_APP_BASE_API = 'http://58.17.134.85:8899'
|
||||||
# GO开发环境
|
# GO开发环境
|
||||||
VITE_APP_BASE_API_GO = 'http://192.168.110.159:8919'
|
VITE_APP_BASE_API_GO = 'http://58.17.134.85:8919'
|
||||||
|
|
||||||
# 无人机接口地址
|
# 无人机接口地址
|
||||||
|
|
||||||
|
@ -30,7 +30,13 @@
|
|||||||
<el-table-column label="摄像头名称" align="center" prop="name" />
|
<el-table-column label="摄像头名称" align="center" prop="name" />
|
||||||
<el-table-column label="图片地址" align="center" prop="url">
|
<el-table-column label="图片地址" align="center" prop="url">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-image :z-index="9999" :preview-src-list="[scope.row.path]" preview-teleported :src="scope.row.path" class="w20" />
|
<el-image
|
||||||
|
:z-index="9999"
|
||||||
|
:preview-src-list="['http://58.17.134.85:8919' + scope.row.path]"
|
||||||
|
preview-teleported
|
||||||
|
:src="'http://58.17.134.85:8919' + scope.row.path"
|
||||||
|
class="w20"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="拍摄时间" align="center" prop="createdAt" />
|
<el-table-column label="拍摄时间" align="center" prop="createdAt" />
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="图片路径" align="center" prop="picture" width="100">
|
<el-table-column label="图片路径" align="center" prop="picture" width="100">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<image-preview :src="scope.row.picture" :width="50" :height="50" />
|
<image-preview :src="'http://58.17.134.85:8919' + scope.row.picture" :width="50" :height="50" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="故障描述" align="center" prop="describe" />
|
<el-table-column label="故障描述" align="center" prop="describe" />
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<el-space wrap>
|
<el-space wrap>
|
||||||
<div v-for="item in safetyInspectionDetail.checkAttachment" :key="item.ossId">
|
<div v-for="item in safetyInspectionDetail.checkAttachment" :key="item.ossId">
|
||||||
<span v-if="['png', 'jpg', 'jpeg'].includes(item.fileType)">
|
<span v-if="['png', 'jpg', 'jpeg'].includes(item.fileType)">
|
||||||
<image-preview :src="item.path" width="200px" />
|
<image-preview :src="'http://58.17.134.85:8919' + item.path" width="200px" />
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
<el-link :href="`${item.path}`" type="primary" :underline="false" target="_blank">
|
<el-link :href="`${item.path}`" type="primary" :underline="false" target="_blank">
|
||||||
|
Reference in New Issue
Block a user