Files
juwan-frontend/lib/mock/orders.ts
T

236 lines
5.9 KiB
TypeScript

import type { Order } from "../types"
import { mockServices } from "./services"
export const mockOrders: Order[] = [
{
id: "6001",
consumerId: "1002",
consumerName: "玲玲",
playerId: "1005",
playerName: "俊俊",
shopId: "3001",
shopName: "老王游戏工作室",
service: mockServices[0],
status: "completed",
totalPrice: 75,
note: "麻烦打3局,我今天状态不好一直输",
createdAt: "2025-01-05T19:30:00Z",
acceptedAt: "2025-01-05T19:45:00Z",
closedAt: "2025-01-05T22:10:00Z",
completedAt: "2025-01-05T22:25:00Z",
},
{
id: "6002",
consumerId: "1001",
consumerName: "小陈",
playerId: "1006",
playerName: "Winter",
shopId: "3002",
shopName: "Yuki 小屋",
service: mockServices[3],
status: "completed",
totalPrice: 54,
note: "3星,我用鲁班",
createdAt: "2025-01-08T15:00:00Z",
acceptedAt: "2025-01-08T15:12:00Z",
closedAt: "2025-01-08T17:40:00Z",
completedAt: "2025-01-08T17:55:00Z",
},
{
id: "6003",
consumerId: "1003",
consumerName: "zz",
playerId: "1008",
playerName: "暗影",
service: mockServices[9],
status: "completed",
totalPrice: 90,
createdAt: "2025-01-11T22:00:00Z",
acceptedAt: "2025-01-11T22:05:00Z",
closedAt: "2025-01-12T00:30:00Z",
completedAt: "2025-01-12T00:45:00Z",
},
{
id: "6004",
consumerId: "1004",
consumerName: "莫莫",
playerId: "1007",
playerName: "琪琪",
shopId: "3001",
shopName: "老王游戏工作室",
service: mockServices[7],
status: "completed",
totalPrice: 44,
note: "2局就行,主要想练练枪法",
createdAt: "2025-01-14T20:00:00Z",
acceptedAt: "2025-01-14T20:08:00Z",
closedAt: "2025-01-14T21:50:00Z",
completedAt: "2025-01-14T22:05:00Z",
},
{
id: "6005",
consumerId: "1001",
consumerName: "小陈",
playerId: "1009",
playerName: "飞飞",
shopId: "3003",
shopName: "浩哥开黑",
service: mockServices[12],
status: "completed",
totalPrice: 60,
note: "3局,打辅助配合我就行",
createdAt: "2025-01-17T20:30:00Z",
acceptedAt: "2025-01-17T20:35:00Z",
closedAt: "2025-01-17T23:00:00Z",
completedAt: "2025-01-17T23:15:00Z",
},
{
id: "6006",
consumerId: "1003",
consumerName: "zz",
playerId: "1006",
playerName: "Winter",
shopId: "3002",
shopName: "Yuki 小屋",
service: mockServices[5],
status: "completed",
totalPrice: 40,
note: "2局,我是新手别嫌弃",
createdAt: "2025-01-20T21:00:00Z",
acceptedAt: "2025-01-20T21:10:00Z",
closedAt: "2025-01-20T23:20:00Z",
completedAt: "2025-01-20T23:35:00Z",
},
{
id: "6007",
consumerId: "1002",
consumerName: "玲玲",
playerId: "1009",
playerName: "飞飞",
shopId: "3003",
shopName: "浩哥开黑",
service: mockServices[13],
status: "completed",
totalPrice: 30,
createdAt: "2025-01-23T10:00:00Z",
acceptedAt: "2025-01-23T10:15:00Z",
closedAt: "2025-01-23T11:00:00Z",
completedAt: "2025-01-23T11:20:00Z",
},
{
id: "6008",
consumerId: "1004",
consumerName: "莫莫",
playerId: "1005",
playerName: "俊俊",
shopId: "3001",
shopName: "老王游戏工作室",
service: mockServices[1],
status: "pending_review",
totalPrice: 40,
note: "2局,随便打打",
createdAt: "2025-02-01T20:00:00Z",
acceptedAt: "2025-02-01T20:10:00Z",
closedAt: "2025-02-01T22:00:00Z",
},
{
id: "6009",
consumerId: "1001",
consumerName: "小陈",
playerId: "1008",
playerName: "暗影",
service: mockServices[11],
status: "pending_review",
totalPrice: 120,
createdAt: "2025-02-03T22:30:00Z",
acceptedAt: "2025-02-03T22:35:00Z",
closedAt: "2025-02-04T01:00:00Z",
},
{
id: "6010",
consumerId: "1002",
consumerName: "玲玲",
playerId: "1007",
playerName: "琪琪",
shopId: "3001",
shopName: "老王游戏工作室",
service: mockServices[6],
status: "in_progress",
totalPrice: 84,
note: "3星,我段位铂金2",
createdAt: "2025-02-06T19:00:00Z",
acceptedAt: "2025-02-06T19:08:00Z",
},
{
id: "6011",
consumerId: "1003",
consumerName: "zz",
playerId: "1009",
playerName: "飞飞",
shopId: "3003",
shopName: "浩哥开黑",
service: mockServices[14],
status: "in_progress",
totalPrice: 50,
createdAt: "2025-02-08T21:00:00Z",
acceptedAt: "2025-02-08T21:05:00Z",
},
{
id: "6012",
consumerId: "1004",
consumerName: "莫莫",
playerId: "1006",
playerName: "Winter",
shopId: "3002",
shopName: "Yuki 小屋",
service: mockServices[4],
status: "pending_accept",
totalPrice: 30,
note: "2局轻松局,不用太认真",
createdAt: "2025-02-10T20:00:00Z",
},
{
id: "6013",
consumerId: "1001",
consumerName: "小陈",
playerId: "1007",
playerName: "琪琪",
shopId: "3001",
shopName: "老王游戏工作室",
service: mockServices[8],
status: "pending_close",
totalPrice: 18,
createdAt: "2025-02-12T14:00:00Z",
acceptedAt: "2025-02-12T14:10:00Z",
closedAt: "2025-02-12T15:30:00Z",
},
{
id: "6014",
consumerId: "1003",
consumerName: "zz",
playerId: "1008",
playerName: "暗影",
service: mockServices[10],
status: "disputed",
totalPrice: 60,
note: "2局DOTA,我是herald别介意",
createdAt: "2025-02-14T21:00:00Z",
acceptedAt: "2025-02-14T21:08:00Z",
closedAt: "2025-02-14T23:30:00Z",
},
{
id: "6015",
consumerId: "1002",
consumerName: "玲玲",
playerId: "1005",
playerName: "俊俊",
shopId: "3001",
shopName: "老王游戏工作室",
service: mockServices[2],
status: "cancelled",
totalPrice: 44,
note: "临时有事取消了,下次再约",
createdAt: "2025-02-16T18:00:00Z",
},
]