add 文件上传组件

This commit is contained in:
赵霄
2023-12-06 14:17:01 +08:00
parent a88fd94df6
commit b2c8556bee
13 changed files with 648 additions and 26 deletions
+3
View File
@@ -25,6 +25,8 @@ const checkRuleByCode = (params) => getAction('/sys/checkRule/checkByCode', para
// 通过文件的id获取文件的相应信息
const getFileInfo = (params) => getAction('/sys/oss/file/queryById', params)
// 文件上传
const uploadFile = (params) => postAction('/sys/common/upload', params)
// 获取部门列表数据
const getDepartmentList = (params) => getAction('/sys/sysDepart/queryTreeList', params)
@@ -79,6 +81,7 @@ export {
duplicateCheck,
checkRuleByCode,
getFileInfo,
uploadFile,
getDepartmentList,
getSSOUserInfo,