From 8f115311af95cb2fe0d7bee2d8a97dcbc059a263 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期四, 22 八月 2024 10:59:03 +0800 Subject: [PATCH] 修改权限相关 --- ruoyi-ui/src/views/doctor/index.vue | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/doctor/index.vue b/ruoyi-ui/src/views/doctor/index.vue index 5eeb696..3ec4f18 100644 --- a/ruoyi-ui/src/views/doctor/index.vue +++ b/ruoyi-ui/src/views/doctor/index.vue @@ -175,10 +175,6 @@ >灞曠ず涓嬭浇鐨勫垎浜暟鎹�</el-button> </el-col> - - - - <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> </div> @@ -636,6 +632,7 @@ multiple1: true, dateRange1: [], + userId: undefined, // 閬僵灞� disabled: false, @@ -793,6 +790,7 @@ handleClose(){ this.user = '' this.queryParams2.pageNo = 1 + this.total1 = 0 }, handleClose2(){ this.$refs.table1.clearSelection() @@ -858,7 +856,12 @@ const list = {"shareIds": [this.selectWho]} shareToWho(list,this.queryParams2).then(response => { // this.loading2 = true; - this.shareList1 = response.data.data + response.data.data.forEach(res=>{ + if(res){ + this.shareList1.push(res) + } + }) + // this.shareList1 = response.data.data this.total1 = response.data.total; // this.loading2 = false; console.log(response.data,'鍒嗕韩缁欒皝浜嗕粈涔堟暟鎹垎浜粰璋佷簡浠�涔堟暟鎹�') @@ -873,7 +876,9 @@ /** 鍒嗕韩鎿嶄綔 */ handleShare(row) { - this.id1 = [row.id] + if(row.id){ + this.id1 = [row.id] + } this.open1 = true; this.title1 = "鍒嗕韩"; }, @@ -932,6 +937,7 @@ this.getList(); this.$modal.msgSuccess("鍒嗕韩鎴愬姛"); + this.id1 = undefined this.open1 = false; }).catch(() => {}); }, -- Gitblit v1.9.1