var Mock = require('mockjs') var data = Mock.mock({ 'taskList': [ { //任务id 'id': 0, //任务封面图 'coverImgUrl': '', //所属项目id 'projectId': 1234, //任务标题 'title': '发送群文件测试', //任务平台;0:Andriod;1:IOS;2:Web 'platform': [0, 1], //任务描述 'description': '任务描述文字xxxx', //任务标价 'price': '30', //任务服务类型 // 0: "接口测试", // 1: "安全漏洞扫描", // 2: "风险评估服务", // 3: "源代码安全审计服务", // 4: "功能测试服务", // 5: "性能测试", // 6: "功能和易用性测试", 'serviceType': 1, //任务参与者 'participantNum': 30, // 0: "已结束", //已结束 // 1: "进行中" //进行中 //任务状态 'status': 0 }, { 'id': 1, 'coverImgUrl': '', 'projectId': 1234, 'title': '多人聊天发送文件测试', 'platform': [0], 'description': '任务描述文字xxxx', 'price': '10', 'serviceType': 0, 'participantNum': 0, 'status': 1 }, { 'id': 1, 'coverImgUrl': '', 'projectId': 1234, 'title': '多人聊天发送文件测试', 'platform': [0], 'description': '任务描述文字xxxx', 'price': '10', 'serviceType': 0, 'participantNum': 0, 'status': 1 }, { 'id': 1, 'coverImgUrl': '', 'projectId': 1234, 'title': '多人聊天发送文件测试', 'platform': [0], 'description': '任务描述文字xxxx', 'price': '10', 'serviceType': 0, 'participantNum': 0, 'status': 1 }, { 'id': 1, 'coverImgUrl': '', 'projectId': 1234, 'title': '多人聊天发送文件测试', 'platform': [0], 'description': '任务描述文字xxxx', 'price': '10', 'serviceType': 0, 'participantNum': 0, 'status': 1 }, { 'id': 1, 'coverImgUrl': '', 'projectId': 1234, 'title': '多人聊天发送文件测试', 'platform': [0], 'description': '任务描述文字xxxx', 'price': '10', 'serviceType': 0, 'participantNum': 0, 'status': 1 } ] }) export { data }