123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- import { httpApi } from '../request/httpApi'
- //用户配置保存
- export const userConfigSave = (form, msg = true) => httpApi({
- url: '/api/blade-business/defaultConfig/saveOrUpdate',
- method: 'post',
- data: form,
- }, msg)
- //用户配置详情
- export const userConfigInfo = (form, msg = true) => httpApi({
- url: '/api/blade-business/defaultConfig/detail',
- method: 'get',
- params: form,
- }, msg)
- //获取类型
- export const getDictionary = (form, msg = true) => httpApi({
- url: '/api/blade-system/dict/dictionary',
- method: 'get',
- params: form,
- }, msg)
- //获取用户列表
- export const getContractUserList = (form, msg = true) => httpApi({
- url: '/api/blade-manager/contractInfo/get-contract-userList',
- method: 'get',
- params: form,
- }, msg)
- //获取档案的树
- export const getArchiveTreeLazyTree = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/lazy-tree',
- method: 'get',
- params: form,
- }, msg)
- //初始化档案的树
- export const initTree = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/initTree',
- method: 'post',
- params: form,
- }, msg)
- //删除
- export const remove = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/remove',
- method: 'post',
- params: form,
- }, msg)
- //新增
- export const archiveTreeSave = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/save',
- method: 'post',
- data: form,
- }, msg)
- //编辑
- export const archiveTreeDetail = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/detail',
- method: 'get',
- params: form,
- }, msg)
- //更新
- export const archiveTreeUpdate = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/update',
- method: 'post',
- data: form,
- }, msg)
- //获取归档树同级节点
- export const getSameGradeNode = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/get-same-grade-node',
- method: 'post',
- params: form,
- }, msg)
- //排序
- export const submitArchiveTreeSort = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/submit-tree-sort',
- method: 'post',
- data: form,
- }, msg)
- //同步
- export const syncProjectTree = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/syncProjectTree',
- method: 'post',
- params: form,
- }, msg)
- //文件同步
- export const syncFileTree = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/syncBusinessData',
- method: 'post',
- params: form,
- }, msg)
- //声像文件同步
- export const syncSoundImageData = (form, msg = true) => httpApi({
- url: '/api/blade-manager/archiveTreeContract/syncSoundImageData',
- method: 'post',
- params: form,
- }, msg)
- //所属角色
- export const roletree = (form, msg = true) => httpApi({
- url: '/api/blade-system/role/tree',
- method: 'get',
- params: {
- tenantId: '',
- },
- }, msg)
- //获取租户详情
- export const getTenantDetail = (id) => httpApi({
- url: '/api/blade-system/tenant/detail',
- method: 'get',
- params: {
- tenantId: id,
- },
- }, true)
- //获取更新信息
- export const getVersionJson = () => httpApi({
- url: 'version.json?time=' + new Date().getTime(),
- method: 'get',
- }, false)
- //获取项目下的合同段信息
- export const getContractInfo = (form, msg = true) => httpApi({
- url: '/api/blade-manager/contractInfo/get-contractInfo',
- method: 'get',
- params: form,
- }, msg)
- //短信验证
- export const sendNotice = (form, msg = true) => httpApi({
- url: '/api/blade-business/task/send-notice',
- method: 'post',
- params: form,
- }, msg)
- //短信过期时间
- export const saveSmsTimeout = (form, msg = true) => httpApi({
- url: '/api/blade-business/task/save-sms-timeout',
- method: 'get',
- params: form,
- }, msg)
- //获取脱机离线APP
- export const getLocalArchivesApp = () => httpApi({
- url: 'local-app/index.json?time=' + new Date().getTime(),
- method: 'get',
- }, false)
|