api.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. const API_BASE = 'https://zcgh.rtdc.cn/'
  2. module.exports = {
  3. // 账号密码登录
  4. loginByPassword: API_BASE + 'device-asset-weixin/login/postCheckedLoginInfo',
  5. // 提交修改密码表单
  6. submitPasswordForm: API_BASE + 'device-asset-weixin/login/updatePassword',
  7. // 获取租户详情
  8. getTenantDetail: API_BASE + 'device-asset-weixin/assetTenantUser/getAssetTenantUser/',
  9. // 获取隐患整改清单
  10. getDangerInfo: API_BASE + 'device-asset-weixin/assetRectify/getPdfToImage/',
  11. // 提交签阅表单
  12. submitRectifyForm: API_BASE + '/v2/student/login/changeWxInfo',
  13. // 提交建议反馈表单
  14. submitAdviseForm: API_BASE + 'device-asset-weixin/assetProposal/saveAssetProposal',
  15. // 提交签字表单
  16. submitAutographForm: API_BASE + 'device-asset-weixin/assetTask/saveTaskSign',
  17. // 获取历史清单列表
  18. getHistoryList: API_BASE + 'device-asset-weixin/assetTask/selectAssetTaskList',
  19. // 获取服务器端图片
  20. getServerImg: API_BASE + 'device-asset-weixin/imge/',
  21. // 上传地址
  22. uploadFile: API_BASE + 'device-asset-weixin/common/uploadFile',
  23. // 下载pdf
  24. downloadPDF: API_BASE + 'device-asset-weixin/assetRectify/exportPDF/',
  25. }