yz3456
2024-07-22 a07727bad02f4c7cc72185f03464f457e1111253
改善了分享模块,还有一点分页的问题
2个文件已修改
10 ■■■■ 已修改文件
ruoyi-ui/src/api/doctor/index.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/doctor/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/api/doctor/index.js
@@ -97,11 +97,10 @@
  })
}
// 查看谁分享了数据
export function getWhoShare(data,query) {
export function getWhoShare(query) {
  return request({
    url: '/ZfDoctorShare/getInfoByShareId',
    method: 'get',
    data: data,
    params: query
  })
}
ruoyi-ui/src/views/doctor/index.vue
@@ -842,10 +842,11 @@
      this.open2 = true
      this.title2 = "分享给我的数据";
      // const list = {"shareId": this.userList}
      const list = {"shareId": 111}
      getWhoShare(list,this.queryParams2).then(response => {
      // const list = {"shareId": 111}
      getWhoShare(this.queryParams2).then(response => {
        const data = response.data.data
        console.log(data,'展示分享给我的数据展示分享给我的数据s')
        this.total1 = response.data.total
        console.log(response,'展示分享给我的数据展示分享给我的数据s')
        for(let i in data){
          console.log(i,'展示分享给我的数据展示分享给我的数据')
          this.shareList1.push(data[i])