From d9cbb5e4cf6f0423b84b739c52d55f98f3af148a Mon Sep 17 00:00:00 2001
From: heimawl <1785969728@qq.com>
Date: 星期二, 13 六月 2023 18:09:24 +0800
Subject: [PATCH] 完成标签管理模块搭建

---
 src/views/patient/patient/index.vue |   37 ++++++++-----------------------------
 1 files changed, 8 insertions(+), 29 deletions(-)

diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index fd80b99..29c10a1 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -172,14 +172,12 @@
             align="center"
             key="userId"
             prop="userId"
-            v-if="columns[0].visible"
           />
           <el-table-column
             label="濮撳悕"
             align="center"
             key="userName"
             prop="userName"
-            v-if="columns[1].visible"
             :show-overflow-tooltip="true"
           />
           <el-table-column
@@ -187,7 +185,6 @@
             align="center"
             key="nickName"
             prop="nickName"
-            v-if="columns[2].visible"
             :show-overflow-tooltip="true"
           />
           <el-table-column
@@ -195,7 +192,6 @@
             align="center"
             key="deptName"
             prop="dept.deptName"
-            v-if="columns[3].visible"
             :show-overflow-tooltip="true"
           />
           <el-table-column
@@ -203,14 +199,12 @@
             align="center"
             key="phonenumber"
             prop="phonenumber"
-            v-if="columns[4].visible"
             width="120"
           /><el-table-column
             label="璇佷欢鍙风爜"
             align="center"
             key="phonenumber"
             prop="phonenumber"
-            v-if="columns[4].visible"
             width="120"
           />
           <el-table-column
@@ -221,21 +215,6 @@
             v-if="columns[4].visible"
             width="120"
           />
-          <!-- <el-table-column
-            label="鐘舵��"
-            align="center"
-            key="status"
-            v-if="columns[5].visible"
-          >
-            <template slot-scope="scope">
-              <el-switch
-                v-model="scope.row.status"
-                active-value="0"
-                inactive-value="1"
-                @change="handleStatusChange(scope.row)"
-              ></el-switch>
-            </template>
-          </el-table-column> -->
 
           <el-table-column
             label="鑱旂郴鏂瑰紡"
@@ -545,6 +524,7 @@
   changeUserStatus,
   deptTreeSelect,
 } from "@/api/system/user";
+import { listpatient } from "@/api/patient/homepage";
 import { getToken } from "@/utils/auth";
 import Treeselect from "@riophae/vue-treeselect";
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -721,16 +701,15 @@
     });
   },
   methods: {
-    /** 鏌ヨ鐢ㄦ埛鍒楄〃 */
+    /** 鏌ヨ鎮h�呭垪琛� */
     getList() {
       this.loading = true;
-      listUser(this.addDateRange(this.queryParams, this.dateRange)).then(
-        (response) => {
-          this.userList = response.rows;
-          this.total = response.total;
-          this.loading = false;
-        }
-      );
+      listUser(this.queryParams).then((response) => {
+        console.log(response);
+        this.userList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
     },
     // 鏌ヨ瀵煎叆灞曠ず鍒楄〃
     geterryList() {

--
Gitblit v1.9.3