123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- import {namespace} from '@/env'
- export enum ResCode {
- TOKEN_INVALID = 4008,
- SUCCESS = 0
- }
- export const ResCodeDesc: { [key in ResCode]: string } = {
- [ResCode.TOKEN_INVALID]: 'token已失效',
- [ResCode.SUCCESS]: '请求成功'
- }
- export const UPLOAD_HEADS = {
- 'Content-Type': 'multipart/form-data'
- }
- export const USER_INFO = `${namespace}/web/user/getUserInfo`;
- export const CASE_INFO = `${namespace}/case/getInfo`
- export const CASE_FIRE_INFO = `${namespace}/caseInquestInfo/info`
- // 校验密码
- export const AUTH_PWD = `${namespace}/web/fireProject/getDetailWithoutAuth`
- // 融合模型列表
- export const FUSE_MODEL_LIST = `${namespace}/caseFusion/list`
- export const FUSE_INSERT_MODEL = `${namespace}/caseFusion/add`
- export const FUSE_UPDATE_MODEL = `${namespace}/caseFusion/update`
- export const FUSE_DELETE_MODEL = `${namespace}/caseFusion/delete`
- // 场景列表
- export const SCENE_LIST_ALL = `${namespace}/api/scene/list`
- export const MODEL_LIST = `${namespace}/case/sceneList`
- export const MODEL_SIGN = `${namespace}/model/getInfo`
- export const SYNC_INFO = `${namespace}/caseLive/getTakeLookRoom`;
- // 标签列表
- export const TAGGING_LIST = `${namespace}/caseTag/allList`
- export const INSERT_TAGGING = `${namespace}/caseTag/add`
- export const UPDATE_TAGGING = `${namespace}/caseTag/update`
- export const DELETE_TAGGING = `${namespace}/caseTag/delete`
- // 路线列表
- export const PATH_LIST = `${namespace}/casePath/info`
- export const INSERT_PATH = `${namespace}/casePath/saveOrUpdate`
- export const UPDATE_PATH = `${namespace}/casePath/saveOrUpdate`
- export const DELETE_PATH = `${namespace}/casePath/del`
- // 标签放置列表
- export const TAGGING_POINT_LIST = `${namespace}/caseTagPoint/allList`
- export const INSERT_TAGGING_POINT = `${namespace}/caseTagPoint/place`
- export const UPDATE_TAGGING_POINT = `${namespace}/caseTagPoint/update`
- export const DELETE_TAGGING_POINT = `${namespace}/caseTagPoint/delete`
- // 标签样式类型列表
- export const TAGGING_STYLE_LIST = `${namespace}/edit/hotIcon/list`
- export const INSERT_TAGGING_STYLE = `${namespace}/edit/hotIcon/add`
- export const DELETE_TAGGING_STYLE = `${namespace}/edit/hotIcon/delete`
- // 测量线
- export const MESASURE_LIST = `${namespace}/fusionMeter/allList`
- export const INSERT_MESASURE = `${namespace}/fusionMeter/add`
- export const UPDATE_MESASURE = `${namespace}/fusionMeter/updateMeter`
- export const DELETE_MESASURE = `${namespace}/fusionMeter/delete`
- // 导览
- export const GUIDE_LIST = `${namespace}/fusionGuide/allList`
- export const INSERT_GUIDE = `${namespace}/fusionGuide/add`
- export const UPDATE_GUIDE = `${namespace}/fusionGuide/update`
- export const DELETE_GUIDE = `${namespace}/fusionGuide/delete`
- // 导览路线
- export const GUIDE_PATH_LIST = `${namespace}/fusionGuidePath/allList`
- export const INSERT_GUIDE_PATH = `${namespace}/fusionGuidePath/add`
- export const UPDATE_GUIDE_PATH = `${namespace}/fusionGuidePath/update`
- export const DELETE_GUIDE_PATH = `${namespace}/fusionGuidePath/delete`
- // 屏幕录制
- export const RECORD_LIST = `${namespace}/caseVideoFolder/allList`
- export const RECORD_STATUS = `${namespace}/caseVideo/uploadAddVideoProgress`
- export const INSERT_RECORD = `${namespace}/caseVideo/uploadAddVideo`
- export const MERGE_RECORD = `${namespace}/caseVideo/uploadAddVideo`
- export const UPDATE_RECORD = `${namespace}/caseVideoFolder/updateNameOrSort`
- export const DELETE_RECORD = `${namespace}/caseVideoFolder/delete`
- // 录制片段
- export const RECORD_FRAGMENT_LIST = `${namespace}/caseVideo/allList`
- export const DELETE_RECORD_FRAGMENT = `${namespace}/caseVideo/delete`
- // 视图提取
- export const VIEW_LIST = `${namespace}/caseView/allList`
- export const INSERT_VIEW = `${namespace}/caseView/add`
- export const UPDATE_VIEW = `${namespace}/caseView/updateNameOrSort`
- export const DELETE_VIEW = `${namespace}/caseView/delete`
- export const GET_SETTING = `${namespace}/caseSettings/info`
- export const UPDATE_SETTING = `${namespace}/caseSettings/saveOrUpdate`
- // 卷宗类型
- export const FOLDER_TYPE_LIST = `${namespace}/caseFilesType/allList`
- // 卷宗
- // export const FLODER_LIST = `${namespace}/caseFiles/allList`
- export const FLODER_LIST = `${namespace}/caseFiles/allList`
- // 文件上传
- export const UPLOAD_FILE = `${namespace}/upload/file`
- // 素材库分页
- export const MATERIAL_PAG = `/service/manage/dictFile/pageList/media-library`
- export const ADD_MATERIAL = `/service/manage/common/upload/fileNew`
- export const DEL_MATERIAL = `/service/manage/dictFile/del/media-library`
- export const MATERIAL_GROUP_LIST = `/service/manage/dict/getByKey/media-library`
|