From edf97cb2bfe110123a6dacc1cd8c52ce400ff1db Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期三, 19 七月 2023 00:46:03 +0800
Subject: [PATCH] 新增个人记事本展示和详情页

---
 ruoyi-ui/src/views/note/propertyInfo.vue |   54 +++++++++++++++++++++++++++---------------------------
 1 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/ruoyi-ui/src/views/note/propertyInfo.vue b/ruoyi-ui/src/views/note/propertyInfo.vue
index f10d352..424e0a2 100644
--- a/ruoyi-ui/src/views/note/propertyInfo.vue
+++ b/ruoyi-ui/src/views/note/propertyInfo.vue
@@ -134,7 +134,7 @@
     </el-form>
 
     <el-dialog  :visible.sync="dialogVisible">
-      <img w-full :src="dialogImageUrl" alt="Preview Image" />
+      <img w-full :src="dialogImageUrl"     style="width: 700px; height: 700px" alt="Preview Image" />
     </el-dialog>
   </div>
 </template>
@@ -171,10 +171,10 @@
         remark: undefined,
         url: undefined,
       },
-       desurl:'',
-        dialogImageUrl: '',
-        dialogVisible: false,
-        disabled: false,
+      desurl:'',
+      dialogImageUrl: '',
+      dialogVisible: false,
+      disabled: false,
       rules: {
 
         type: [{
@@ -223,9 +223,9 @@
       this.$route.meta.title = "淇敼璧勪骇璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
     }
     else{
-      document.title = "鏌ョ湅璧勪骇璇︾粏淇℃伅";
-      this.$route.meta.title = "鏌ョ湅璧勪骇璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
-      this.isShow=false
+      document.title = "瀹跺涵璧勪骇璇︾粏淇℃伅";
+      this.$route.meta.title = "瀹跺涵璧勪骇璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+      this.isShow=true
     }
 
     let _this = this
@@ -275,8 +275,8 @@
       }).join(",")
       let uls = this.fileListOther.map(function (elem){
         return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-       }).join(",")
-        this.formData.url = ul+","+uls
+      }).join(",")
+      this.formData.url = ul+","+uls
 
       this.$refs['elForm'].validate(valid => {
 
@@ -330,24 +330,24 @@
         if(this.fileList[i].url==file.url)
           this.$delete(this.fileList,i);
       }
-      },
-      handlePictureCardPreview(file) {
-        this.dialogImageUrl = file.url;
-        this.dialogVisible = true;
-      },
-      handleDownload(url) {
-        var formData = {'path':"/"+url.replace(process.env.VUE_APP_BASE_TRUE_API,"")};
+    },
+    handlePictureCardPreview(file) {
+      this.dialogImageUrl = file.url;
+      this.dialogVisible = true;
+    },
+    handleDownload(url) {
+      var formData = {'path':"/"+url.replace(process.env.VUE_APP_BASE_TRUE_API,"")};
 
-        let lens = formData.path.split(".")
-        let suffix = lens[lens.length-1]
-        download(formData).then(async (response) => {
-          const isLogin = await blobValidate(response);
-          let nt = new Date().getTime()
-          let filename = 'property_'+nt+'.'+suffix
-          const blob = new Blob([response])
-          saveAs(blob, filename)
-        })
-      },
+      let lens = formData.path.split(".")
+      let suffix = lens[lens.length-1]
+      download(formData).then(async (response) => {
+        const isLogin = await blobValidate(response);
+        let nt = new Date().getTime()
+        let filename = 'property_'+nt+'.'+suffix
+        const blob = new Blob([response])
+        saveAs(blob, filename)
+      })
+    },
     handleEdit()
     {
       this.dsb = false

--
Gitblit v1.9.1