|
|
|
@ -26,7 +26,7 @@ |
|
|
|
|
<uni-list-item title="联系人手机" :rightText="datas.phone || '/'" /> |
|
|
|
|
<uni-list-item title="标题" :rightText="datas.title" /> |
|
|
|
|
<uni-list-item title="事件位置" :rightText="'经度:'+datas.longitude+',纬度:'+datas.latitude " /> |
|
|
|
|
<map class="map" :markers="covers" :longitude="datas.longitude" :latitude="datas.latitude" name="" :enable-zoom="false" :enable-scroll="false"></map> |
|
|
|
|
<map class="map" :markers="covers" :longitude="datas.longitude" :latitude="datas.latitude" name="" ></map> |
|
|
|
|
<uni-list-item title="描述" :rightText="datas.description" /> |
|
|
|
|
<uni-list-item> |
|
|
|
|
<template v-slot:body> |
|
|
|
@ -34,8 +34,8 @@ |
|
|
|
|
</template> |
|
|
|
|
<template v-slot:footer> |
|
|
|
|
<view class="image-box" v-if="datas.pathList"> |
|
|
|
|
<image class="iamges-list" mode="widthFix" v-for="(item, index) in datas.pathList.split(',')" :key="index" :src="item" @click="preview(item)"></image> |
|
|
|
|
<q-previewImage ref="previewImage" :urls=" datas.pathList.split(',')" @open="open" @close="close"></q-previewImage> |
|
|
|
|
<image class="iamges-list" mode="widthFix" v-for="(item, index) in datas.pathList" :key="index" :src="requestUrl+item" @click="preview(item)"></image> |
|
|
|
|
<q-previewImage ref="previewImage" :urls="datas.pathList" @open="open" @close="close"></q-previewImage> |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
</uni-list-item> |
|
|
|
@ -53,6 +53,8 @@ import EvanStep from '@/components/evan-steps/evan-step.vue'; |
|
|
|
|
import UniIcons from '@/components/uni-icons/uni-icons.vue'; |
|
|
|
|
import {getEventReportDetail} from '@/api/word/myReport.js' |
|
|
|
|
import {getDicts} from '@/api/system/dict/data.js' |
|
|
|
|
import config from '@/config.js'; |
|
|
|
|
const baseUrl = config.baseUrl; |
|
|
|
|
export default { |
|
|
|
|
components: { |
|
|
|
|
EvanSteps, |
|
|
|
@ -78,6 +80,7 @@ export default { |
|
|
|
|
id: 0, |
|
|
|
|
covers: [], |
|
|
|
|
videoShow: true, //video组件是否显示 |
|
|
|
|
requestUrl: baseUrl, |
|
|
|
|
imgs: ['https://web-assets.dcloud.net.cn/unidoc/zh/multiport-20210812.png', 'https://web-assets.dcloud.net.cn/unidoc/zh/uni-function-diagram.png'] |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|