linwe
2024-08-09 5e2aafeede13d337380f736567caf74f49713be7
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 {
@@ -69,6 +70,7 @@
              span: 8,
              labelWidth: 120,
            }, {
              width: 110,
              label: '灭火器图片',
              prop: 'fireImageUrls',
              fileType: 'img',
@@ -85,6 +87,7 @@
              span: 8,
              labelWidth: 120,
            }, {
              width: 110,
              label: '安全通道图片',
              prop: 'scImageUrls',
              fileType: 'img',
@@ -241,7 +244,7 @@
            type: "success",
            message: "操作成功!",
          })
          this.$emit('colseDetail');
          this.$emit('colseDetail')
        })
      },
      init(data, applyType) {
@@ -254,6 +257,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
          }
        })
      }
@@ -263,11 +279,7 @@
<style lang="scss" scoped>
  .cur-container-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 50px;
    .content-box {
      margin: 0 4px;