From 9ac4f1edc86c9af627fcff2b3263e029ec4c95ff Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期一, 11 十二月 2023 21:50:56 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-ui/src/views/note/index.vue |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/ruoyi-ui/src/views/note/index.vue b/ruoyi-ui/src/views/note/index.vue
index a678ddd..2a38206 100644
--- a/ruoyi-ui/src/views/note/index.vue
+++ b/ruoyi-ui/src/views/note/index.vue
@@ -377,7 +377,10 @@
       // 鏃ユ湡鑼冨洿
       dateRange: [],
       // 鏁版嵁鑼冨洿閫夐」
-      fot:[".jpg",".jif"],
+     // 鏁版嵁鑼冨洿閫夐」
+     fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
+       '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'],
+     
       fileList:[
       ],
       fileListOther:[
@@ -487,14 +490,21 @@
       this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1]
 
       // console.log(this.queryParams)
+      let _this = this
       //  listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
       listProperty(this.queryParams).then(response => {
           //  alert(123)
           //   console.log(response.data)
-          this.propertyList = response.data.data;
+		  if(response.msg=="鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�")
+		  {
+		      _this.$modal.msgSuccess("鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�");
+		      _this.loading = false;
+		  }else{
+          _this.propertyList = response.data.data;
 
-          this.total = response.data.total;
-          this.loading = false;
+          _this.total = response.data.total;
+          _this.loading = false;
+		  }
         }
       );
     },
@@ -663,6 +673,7 @@
     },
     /** 鍒犻櫎鎸夐挳鎿嶄綔 */
     handleDelete(row) {
+		alert(23)
       const Ids = row.id || this.ids;
       this.$modal.confirm('鏄惁纭鍒犻櫎鎵�閫夋暟鎹」锛�').then(function() {
         return delProperty(Ids);

--
Gitblit v1.9.1