123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
-
- import request from '@/utils/request';
- /**
- * 订单 列表
- * @param prams
- */
- export function orderListApi(params) {
- return request({
- url: '/admin/platform/order/list',
- method: 'get',
- params,
- });
- }
- /**
- * 订单 列表 获取各状态数量
- * @param params
- */
- export function orderStatusNumApi(params) {
- return request({
- url: '/admin/platform/order/status/num',
- method: 'get',
- params,
- });
- }
- /**
- * 订单 列表 数据统计
- * @param params
- */
- export function orderListDataApi(params) {
- return request({
- url: '/admin/store/order/list/data',
- method: 'get',
- params,
- });
- }
- /**
- * 订单 删除
- * @param params
- */
- export function orderDeleteApi(params) {
- return request({
- url: '/admin/store/order/delete',
- method: 'get',
- params,
- });
- }
- /**
- * 订单 编辑
- * @param prams
- */
- export function orderUpdateApi(data, params) {
- return request({
- url: '/admin/store/order/update',
- method: 'post',
- data,
- params,
- });
- }
- /**
- * 订单 记录
- * @param prams
- */
- export function orderLogApi(params) {
- return request({
- url: '/admin/store/order/status/list',
- method: 'get',
- params,
- });
- }
- /**
- * 订单 详情
- * @param prams
- */
- export function orderDetailApi(params) {
- return request({
- url: '/admin/platform/order/info',
- method: 'get',
- params,
- });
- }
- /**
- * 订单 备注
- * @param prams
- */
- export function orderMarkApi(params) {
- return request({
- url: '/admin/store/order/mark',
- method: 'post',
- params,
- });
- }
- /**
- * 订单 发货
- * @param prams
- */
- export function orderSendApi(data) {
- return request({
- url: '/admin/store/order/send',
- method: 'post',
- data,
- });
- }
- /**
- * 订单 拒绝退款
- * @param prams
- */
- export function orderRefuseApi(params) {
- return request({
- url: '/admin/store/order/refund/refuse',
- method: 'get',
- params,
- });
- }
- /**
- * 订单 立即退款
- * @param prams
- */
- export function orderRefundApi(params) {
- return request({
- url: '/admin/store/order/refund',
- method: 'get',
- params,
- });
- }
- /**
- * 订单 核销订单
- * @param prams
- */
- export function writeUpdateApi(vCode) {
- return request({
- url: `/admin/store/order/writeUpdate/${vCode}`,
- method: 'get',
- });
- }
- /**
- * 订单 核销码查询待核销订单
- * @param prams
- */
- export function writeConfirmApi(vCode) {
- return request({
- url: `/admin/store/order/writeConfirm/${vCode}`,
- method: 'get',
- });
- }
- /**
- * 订单 统计 头部数据
- */
- export function orderStatisticsApi() {
- return request({
- url: `/admin/store/order/statistics`,
- method: 'get',
- });
- }
- /**
- * 核销订单 月列表数据
- */
- export function statisticsDataApi(params) {
- return request({
- url: `/admin/store/order/statisticsData`,
- method: 'get',
- params,
- });
- }
- /**
- * 一键改价
- */
- export function updatePriceApi(data) {
- return request({
- url: `admin/store/order/update/price`,
- method: 'post',
- data,
- });
- }
- /**
- *订单统计详情
- */
- export function orderTimeApi(params) {
- return request({
- url: `/admin/store/order/time`,
- method: 'get',
- params,
- });
- }
- /**
- *面单默认配置信息
- */
- export function sheetInfoApi() {
- return request({
- url: `/admin/store/order/sheet/info`,
- method: 'get',
- });
- }
- /**
- *平台端订单物流详情
- */
- export function getLogisticsInfoApi(params) {
- return request({
- url: `/admin/platform/order/getLogisticsInfo`,
- method: 'get',
- params,
- });
- }
- /**
- *视频号物流公司
- */
- export function companyGetListApi() {
- return request({
- url: `/admin/pay/component/delivery/company/get/list`,
- method: 'get',
- });
- }
- /**
- *视频号物流公司
- */
- export function videoSendApi(data) {
- return request({
- url: `/admin/store/order/video/send`,
- method: 'post',
- data,
- });
- }
- /**
- *打印小票
- */
- export function orderPrint(id) {
- return request({
- url: `/admin/yly/print/${id}`,
- method: 'get',
- });
- }
- /**
- *退款列表
- */
- export function refundListApi(params) {
- return request({
- url: `/admin/platform/refund/order/list`,
- method: 'get',
- params,
- });
- }
- /**
- *退款详情
- */
- export function refundDetailApi(refundOrderNo) {
- return request({
- url: `/admin/platform/refund/order/detail/${refundOrderNo}`,
- method: 'get',
- });
- }
- /**
- *平台备注退款订单
- */
- export function refundMarkApi(data) {
- return request({
- url: `/admin/platform/refund/order/mark`,
- method: 'post',
- data,
- });
- }
- /**
- *获取退款订单各状态数量
- */
- export function refundStatusNumApi(params) {
- return request({
- url: `/admin/platform/refund/order/status/num`,
- method: 'GET',
- params,
- });
- }
- /**
- * 获取订单发货单列表
- * @param orderNo 订单号
- */
- export function orderInvoiceListApi(orderNo) {
- return request({
- url: `/admin/platform/order/${orderNo}/invoice/list`,
- method: 'get',
- });
- }
- /**
- * 平台端退款订单详情
- * @param refundOrderNo 订单号
- */
- export function refundOrderDetailApi(refundOrderNo) {
- return request({
- url: `/admin/platform/refund/order/detail/${refundOrderNo}`,
- method: 'get',
- });
- }
|