From d16d10d94fddff86bdfd87113e7fd2cebe8b7cd7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 24 Jan 2024 18:15:06 +0800
Subject: [PATCH] 居民监管样式调整

---
 src/views/publicSecurity/components/bailReportingDetail.vue |   43 +++++++++++++++++++++++++++++++------------
 1 files changed, 31 insertions(+), 12 deletions(-)

diff --git a/src/views/publicSecurity/components/bailReportingDetail.vue b/src/views/publicSecurity/components/bailReportingDetail.vue
index 4c95e48..a8c77ff 100644
--- a/src/views/publicSecurity/components/bailReportingDetail.vue
+++ b/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 {
@@ -92,6 +93,7 @@
             disabled: true,
             span: 8,
           }, {
+            width: 110,
             label: '位置图片',
             fileType: 'img',
             type: "upload",
@@ -117,6 +119,7 @@
             span: 8,
             labelWidth: 120,
           }, {
+            width: 110,
             label: '出发-位置图片',
             fileType: 'img',
             type: "upload",
@@ -138,6 +141,7 @@
             span: 8,
             labelWidth: 120,
           }, {
+            width: 110,
             label: '到达-位置图片',
             fileType: 'img',
             type: "upload",
@@ -159,6 +163,7 @@
             span: 8,
             labelWidth: 120,
           }, {
+            width: 110,
             label: '返回-位置图片',
             fileType: 'img',
             type: "upload",
@@ -182,7 +187,7 @@
             type: "success",
             message: "操作成功!",
           })
-          this.$emit('colseDetail');
+          this.$emit('colseDetail')
         })
       },
       init(data, applyType) {
@@ -196,6 +201,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)
         })
       }
 
@@ -205,19 +223,20 @@
 
 <style lang="scss" scoped>
   .cur-container-box {
-    display: flex;
-    flex-direction: column;
-    width: 100%;
-    height: 100%;
-    overflow: hidden;
+    padding: 50px;
+    // display: flex;
+    // flex-direction: column;
+    // width: 100%;
+    // // height: 100%;
+    // overflow: hidden;
 
     .content-box {
-      // margin: 0 4px;
-      // padding: 0 16px;
-      // height: 0;
-      // flex: 1;
-      // overflow: hidden;
-      // overflow-y: auto;
+      margin: 0 4px;
+      padding: 0 16px;
+      height: 0;
+      flex: 1;
+      overflow: hidden;
+      overflow-y: auto;
     }
 
     .footer-btn-box {

--
Gitblit v1.9.3