export const uploadFile = "/fusion-bc/upload/file";

/**  ----------------角色接口----------------   */
export const getRoleList = "/web/role/getAllRoleList";
export const getListByDeptId = "/fusion-bc/web/role/getAllRoleList";

/** ------------------------------------------ */

/**  ----------------用户接口----------------   */
// 登录
export const userLogin = "/fusion-bc/fdLogin";
// 权限
export const userperInfo = "/fusion-bc/web/user/getPerInfo";
export const userInfo = "/fusion-bc/web/user/getUserInfo";
// 注册
export const userReg = "/web/user/register";
// 发送注册短信
export const sendUserMsg = "/fusion-bc/notAuth/getMsgAuthCode";
// 修改密码
export const updatePsw = "/fusion-bc/notAuth/changePassword";
// 新增用户
export const userAdd = "/fusion-bc/web/user/addUser";
//修改用户
export const userEdit = "/fusion-bc/web/user/editUser";
// 删除用户
export const deleUser = "/fusion-bc/web/user/delUser";
// 获取用户信息
export const getUserInfo = "/web/user/getUserInfo";

// 转换四维场景的token
export const getSWToken = "/fusion-bc/scene/getFdTokenByNum";

// 登出
export const userLogout = "/fusion-bc/fdLogout";
// 获取用户列表
export const getUserList = "/fusion-bc/web/user/getUserList"; //修改2.0   getUserList ==》》 getPageList
// 修改用户信息
export const updateUser = "/web/user/changDeptAndRole";
// 获取验证码
export const getCode = "/fusion-bc/notAuth/getLoginAuthCode";
// 修改用户状态
export const changeUserStatus = "/fusion-bc/web/user/changeStatus";
export const updateUserPWD = "";
/** ------------------------------------------ */

// 获取角色列表
export const getPageList = "/web/role/getPageList";
// 新增修改角色信息
export const updateRole = "/web/role/save";
// 删除角色
export const removeRole = "/web/role/remove/";
// 查看角色
export const detailRole = "/web/role/detail/";
// 获取所有权限树
export const getRoleTree = "/web/role/getTree";
// 获取当前所有权限树
export const getTreeByRole = "/web/role/getTreeByRole/";

/** ----------------部门接口---------------- */
// 获取公司列表
export const getCompanyList = "/web/department/getAll";
/** ------------------------------------------ */

/** ----------------VR模型接口---------------- */
// 获取场景列表
export const getSceneList = "/fusion-bc/scene/list";
export const delScene = "/fusion-bc/scene/deleteNum";
export const checkGenMeshScene = "/fusion-bc/scene/sceneDetail";
export const genMeshSceneByCloud = "/fusion-bc/scene/buildSceneObj";

// 获取模型场景列表
export const getModelSceneList = `/fusion-bc/model/list`;
export const updateModelScene = `/fusion-bc/model/updateTitle`;
// 取消模型场景上传
export const cancelUModel = `/fusion-bc/model/cancelUpload`;
export const deleteModel = `/fusion-bc/model/delete`;
export const uploadModel = `/fusion-bc/model/uploadObj`;
export const getModelRunProgress = `/fusion-bc/model/uploadObjProgress`;

// 统计
export const sceneStatistics = `/fusion-bc/data/sceneGroupByDept`;
export const caseStatistics = `/fusion-bc/data/projectGroupByDept`;
export const cameraTypeStatistics = `/fusion-bc/data/cameraGroupType`;
export const caseTimeStatistics = `/fusion-bc/data/FireTrend`;
export const casePlaceStatistics = `/fusion-bc/data/FirePlaceTrend`;
export const caseReasonStatistics = `/fusion-bc/data/FireReasonTrend`;

// 通过场景标题模糊搜索场景
export const getSceneByTitle = "/web/scene/getLocalScenes";
// 通过相机获取场景列表
export const getSceneListByCamera = "/web/scene/getSceneList";
// 同步场景
export const asyncScene = "/web/scene/synchronizeScene";
// 删除场景
export const deleteScene = "/web/scene/delete";
/** ------------------------------------------ */

// ---------example案件接口--------
export const exampleList = "/fusion-bc/case/list";
export const setExample = "/fusion-bc/case/addOrUpdate";
export const deleteExample = "/fusion-bc/case/delete";

/**  case接口 */
// 获取case场景列表
export const caseSceneList = `/fusion-bc/case/sceneList`;
export const repCaseScenes = `/fusion-bc/case/addScene`;
export const syncInfo = `/fusion-bc/caseLive/getTakeLookRoom`;

// 获取caseTaggings
export const caseTaggingList = `/fusion-bc/caseTag/allList`;

/** ----------------相机接口----------------  getUserCameraList  ==>> getPageList /web/camera/getListByUser */
// 获取相机列表
export const getCameraList = "/fusion-bc/web/camera/getUserCameraList";
export const getListByUser = "/web/camera/getListByUser";
// 获取相机选项
export const getCameraOptions =
  "/web/camera/getPageList?pageNum=1&pageSize=100000&type=1";
// 获取相机选项(自己)
export const getCameraListByUser =
  "/web/camera/getCameraListByUser?pageNum=1&pageSize=100000";
