From f2e4a9d500d2ae2a0ca0fe9ff8cb050c90ccaa2e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 05 Jan 2024 18:02:00 +0800
Subject: [PATCH] 所有图片字段需要调整

---
 src/views/publicSecurity/components/labelReporting.vue |  353 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 177 insertions(+), 176 deletions(-)

diff --git a/src/views/publicSecurity/components/labelReporting.vue b/src/views/publicSecurity/components/labelReporting.vue
index 8940228..55845f2 100644
--- a/src/views/publicSecurity/components/labelReporting.vue
+++ b/src/views/publicSecurity/components/labelReporting.vue
@@ -1,185 +1,186 @@
 <template>
-  <div class="cur-container-box">
-    <div v-if="applyType == 1">
-      <div class="content-box">
-        审核当前项
-      </div>
-      <div class="footer-btn-box">
-        <el-button type="primary" size="small" @click="auditPass(2)">通 过</el-button>
-        <el-button size="small" @click="auditPass(3)">驳 回</el-button>
-      </div>
-    </div>
+    <div class="cur-container-box">
+        <div v-if="applyType == 1">
+            <div class="content-box">
+                审核当前项
+            </div>
+            <div class="footer-btn-box">
+                <el-button type="primary" size="small" @click="auditPass(2)">通 过</el-button>
+                <el-button size="small" @click="auditPass(3)">驳 回</el-button>
+            </div>
+        </div>
 
-    <avue-form v-else :option="option" v-model="form"></avue-form>
-  </div>
+        <avue-form v-else :option="option" v-model="form"></avue-form>
+    </div>
 </template>
 <script>
-  import {
+import {
     getDetail,
     update
-  } from "@/api/task/labelReporting"
-  import website from '@/config/website'
-  export default {
-    data() {
-      return {
-        form: {},
-        applyType: '',
-        option: {
-          submitBtn: false,
-          emptyBtn: false,
-          column: [{
-            label: '房屋名称',
-            prop: 'houseName',
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '手机号',
-            prop: 'phoneNumber',
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '对象电话',
-            prop: 'transactionObjectTel',
-            disabled: true,
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '交易金额',
-            prop: 'transactionMoney',
-            disabled: true,
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '物品数量',
-            prop: 'goodsNums',
-            disabled: true,
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '发生时间',
-            prop: 'happenTime',
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '审核时间',
-            prop: 'confirmTime',
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '位置',
-            prop: 'localtion',
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '审核意见',
-            prop: 'confirmNotion',
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '审核状态',
-            prop: 'confirmFlag',
-            type: 'select',
-            dicData: [{
-              label: '待审核',
-              value: '1'
-            }, {
-              label: '审核通过',
-              value: '2'
-            }, {
-              label: '审核不通过',
-              value: '3'
-            }],
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '交易对象',
-            prop: 'transactionObject',
-            disabled: true,
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '交易过程',
-            prop: 'transactionProcess',
-            disabled: true,
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '物品照片',
-            prop: 'goodsImageUrls',
-            fileType: 'img',
-            type: "upload",
-            listType: "picture-card",
-            dataType: "string",
-            disabled: true,
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, {
-            label: '身份证图片',
-            prop: 'imageUrls',
-            fileType: 'img',
-            type: "upload",
-            listType: "picture-card",
-            dataType: "string",
-            disabled: true,
-            span: 8,
-            labelWidth: 120,
-          }, ]
+} from "@/api/task/labelReporting"
+import website from '@/config/website'
+export default {
+    data () {
+        return {
+            form: {},
+            applyType: '',
+            option: {
+                submitBtn: false,
+                emptyBtn: false,
+                column: [{
+                    label: '房屋名称',
+                    prop: 'houseName',
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '手机号',
+                    prop: 'phoneNumber',
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '对象电话',
+                    prop: 'transactionObjectTel',
+                    disabled: true,
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '交易金额',
+                    prop: 'transactionMoney',
+                    disabled: true,
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '物品数量',
+                    prop: 'goodsNums',
+                    disabled: true,
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '发生时间',
+                    prop: 'happenTime',
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '审核时间',
+                    prop: 'confirmTime',
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '位置',
+                    prop: 'localtion',
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '审核意见',
+                    prop: 'confirmNotion',
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '审核状态',
+                    prop: 'confirmFlag',
+                    type: 'select',
+                    dicData: [{
+                        label: '待审核',
+                        value: '1'
+                    }, {
+                        label: '审核通过',
+                        value: '2'
+                    }, {
+                        label: '审核不通过',
+                        value: '3'
+                    }],
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '交易对象',
+                    prop: 'transactionObject',
+                    disabled: true,
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '交易过程',
+                    prop: 'transactionProcess',
+                    disabled: true,
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    label: '物品照片',
+                    prop: 'goodsImageUrls',
+                    fileType: 'img',
+                    type: "upload",
+                    listType: "picture-card",
+                    dataType: "string",
+                    disabled: true,
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                }, {
+                    width: 110,
+                    label: '身份证图片',
+                    prop: 'imageUrls',
+                    fileType: 'img',
+                    type: "upload",
+                    listType: "picture-card",
+                    dataType: "string",
+                    disabled: true,
+                    span: 8,
+                    labelWidth: 120,
+                },]
+            }
         }
-      }
     },
     methods: {
-      auditPass(type) {
-        update({
-          status: type,
-          taskId: this.form.taskId,
-          id: this.form.id
-        }).then(() => {
-          this.$message({
-            type: "success",
-            message: "操作成功!",
-          })
-          this.$emit('colseDetail');
-        })
-      },
-      init(data, applyType) {
-        this.applyType = applyType
-        this.getTaskDetail(data.id)
-      },
+        auditPass (type) {
+            update({
+                status: type,
+                taskId: this.form.taskId,
+                id: this.form.id
+            }).then(() => {
+                this.$message({
+                    type: "success",
+                    message: "操作成功!",
+                })
+                this.$emit('colseDetail')
+            })
+        },
+        init (data, applyType) {
+            this.applyType = applyType
+            this.getTaskDetail(data.id)
+        },
 
-      getTaskDetail(taskId) {
-        getDetail({
-          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
-          }
+        getTaskDetail (taskId) {
+            getDetail({
+                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
+                }
 
-        })
-      }
+            })
+        }
 
     }
-  }
+}
 </script>
 
 <style lang="scss" scoped>
-  .cur-container-box {
+.cur-container-box {
     display: flex;
     flex-direction: column;
     width: 100%;
@@ -187,18 +188,18 @@
     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 {
-      margin-top: 10px;
-      display: flex;
-      justify-content: center;
+        margin-top: 10px;
+        display: flex;
+        justify-content: center;
     }
-  }
+}
 </style>
\ No newline at end of file

--
Gitblit v1.9.3