dingdong-master/common/js/data.js

209 lines
6.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 页面静态数据
*/
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: '我的'
}]
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规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容规则内容'
]
// type: 0=升降序1=功能按钮order: 0=升序1=降序;
const taskConditions = [{
code: 'area',
title: '区域'
}, {
code: 'category',
title: '品类'
}, {
code: 'distance',
title: '距离',
type: 0,
value: 0,
}, {
code: 'time',
title: '时间',
type: 0,
value: 0,
}, {
code: 'reset',
type: 1,
title: '重置'
}]
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分钟先电话联系'
}
export default {
moduleBarInfos,
myInfo,
myTeamInfo,
masterRules,
taskConditions,
tasks,
takeCertify,
categoryList,
areaList,
order
}