修改上传接口
parent
3a427ae888
commit
99510fa0d7
|
|
@ -4,14 +4,14 @@ class UploadAPI {
|
|||
/** 分类查询接口*/
|
||||
static getTree() {
|
||||
return request({
|
||||
url: `diyapi/attachmentcategory`,
|
||||
url: `attachmentapi/attachmentcategory`,
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
/** 分类新增,修改接口 */
|
||||
static saveTree(data: any) {
|
||||
return request({
|
||||
url: `diyapi/attachmentcategorysave`,
|
||||
url: `attachmentapi/attachmentcategorysave`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
|
|
@ -19,7 +19,7 @@ class UploadAPI {
|
|||
/** 分类删除接口 */
|
||||
static delTree(data: any) {
|
||||
return request({
|
||||
url: `diyapi/attachmentcategorydelete`,
|
||||
url: `attachmentapi/attachmentcategorydelete`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
|
|
@ -27,7 +27,7 @@ class UploadAPI {
|
|||
/** 附件移动分类 */
|
||||
static moveTree(data: any) {
|
||||
return request({
|
||||
url: `diyapi/attachmentmovecategory`,
|
||||
url: `attachmentapi/attachmentmovecategory`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
|
|
@ -36,7 +36,7 @@ class UploadAPI {
|
|||
// 附件列表
|
||||
static getAttachmentList(data: any) {
|
||||
return request({
|
||||
url: `diyapi/attachmentlist`,
|
||||
url: `attachmentapi/attachmentlist`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
|
|
@ -44,7 +44,7 @@ class UploadAPI {
|
|||
// 附件名称修改
|
||||
static saveAttachmentName(data: any) {
|
||||
return request({
|
||||
url: `diyapi/attachmentsave`,
|
||||
url: `attachmentapi/attachmentsave`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
|
|
@ -52,7 +52,7 @@ class UploadAPI {
|
|||
// 附件删除
|
||||
static delAttachment(data: any) {
|
||||
return request({
|
||||
url: `diyapi/attachmentdelete`,
|
||||
url: `attachmentapi/attachmentdelete`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
|
|
@ -60,7 +60,7 @@ class UploadAPI {
|
|||
// 附件上传
|
||||
static uploadAttachment(data: any, progress: any) {
|
||||
return request({
|
||||
url: `diyapi/attachmentupload`,
|
||||
url: `attachmentapi/attachmentupload`,
|
||||
method: 'post',
|
||||
data,
|
||||
headers: {
|
||||
|
|
@ -72,7 +72,7 @@ class UploadAPI {
|
|||
// 扫码上传
|
||||
static uploadQrcode(data: any) {
|
||||
return request({
|
||||
url: `diyapi/attachmentscanuploaddata`,
|
||||
url: `attachmentapi/attachmentscanuploaddata`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
|
|
@ -80,7 +80,7 @@ class UploadAPI {
|
|||
// 提取链接 --------附件远程下载
|
||||
static getAttachmentCatch(data: any) {
|
||||
return request({
|
||||
url: `diyapi/attachmentcatch`,
|
||||
url: `attachmentapi/attachmentcatch`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<el-dialog v-model="dialog_visible" class="radius-lg" width="650" draggable :close-on-click-modal="false" append-to-body>
|
||||
<template #header>
|
||||
<div class="title re">
|
||||
<div class="middle size-16 fw-b">附件管理</div>
|
||||
<div class="middle size-16 fw-b">基础信息</div>
|
||||
</div>
|
||||
</template>
|
||||
<div class="content pa-20">
|
||||
|
|
|
|||
Loading…
Reference in New Issue