【前端】云工厂的纸掌柜app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.3 KiB

import http from '../utils/http/index.js'
// 交易大厅-报价
export function getEnterpriseList(data) {
return http.get(
{
url: '/base-paper-trading/get/supplier/enquiry-reply/wait-reply-list',
data
},
{ hideLoading: true }
)
}
// 交易大厅-订单
export function gettradingHallList(data) {
return http.get(
{
url: '/base-paper-trading/get/trading-hall/supplier-order-page',
data
},
{ hideLoading: true }
)
}
// 我的报价
export function getMyReplyList(data) {
return http.get(
{
url: '/base-paper-trading/get/my-reply-list',
data
},
{ hideLoading: true }
)
}
// 提交报价
export function updateEnquiryReply(data) {
return http.post({
url: '/base-paper-trading/update/enquiry-reply?userId=' + data.userId,
data
})
}
// 获取报价详情
export function enquiryReplyDetail(data) {
return http.get(
{
url: '/base-paper-trading/get/enquiry-reply-detail/' + data
},
{ hideLoading: true }
)
}
// 消息列表
export function systemMessageList(data) {
return http.get(
{
url: '/base-paper-trading/get/system-message/list',
data
},
{ hideLoading: true }
)
}
// 系统消息已读
export function systemRead(data) {
return http.post({
url: '/base-paper-trading/set/message-read',
data
})
}