linwenling
2023-08-10 5fd1b2dc8997ab3adc819e8aca55e9831071b9c0
完善部分模块 导入问题
8个文件已修改
74 ■■■■■ 已修改文件
ruoyi-ui/src/api/allmemo/index.js 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/api/clean/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/api/collection/index.js 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/api/economy/index.js 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/api/healthy/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/api/secret/index.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/collection/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/economy/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/api/allmemo/index.js
@@ -53,29 +53,4 @@
  })
}
//上传文件
export function uploadPic(data) {
  return request({
    url: '/common/upload',
    method: 'post',
    data: data
  })
}
// //下载文件
// export function download(data) {
//   return request({
//     url: '/common/downLoadFile',
//     method: 'get',
//     params: data,
//     responseType: 'blob'
//   })
// }
//上传文件
export function enload(data) {
  return request({
    url: '/zSelfNote/importData',
    method: 'post',
    data: data
  })
}
ruoyi-ui/src/api/clean/index.js
@@ -69,10 +69,10 @@
}
//上传文件
//导入
export function enload(data) {
  return request({
    url: '/family/property/importData',
    url: '/zfClean/importData',
    method: 'post',
    data: data
  })
ruoyi-ui/src/api/collection/index.js
@@ -71,12 +71,12 @@
    responseType: 'blob'
  })
}
//导入模板
export function downloadModel(data) {
//导入
export function enload(data) {
  return request({
    url: '/zfCollection/model',
    method: 'get',
    params: data,
    responseType: 'blob'
    url: '/zfCollection/importData',
    method: 'post',
    data: data
  })
}
ruoyi-ui/src/api/economy/index.js
@@ -65,13 +65,12 @@
  })
}
//导入数据
// export function download(data) {
//   return request({
//     url: '/zfEquipment/importData',
//     method: 'post',
//     params: data,
//     responseType: 'blob'
//   })
// }
//导入
export function enload(data) {
  return request({
    url: 'zfEconomy/importData',
    method: 'post',
    data: data
  })
}
ruoyi-ui/src/api/healthy/index.js
@@ -63,7 +63,7 @@
    responseType: 'blob'
  })
}
//上传文件
//导入
export function enload(data) {
  return request({
    url: '/zYearInfo/importData',
ruoyi-ui/src/api/secret/index.js
@@ -63,5 +63,11 @@
    responseType: 'blob'
  })
}
export function enload(data) {
  return request({
    url: '/zSecret/importData',
    method: 'post',
    data: data
  })
}
ruoyi-ui/src/views/collection/index.vue
@@ -395,8 +395,8 @@
//导入接口函数
import {listCollection,listType, getCollection, addCollection,updateCollection, delCollection,uploadPic,downloadModel} from "@/api/collection/index";
import {enload} from "@/api/doctor";
import {listCollection,listType, getCollection, addCollection,updateCollection, delCollection,uploadPic,downloadModel,enload} from "@/api/collection/index";
import {Message} from "element-ui";
ruoyi-ui/src/views/economy/index.vue
@@ -299,7 +299,7 @@
//在system/note/index.js中导入接口函数  --接好了
import {listEconomy,enload,getEconomyInfo,delEconomy, addEconomy, uploadPic} from "@/api/economy/index";
import {listEconomy,enload,delEconomy, addEconomy, uploadPic} from "@/api/economy/index";
export default {
  name: "Role",