export default {
  // 添加模板
  ADD_MODEL: {
    url: '/custom/template/insertTemplate',
    method: 'post'
  },
  // 模板管理列表
  GET_MODEL_LIST: {
    url: '/custom/template/getTemplateByCondition',
    method: 'get'
  },
  // 导入模板
  IMPORT_MODEL: {
    url: '/custom/template/import',
    method: 'post'
  },
  // 修改模板
  EDIT_MODEL: {
    url: '/custom/template/updateTemplate',
    method: 'post'
  },
  // 查看版本
  CHECK_MODEL_VERISON: {
    url: '/custom/template/getTemplateVersion',
    method: 'get'
  },
  // 下载
  DOWNLODE_MODEL: {
    url: '/custom/template/export',
    method: 'get'
  },
  DOWNLODE_ALL_MODEL: {
    url: '/custom/template/exportMultiple',
    method: 'get'
  },
  // 获取部门
  GET_DEPARTMENT: {
    url: '/custom/template/getDept',
    method: 'get'
  },
  // 查询详情
  GET_MODEL_DETAIL: {
    url: '/custom/parameter/getParameterByCondition',
    method: 'get'
  },
  // 添加参数
  ADD_MODEL_PARAM: {
    url: '/custom/parameter/insertParameter',
    method: 'post'
  },
  // 维护参数
  EDIT_MODEL_PARAM: {
    url: '/custom/parameter/maintenanceParameters',
    method: 'post'
  },
  DELETE_MODEL_PARAM: {
    url: '/custom/parameter/deleteParameter',
    method: 'get'
  },
  START_APPROVAL: {
    url: '/custom/approval/startApproval',
    method: 'post'
  },
  GET_APPROVAL_LIST: {
    url: '/custom/approval/getApprovalList',
    method: 'get'
  },
  HANDLE_APPROVAL: {
    url: '/custom/approval/handleApproval',
    method: 'post'
  },
  // 获取审批详情
  // GET_APPROVAL_DETAIL: {
  //   url: '/custom/approval/getApprovalDetail',
  //   method: 'get'
  // },
  // 获取所有人
  GET_ALLUSERS: {
    url: '/custom/approval/getUsersByCondition',
    method: 'get'
  },
  // 获取审批变更
  GET_APPROVAL_CHANGE: {
    url: '/custom/approval/getTemplateChanges',
    method: 'get'
  },
  // 获取审批所有
  GET_PPROVAL_ALL: {
    url: '/custom/approval/getApprovalProcess',
    method: 'get'
  },
  GET_SUB_DEPT: {
    url: '/custom/responsible/getSubDepartmentById',
    method: 'get'
  },
  // 处理模板审批撤回
  RETURN_APPROVAL: {
    url: '/custom/approval/handleReturn',
    method: 'post'
  },
  RETURN_MODEL_APPROVAL: {
    url: '/custom/approval/handleReturnToNode',
    method: 'post'
  },
  RESTART_MODEL_APPROVAL: {
    url: '/custom/approval/directSendingApproval',
    method: 'get'
  },

  GET_CAN_RETURN_NODE: {
    url: '/custom/approval/getReturnNodes',
    method: 'get'
  },
  GET_RETURN_APPROVAL: {
    url: '/custom/approval/getApprovalUsers',
    method: 'get'
  },
  GET_CAN_RESEND_APPROVAL: {
    url: '/custom/approval/getIsDirect?',
    method: 'get'
  },
  EDIT_APPROVAL_PROCESS_TITLE: {
    url: '/custom/approval/updateFlowTitle',
    method: 'get'
  },
  EDIT_APPROVAL_PROCESS: {
    url: '/custom/approval/updateNode',
    method: 'post'
  },
  CONTINUE_APPROVAL_PROCESS: {
    url: '/custom/approval/continueApproval',
    method: 'get'
  },
  GET_DEPT_OF_USER: {
    url: '/custom/responsible/getResponsibleDepartment',
    method: 'get'
  }
}
