yz3456
2024-08-02 ca8f811c2a69f6004674dfacd204701c7ad23c54
ruoyi-ui/src/views/doctor/index.vue
@@ -636,6 +636,7 @@
      multiple1: true,
      dateRange1: [],
      userId: undefined,
      // 遮罩层
      disabled: false,
@@ -793,6 +794,7 @@
    handleClose(){
      this.user = ''
      this.queryParams2.pageNo = 1
            this.total1 = 0
    },
    handleClose2(){
      this.$refs.table1.clearSelection()
@@ -858,7 +860,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 +880,9 @@
    /** 分享操作 */
    handleShare(row) {
      if(row.id){
      this.id1 = [row.id]
      }
      this.open1 = true;
      this.title1 = "分享";
    },
@@ -932,6 +941,7 @@
        this.getList();
        this.$modal.msgSuccess("分享成功");
        this.id1 = undefined
        this.open1 = false;
      }).catch(() => {});
    },