zhanghua
2024-03-15 fdce3979b5e1a97433def22ad0b0d783143da2f3
访问地址处理
10个文件已修改
31 ■■■■■ 已修改文件
src/components/filePictrue/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/illdetail/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/scene/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intelligentPatrol/studyJudge/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/arrive/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/book/index.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/evidence/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/learn/updateUser/uploadResult/components/arrive/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/disposal/casepool/pool/createUser/vio/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/images/updateUser/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/filePictrue/index.vue
@@ -36,6 +36,7 @@
</template>
<script>
import { parseTime, FILE_ORIGINAL_URL } from "@/utils/index";
import { replace } from "core-js/fn/symbol";
export default {
    data() {
        return {
@@ -57,6 +58,7 @@
                    urls.forEach((o) => {
                        o = o.replace("[", "").replace("]", "");
                        if (o !== '') {
                            o = o.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
                            item.url.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${o}`);
                        }
                    });
src/components/illdetail/index.vue
@@ -204,6 +204,9 @@
        const { info } = this;
        this.baseCase = info.baseCase;
        this.baseCase.illegalBuilding.positive = this.baseCase.illegalBuilding.positive.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
        this.baseCase.illegalBuilding.negative = this.baseCase.illegalBuilding.negative.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
        this.baseCase.illegalBuilding.positive = `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${this.baseCase.illegalBuilding.positive}`
        this.baseCase.illegalBuilding.negative = `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${this.baseCase.illegalBuilding.negative}`
       
src/components/scene/index.vue
@@ -187,6 +187,8 @@
                if (invesList.pic) {
                    invesList.pic.forEach((o) => {
                        o = o.replace("[", "").replace("]", "");
                        o = o.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
                        this.investigation.pic.push(
                            `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${o}`
                        );
src/views/intelligentPatrol/studyJudge/index.vue
@@ -470,6 +470,8 @@
            this.zoom = 18;
            this.mark = { title: this.currentEvent.address };
            if (this.currentEvent?.picData) {
                item = item.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
                this.imageList = this.currentEvent.picData
                    .split(",")
                    .map((item) => `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${item}`);
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/arrive/index.vue
@@ -162,6 +162,8 @@
        setPicUrl({ url }) {
            const baseUrl = '';
            if (this.arrive.situationPic.length < 4) {
                url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
                this.arrive.situationPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
            }
        },
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/book/index.vue
@@ -298,6 +298,8 @@
            writPic({ url }) {
            const baseUrl = '';
            if (this.book.originalPic.length < 4) {
                url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
                this.book.writPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
            }
        },
@@ -311,6 +313,8 @@
        otherPic({ url }) {
            const baseUrl = '';
            if (this.book.otherPic.length < 4) {
                url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
                this.book.otherPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
            }
        },
@@ -324,6 +328,8 @@
         rectifiedPic({ url }) {
            const baseUrl = '';
            if (this.book.otherPic.length < 4) {
                url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
                this.book.rectifiedPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
            }
        },
@@ -336,6 +342,8 @@
         originalPic({ url }) {
            const baseUrl = '';
            if (this.book.otherPic.length < 4) {
                url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
                this.book.originalPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
            }
        },
src/views/operate/disposal/casepool/dispatch/updateUser/uploadResult/components/evidence/index.vue
@@ -344,6 +344,8 @@
         setPicUrl({ url }) {
            const baseUrl = '';
            if (this.evidence.pic.length < 4) {
                url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
                this.evidence.pic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`)
            }
        },
src/views/operate/disposal/casepool/learn/updateUser/uploadResult/components/arrive/index.vue
@@ -111,6 +111,8 @@
            const baseUrl = '';
            
            if (this.arrive.situationPic.length < 4) {
                res.data.url1 = res.data.url1.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
                this.arrive.situationPic.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${ res.data.url1}`)
            }
        },
src/views/operate/disposal/casepool/pool/createUser/vio/index.vue
@@ -717,6 +717,8 @@
      }
    },
    setPictureUrl({ url }) {
      url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
      this.imageList.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`);
    //   this.imagedata.url = this.imageList.join(",");
    },
@@ -726,6 +728,8 @@
    },
    setMediaUrl({ url }) {
      url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
      this.mediaList.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`);
      this.mediaList.url = this.mediaList.join(",");
    },
src/views/operate/images/updateUser/index.vue
@@ -129,6 +129,8 @@
      let _imageList = [];
      let imageData = this.imagedata.url.split(",");
      imageData.forEach((url) => {
      url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
        console.log(
          "图片:" + `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`
        );
@@ -172,6 +174,8 @@
      });
    },
    setPictureUrl({ url }) {
      url = url.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
      this.imageList.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`);
      this.imagedata.url = this.imageList.join(",");
    },