feige
2024-09-03 63b70dbc269b7b9d20a7a88f3dd7c8bb0934d3f4
修改了一些bug
9个文件已修改
296 ■■■■■ 已修改文件
ruoyi-ui/src/views/bignote/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/clean/index.vue 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/collection/index.vue 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/contacts/index.vue 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/device/index.vue 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/doctor/index.vue 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/economy/index.vue 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/note/index.vue 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/pet/index.vue 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/bignote/index.vue
@@ -822,7 +822,7 @@
    getList1() {
          this.loading1 = true;
          let userId = this.$store.state.user.userId
          alert(userId)
        //  alert(userId)
          
          showShareUser(userId, 2013).then(response=>{
              console.log("===========ddddddddddddd")
ruoyi-ui/src/views/clean/index.vue
@@ -554,6 +554,8 @@
        share,shareToWho,getWhoShare,downShareData,deleteShareData,showShareData
        } from "@/api/clean/index";
import {listUserAll} from "@/api/root/index";
import {showShareUser} from "@/api/bignote/index";
// import {Message} from "element-ui";
import { Notification, MessageBox, Message, Loading } from 'element-ui'
@@ -562,7 +564,8 @@
    dicts: ['sys_normal_disable'],
    data() {
      return {
        // 分享给谁的list
        // 分享给谁的lis
        total1:0,
        searchQuery: undefined,
        listRoot: [],
        open1:false,
@@ -867,25 +870,15 @@
      },
      getList1() {
            this.loading1 = true;
            this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0]
            this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1]
                  this.queryParams.clanId = this.$store.state.user.clanId
            listUserAll(this.queryParams1).then(response => {
                this.listRoot = response.data.data;
                const kon = {}
                this.listRoot.forEach(element => {
                  kon[element['nickName']] = element['userId']
                })
                for(let i in kon){
                  this.userOptions.push({label: i,value: kon[i]})
                }
                for(let i in this.userOptions){
                  this.userList.push(this.userOptions[i].value)
                }
                console.log(this.userList,'userListuserListuserList')
                this.loading1 = false;
              }
            );
    let userId = this.$store.state.user.userId
     showShareUser(userId, 2020).then(response=>{
                   console.log("===========ddddddddddddd")
                   console.log(response.data)
                   console.log("--------------------")
                   response.data.forEach(element =>{
                        this.userOptions.push({label: element.oldName,value: element.userId})
                   })
    })
          },
      // 确认分享
      subShare(row) {
@@ -967,12 +960,12 @@
      getCateInfor()
      {
        let _this = this
        getCategory().then(response=>{
        // getCategory().then(response=>{
          response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{
            _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]})
          })
        })
        //   response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{
        //     _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]})
        //   })
        // })
      },
      handleRemove(file) {
ruoyi-ui/src/views/collection/index.vue
@@ -626,7 +626,7 @@
} from "@/api/collection/index";
import {listUserAll} from "@/api/root/index";
import {Message} from "element-ui";
import {showShareUser} from "@/api/bignote/index";
export default {
  name: "index",
@@ -935,26 +935,17 @@
      return row.id
    },
    getList1() {
          this.loading1 = true;
          this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0]
          this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1]
                this.queryParams.clanId = this.$store.state.user.clanId
          listUserAll(this.queryParams1).then(response => {
              this.listRoot = response.data.data;
              const kon = {}
              this.listRoot.forEach(element => {
                kon[element['nickName']] = element['userId']
              })
              for(let i in kon){
                this.userOptions.push({label: i,value: kon[i]})
              }
              for(let i in this.userOptions){
                this.userList.push(this.userOptions[i].value)
              }
              console.log(this.userList,'userListuserListuserList')
              this.loading1 = false;
            }
          );
        let userId = this.$store.state.user.userId
         showShareUser(userId, 2018).then(response=>{
                       console.log("===========ddddddddddddd")
                       console.log(response.data)
                       console.log("--------------------")
                       response.data.forEach(element =>{
                            this.userOptions.push({label: element.oldName,value: element.userId})
                       })
        })
        },
    // 确认分享
    subShare(row) {
ruoyi-ui/src/views/contacts/index.vue
@@ -606,6 +606,7 @@
import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu";
import {getInfo} from "@/api/login";
import { Notification, MessageBox, Message, Loading } from 'element-ui'
import {showShareUser} from "@/api/bignote/index";
//导入接口函数
import {getContactList,enload,  addContact, delContact,uploadPic,
@@ -949,26 +950,17 @@
      return row.id
    },
    getList1() {
          this.loading1 = true;
          this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0]
          this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1]
                this.queryParams.clanId = this.$store.state.user.clanId
          listUserAll(this.queryParams1).then(response => {
              this.listRoot = response.data.data;
              const kon = {}
              this.listRoot.forEach(element => {
                kon[element['nickName']] = element['userId']
              })
              for(let i in kon){
                this.userOptions.push({label: i,value: kon[i]})
              }
              for(let i in this.userOptions){
                this.userList.push(this.userOptions[i].value)
              }
              console.log(this.userList,'userListuserListuserList')
              this.loading1 = false;
            }
          );
       let userId = this.$store.state.user.userId
        showShareUser(userId, 2021).then(response=>{
                      console.log("===========ddddddddddddd")
                      console.log(response.data)
                      console.log("--------------------")
                      response.data.forEach(element =>{
                           this.userOptions.push({label: element.oldName,value: element.userId})
                      })
       })
        },
    // 确认分享
    subShare(row) {
ruoyi-ui/src/views/device/index.vue
@@ -556,7 +556,7 @@
} from "@/api/device/index";
import {listUserAll} from "@/api/root/index";
import { Notification, MessageBox, Message, Loading } from 'element-ui'
import {showShareUser} from "@/api/bignote/index";
export default {
  name: "Role",
@@ -564,6 +564,7 @@
  data() {
    return {
      // 分享给谁的list
      total1: 0,
      listRoot: [],
      open1:false,
      open2:false,
@@ -858,25 +859,15 @@
    },
    getList1() {
          this.loading1 = true;
          this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0]
          this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1]
                this.queryParams.clanId = this.$store.state.user.clanId
          listUserAll(this.queryParams1).then(response => {
              this.listRoot = response.data.data;
              const kon = {}
              this.listRoot.forEach(element => {
                kon[element['nickName']] = element['userId']
              })
              for(let i in kon){
                this.userOptions.push({label: i,value: kon[i]})
              }
              for(let i in this.userOptions){
                this.userList.push(this.userOptions[i].value)
              }
              console.log(this.userList,'userListuserListuserList')
              this.loading1 = false;
            }
          );
           let userId = this.$store.state.user.userId
           showShareUser(userId, 2017).then(response=>{
                         console.log("===========ddddddddddddd")
                         console.log(response.data)
                         console.log("--------------------")
                         response.data.forEach(element =>{
                              this.userOptions.push({label: element.oldName,value: element.userId})
                         })
          })
        },
    // 确认分享
    subShare(row) {
ruoyi-ui/src/views/doctor/index.vue
@@ -565,7 +565,7 @@
import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu";
import {getInfo} from "@/api/login";
import {showShareUser} from "@/api/bignote/index";
//导入接口函数
import {listDoctor,enload,getDoctor, addDoctor,updateDoctor, delDoctor,uploadPic,listType,
        share,shareToWho,getWhoShare,downShareData,deleteShareData,showShareData
@@ -882,26 +882,15 @@
      return row.id
    },
    getList1() {
          this.loading1 = true;
          this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0]
          this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1]
                this.queryParams.clanId = this.$store.state.user.clanId
          listUserAll(this.queryParams1).then(response => {
              this.listRoot = response.data.data;
              const kon = {}
              this.listRoot.forEach(element => {
                kon[element['nickName']] = element['userId']
              })
              for(let i in kon){
                this.userOptions.push({label: i,value: kon[i]})
              }
              for(let i in this.userOptions){
                this.userList.push(this.userOptions[i].value)
              }
              console.log(this.userList,'userListuserListuserList')
              this.loading1 = false;
            }
          );
          let userId = this.$store.state.user.userId
          showShareUser(userId, 2019).then(response=>{
                        console.log("===========ddddddddddddd")
                        console.log(response.data)
                        console.log("--------------------")
                        response.data.forEach(element =>{
                             this.userOptions.push({label: element.oldName,value: element.userId})
                        })
         })
        },
    // 确认分享
    subShare(row) {
ruoyi-ui/src/views/economy/index.vue
@@ -519,13 +519,14 @@
} from "@/api/economy/index";
import { Notification, MessageBox, Message, Loading } from 'element-ui'
import {listUserAll} from "@/api/root/index";
import {showShareUser} from "@/api/bignote/index";
export default {
  name: "Role",
  dicts: ['sys_normal_disable'],
  data() {
    return {
      // 分享给谁的list
      total1:0,
      listRoot: [],
      open1:false,
      open2:false,
@@ -838,25 +839,15 @@
    },
    getList1() {
          this.loading1 = true;
          this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0]
          this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1]
                this.queryParams.clanId = this.$store.state.user.clanId
          listUserAll(this.queryParams1).then(response => {
              this.listRoot = response.data.data;
              const kon = {}
              this.listRoot.forEach(element => {
                kon[element['nickName']] = element['userId']
              })
              for(let i in kon){
                this.userOptions.push({label: i,value: kon[i]})
              }
              for(let i in this.userOptions){
                this.userList.push(this.userOptions[i].value)
              }
              console.log(this.userList,'userListuserListuserList')
              this.loading1 = false;
            }
          );
       let userId = this.$store.state.user.userId
        showShareUser(userId, 2023).then(response=>{
                      console.log("===========ddddddddddddd")
                      console.log(response.data)
                      console.log("--------------------")
                      response.data.forEach(element =>{
                           this.userOptions.push({label: element.oldName,value: element.userId})
                      })
       })
        },
    // 确认分享
    subShare(row) {
@@ -962,12 +953,12 @@
    getCateInfor()
    {
      let _this = this
      getCategory().then(response=>{
      // getCategory().then(response=>{
        response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{
          _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]})
        })
      })
      //   response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{
      //     _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]})
      //   })
      // })
    },
    // 取消按钮
    cancel() {
ruoyi-ui/src/views/note/index.vue
@@ -148,6 +148,9 @@
                   plain
                   icon="el-icon-top">分享相关</el-button>
         <template #dropdown>
             <el-button size="mini"   type="primary"
                        plain
                        icon="el-icon-top">分享相关</el-button>
           <el-dropdown-menu>
             <el-dropdown-item     :disabled="multiple" icon="el-icon-top" style="height: 32px;width:240px;color: #0099ff;" @click.native="handleShare">分享</el-dropdown-item>
         
@@ -531,6 +534,7 @@
import { listRole, getRole, delRole, addRole, updateRole, dataScope, changeRoleStatus, deptTreeSelect } from "@/api/system/role";
import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu";
import {showShareUser} from "@/api/bignote/index";
//在system/note/index.js中导入接口函数
@@ -546,6 +550,7 @@
  data() {
    return {
      // 分享给谁的list
      total1:0,
      listRoot: [],
      open1:false,
      open2:false,
@@ -832,25 +837,15 @@
    },
    getList1() {
          this.loading1 = true;
          this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0]
          this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1]
                this.queryParams.clanId = this.$store.state.user.clanId
          listUserAll(this.queryParams1).then(response => {
              this.listRoot = response.data.data;
              const kon = {}
              this.listRoot.forEach(element => {
                kon[element['nickName']] = element['userId']
              })
              for(let i in kon){
                this.userOptions.push({label: i,value: kon[i]})
              }
              for(let i in this.userOptions){
                this.userList.push(this.userOptions[i].value)
              }
              console.log(this.userList,'userListuserListuserList')
              this.loading1 = false;
            }
          );
    let userId = this.$store.state.user.userId
     showShareUser(userId, 2002).then(response=>{
                   console.log("===========ddddddddddddd")
                   console.log(response.data)
                   console.log("--------------------")
                   response.data.forEach(element =>{
                        this.userOptions.push({label: element.oldName,value: element.userId})
                   })
    })
        },
    // 确认分享
    subShare(row) {
ruoyi-ui/src/views/pet/index.vue
@@ -108,7 +108,7 @@
         
    </el-row>
    <el-table v-loading="loading" border :data="petList,PetNoteList" ref="table2" @selection-change="handleSelectionChange"  :row-class-name="tableRowClassName">
    <el-table v-loading="loading" border :data="petList" ref="table2" @selection-change="handleSelectionChange"  :row-class-name="tableRowClassName">
      <el-table-column type="selection" width="55"  align="center" />
      <el-table-column label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/>
@@ -480,7 +480,7 @@
import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu";
import {getInfo} from "@/api/login";
import {getAllInfo} from "@/api/system/user"
import {showShareUser} from "@/api/bignote/index";
//在system/note/index.js中导入接口函数
import {listPet,enload, getPetInfo, delPet,addPet, uploadPic1,
        share,shareToWho,getWhoShare,downShareData,deleteShareData,showShareData
@@ -493,6 +493,9 @@
  data() {
    return {
      // 分享给谁的list
      total1:0,
      PetNoteList:[],
      listRoot: [],
      open1:false,
      open2:false,
@@ -872,27 +875,19 @@
      return row.id
    },
    getList1() {
          this.loading1 = true;
          this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0]
          this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1]
              let clanId = this.$store.state.user.clanId
          getAllInfo(this.queryParams1).then(response => {
              this.listRoot = response.data.data;
              const kon = {}
              this.listRoot.forEach(element => {
                kon[element['nickName']] = element['userId']
              })
              for(let i in kon){
                this.userOptions.push({label: i,value: kon[i]})
              }
              for(let i in this.userOptions){
                this.userList.push(this.userOptions[i].value)
              }
              console.log(this.userList,'userListuserListuserList')
              this.loading1 = false;
            }
          );
        },
         let userId = this.$store.state.user.userId
         showShareUser(userId, 2022).then(response=>{
                       console.log("===========ddddddddddddd")
                       console.log(response.data)
                       console.log("--------------------")
                       response.data.forEach(element =>{
                            this.userOptions.push({label: element.oldName,value: element.userId})
                       })
        })
        },
    // 确认分享
    subShare(row) {
      const shareList = {}
@@ -961,16 +956,7 @@
          this.loading = false;
        }
      );
      listPetnote(this.queryParams).then(response => {
          //  alert(123)
          //   console.log(response.data)
          console.log(response.data)
          this.PetNoteList = response.data.data;
          this.total = response.data.total;
          this.loading = false;
        }
      );
    },
    handleRemove(file) {