feige
2023-11-19 090bce038b881a55f6453f49a8ae93c5697cf718
ruoyi-ui/src/views/bignote/familyeventInfo.vue
@@ -93,15 +93,11 @@
      <h4 class="form-header">其他附件 </h4>
      <el-upload
        action=""
        :file-list="fileListOther"
        class="upload-demo"
        action="#"
        multiple
        list-type="picture-card"
        :on-preview="handleFileCardPreview"
        :on-remove="handleRemoveFile"
         :file-list="fileListOther"
        :http-request="requestUpload1"
        :show-file-list="true"
        :disabled="!btn"
        :class="{ hide: !btn }"
      >
@@ -119,7 +115,7 @@
          ></video>
          <img v-else
               class="el-upload-list__item-thumbnail"
               src="../../assets/401_images/401.gif"
               :src="file.url"
               alt=""
               style="width: 100%; height: 100%"
               fit="cover">
@@ -159,7 +155,7 @@
    </el-form>
    <el-dialog  :visible.sync="dialogVisible">
      <img w-full :src="dialogImageUrl"    style="width: 700px; height: 700px" alt="Preview Image" />
      <img w-full :src="dialogImageUrl"    style="width: 100%; height: 100%" alt="Preview Image" />
    </el-dialog>
  </div>
</template>
@@ -249,6 +245,7 @@
      this.$route.meta.title = "家大事记详细信息";//列表的名称
      this.btn = false;
      this.isShow=false
     //       alert(this.btn)
    }
    let _this = this
@@ -294,9 +291,11 @@
        console.log(this.formData)
        if (valid) {
          if (this.formData.id != undefined) {
           // alert(234)
            updateFamilyevent(this.formData).then(response => {
              this.$modal.msgSuccess("修改成功");
              // this.open = false;
            //  alert(98)
              this.btn=false
            });
          } else {
@@ -337,7 +336,7 @@
        updateFamilyevent(this.formData).then(response => {
          this.$modal.msgSuccess("删除成功");
          // this.open = false;
          // this.btn=false
        });
      }
    },
@@ -356,7 +355,7 @@
        updateFamilyevent(this.formData).then(response => {
          this.$modal.msgSuccess("删除成功");
          // this.open = false;
          // this.btn=false
        });
      }
@@ -425,7 +424,7 @@
          updateFamilyevent(this.formData).then(response => {
            this.$modal.msgSuccess("图片上传成功");
            // this.open = false;
            // this.btn=false
          });
        }
        else{
@@ -465,7 +464,7 @@
          updateFamilyevent(this.formData).then(response => {
            this.$modal.msgSuccess("文档上传成功");
            // this.open = false;
            // this.btn=false
          });
        }
      })
@@ -496,7 +495,7 @@
  display: block;
}
.hide .el-upload--picture-card {
.hide /deep/ .el-upload--picture-card {
  display: none;
}
.pt{