From bd4b9aa6ab74a8aa6f55265d24b4a4249abcb636 Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期一, 11 十二月 2023 19:18:39 +0800
Subject: [PATCH] 问题解决

---
 ruoyi-ui/src/views/bignote/index.vue |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/ruoyi-ui/src/views/bignote/index.vue b/ruoyi-ui/src/views/bignote/index.vue
index d366e30..fc2402d 100644
--- a/ruoyi-ui/src/views/bignote/index.vue
+++ b/ruoyi-ui/src/views/bignote/index.vue
@@ -51,7 +51,7 @@
       <el-form-item label="鏃堕棿" prop="happenTime">
         <el-date-picker
           v-model="dateRange"
-          style="width:  197px;
+          style="width:  240px;
 height: 30px;
 background: #FFFFFF;
 border-radius: 14px 14px 14px 14px;
@@ -124,7 +124,7 @@
           v-hasPermi="['family:note:export']"
         >瀵煎叆妯℃澘涓嬭浇</el-button>
       </el-col>
-      <el-col :span="1.2">
+      <el-col :span="1.5">
 
         <el-upload
           action=""
@@ -135,7 +135,7 @@
         >
           <el-button size="mini"   type="primary"
                      plain
-                     icon="el-icon-plus" >瀵煎叆</el-button>
+                     icon="el-icon-top">瀵煎叆</el-button>
 
         </el-upload>
       </el-col>
@@ -478,16 +478,21 @@
       console.log(this.queryParams)
       this.queryParams.happenStartTime = this.dateRange.length > 0 && this.dateRange[0]
       this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1]
-
+      let _this = this
       //  listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
       listFamilyevent(this.queryParams).then(response => {
           //  alert(123)
-          //   console.log(response.data.data)
           // alert(response.data.data[1].url)
-          this.familyList = response.data.data;
+          if(response.msg=="鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�")
+          {
+              _this.$modal.msgSuccess("鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�");
+              _this.loading = false;
+          }else{
+          _this.familyList = response.data.data;
 
-          this.total = response.data.total;
-          this.loading = false;
+          _this.total = response.data.total;
+          _this.loading = false;
+          }
         }
       );
     },
@@ -724,7 +729,7 @@
   }
 };
 </script>
-<style>
+<style scoped="">
 .el-table__row.statistics-warning-row {
   background: #E0EEFE;
 

--
Gitblit v1.9.1