api_constants.dart 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  1. //网络请求相关Api常量
  2. class ApiConstants {
  3. //当前服务器环境
  4. static const isServerRelease = true;
  5. //新加坡的域名
  6. static const sgBaseUrl = isServerRelease ? 'https://casualabour.com/' : 'http://singapore-dev.casualabour.com';
  7. //英国的域名
  8. static const ukBaseUrl = isServerRelease ? 'https://uk.casualabour.com' : 'http://uk-dev.casualabour.com';
  9. //越南的域名
  10. static const vnBaseUrl = isServerRelease ? 'https://vietnam.casualabour.com' : 'http://vietnam-dev.casualabour.com';
  11. //马来的域名
  12. static const msBaseUrl = isServerRelease ? 'https://malaysia.casualabour.com' : 'http://malaysia-dev.casualabour.com';
  13. //荷兰的域名
  14. static const nlBaseUrl = isServerRelease ? 'https://netherlands.casualabour.com' : 'http://netherlands-dev.casualabour.com';
  15. //泰国的域名
  16. static const thBaseUrl = isServerRelease ? 'https://thailand.casualabour.com' : 'http://thailand-dev.casualabour.com';
  17. // =========================== 用户相关 ↓=========================================
  18. // 酒店登录
  19. static const apiUserLogin = "/index.php/api/v1/hotel/login";
  20. // 用户登出系统
  21. static const apiUserLogout = "/index.php/api/v1/hotel/logout";
  22. // 用户修改密码
  23. static const apiResetPassword = "/index.php/api/v1/hotel/reset";
  24. //获取用户的详情信息
  25. static const apiHotelInfo = "/index.php/api/v1/hotel/info";
  26. //用户注册
  27. static const apiHotelRegister = "/index.php/api/v1/hotel/register";
  28. //用户注销
  29. static const apiHotelDeactivate = "/index.php/api/v1/hotel/deactivate";
  30. // =========================== 用工请求 ↓=========================================
  31. //筛选条件
  32. static const apiLabourRequestIndex = "/index.php/api/v1/hotel/lab-req/index";
  33. //用工列表
  34. static const apiLabourRequestList = "/index.php/api/v1/hotel/lab-req/table";
  35. //添加的选择条件
  36. static const apiLabourRequestAddOption = "/index.php/api/v1/hotel/lab-req/add-view";
  37. //添加用工请求
  38. static const apiLabourRequestAddSubmit = "/index.php/api/v1/hotel/lab-req/add-submit";
  39. //编辑的选项
  40. static const apiLabourRequestEditDetail = "/index.php/api/v1/hotel/lab-req/edit-view";
  41. //编辑的发布
  42. static const apiLabourRequestEditSubmit = "/index.php/api/v1/hotel/lab-req/edit-submit";
  43. //用工请求的审核状态工作流
  44. static const apiLabourRequestStateWorkFlow = "/index.php/api/v1/hotel/lab-req/status-view";
  45. //撤回用工请求
  46. static const apiLabourRequestRecall = "/index.php/api/v1/hotel/lab-req/recall";
  47. // =========================== 工作列表 ↓=========================================
  48. // 工作列表首页选项
  49. static const apiJobListIndex = "/index.php/api/v1/hotel/job/index";
  50. // 工作列表首页列表
  51. static const apiJobListTable = "/index.php/api/v1/hotel/job/table";
  52. // 工作列表首页详情
  53. static const apiJobListDetail = "/index.php/api/v1/hotel/job/detail";
  54. // 工作已申请员工列表-工作的信息
  55. static const apiJobListAppliedJobInfo = "/index.php/api/v1/hotel/applied/index";
  56. // 工作已申请员工列表-员工列表
  57. static const apiJobListAppliedStaffList = "/index.php/api/v1/hotel/applied/table";
  58. // 工作已申请员工列表-添加员工查询全部员工
  59. static const apiJobListAppliedStaffSearch = "/index.php/api/v1/hotel/applied/staff-view";
  60. // 工作已申请员工列表-添加员工提交
  61. static const apiJobListAppliedStaffAdd = "/index.php/api/v1/hotel/applied/staff-submit";
  62. // 工作已申请员工列表-批量修改员工状态
  63. static const apiJobListAppliedStaffBatchEdit = "/index.php/api/v1/hotel/applied/batch-edit";
  64. // 工作已申请员工列表-编辑员工信息的详情数据
  65. static const apiJobListAppliedStaffEditIndex = "/index.php/api/v1/hotel/applied/edit-view";
  66. // 工作已申请员工列表-编辑员工信息提交
  67. static const apiJobListAppliedStaffEditSubmit = "/index.php/api/v1/hotel/applied/edit-submit";
  68. // 工作已申请员工列表-评价员工的详情数据
  69. static const apiJobListAppliedStaffReviewIndex = "/index.php/api/v1/hotel/applied/remark-view";
  70. // 工作已申请员工列表-评价员工的提交
  71. static const apiJobListAppliedStaffReviewSubmit = "/index.php/api/v1/hotel/applied/remark-submit";
  72. // 工作已申请员工列表-评价员工的提交
  73. static const apiJobListAppliedStaffStateWorkflow = "/index.php/api/v1/hotel/applied/status-view";
  74. // 工作已申请员工列表- 提交指定员工们到审核流程
  75. static const apiJobListAppliedApprove = "/index.php/api/v1/hotel/applied/approve";
  76. //员工详情
  77. static const apiJobListStaffDetail = "/index.php/api/v1/hotel/member/detail";
  78. //员工做工历史记录
  79. static const apiJobListStaffLabourHistory = "/index.php/api/v1/hotel/member/history";
  80. //员工做工评价记录
  81. static const apiJobListStaffRemarkHistory = "/index.php/api/v1/hotel/member/remarks";
  82. // =========================== 签到签出 ↓=========================================
  83. // 用户签到签出列表
  84. static const apiSignApplied = "/index.php/api/v1/hotel/sign/table";
  85. // 用户签到签出
  86. static const apiSignInOut = "/index.php/api/v1/hotel/sign/clock";
  87. // =========================== 新加坡用工 ↓=========================================
  88. // 工作标题列表
  89. static const apiJobTitleListSG = "/index.php/api/v1/hotel/title/table";
  90. // 添加工作标题的选项数据
  91. static const apiJobTitleAddIndexSG = "/index.php/api/v1/hotel/title/add-view";
  92. // 添加工作标题提交
  93. static const apiJobTitleAddSubmitSG = "/index.php/api/v1/hotel/title/add-submit";
  94. // 编辑工作标题的选项数据
  95. static const apiJobTitleEditIndexSG = "/index.php/api/v1/hotel/title/edit-view";
  96. // 编辑工作标题提交
  97. static const apiJobTitleEditSubmitSG = "/index.php/api/v1/hotel/title/edit-submit";
  98. // 删除工作标题
  99. static const apiJobTitleDeleteSG = "/index.php/api/v1/hotel/title/delete";
  100. // 工作模板列表
  101. static const apiJobTemplateListSG = "/index.php/api/v1/hotel/temp/table";
  102. // 添加工作模板选项数据
  103. static const apiJobTemplateAddIndexSG = "/index.php/api/v1/hotel/temp/add-view";
  104. // 添加工作模板选提交
  105. static const apiJobTemplateAddSubmitSG = "/index.php/api/v1/hotel/temp/add-submit";
  106. // 编辑工作模板选项数据
  107. static const apiJobTemplateEditIndexSG = "/index.php/api/v1/hotel/temp/edit-view";
  108. // 编辑工作模板提交
  109. static const apiJobTemplateEditSubmitSG = "/index.php/api/v1/hotel/temp/edit-submit";
  110. // 删除工作模板
  111. static const apiJobTemplateDeleteSG = "/index.php/api/v1/hotel/temp/delete";
  112. //用工请求的列表 Option
  113. static const apiLabourRequestOptionSG = "/index.php/api/v2/hotel/lab-req/index";
  114. //用工请求的列表 Table
  115. static const apiLabourRequestTableSG = "/index.php/api/v2/hotel/lab-req/table";
  116. //用工请求的添加页面选项数据
  117. static const apiLabourRequestAddOptionSG = "/index.php/api/v2/hotel/lab-req/add-view";
  118. //用工请求的添加提交
  119. static const apiLabourRequestAddSubmitSG = "/index.php/api/v2/hotel/lab-req/add-submit";
  120. //用工请求的编辑页面详情数据
  121. static const apiLabourRequestEditDetailSG = "/index.php/api/v2/hotel/lab-req/edit-view";
  122. //用工请求的编辑页面提交
  123. static const apiLabourRequestEditSubmitSG = "/index.php/api/v2/hotel/lab-req/edit-submit";
  124. //用工请求的撤回
  125. static const apiLabourRequestRecallSG = "/index.php/api/v2/hotel/lab-req/recall";
  126. //新加坡的用工请求删除
  127. static const apiLabourRequestDelete = "/index.php/api/v2/hotel/lab-req/destroy";
  128. //新加坡工作详情的审核流列表
  129. static const apiLabourRequestWorkflowSG = "/index.php/api/v2/hotel/lab-req/status-view";
  130. //用工请求的查询选项(Job List)
  131. static const apiJobListIndexSG = "/index.php/api/v1/hotel/job/index";
  132. //用工请求的查询列表(Job List)
  133. static const apiJobListTableSG = "/index.php/api/v1/hotel/job/table";
  134. //用工请求的编辑详情(Job List)
  135. static const apiJobListEditIndexSG = "/index.php/api/v1/hotel/job/edit-view";
  136. //用工请求的编辑提交(Job List)
  137. static const apiJobListEditSubmitSG = "/index.php/api/v1/hotel/job/edit-submit";
  138. //用工请求的取消(Job List)
  139. static const apiJobListCancelSG = "/index.php/api/v1/hotel/job/cancel";
  140. //用工请求的删除(Job List)
  141. static const apiJobListDeleteSG = "/index.php/api/v1/hotel/job/delete";
  142. //用工请求的考勤确认(Job List)现在是发送到 Attendance Review 列表中
  143. static const apiJobAppliedApproveSG = "/index.php/api/v2/hotel/applied/batch-approve";
  144. // =========================== 新加坡工作相关 ↓=========================================
  145. //新加坡工作已申请的选项
  146. static const apiJobAppliedIndexSG = "/index.php/api/v1/hotel/applied/index";
  147. //新加坡工作已申请的列表
  148. static const apiJobAppliedListSG = "/index.php/api/v1/hotel/applied/table";
  149. //新加坡工作已申请的列表-添加员工搜索
  150. static const apiJobAppliedSearchStaffSG = "/index.php/api/v1/hotel/applied/staff-view";
  151. //新加坡工作已申请的列表-添加员工提交
  152. static const apiJobAppliedAddStaffSubmitSG = "/index.php/api/v1/hotel/applied/staff-submit";
  153. //新加坡工作已申请的列表-批量修改
  154. static const apiJobAppliedBatchEditSG = "/index.php/api/v1/hotel/applied/batch-edit";
  155. //新加坡工作已申请的列表-单独编辑的详情
  156. static const apiJobAppliedEditViewSG = "/index.php/api/v1/hotel/applied/edit-view";
  157. //新加坡工作已申请的列表-提交编辑
  158. static const apiJobAppliedEditSubmitSG = "/index.php/api/v1/hotel/applied/edit-submit";
  159. //新加坡工作已申请的列表-修改状态
  160. static const apiJobAppliedChangeStatusSG = "/index.php/api/v1/hotel/applied/edit-status";
  161. //新加坡工作已申请的列表-评价展示
  162. static const apiJobAppliedRemarkViewSG = "/index.php/api/v1/hotel/applied/remark-view";
  163. //新加坡工作已申请的列表-提交评价
  164. static const apiJobAppliedRemarkSubmitSG = "/index.php/api/v1/hotel/applied/remark-submit";
  165. //员工详情
  166. static const apiJobListStaffDetailSG = "/index.php/api/v1/hotel/member/detail";
  167. //员工做工历史记录
  168. static const apiJobListStaffLabourHistorySG = "/index.php/api/v1/hotel/member/history";
  169. //员工做工评价顶部数据
  170. static const apiJobListStaffReviewHeadSG = "/index.php/api/v1/hotel/member/review";
  171. //员工做工评价列表
  172. static const apiJobListStaffReViewHistorySG = "/index.php/api/v1/hotel/member/review/table";
  173. //员工修改记录-选项
  174. static const apiReviseIndexSG = "/index.php/api/v1/hotel/revise/index";
  175. //员工修改记录-列表
  176. static const apiReviseListSG = "/index.php/api/v1/hotel/revise/table";
  177. //给指定的申请记录添加 Revise 数据(详情)
  178. static const apiAddReviseViewSG = "/index.php/api/v1/hotel/revise/add-view";
  179. //给指定的申请记录添加 Revise 数据(提交)
  180. static const apiAddReviseSubmitSG = "/index.php/api/v1/hotel/revise/add-submit";
  181. //给指定的申请记录编辑 Revise 数据(详情)
  182. static const apiEditReviseViewSG = "/index.php/api/v1/hotel/revise/edit-view";
  183. //给指定的申请记录编辑 Revise 数据(提交)
  184. static const apiEditReviseSubmitSG = "/index.php/api/v1/hotel/revise/edit-submit";
  185. //撤回指定的 Revise 数据
  186. static const apiRecallReviseSG = "/index.php/api/v1/hotel/revise/recall";
  187. //删除指定的 Revise 数据
  188. static const apiDeleteReviseSG = "/index.php/api/v1/hotel/revise/delete";
  189. //Revise 的操作日志
  190. static const apiReviseLogListSG = "/index.php/api/v1/hotel/revise/logs";
  191. // =========================== 英国特有的一些接口 ↓=========================================
  192. //门卫的考勤选项
  193. static const apiSecurityAttendanceOptionUK = "/index.php/api/v1/hotel/security/index";
  194. //门卫的考勤列表
  195. static const apiSecurityAttendanceListUK = "/index.php/api/v1/hotel/security/table";
  196. //门卫的考勤编辑
  197. static const apiSecurityAttendanceEditUK = "/index.php/api/v1/hotel/applied/security-submit";
  198. //电子考勤选项
  199. static const apiEAttendanceOptionUK = "/index.php/api/v1/hotel/eattendance/index";
  200. //电子考勤列表
  201. static const apiEAttendanceListUK = "/index.php/api/v1/hotel/eattendance/table";
  202. //UK的报表筛选条件
  203. static const apiReportOptionUK = "/index.php/api/v1/hotel/report/index";
  204. //UK的用工报表
  205. static const apiReportLabourUK = "/index.php/api/v1/hotel/report/labour-request";
  206. //UK的电子考勤报表
  207. static const apiReportAttendanceUK = "/index.php/api/v1/hotel/report/attendance";
  208. //UK的财务报表
  209. static const apiReportFianceUK = "/index.php/api/v1/hotel/report/finale";
  210. //UK的工作时长报表
  211. static const apiReportWorkingHoursUK = "/index.php/api/v1/hotel/report/working-hours";
  212. // =========================== 报表与其他 ↓=========================================
  213. // 设备列表
  214. static const apiDeviceList = "/index.php/api/v1/hotel/device/table";
  215. //财务报表
  216. static const apiReportFiance = "/index.php/api/v1/hotel/report/finance";
  217. //用工报表
  218. static const apiReportLabour = "/index.php/api/v1/hotel/report/casual";
  219. //员工申请报表
  220. static const apiReportStaffRequest = "/index.php/api/v1/hotel/report/staff";
  221. // =========================== 越南的审核 ↓=========================================
  222. // 用工审核选项
  223. static const apiLabourReviewIndex = "/index.php/api/v1/hotel/lab-review/index";
  224. // 用工审核列表
  225. static const apiLabourReviewTable = "/index.php/api/v1/hotel/lab-review/table";
  226. // 用工审核的编辑详情
  227. static const apiLabourReviewDetail = "/index.php/api/v1/hotel/lab-review/edit-view";
  228. // 用工审核的编辑提交
  229. static const apiLabourReviewEdit = "/index.php/api/v1/hotel/lab-review/edit-submit";
  230. // 用工审核的审核流程列表
  231. static const apiLabourReviewStatusView = "/index.php/api/v1/hotel/lab-review/status-view";
  232. // 用工审核的批量同意
  233. static const apiLabourReviewApprove = "/index.php/api/v1/hotel/lab-review/approve";
  234. // 用工审核的批量拒绝
  235. static const apiLabourReviewReject = "/index.php/api/v1/hotel/lab-review/reject";
  236. // 考勤的审核列表
  237. static const apiAttendanceReviewTable = "/index.php/api/v1/hotel/att-review/table";
  238. // 考勤的批量同意
  239. static const apiAttendanceReviewApprove = "/index.php/api/v1/hotel/att-review/approve";
  240. // 考勤的批量拒绝
  241. static const apiAttendanceReviewReject = "/index.php/api/v1/hotel/att-review/reject";
  242. // =================================== 新加坡 V2 ↓ ===================================
  243. //登录
  244. static const apiAuthLoginV2 = "/index.php/api/v2/hotel/login";
  245. //首页信息
  246. static const apiHotelInfoV2 = "/index.php/api/v2/hotel/info";
  247. //中介列表Option
  248. static const apiAgencyOption = "/index.php/api/v2/hotel/agency/index";
  249. //中介列表
  250. static const apiAgencyTable = "/index.php/api/v2/hotel/agency/table";
  251. //中介的删除
  252. static const apiAgencyDelete = "/index.php/api/v2/hotel/agency/destroy";
  253. //添加中介
  254. static const apiAgencyAdd = "/index.php/api/v2/hotel/agency/add-submit";
  255. //中介详情
  256. static const apiAgencyDetail = "/index.php/api/v2/hotel/agency/edit-view";
  257. //编辑中介
  258. static const apiAgencyEdit = "/index.php/api/v2/hotel/agency/edit-submit";
  259. //中介职位的列表
  260. static const apiAgencyPositionTable = "/index.php/api/v2/hotel/position/table";
  261. //中介职位的添加
  262. static const apiAgencyPositionAdd = "/index.php/api/v2/hotel/position/add-submit";
  263. //中介职位的编辑
  264. static const apiAgencyPositionEdit = "/index.php/api/v2/hotel/position/edit-submit";
  265. //中介职位的删除
  266. static const apiAgencyPositionDelete = "/index.php/api/v2/hotel/position/destroy";
  267. //中介合同列表Option
  268. static const apiContractOption = "/index.php/api/v2/hotel/contract/index";
  269. //中介合同列表
  270. static const apiContractTable = "/index.php/api/v2/hotel/contract/table";
  271. //中介合同添加Option
  272. static const apiContractAddOption = "/index.php/api/v2/hotel/contract/add-view";
  273. //中介合同添加的提交
  274. static const apiContractAddSubmit = "/index.php/api/v2/hotel/contract/add-submit";
  275. //中介合同的详情
  276. static const apiContractDetail = "/index.php/api/v2/hotel/contract/edit-view";
  277. //中介合同的编辑提交
  278. static const apiContractEditSubmit = "/index.php/api/v2/hotel/contract/edit-submit";
  279. //中介合同的renew操作
  280. static const apiContractRenew = "/index.php/api/v2/hotel/contract/renew";
  281. //合同关联职位 Option
  282. static const apiContractPositionOption = "/index.php/api/v2/hotel/contract-position/index";
  283. //合同关联职位 Table
  284. static const apiContractPositionTable = "/index.php/api/v2/hotel/contract-position/table";
  285. //合同关联职位 添加
  286. static const apiContractPositionAddOption = "/index.php/api/v2/hotel/contract-position/add-view";
  287. //合同关联职位 添加提交
  288. static const apiContractPositionAddSubmit = "/index.php/api/v2/hotel/contract-position/add-submit";
  289. //合同关联职位 详情
  290. static const apiContractPositionRateDetail = "/index.php/api/v2/hotel/contract-rate/setting-view";
  291. //合同关联职位 编辑提交
  292. static const apiContractPositionRateEditSubmit = "/index.php/api/v2/hotel/contract-rate/setting-submit";
  293. //中介合同时薪列表
  294. static const apiContractRateTable = "/index.php/api/v2/hotel/contract-rate/table";
  295. //中介合同时薪 添加指定日期Option
  296. static const apiContractRateSpecificOption = "/index.php/api/v2/hotel/contract-rate/special-view";
  297. //中介合同时薪 添加指定日期 Submit
  298. static const apiContractRateSpecificAddSubmit = "/index.php/api/v2/hotel/contract-rate/special-submit";
  299. //中介合同时薪 修改金额
  300. static const apiContractRateAmountEdit = "/index.php/api/v2/hotel/contract-rate/edit-amount";
  301. //中介合同时薪 记录删除
  302. static const apiContractRateDelete = "/index.php/api/v2/hotel/contract-rate/destroy";
  303. //新加坡 V2 Labour Request Review 选项
  304. static const apiLabourRequestReviewOptionSG = "/index.php/api/v2/hotel/lab-review/index";
  305. //新加坡 V2 Labour Request Review 列表
  306. static const apiLabourRequestReviewTableSG = "/index.php/api/v2/hotel/lab-review/table";
  307. //新加坡 V2 Labour Request Review 批量批准
  308. static const apiLabourRequestReviewApproveSG = "/index.php/api/v2/hotel/lab-review/batch-approve";
  309. //新加坡 V2 Labour Request Review 批量拒绝
  310. static const apiLabourRequestReviewRejectSG = "/index.php/api/v2/hotel/lab-review/batch-reject";
  311. //新加坡 V2 Labour Request Review 编辑提交
  312. static const apiLabourRequestReviewEditSubmitSG = "/index.php/api/v2/hotel/lab-review/edit-submit";
  313. //新加坡 V2 Job Attendance Review 选项
  314. static const apiAttendanceReviewOptionSG = "/index.php/api/v2/hotel/att-review/index";
  315. //新加坡 V2 Job Attendance Review 列表
  316. static const apiAttendanceReviewTableSG = "/index.php/api/v2/hotel/att-review/table";
  317. //新加坡 V2 Attendance Review 批量批准
  318. static const apiAttendanceReviewApproveSG = "/index.php/api/v2/hotel/att-review/batch-approve";
  319. //新加坡 V2 Attendance Review 批量拒绝
  320. static const apiAttendanceReviewRejectSG = "/index.php/api/v2/hotel/att-review/batch-reject";
  321. //新加坡 V2 Attendance Review 状态流
  322. static const apiAttendanceReviewWorkflowSG = "/index.php/api/v2/hotel/att-review/status-view";
  323. //新加坡 V2 Dashboard 的列表
  324. static const apiDashboardTableSG = "/index.php/api/v2/hotel/home";
  325. // =================================== 马来接口 ↓ ===================================
  326. //登录
  327. static const apiLoginMS = "/index.php/api/v1/er/login";
  328. //账户信息
  329. static const apiAccountInfoMS = "/index.php/api/v1/er/auth/info";
  330. //账户列表
  331. static const apiAccountListMS = "/index.php/api/v1/er/auth/account";
  332. //切换账号
  333. static const apiSwitchAccountMS = "/index.php/api/v1/er/auth/switch";
  334. //签到员工列表
  335. static const apiSignListMS = "/index.php/api/v1/er/sign/table";
  336. //签到保存
  337. static const apiSignSaveMS = "/index.php/api/v1/er/sign/save";
  338. // 用户登出系统
  339. static const apiUserLogoutMS = "/index.php/api/v1/er/logout";
  340. // =================================== 泰国接口 ↓ ===================================
  341. //登录
  342. static const apiLoginTH = "/index.php/api/er/login";
  343. //账户信息
  344. static const apiAccountInfoTH = "/index.php/api/er/auth/info";
  345. //账户列表
  346. static const apiAccountListTH = "/index.php/api/er/auth/account";
  347. //切换账号
  348. static const apiSwitchAccountTH = "/index.php/api/er/auth/switch";
  349. // ER 的用工请求列表
  350. static const apiERLabourRequestTH = "/index.php/api/er/lab-req/index";
  351. // ER 的用工请求添加选项
  352. static const apiERLabourRequestAddOptionTH = "/index.php/api/er/lab-req/view-add";
  353. // ER 的用工请求新增提交
  354. static const apiERLabourRequestAddSubmitTH = "/index.php/api/er/lab-req/add-submit";
  355. //ER 工作列表选项
  356. static const apiERJobListOptionTH = "/index.php/api/er/job/index";
  357. //ER 工作列表
  358. static const apiERJobListTableTH = "/index.php/api/er/job/table";
  359. //ER 工作列表删除
  360. static const apiERJobListDeleteTH = "/index.php/api/er/job/action";
  361. //ER 工作列表详情
  362. static const apiERJobListDetailTH = "/index.php/api/er/job/view-edit";
  363. // ER 的用工请求编辑提交
  364. static const apiERLabourRequestEditSubmitTH = "/index.php/api/er/job/edit-submit";
  365. //ER 工作 Applied Index
  366. static const apiERAppliedOptionTH = "/index.php/api/er/applied/index";
  367. //ER 工作 Applied List
  368. static const apiERAppliedListTH = "/index.php/api/er/applied/table";
  369. //ER 工作 Applied 批量批准
  370. static const apiERAppliedApproveTH = "/index.php/api/er/applied/batch-approve";
  371. //ER 工作 Applied 批量修改
  372. static const apiERAppliedEditTH = "/index.php/api/er/applied/batch-modify";
  373. //ER 工作 Applied 编辑个人考勤
  374. static const apiERAppliedEditAttTH = "/index.php/api/er/applied/view-edit";
  375. //ER 工作 Applied 编辑个人考勤的提交
  376. static const apiERAppliedEditAttSubmitTH = "/index.php/api/er/applied/edit-submit";
  377. //ER 工作 Applied 添加员工列表
  378. static const apiERAppliedAddEmployeeTH = "/index.php/api/er/applied/staff-table";
  379. //ER 工作 Applied 添加员工提交
  380. static const apiERAppliedAddEmployeeSubmitTH = "/index.php/api/er/applied/staff-submit";
  381. //ER 员工信息
  382. static const apiEREmployeeInfoTH = "/index.php/api/er/member/detail";
  383. //ER 员工工作历史
  384. static const apiEREmployeeHistoryTH = "/index.php/api/er/member/history";
  385. //ER 员工评价列表
  386. static const apiEREmployeeEvaluationTH = "/index.php/api/er/member/remarks";
  387. // 工作已申请员工列表-评价员工的详情数据
  388. static const apiERAppliedStaffReviewIndexTH = "/index.php/api/er/applied/view-remark";
  389. // 工作已申请员工列表-评价员工的提交
  390. static const apiERAppliedStaffReviewSubmitTH = "/index.php/api/er/applied/remark-submit";
  391. // 工作已申请员工列表-评价员工的提交
  392. static const apiERAppliedStaffStateWorkflowTH = "/index.php/api/er/applied/view-status";
  393. // OA 用工请求的选项
  394. static const apiOALabourRequestOptionTH = "/index.php/api/oa/lab-req/index";
  395. // OA 用工请求的列表
  396. static const apiOALabourRequestTableTH = "/index.php/api/oa/lab-req/table";
  397. // OA 用工请求的撤回
  398. static const apiOALabourRequestRecallTH = "/index.php/api/oa/lab-req/recall";
  399. // OA 用工请求的删除
  400. static const apiOALabourRequestDeleteTH = "/index.php/api/oa/lab-req/destroy";
  401. // OA 用工请求的状态流
  402. static const apiOALabourRequestWorkflowTH = "/index.php/api/oa/lab-req/view-status";
  403. // OA 用工请求添加选项
  404. static const apiOALabourRequestAddOptionTH = "/index.php/api/oa/lab-req/view-add";
  405. // OA 用工请求详情
  406. static const apiOALabourRequestDetailTH = "/index.php/api/oa/lab-req/view-edit";
  407. // OA 用工请求添加提交
  408. static const apiOALabourRequestAddSubmitTH = "/index.php/api/oa/lab-req/add-submit";
  409. // OA 用工请求编辑提交
  410. static const apiOALabourRequestEditSubmitTH = "/index.php/api/oa/lab-req/edit-submit";
  411. // TH 泰国上传文件
  412. static const apiUploadFileTH = "/index.php/api/er/upload/file";
  413. //OA 附件列表
  414. static const apiOAAttachmentListTH = "/index.php/api/oa/lab-req/att-table";
  415. //OA 附件新增
  416. static const apiOAAttachmentAddTH = "/index.php/api/oa/lab-req/att-submit";
  417. //OA 附件删除
  418. static const apiOAAttachmentDeleteTH = "/index.php/api/oa/lab-req/att-delete";
  419. //OA 用工审核列表选项
  420. static const apiOALabourReviewOptionTH = "/index.php/api/oa/lab-req/review/index";
  421. //OA 用工审核列表
  422. static const apiOALabourReviewTableTH = "/index.php/api/oa/lab-req/review/table";
  423. //OA 用工审核编辑提交
  424. static const apiOALabourReviewEditSubmitTH = "/index.php/api/oa/lab-req/review/edit-submit";
  425. //OA 用工审核的批量操作
  426. static const apiOALabourReviewBatchTH = "/index.php/api/oa/lab-req/review/batch-audit";
  427. //OA 用工审核工作流
  428. static const apiOALabourReviewWorkflowTH = "/index.php/api/oa/lab-req/review/view-status";
  429. }