news.js 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. import request from '@/utils/request'
  2. //1.资讯中心 start ------------------------------------->
  3. //1.1 获取资讯列表
  4. export function getArticleList(params) {
  5. return request({
  6. url: '/news/getArticleList',
  7. method: 'get',
  8. params
  9. })
  10. }
  11. //1.2 添加资讯
  12. export function addArticle(data) {
  13. return request({
  14. url: '/news/addArticle',
  15. method: 'post',
  16. data
  17. })
  18. }
  19. //1.3 删除资讯
  20. export function delArticle(data) {
  21. return request({
  22. url: '/news/delArticle',
  23. method: 'post',
  24. data
  25. })
  26. }
  27. //1.4 查看资讯
  28. export function getArticleInfo(params) {
  29. return request({
  30. url: '/news/getArticleInfo',
  31. method: 'get',
  32. params
  33. })
  34. }
  35. //1.5 修改资讯内容
  36. export function updateArticle(data) {
  37. return request({
  38. url: '/news/updateArticle',
  39. method: 'post',
  40. data
  41. })
  42. }
  43. //1.5 修改资讯状态
  44. export function upArticleStatus(data) {
  45. return request({
  46. url: '/news/upArticleStatus',
  47. method: 'post',
  48. data
  49. })
  50. }
  51. //20250226 产品列表
  52. export function getGoodList(params) {
  53. return request({
  54. url: '/news/getGoodList',
  55. method: 'post',
  56. params
  57. })
  58. }
  59. export function addGood(data) {
  60. return request({
  61. url: '/news/addGood',
  62. method: 'post',
  63. data
  64. })
  65. }
  66. export function delGood(data) {
  67. return request({
  68. url: '/news/delGood',
  69. method: 'post',
  70. data
  71. })
  72. }
  73. export function getGoodInfo(params) {
  74. return request({
  75. url: '/news/getGoodInfo',
  76. method: 'post',
  77. params
  78. })
  79. }
  80. export function updateGood(data) {
  81. return request({
  82. url: '/news/updateGood',
  83. method: 'post',
  84. data
  85. })
  86. }
  87. export function websiteList(params) {
  88. return request({
  89. url: '/website/getWebsiteList',
  90. method: 'get',
  91. params
  92. })
  93. }
  94. export function getWebsiteNavList(data) {
  95. return request({
  96. url: '/website/getWebsiteNavList',
  97. method: 'post',
  98. data
  99. })
  100. }
  101. //20250226 产品列表
  102. //20250306求职
  103. export function getJobHuntingList(params) {
  104. return request({
  105. url: '/news/getJobHuntingList',
  106. method: 'post',
  107. params
  108. })
  109. }
  110. export function addJobHunting(data) {
  111. return request({
  112. url: '/news/addJobHunting',
  113. method: 'post',
  114. data
  115. })
  116. }
  117. export function delJobHunting(data) {
  118. return request({
  119. url: '/news/delJobHunting',
  120. method: 'post',
  121. data
  122. })
  123. }
  124. export function getJobHuntingInfo(data) {
  125. return request({
  126. url: '/news/getJobHuntingInfo',
  127. method: 'post',
  128. data
  129. })
  130. }
  131. export function updateJobHunting(data) {
  132. return request({
  133. url: '/news/updateJobHunting',
  134. method: 'post',
  135. data
  136. })
  137. }
  138. export function getJobHuntingData(data) {
  139. return request({
  140. url: '/news/getJobHuntingData',
  141. method: 'post',
  142. data
  143. })
  144. }
  145. export function updateGoodStatus(data) {
  146. return request({
  147. url: '/news/updateGoodStatus',
  148. method: 'post',
  149. data
  150. })
  151. }
  152. export function updateJobHuntingStatus(data) {
  153. return request({
  154. url: '/news/updateJobHuntingStatus',
  155. method: 'post',
  156. data
  157. })
  158. }
  159. export function updateNoticeStatus(data) {
  160. return request({
  161. url: '/news/updateNoticeStatus',
  162. method: 'post',
  163. data
  164. })
  165. }
  166. export function updateComplaintStatus(data) {
  167. return request({
  168. url: '/news/updateComplaintStatus',
  169. method: 'post',
  170. data
  171. })
  172. }
  173. //20250306求职
  174. //待审核列表
  175. export function getWebsiteNavPool(data) {
  176. return request({
  177. url: '/website/getWebsiteNavPool',
  178. method: 'post',
  179. data
  180. })
  181. }
  182. export function getWebsiteNavPoolSite(data) {
  183. return request({
  184. url: '/website/getWebsiteNavPoolSite',
  185. method: 'post',
  186. data
  187. })
  188. }
  189. //2.投票列表 start fr ------------------------------------->
  190. //2.1 获取投票列表
  191. export function getSurveyList(params) {
  192. return request({
  193. url: '/news/getSurveyList',
  194. method: 'post',
  195. params
  196. })
  197. }
  198. //2.2 获取投票详情
  199. export function getSurveyInfo(data) {
  200. return request({
  201. url: '/news/getSurveyInfo',
  202. method: 'post',
  203. data
  204. })
  205. }
  206. // 2.投票列表 end fr ------------------------------------->
  207. //20250324 通知,公告,消息
  208. export function getNoticeList(data) {
  209. return request({
  210. url: '/news/getNoticeList',
  211. method: 'post',
  212. data
  213. })
  214. }
  215. export function getNoticeInfo(data) {
  216. return request({
  217. url: '/news/getNoticeInfo',
  218. method: 'post',
  219. data
  220. })
  221. }
  222. export function addNotice(data) {
  223. return request({
  224. url: '/news/addNotice',
  225. method: 'post',
  226. data
  227. })
  228. }
  229. export function updateNotice(data) {
  230. return request({
  231. url: '/news/updateNotice',
  232. method: 'post',
  233. data
  234. })
  235. }
  236. export function deleteNotice(data) {
  237. return request({
  238. url: '/news/deleteNotice',
  239. method: 'post',
  240. data
  241. })
  242. }
  243. export function getMSG(data) {
  244. return request({
  245. url: '/news/getMSG',
  246. method: 'post',
  247. data
  248. })
  249. }
  250. export function getComplaintList(data) {
  251. return request({
  252. url: '/news/getComplaintList',
  253. method: 'post',
  254. data
  255. })
  256. }
  257. export function getComplaintInfo(data) {
  258. return request({
  259. url: '/news/getComplaintInfo',
  260. method: 'post',
  261. data
  262. })
  263. }
  264. export function addComplaint1(data) {
  265. return request({
  266. url: '/news/addComplaint',
  267. method: 'post',
  268. data
  269. })
  270. }
  271. export function updateComplaint(data) {
  272. return request({
  273. url: '/news/updateComplaint',
  274. method: 'post',
  275. data
  276. })
  277. }
  278. export function deleteComplaint(data) {
  279. return request({
  280. url: '/news/deleteComplaint',
  281. method: 'post',
  282. data
  283. })
  284. }
  285. //20250324 通知,公告,消息
  286. //招聘列表 start  fr ------------------------------------->
  287. //1.获取职位列表
  288. export function getJobRecruitingList(params) {
  289. return request({
  290. url: '/news/getJobRecruitingList',
  291. method: 'get',
  292. params
  293. })
  294. }
  295. //2.添加职位
  296. export function addJobRecruiting(data) {
  297. return request({
  298. url: '/news/addJobRecruiting',
  299. method: 'post',
  300. data
  301. })
  302. }
  303. // 3.获取职位详情
  304. export function getJobRecruitingInfo(params) {
  305. return request({
  306. url: '/news/getJobRecruitingInfo',
  307. method: 'get',
  308. params
  309. })
  310. }
  311. //4.修改职位
  312. export function upJobRecruiting(data) {
  313. return request({
  314. url: '/news/upJobRecruiting',
  315. method: 'post',
  316. data
  317. })
  318. }
  319. // 5.删除职位
  320. export function delJobRecruiting(data) {
  321. return request({
  322. url: '/news/delJobRecruiting',
  323. method: 'post',
  324. data
  325. })
  326. }
  327. // 6.获取公司信息
  328. export function getJobCompany(params) {
  329. return request({
  330. url: '/news/getJobCompany',
  331. method: 'get',
  332. params
  333. })
  334. }
  335. // 7.修改公司信息
  336. export function upJobCompany(data) {
  337. return request({
  338. url: '/news/upJobCompany',
  339. method: 'post',
  340. data
  341. })
  342. }
  343. // 2.1 获取行业分类
  344. export function getIndustry(params) {
  345. return request({
  346. url: '/news/getIndustry',
  347. method: 'get',
  348. params
  349. })
  350. }
  351. //2.2 获取职位分类
  352. export function getPositionList(params) {
  353. return request({
  354. url: '/news/getPositionList',
  355. method: 'get',
  356. params
  357. })
  358. }
  359. //2.3 获取地区
  360. export function getJobRecruitingArea(params) {
  361. return request({
  362. url: '/news/getJobRecruitingArea',
  363. method: 'get',
  364. params
  365. })
  366. }
  367. //2.4 获取职位性质
  368. export function getJobNature(params) {
  369. return request({
  370. url: '/news/getJobNature',
  371. method: 'get',
  372. params
  373. })
  374. }
  375. //2.5 获取工作经验
  376. export function getExperience(params) {
  377. return request({
  378. url: '/news/getExperience',
  379. method: 'get',
  380. params
  381. })
  382. }
  383. //2.6 获取学历
  384. export function getEducation(params) {
  385. return request({
  386. url: '/news/getEducation',
  387. method: 'get',
  388. params
  389. })
  390. }
  391. //2.7 获取薪资
  392. export function getSalary(params) {
  393. return request({
  394. url: '/news/getSalary',
  395. method: 'get',
  396. params
  397. })
  398. }
  399. //2.8 获取语种
  400. export function getLanguage(params) {
  401. return request({
  402. url: '/news/getLanguage',
  403. method: 'get',
  404. params
  405. })
  406. }
  407. //2.9 获取语言能力
  408. export function getLevel(params) {
  409. return request({
  410. url: '/news/getLevel',
  411. method: 'get',
  412. params
  413. })
  414. }
  415. //2.10 获取公司规模
  416. export function getCompanySize(params) {
  417. return request({
  418. url: '/news/getCompanySize',
  419. method: 'get',
  420. params
  421. })
  422. }
  423. //2.11 获取公司性质
  424. export function getCompanyNature(params) {
  425. return request({
  426. url: '/news/getCompanyNature',
  427. method: 'get',
  428. params
  429. })
  430. }
  431. // 8.修改职位信息状态(审核通过、拒绝、撤回)
  432. export function checkJobRecruiting(data) {
  433. return request({
  434. url: '/news/checkJobRecruiting',
  435. method: 'post',
  436. data
  437. })
  438. }
  439. // 招聘列表 end  fr ------------------------------------->