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 | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/ruoyi-ui/src/views/doctor/index.vue b/ruoyi-ui/src/views/doctor/index.vue index a5ff635..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> @@ -626,10 +622,6 @@ queryParams1: { pageNum: 1, pageSize: 10, - identity:undefined, - nickName:undefined, - sex:undefined, - birth:undefined, }, queryParams2: { pageNo: 1, @@ -639,6 +631,7 @@ single1: true, multiple1: true, dateRange1: [], + userId: undefined, // 閬僵灞� @@ -796,6 +789,8 @@ // 鍏抽棴寮圭獥鍚� handleClose(){ this.user = '' + this.queryParams2.pageNo = 1 + this.total1 = 0 }, handleClose2(){ this.$refs.table1.clearSelection() @@ -861,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,'鍒嗕韩缁欒皝浜嗕粈涔堟暟鎹垎浜粰璋佷簡浠�涔堟暟鎹�') @@ -876,7 +876,9 @@ /** 鍒嗕韩鎿嶄綔 */ handleShare(row) { - this.id1 = [row.id] + if(row.id){ + this.id1 = [row.id] + } this.open1 = true; this.title1 = "鍒嗕韩"; }, @@ -935,6 +937,7 @@ this.getList(); this.$modal.msgSuccess("鍒嗕韩鎴愬姛"); + this.id1 = undefined this.open1 = false; }).catch(() => {}); }, -- Gitblit v1.9.1