linwei
2024-01-05 e290b038441f6430dc68f7751c57e9e67e1f3d98
公安安全
4 files modified
52 ■■■■■ changed files
src/views/publicSecurity/components/bailReportingDetail.vue 14 ●●●●● patch | view | raw | blame | history
src/views/publicSecurity/components/campusReporting.vue 16 ●●●●● patch | view | raw | blame | history
src/views/publicSecurity/components/hotelReporting.vue 14 ●●●●● patch | view | raw | blame | history
src/views/publicSecurity/components/labelReporting.vue 8 ●●●●● patch | view | raw | blame | history
src/views/publicSecurity/components/bailReportingDetail.vue
@@ -20,6 +20,7 @@
    getDetail,
    update
  } from "@/api/task/bailReporting"
  import website from '@/config/website'
  export default {
    data() {
      return {
@@ -196,6 +197,19 @@
          taskId: taskId
        }).then((res) => {
          this.form = res.data.data
          if (this.form.reachImageUrls) {
            this.form.reachImageUrls = website.minioUrl + this.form.reachImageUrls
          }
          if (this.form.returnImageUrls) {
            this.form.returnImageUrls = website.minioUrl + this.form.returnImageUrls
          }
          if (this.form.startImageUrls) {
            this.form.startImageUrls = website.minioUrl + this.form.startImageUrls
          }
          if (this.form.locationImageUrls) {
            this.form.locationImageUrls = website.minioUrl + this.form.locationImageUrls
          }
          // console.table(this.form)
        })
      }
src/views/publicSecurity/components/campusReporting.vue
@@ -18,6 +18,7 @@
    getDetail,
    update
  } from "@/api/task/campusReporting"
  import website from '@/config/website'
  export default {
    data() {
      return {
@@ -200,6 +201,21 @@
          taskId: taskId
        }).then((res) => {
          this.form = res.data.data
          if (this.form.haImageUrls) {
            this.form.haImageUrls = website.minioUrl + this.form.haImageUrls
          }
          if (this.form.scImageUrls) {
            this.form.scImageUrls = website.minioUrl + this.form.scImageUrls
          }
          if (this.form.antiCollisionImageUrls) {
            this.form.antiCollisionImageUrls = website.minioUrl + this.form.antiCollisionImageUrls
          }
          if (this.form.patrolImageUrls) {
            this.form.patrolImageUrls = website.minioUrl + this.form.patrolImageUrls
          }
          if (this.form.fireFacsImageUrls) {
            this.form.fireFacsImageUrls = website.minioUrl + this.form.fireFacsImageUrls
          }
        })
      }
src/views/publicSecurity/components/hotelReporting.vue
@@ -18,6 +18,7 @@
    getDetail,
    update
  } from "@/api/task/hotelReporting"
  import website from '@/config/website'
  export default {
    data() {
      return {
@@ -254,6 +255,19 @@
          taskId: taskId
        }).then((res) => {
          this.form = res.data.data
          if (this.form.uanImageUrls) {
            this.form.uanImageUrls = website.minioUrl + this.form.uanImageUrls
          }
          if (this.form.pfImageUrls) {
            this.form.pfImageUrls = website.minioUrl + this.form.pfImageUrls
          }
          if (this.form.scImageUrls) {
            this.form.scImageUrls = website.minioUrl + this.form.scImageUrls
          }
          if (this.form.fireImageUrls) {
            this.form.fireImageUrls = website.minioUrl + this.form.fireImageUrls
          }
        })
      }
src/views/publicSecurity/components/labelReporting.vue
@@ -18,6 +18,7 @@
    getDetail,
    update
  } from "@/api/task/labelReporting"
  import website from '@/config/website'
  export default {
    data() {
      return {
@@ -163,6 +164,13 @@
          taskId: taskId
        }).then((res) => {
          this.form = res.data.data
          if (this.form.imageUrls) {
            this.form.imageUrls = website.minioUrl + this.form.imageUrls
          }
          if (this.form.goodsImageUrls) {
            this.form.goodsImageUrls = website.minioUrl + this.form.goodsImageUrls
          }
        })
      }