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/doctor/index.vue |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/views/doctor/index.vue b/ruoyi-ui/src/views/doctor/index.vue
index 540b65c..c7e50e6 100644
--- a/ruoyi-ui/src/views/doctor/index.vue
+++ b/ruoyi-ui/src/views/doctor/index.vue
@@ -520,14 +520,21 @@
     /** 鏌ヨ璁板綍鍒楄〃 */
     getList() {
       this.loading = true;
+      let _this = this; 
       // console.log(this.queryParams)
       //  listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
       listDoctor(this.queryParams).then(response => {
           //  alert(123)
           //   console.log(response.data)
-          this.doctorList = response.data.data;
-          this.total = response.data.total;
-          this.loading = false;
+          if(response.msg=="鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�")
+          {
+              _this.$modal.msgSuccess("鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�");
+              _this.loading = false;
+          }else{
+              _this.doctorList = response.data.data;
+              _this.total = response.data.total;
+              _this.loading = false;
+          }
         }
       );
       listType(this.queryParams).then(response => {

--
Gitblit v1.9.1