From a4d8869bff7df9a2b888530df9efef46b8d6eaf4 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期四, 22 二月 2024 12:47:00 +0800
Subject: [PATCH] 提交多图片,视频上传

---
 ruoyi-ui/src/views/doctor/index.vue |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/views/doctor/index.vue b/ruoyi-ui/src/views/doctor/index.vue
index 540b65c..4222612 100644
--- a/ruoyi-ui/src/views/doctor/index.vue
+++ b/ruoyi-ui/src/views/doctor/index.vue
@@ -198,6 +198,7 @@
             size="mini"
             type="text"
             icon="el-icon-edit"
+                :disabled="!scope.row.ownData"
             @click="handleUpdate(scope.row)"
             v-hasPermi="['system:role:edit']"
           >
@@ -208,6 +209,7 @@
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
+                :disabled="!scope.row.ownData"
             v-hasPermi="['system:role:remove']"
           ><span style="font-size: 14px;">鍒犻櫎</span></el-button>
           <el-button
@@ -520,14 +522,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