Lou
2023-12-08 8c844ea235546f84035e4a99a9703d797cec80bc
subPackage/workbench/views/bailReportDetail.vue
@@ -9,7 +9,7 @@
      <view class="licence" v-if="locationImageUrls.length">
         <box-title title="位置图片" class="box-title"></box-title>
         <view class="flex-wrap">
            <view v-for="(i,k) in locationImageUrls" :key="k" class="ml-20 mt-20">
            <view v-for="(i,k) in locationImageUrls" :key="k" class="ml-20 mt-20"  @click="previewImg(i,locationImageUrls)">
               <u-image :src="i" width="80" height="80"></u-image>
            </view>
         </view>
@@ -343,18 +343,17 @@
               this.basicData.forEach(item => {
                  item.value = data[item.name]
               })
               this.locationImageUrls = this.setImages(data.locationImageUrls);
               this.locationImageUrls = this.$setImageUrl(data.locationImageUrls);
            })
         },
         setImages(str) {
            if (str) {
               return str.split(",")
            } else {
               return []
            }
         previewImg(current,urls){
            uni.previewImage({
               current,urls
            })
         },
         handleConfirm(e) {
            this.confirmFlag = e.value[0].name;
            this.info.confirmFlag = e.value[0].status;
@@ -376,7 +375,7 @@
         setGoOutImages(key) {
            let urls = [];
            for (let i of key) {
               urls.push(i.url);
               urls.push(i.name);
            }
            return urls.join(",")
         },