//
//  UrlConst.m
//  Patrol
//
//  Created by 曹云霄 on 2017/7/24.
//  Copyright © 2017年 上海勾芒科技信息有限公司. All rights reserved.
//

#import "UrlConst.h"

@implementation UrlConst

//服务器时间
NSString *const SYSTIME = @"systime/time";
//登录
NSString *const LOGIN = @"user/login";
//第三方上传配置信息
NSString *const UPLOADCONFIG = @"vipatrol/plan/option/getall";
//自检匹配门店坐标级别
NSString *const STORECOORDLEVEL = @"option/get/enableStoreLocationCheck";
//待办（首页）
NSString *const TODO = @"assignment/queryToDoTask";
//自检、VI检查进度（首页）
NSString *const PRAISEANDINSPECTOR_PROGRESS = @"praise/get_for_inspector";
//督导营运数据（首页）
NSString *const SUPERVISOR_SERVICE = @"operatingratios/getByInspector";
//当日自检任务进度（首页）
NSString *const QUERYPRAISESBYDAY = @"praise/queryPraisesByDay";
//当日自检任务列表、时间轴（首页）
NSString *const QUERYPRAISESBYDAY2 = @"praise/getPraiseByDay2?date=%@&storeUuid=%@";
//门店营运数据（首页）
NSString *const STORESERVICE = @"operatingratios/getByStoreCode/%@";
//自检详情
NSString *const INSPECTDETAIL = @"praise/getAnswerByUuid2?questionUuid=%@&answerUuid=%@";
//根据门店坐标获取门店名称、code
NSString *const STORECOORD = @"signin/getStoreByMap/%@?lng=%@&lat=%@&flag=nearest";
//上传自检结果
NSString *const UPLOADINSPECTRESULT = @"praise/report/%@?time=%@&operId=%@&operName=%@";
//获取VI检查任务图片
NSString *const PATROLINSPECTATTACHMENT = @"attachment/get_urls?entity_type=repairingBill&entity_uuid=%@";
//通过状态获取公告列表
NSString *const GETANNOUNCEMENT = @"affiche/download/%@?read=%@&page_number=%ld&page_size=%ld";
//获取某一个公告详情
NSString *const GETANNOUNCEMENTDETAIL = @"affiche/get/%@";
//把某一公告标记为已读
NSString *const READANNOUNCEMENT = @"affiche/read/%@?user_uuid=%@&read_time=%@";
/**********筛选条件***********/
//获取区域信息
NSString *const QUERYAREA = @"organization/query";
//获取门店信息
NSString *const QUERYSTORE = @"organization/query";
//获取门店类型
NSString *const QUERYSTORETYPE = @"organization/storeTypeList";
//获取督导人员
NSString *const QUERYSUPERVISOR = @"user/query";
//获取自检任务
NSString *const QUERYTASK = @"praise/queryPraise";
//获取检查项
NSString *const QUERYCHECKITEM = @"praise/queryQuestion";
/**********筛选条件***********/
//查询VI检查任务
NSString *const QUERYPATROLPLAN = @"vipatrol/plan/queryResult";
//查询VI检查任务详情
NSString *const QUERYPATROLPLANDETAIL = @"vipatrol/plan/get_store_detail/%@?store_uuid=%@&user_uuid=%@";
//提交VI检查任务
NSString *const SUBMITPATROLPLAN = @"vipatrol/plan/submit_resultOnline/%@?plan_uuid=%@";
//VI检查任务开始答题
NSString *const BEGINPATROLPLANANSWER = @"vipatrol/plan/update_inspector_start/%@?store_uuid=%@&user_uuid=%@&realstoreUuid=%@&longitude=%@&latitude=%@";
//获取周围门店
NSString *const QUERYROUNDSTORE = @"mdata/store/queryByCoordinate?Lng=%@&Lat=%@";
//VI检查结果查看
NSString *const QUERYPATROLINSPECTRESULT = @"vipatrol/plan/queryResult";
//VI检查任务列表
NSString *const QUERYPATROLINSPECTPLAN = @"vipatrol/plan/query/%@?start_date=%@&date_type=before&category=project&page_number=%@&page_size=%@";
//VI检查任务结果详情
NSString *const QUERYPATROLINSPECTDETAIL = @"vipatrol/plan/get_rstore_result/%@?store_uuid=%@";
//查询VI检查任务附件
NSString *const QUERYPATROLATTACHMENT = @"attachment/get_urls?entity_type=repairingBill&entity_uuid=%@";
//生成VIVI抽查
NSString *const CREATEVITEMPCHECK = @"vipatrol/plan/create_by_temporary/%@?store_uuid=%@";
//修改密码
NSString *const CHANGEPASSWORD = @"user/change_password/%@?time=%@&operId=%@&operName=%@";
//自检结果
NSString *const QUERYINSPECTRESULT = @"praise/queryAnswer";
//自检结果评论列表
NSString *const QUERYINSPECTRESULTCOMMENTS = @"comment/get?entityType=attachment&entityUuid=%@";
//自检结果发表评论
NSString *const INSPECTSUBMITCOMMENT = @"comment/submit?time=%@&operId=%@&operName=%@";
//获取最后一次签到信息
NSString *const GETLASESIGNIN = @"signin/getLastSignin/%@";
//通过坐标获取一定范围内门店
NSString *const GETSTORESBYCOORD = @"signin/getStoreByMap/%@?lng=%@&lat=%@&flag=";
//签到
NSString *const SIGNSAVE = @"signin/save2";
//签到历史查询
NSString *const SIGNHISTORY = @"signin/query/%@";
//查询全部门店
NSString *const QUERYSTORES = @"mdata/store/query";
//采集坐标
NSString *const GATHERCOORD = @"signin/saveCoordinate";
//查询请假申请单
NSString *const QUERYLEAVE = @"assignment/leaves";
//提交请假申请
NSString *const SUBMITLEAVEAPPLY = @"assignment/submit?time=%@&operId=%@&operName=%@";
//提交工作汇报
NSString *const SUBMITQORKREPORT = @"workReport/save?time=%@&operId=%@&operName=%@";
//查询工作汇报
NSString *const QUERYWORKREPORT = @"workReport/query";
//查询工作汇报详情
NSString *const QUERYWORKREPORTDETAIL = @"workReport/get/%@";
//查询整改列表
NSString *const QUERYCORRECTION = @"correction/query";
//查询整改列表详情
NSString *const EUERYCORRECTIONDETAIL = @"correction/get?uuid=%@";
//开始整改
NSString *const STARTCORRECTION = @"correction/start";
//详情提交整改
NSString *const DETAILSUBMITCORRECTION = @"correction/finish?time=%@&operId=%@&operName=%@";
//提交整改
NSString *const SUBMITCORRECTION = @"correction/submit?time=%@&operId=%@&operName=%@";
//审核整改
NSString *const AUDITCORRECTION = @"correction/audit?time=%@&operId=%@&operName=%@";
//更新版本
NSString *const UPDATEVERSION = @"ipapk?type=ipa";
//获取报修设备
NSString *const GETDEVICES = @"device/getDevices";
//通过二维码获取报修设备
NSString *const GETDEVICESBYQRCODE = @"device/getByCode/%@";
//获取报修类型
NSString *const GETREPATRSTYPE = @"option/get/repairType";
//提交设备报修单
NSString *const SUBMITREPAIRS = @"repairBill/save?time=%@&operId=%@&operName=%@";
//查询设备报修单列表
NSString *const QUERYREPAIR = @"repairBill/query";
//查询设备报修单详情
NSString *const QUERYREPAIRDETAIL = @"repairBill/get/%@";
//获取营运指数
NSString *const OPERATIONGRATIOS = @"operatingratios/getSchoolInfos";
//查询优秀案例
NSString *const QUERYGOODCASE = @"legendpraise/query";
//口碑点赞
NSString *const LIKEGOODCASE = @"legendpraise/like/%@?time=%@&operId=%@&operName=%@";
//口碑取消点赞
NSString *const CANCELLIKEGOODCASE = @"legendpraise/cancel_like/%@?time=%@&operId=%@&operName=%@";
//查询优秀案例详情
NSString *const GETGOODCASEDETAIL = @"legendpraise/get/%@?userUuid=%@";
//设备报修保存过程记录
NSString *const SAVEREPAIRLOG = @"repairBill/saveRepairLog?time=%@&operId=%@&operName=%@";
//设备报修删除过程记录
NSString *const DELETEREPAIRLOG = @"repairBill/deleteRepairLog/%@";
//设备报修保存费用说明
NSString *const SAVEREPATRFEE = @"repairBill/saveRepairFee?time=%@&operId=%@&operName=%@";
//设备报修删除费用说明
NSString *const DELETEREPATRFEE = @"repairBill/deleteRepairFee/%@";
//查询签到历史
NSString *const QUERYSINGNHISTORY = @"signin/query2/%@";
//查询陈列管理
NSString *const QUERYSTORELAYOUT = @"storeLayout/getStoreLayoutByCode/%@";
//陈列管理拼接附件
NSString *const JOINTATTACHMENT = @"patrol-web/download?attachmentId=%@&fileName=%@&source=xsd";
//陈列管理获取附件
NSString *const GETATTACHMENT = @"attachment/get_urls?entity_type=storelayout&entity_uuid=%@";
//删除待办任务
NSString *const REMOVETODOTASK = @"assignment/removeToDoTaskById/%@";
//提交销售录入
NSString *const SUBMITSALEINPUT = @"salesinput/submit?time=%@&operId=%@&operName=%@";
//工作汇报已读
NSString *const READWORKREPORT = @"workReport/read/%@?user_uuid=%@&read_time=%@";
//查询签单统计数据
NSString *const GETSIGNSTATISTICAL = @"signin/getAnalysis/%@";
















@end


