| | |
| | | |
| | | }) |
| | | } |
| | | //上传文件 |
| | | 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 |
| | | }) |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | //上传文件 |
| | | //导入 |
| | | export function enload(data) { |
| | | return request({ |
| | | url: '/family/property/importData', |
| | | url: '/zfClean/importData', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | |
| | | 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 |
| | | }) |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | //导入数据 |
| | | // 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 |
| | | }) |
| | | } |
| | | |
| | |
| | | responseType: 'blob' |
| | | }) |
| | | } |
| | | //上传文件 |
| | | //导入 |
| | | export function enload(data) { |
| | | return request({ |
| | | url: '/zYearInfo/importData', |
| | |
| | | responseType: 'blob' |
| | | }) |
| | | } |
| | | |
| | | export function enload(data) { |
| | | return request({ |
| | | url: '/zSecret/importData', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | //导入接口函数 |
| | | 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"; |
| | | |
| | | |
| | |
| | | |
| | | |
| | | //在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", |