web
2025-03-26 98247bb0b4da9a322c97867262c1a76c53ace520
src/views/facility/monitorList/index.vue
@@ -13,6 +13,7 @@
const route = useRoute();
const {proxy} = getCurrentInstance();
const imgBaseUrl = import.meta.env.VITE_APP_IMG_BASEURL //图片前缀
/**
 * 搜索相关
@@ -148,7 +149,7 @@
//上传文件,添加图片地址信息
const uploadData = (data) => {
    form.value.imageUrl = data.toString();
    form.value.imageUrl = imgBaseUrl + data.toString();
}
/** 提交按钮 */
@@ -243,7 +244,7 @@
            >
                <template #default="scope">
                    <div v-if="key === 'imageUrl'">
                        <img :src="scope.row.headImg" class="table-headImg"/>
                        <img :src="imgBaseUrl + scope.row.headImg" class="table-headImg" alt="" />
                    </div>
                    <div v-else-if="key === 'pointType'">
                        {{ scope.row.pointType === 1 ? '水温监测点' : '生态流量监测点' }}