2022-04-29 17:23:40 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 页面静态数据
|
2022-05-03 14:59:33 +08:00
|
|
|
|
*/
|
2022-04-29 17:23:40 +08:00
|
|
|
|
const moduleBarInfos = [{
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
cuIcon: 'homefill',
|
|
|
|
|
|
pageCode: 'indexPage',
|
|
|
|
|
|
name: '首页'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
id: 2,
|
|
|
|
|
|
cuIcon: 'shop',
|
|
|
|
|
|
pageCode: 'shopingMallPage',
|
|
|
|
|
|
name: '商城'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
id: 3,
|
|
|
|
|
|
cuIcon: 'message',
|
|
|
|
|
|
pageCode: 'msgPage',
|
|
|
|
|
|
name: '消息',
|
|
|
|
|
|
countTag: 100
|
|
|
|
|
|
}, {
|
|
|
|
|
|
id: 4,
|
|
|
|
|
|
cuIcon: 'my',
|
|
|
|
|
|
pageCode: 'myPage',
|
|
|
|
|
|
name: '我的'
|
2022-05-03 14:59:33 +08:00
|
|
|
|
}]
|
|
|
|
|
|
|
|
|
|
|
|
const myInfo = {
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big5000.jpg',
|
|
|
|
|
|
name: '叮咚任务师傅端',
|
|
|
|
|
|
entryType: null,
|
|
|
|
|
|
hasCheckedRule: true,
|
|
|
|
|
|
order: {
|
|
|
|
|
|
noReservation: 5,
|
|
|
|
|
|
noSchedule: 6,
|
|
|
|
|
|
onsiteTimeout: 3,
|
|
|
|
|
|
onsiteToday: [{
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
work: '灯具维修-灯泡射灯',
|
|
|
|
|
|
address: '广东省 广州市 白云区 xx街道',
|
|
|
|
|
|
datetime: '2022-4-22 10:00:00'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
id: 2,
|
|
|
|
|
|
work: '冰箱维修',
|
|
|
|
|
|
address: '广东省 广州市 天河区 xx街道',
|
|
|
|
|
|
datetime: '2022-4-22 14:00:00'
|
|
|
|
|
|
}]
|
|
|
|
|
|
},
|
|
|
|
|
|
weekNotice: {
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
title: '您的一笔订单金额已到帐',
|
|
|
|
|
|
ifHasNoReadNotice: true
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const myTeamInfo = {
|
|
|
|
|
|
takeRate: 0.5,
|
|
|
|
|
|
members: [{
|
|
|
|
|
|
id: '1sdfasdf',
|
|
|
|
|
|
name: '师傅1',
|
|
|
|
|
|
avatarUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big5001.jpg',
|
|
|
|
|
|
noteName: '备注名称1',
|
|
|
|
|
|
phoneNum: '13455444567',
|
|
|
|
|
|
showEditInput: false
|
|
|
|
|
|
}, {
|
|
|
|
|
|
id: 'dfsdfsdfds',
|
|
|
|
|
|
name: '师傅2',
|
|
|
|
|
|
avatarUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big5002.jpg',
|
|
|
|
|
|
noteName: '',
|
|
|
|
|
|
phoneNum: '13655455434',
|
|
|
|
|
|
showEditInput: true
|
|
|
|
|
|
}, {
|
|
|
|
|
|
id: 'sdcec',
|
|
|
|
|
|
name: '师傅3',
|
|
|
|
|
|
avatarUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big5002.jpg',
|
|
|
|
|
|
noteName: '',
|
|
|
|
|
|
phoneNum: '13655455422',
|
|
|
|
|
|
showEditInput: true
|
|
|
|
|
|
}]
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const masterRules = [
|
|
|
|
|
|
'0规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容',
|
|
|
|
|
|
'1规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容',
|
|
|
|
|
|
'2规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容',
|
|
|
|
|
|
'3规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容',
|
|
|
|
|
|
'4规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容',
|
|
|
|
|
|
'5规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容',
|
|
|
|
|
|
'6规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容',
|
|
|
|
|
|
'7规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容',
|
|
|
|
|
|
'8规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容'
|
|
|
|
|
|
]
|
2022-05-06 23:47:18 +08:00
|
|
|
|
|
2022-05-03 14:59:33 +08:00
|
|
|
|
// type: 0=升降序,1=功能按钮;order: 0=升序,1=降序;
|
|
|
|
|
|
const taskConditions = [{
|
|
|
|
|
|
code: 'area',
|
|
|
|
|
|
title: '区域'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
code: 'category',
|
|
|
|
|
|
title: '品类'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
code: 'distance',
|
2022-05-06 23:47:18 +08:00
|
|
|
|
title: '距离',
|
|
|
|
|
|
type: 0,
|
2022-05-03 14:59:33 +08:00
|
|
|
|
value: 0,
|
|
|
|
|
|
}, {
|
|
|
|
|
|
code: 'time',
|
2022-05-06 23:47:18 +08:00
|
|
|
|
title: '时间',
|
|
|
|
|
|
type: 0,
|
2022-05-03 14:59:33 +08:00
|
|
|
|
value: 0,
|
|
|
|
|
|
}, {
|
2022-05-06 23:47:18 +08:00
|
|
|
|
code: 'reset',
|
2022-05-03 14:59:33 +08:00
|
|
|
|
type: 1,
|
|
|
|
|
|
title: '重置'
|
2022-05-06 23:47:18 +08:00
|
|
|
|
}]
|
|
|
|
|
|
|
|
|
|
|
|
const tasks = [{
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
title: '清洗-油烟机/油烟机全拆洗+空调挂机',
|
|
|
|
|
|
tag: ['油烟机全拆洗+空调挂机', '京东店铺'],
|
|
|
|
|
|
address: '广东省惠州市惠城区小金口街道兴华街10号',
|
|
|
|
|
|
doorTime: '2022-01-17 12:00:00-12:15:00',
|
|
|
|
|
|
price: '170.00',
|
|
|
|
|
|
expeditedPrice: '70.00',
|
|
|
|
|
|
phoneNum: '13455635441',
|
|
|
|
|
|
canQuote: true
|
|
|
|
|
|
}, {
|
|
|
|
|
|
id: 2,
|
|
|
|
|
|
title: '清洗-油烟机/油烟机全拆洗+空调挂机',
|
|
|
|
|
|
tag: ['油烟机全拆洗+空调挂机', '京东店铺'],
|
|
|
|
|
|
address: '广东省惠州市惠城区小金口街道兴华街10号',
|
|
|
|
|
|
doorTime: '2022-01-17 12:00:00-12:15:00',
|
|
|
|
|
|
price: '170.00',
|
|
|
|
|
|
expeditedPrice: '70.00',
|
|
|
|
|
|
phoneNum: '13455635442',
|
|
|
|
|
|
canQuote: true
|
|
|
|
|
|
}, {
|
|
|
|
|
|
id: 3,
|
|
|
|
|
|
title: '清洗-油烟机/油烟机全拆洗+空调挂机',
|
|
|
|
|
|
tag: ['油烟机全拆洗+空调挂机', '京东店铺'],
|
|
|
|
|
|
address: '广东省惠州市惠城区小金口街道兴华街10号',
|
|
|
|
|
|
doorTime: '2022-01-17 12:00:00-12:15:00',
|
|
|
|
|
|
price: '170.00',
|
|
|
|
|
|
expeditedPrice: '70.00',
|
|
|
|
|
|
phoneNum: '13455635443',
|
|
|
|
|
|
canQuote: true
|
|
|
|
|
|
}];
|
|
|
|
|
|
|
|
|
|
|
|
const takeCertify = true;
|
|
|
|
|
|
|
|
|
|
|
|
const areaList = [
|
|
|
|
|
|
[{
|
|
|
|
|
|
id: 100,
|
|
|
|
|
|
name: '广东'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
id: 101,
|
|
|
|
|
|
name: '海南'
|
|
|
|
|
|
}],
|
|
|
|
|
|
[{
|
|
|
|
|
|
id: 200,
|
|
|
|
|
|
name: '广州'
|
|
|
|
|
|
}],
|
|
|
|
|
|
[{
|
|
|
|
|
|
id: 300,
|
|
|
|
|
|
name: '天河'
|
|
|
|
|
|
}]
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
const categoryList = [
|
|
|
|
|
|
[{
|
|
|
|
|
|
id: 100,
|
|
|
|
|
|
name: '电器类'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
id: 101,
|
|
|
|
|
|
name: '家政类'
|
|
|
|
|
|
}],
|
|
|
|
|
|
[{
|
|
|
|
|
|
id: 200,
|
|
|
|
|
|
name: '全部'
|
|
|
|
|
|
}],
|
|
|
|
|
|
[{
|
|
|
|
|
|
id: 300,
|
|
|
|
|
|
name: '全部'
|
|
|
|
|
|
}]
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
const order = {
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
title: '清洗-油烟机/油烟机全拆洗+空调挂机',
|
|
|
|
|
|
tag: ['油烟机全拆洗+空调挂机', '京东店铺'],
|
|
|
|
|
|
address: '广东省惠州市惠城区小金口街道兴华街10号',
|
|
|
|
|
|
doorTime: '2022-01-17 12:00:00-12:15:00',
|
|
|
|
|
|
price: '170.00',
|
|
|
|
|
|
expeditedPrice: '70.00',
|
|
|
|
|
|
phoneNum: '13455635441',
|
|
|
|
|
|
contactPerson: '周梅',
|
|
|
|
|
|
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big6001.jpg',
|
|
|
|
|
|
spec: '200*300cm',
|
|
|
|
|
|
servType: '空调清洗',
|
|
|
|
|
|
serialId: '12233342345223',
|
|
|
|
|
|
createTime: '2022-01-17 15:44:32',
|
|
|
|
|
|
comments: '上门前10分钟先电话联系'
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const myOrders = {
|
|
|
|
|
|
summary: {
|
|
|
|
|
|
overtimeOrderNum: 336,
|
|
|
|
|
|
todayOrderNum: 1,
|
|
|
|
|
|
tomorrowOrderNum: 0,
|
|
|
|
|
|
urgentMsgOrderNum: 0,
|
|
|
|
|
|
newOrderNum: 1
|
|
|
|
|
|
},
|
|
|
|
|
|
orderList: [{
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
title: '清洗空调/挂机内机拆洗(不分匹)',
|
|
|
|
|
|
state: '',
|
|
|
|
|
|
subState: 'waitServing',
|
|
|
|
|
|
tags: [{
|
|
|
|
|
|
level: 'info',
|
|
|
|
|
|
content: '商城订单'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
level: 'error',
|
|
|
|
|
|
content: '超时未预约'
|
|
|
|
|
|
}],
|
|
|
|
|
|
name: 'cc',
|
|
|
|
|
|
address: '广东省广州市天河区。。。。。。',
|
|
|
|
|
|
servTime: '2022-06-01 08:00-08:30',
|
|
|
|
|
|
doorTime: '2022-06-01 08:15:00',
|
|
|
|
|
|
comments: '备注内容。。。。。。',
|
|
|
|
|
|
phoneNum: '13233433467',
|
|
|
|
|
|
deadlineDate: '2022-06-01 08:30:00',
|
|
|
|
|
|
product: {
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
|
|
|
|
|
|
name: '柜机空调清洗1',
|
|
|
|
|
|
comments: '备---------注',
|
|
|
|
|
|
salePrice: 199,
|
|
|
|
|
|
price: 250,
|
|
|
|
|
|
type: '空调/清洗',
|
|
|
|
|
|
servArea: ['天河区', '黄埔区', '荔湾区'],
|
|
|
|
|
|
pickedList: [{
|
|
|
|
|
|
id: 101,
|
|
|
|
|
|
name: '挂机内机拆洗1(不分匹)',
|
|
|
|
|
|
valColArr: [{
|
|
|
|
|
|
value: 3
|
|
|
|
|
|
}, {
|
|
|
|
|
|
numberBox: true,
|
|
|
|
|
|
max: 3
|
|
|
|
|
|
}]
|
|
|
|
|
|
}]
|
|
|
|
|
|
}
|
|
|
|
|
|
}]
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const timeRangeList = [
|
|
|
|
|
|
'08:00-08:30',
|
|
|
|
|
|
'08:30-09:00',
|
|
|
|
|
|
'09:00-09:30',
|
|
|
|
|
|
'09:30-10:00',
|
|
|
|
|
|
'10:00-10:30',
|
|
|
|
|
|
'10:30-11:00',
|
|
|
|
|
|
'11:00-11:30',
|
|
|
|
|
|
'11:30-12:00',
|
|
|
|
|
|
'12:00-12:30',
|
|
|
|
|
|
'12:30-13:00',
|
|
|
|
|
|
'13:00-13:30',
|
|
|
|
|
|
'13:30-14:00',
|
|
|
|
|
|
'14:00-14:30',
|
|
|
|
|
|
'14:30-15:00',
|
|
|
|
|
|
'14:30-15:00',
|
|
|
|
|
|
'15:00-15:30',
|
|
|
|
|
|
'15:30-16:00',
|
|
|
|
|
|
'16:00-16:30',
|
|
|
|
|
|
'16:30-17:00',
|
|
|
|
|
|
'17:00-17:30',
|
|
|
|
|
|
'17:30-18:00',
|
|
|
|
|
|
'18:00-18:30',
|
|
|
|
|
|
'18:30-19:00',
|
|
|
|
|
|
'19:00-19:30',
|
|
|
|
|
|
'19:30-20:00'
|
|
|
|
|
|
]
|
2022-04-29 17:23:40 +08:00
|
|
|
|
|
|
|
|
|
|
export default {
|
2022-05-03 14:59:33 +08:00
|
|
|
|
moduleBarInfos,
|
|
|
|
|
|
myInfo,
|
|
|
|
|
|
myTeamInfo,
|
|
|
|
|
|
masterRules,
|
2022-05-06 23:47:18 +08:00
|
|
|
|
taskConditions,
|
|
|
|
|
|
tasks,
|
|
|
|
|
|
takeCertify,
|
|
|
|
|
|
categoryList,
|
|
|
|
|
|
areaList,
|
|
|
|
|
|
order,
|
|
|
|
|
|
myOrders,
|
|
|
|
|
|
timeRangeList
|
2022-04-29 17:23:40 +08:00
|
|
|
|
}
|