You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.0 KiB
JavaScript
54 lines
1.0 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询Hw资料文件列表
|
|
export function listHwWebDocument(query) {
|
|
return request({
|
|
url: '/portal/hwWebDocument/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询Hw资料文件详细
|
|
export function getHwWebDocument(documentId) {
|
|
return request({
|
|
url: '/portal/hwWebDocument/' + documentId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增Hw资料文件
|
|
export function addHwWebDocument(data) {
|
|
return request({
|
|
url: '/portal/hwWebDocument',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改Hw资料文件
|
|
export function updateHwWebDocument(data) {
|
|
return request({
|
|
url: '/portal/hwWebDocument',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除Hw资料文件
|
|
export function delHwWebDocument(documentId) {
|
|
return request({
|
|
url: '/portal/hwWebDocument/' + documentId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 获取安全文件地址
|
|
export function getSecureDocumentAddress(data) {
|
|
return request({
|
|
url: '/portal/hwWebDocument/getSecureDocumentAddress',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|