From a7d09900629902c8170f639f070fc6da8d168e0b Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 20 二月 2024 17:55:50 +0800
Subject: [PATCH] 测试

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

diff --git a/ruoyi-ui/src/views/clean/index.vue b/ruoyi-ui/src/views/clean/index.vue
index 3d86bc6..f41f833 100644
--- a/ruoyi-ui/src/views/clean/index.vue
+++ b/ruoyi-ui/src/views/clean/index.vue
@@ -177,6 +177,7 @@
                 size="mini"
                 type="text"
                 icon="el-icon-edit"
+                      :disabled="!scope.row.ownData"
                 @click="handleUpdate(scope.row)"
                 v-hasPermi="['familymodel:clean:info']"
               >淇敼</el-button>
@@ -184,6 +185,7 @@
                 size="mini"
                 type="text"
                 icon="el-icon-delete"
+                      :disabled="!scope.row.ownData"
                 @click="handleDelete(scope.row)"
                 v-hasPermi="['system:role:remove']"
               >鍒犻櫎</el-button>
@@ -363,7 +365,9 @@
         // 鏃ユ湡鑼冨洿
         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 +491,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 => {
         listClean(this.queryParams).then(response => {
             //  alert(123)
             //   console.log(response.data)
-            this.cleanList = response.data.data;
+            if(response.msg=="鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�")
+            {
+                _this.$modal.msgSuccess("鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�");
+                _this.loading = false;
+            }else{
+            _this.cleanList = response.data.data;
 
-            this.total = response.data.total;
-            this.loading = false;
+            _this.total = response.data.total;
+            _this.loading = false;
+            }
           }
         );
       },

--
Gitblit v1.9.1