fix: BUG修改
This commit is contained in:
parent
2d5b9cdd5e
commit
c29b47868a
@ -3,8 +3,8 @@ NODE_ENV = "production"
|
||||
|
||||
# 线上环境接口地址(easymock)
|
||||
# VITE_API_URL = "http://139.9.66.234:6688"
|
||||
VITE_API_URL = "http://182.90.224.147:6688"
|
||||
# VITE_API_URL = "http://101.43.164.214:6688"
|
||||
# VITE_API_URL = "http://182.90.224.147:6688"
|
||||
VITE_API_URL = "http://101.43.164.214:6688"
|
||||
# VITE_API_URL = "https://wx.antjg.com:6081/"
|
||||
|
||||
# 打包
|
||||
|
||||
@ -1,11 +1,7 @@
|
||||
<template>
|
||||
<div class="outside">
|
||||
<layoutTop></layoutTop>
|
||||
<iframe
|
||||
:src="`http://192.168.34.121:8081?token=${token}`"
|
||||
style="width: 100%; height: 100%; border: medium none"
|
||||
frameborder="1"
|
||||
></iframe>
|
||||
<iframe :src="`${baseUrl}?token=${token}`" style="width: 100%; height: 100%; border: medium none" frameborder="1"></iframe>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -16,6 +12,7 @@ import { GlobalStore } from "@/stores";
|
||||
onBeforeMount(() => {
|
||||
getToken();
|
||||
});
|
||||
const baseUrl = import.meta.env.VITE_API_URL;
|
||||
const token = ref("");
|
||||
const getToken = () => {
|
||||
const globalstore = GlobalStore();
|
||||
|
||||
@ -90,7 +90,7 @@
|
||||
<el-col :span="8">
|
||||
<span class="row-span">施工单位:</span>
|
||||
<div class="face-img">
|
||||
<div class="imgList" v-if="basicData.opSignature">
|
||||
<div class="imgList" v-if="basicData.opSignature && basicData.opSignature.length > 0">
|
||||
<img :src="item.url" class="face-avatar" v-for="(item, index) in basicData.opSignature" :key="index" />
|
||||
</div>
|
||||
<el-upload
|
||||
@ -113,7 +113,7 @@
|
||||
<el-col :span="8">
|
||||
<span class="row-span">监理单位:</span>
|
||||
<div class="face-img">
|
||||
<div class="imgList" v-if="basicData.supervisorSignature">
|
||||
<div class="imgList" v-if="basicData.supervisorSignature && basicData.supervisorSignature.length > 0">
|
||||
<img :src="item.url" class="face-avatar" v-for="(item, index) in basicData.supervisorSignature" :key="index" />
|
||||
</div>
|
||||
<el-upload
|
||||
@ -132,7 +132,7 @@
|
||||
<el-col :span="8">
|
||||
<span class="row-span">检查人员:</span>
|
||||
<div class="face-img">
|
||||
<div class="imgList" v-if="basicData.inspectSignature">
|
||||
<div class="imgList" v-if="basicData.inspectSignature && basicData.inspectSignature.length > 0">
|
||||
<img :src="item.url" class="face-avatar" v-for="(item, index) in basicData.inspectSignature" :key="index" />
|
||||
</div>
|
||||
<el-upload
|
||||
@ -151,7 +151,7 @@
|
||||
<el-col :span="8">
|
||||
<span class="row-span">其他单位:</span>
|
||||
<div class="face-img">
|
||||
<div class="imgList" v-if="basicData.otherSignature">
|
||||
<div class="imgList" v-if="basicData.otherSignature && basicData.otherSignature.length > 0">
|
||||
<img :src="item.url" class="face-avatar" v-for="(item, index) in basicData.otherSignature" :key="index" />
|
||||
</div>
|
||||
<el-upload
|
||||
@ -252,7 +252,7 @@
|
||||
<div class="row">
|
||||
<span>隐患照片:</span>
|
||||
<div class="face-img">
|
||||
<div class="imgList" v-if="dangerForm.image.length > 0">
|
||||
<div class="imgList" v-if="dangerForm.image && dangerForm.image.length > 0">
|
||||
<img :src="item.url" class="face-avatar" v-for="(item, index) in dangerForm.image" :key="index" />
|
||||
</div>
|
||||
<el-upload
|
||||
|
||||
@ -93,7 +93,7 @@
|
||||
<el-table-column label="隐患照片">
|
||||
<template #default="scope">
|
||||
<el-image
|
||||
v-if="scope.row.image"
|
||||
v-if="scope.row.image && scope.row.image.length > 0"
|
||||
style="width: 38px; height: 28px"
|
||||
:src="scope.row.image[0].url"
|
||||
fit="fill"
|
||||
|
||||
@ -93,7 +93,7 @@
|
||||
<el-table-column label="隐患照片">
|
||||
<template #default="scope">
|
||||
<el-image
|
||||
v-if="scope.row.image"
|
||||
v-if="scope.row.image && scope.row.image.length > 0"
|
||||
style="width: 38px; height: 28px"
|
||||
:src="scope.row.image[0].url"
|
||||
fit="fill"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user