Lou
2024-03-04 fb8db39ccdca6ca638b3e133d186cb3fe6a558bc
subPackage/house/roomControl/index.vue
@@ -38,6 +38,18 @@
                     @delete="deletePic" uploadIcon="/static/icon/upload.png">
                  </u-upload>
               </view>
               <view class="pic">
                  <newBoxTitle title="房产证照片"></newBoxTitle>
                  <u-upload :fileList="propertyCertificateImg" :previewFullImage="uploadConfig.previewFullImage"
                     :accept="uploadConfig.acceptImg" :multiple="uploadConfig.multiple"
                     :maxCount="uploadConfig.maxCount" :capture="uploadConfig.capture"
                     @afterRead="afterReadImgs($event,'propertyCertificateImg')"
                     @delete="deletePics($event,'propertyCertificateImg')" uploadIcon="/static/icon/upload.png">
                  </u-upload>
               </view>
               <view class=" flex label-btn-box b-c-w" v-if="roleType == 2">
                  <newBoxTitle title="房屋标签"></newBoxTitle>
                  <view class="list">
@@ -199,7 +211,7 @@
            roleType: 1,
            showSelectDate: false,
            serveTime: Number(new Date()),
            propertyCertificateImg: []
         }
      },
      created() {
@@ -278,6 +290,10 @@
                  })
               }
               this.propertyCertificateImg = this.$setImageUrl(res.data.propertyCertificateImg, 2)
               if (userHouseLabelVOList.length > 0) {
                  that.labelBtnList.forEach(e => {
                     userHouseLabelVOList.forEach(f => {
@@ -316,6 +332,16 @@
               })
               this.form.imageUrls = urls.join(",")
            }
            if (this.propertyCertificateImg.length > 0) {
               let urls = []
               this.propertyCertificateImg.forEach(e => {
                  urls.push(e.name)
               })
               this.form.propertyCertificateImg = urls.join(",")
            }
            const {
               code,
               data