// 添加相机
export const insertCamera = "/fusion-bc/web/camera/bindNew";
// 添加相机管理人员
export const getUserListSelect = "/fusion-bc/web/user/getUserListSelect";
// 修改相机
export const updateCamera = "/fusion-bc/web/camera/edit";
// 删除相机
export const deleteCamera = "/api/scene/camera/delete";
// 相机绑定设备
export const bindCamera = "/fusion-bc/web/camera/bindNew";
// 相机解除绑定设备
export const unbindCamera = "/fusion-bc/web/camera/unbind";
/** ------------------------------------------ */

/** ----------------组织架构---------------- */

export const getTreeselect = "/fusion-bc/web/department/treeselect";
export const delTreeitem = "/fusion-bc/web/department/del/";
export const editTreeitem = "/fusion-bc/web/department/edit";
export const addTreeitem = "/fusion-bc/web/department/add";
export const checkUserCamera = "/web/department/checkUserCamera/";
/** ----------------火调项目---------------- */
// 获取火调列表
export const getFireList = "/fusion-bc/web/fireProject/queryProject";
// 新增火调
export const insertFire = "/fusion-bc/web/fireProject/addNewProject";
// 火调设置为教学
export const deleteAttach = "/fusion-bc/web/fireProject/setTeach";
// 取消教学
export const setUnTeach = "/fusion-bc/web/fireProject/setUnTeach";

// 修改火调
export const updateFire = "/fusion-bc/web/fireProject/updateProject";
// 火调设置为教学
export const setTeach = "/fusion-bc/web/fireProject/setTeach";
// 火调链接地址设置密码
export const fireSetPsw = "/fusion-bc/web/fireProject/updateRandomCode";
export const getFirePsw = "/fusion-bc/web/fireProject/getRandCode";

// 获取火调详情
export const fireDetail = "/fusion-bc/web/fireProject/getDetailWithoutAuth";
// 获取火调详情
// export const fireDetailByPsw = '/web/fireProject/getDetailWithoutAuth'

// 获取火调详情
export const fireDetailByPsw = "/fusion-bc/web/fireProject/getDetailWithoutAuth"; //wxAnonGetDetail
/** ------------------------------------------ */

// case相关
export const caseInfo = "/fusion-bc/case/getInfo";
export const caseFileTypes = "/fusion-bc/caseFilesType/allList";
export const caseFiles = "/fusion-bc/caseFiles/allList";
export const caseFileInfo = "/fusion-bc/caseFiles/info";
export const saveCaseFileInfo = "/fusion-bc/caseFiles/addOrUpdateImg";
export const insertCaseFile = "/fusion-bc/caseFiles/add";
export const deleteCaseFile = "/fusion-bc/caseFiles/delete";
export const updateCaseFile = "/fusion-bc/caseFiles/updateTitle";

//勘验笔录信息(犯罪)
export const caseInquestInfo = "/fusion-bc/caseInquestCriminal/info";
export const caseInquestOpt = "/fusion-bc/caseInquestCriminal/saveOrUpdate";
export const caseInquestExport = "/fusion-bc/caseInquestCriminal/downDocx";

//提取清单
export const caseExtractDetail = "/fusion-bc/caseExtractDetail/info";
export const caseExtractDetailOpt = "/fusion-bc/caseExtractDetail/saveOrUpdate";
export const caseExtractDetailExport = "/fusion-bc/caseExtractDetail/downDocx";

// 火调链接地址设置密码
export const setCasePsw = "/fusion-bc/web/fireProject/updateRandomCode";
export const getCasePsw = "/fusion-bc/web/fireProject/getRandCode";

/** ----------------留言管理---------------- */
// 获取留言列表
export const getMessageList = "/fusion-bc/web/message/getList";
// 新增火调
export const insertMessage = "/fusion-bc/web/message/addNew";

/** ----------------火调附件---------------- */
// 获取火调列表
export const getAttachList = "/web/attachment/getListByProject";
// export const getAttachListByPsw = '/web/attachment/getListByAnon'

export const getAttachListByPsw = "/web/attachment/getListByAnon"; // wxAnonGetList
// 新增火调
export const insertAttach = "/web/attachment/addNew";

// 删除附件
export const deleteAttachFile = "/web/attachment/deleteById";
// 火调上传word,pdf文件
export const uploadAttachFile = "/web/fireProject/uploadFile";
// 火调上传jpg,png文件
export const uploadAttachImage = "/web/fireProject/uploadImage";
/** ------------------------------------------ */

// 下载校验
export const checkHasDownload = "/fusion-bc/sceneDownLog/checkDownLoad";
// 下载获取进度条
export const getDownloadProcess = "/fusion-bc/sceneDownLog/downloadProcess";
// 下载
export const downloadScene = "/fusion-bc/sceneDownLog/downScene";
export const downloadSceneList = "/fusion-bc/sceneDownLog/list";
// 带看相关接口
export const offLine = "/web/fireProject/offLine"; //{roomId}
export const onLine = "/web/fireProject/onLine"; //{roomId}
export const onLineCheck = "/web/fireProject/onLineCheck";
