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