news.js 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  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. //1.7 手动推荐资讯
  52. export function getArticleCommend(params) {
  53. return request({
  54. url: '/news/getArticleCommend',
  55. method: 'get',
  56. params
  57. })
  58. }
  59. //20250226 产品列表
  60. export function getGoodList(params) {
  61. return request({
  62. url: '/news/getGoodList',
  63. method: 'post',
  64. params
  65. })
  66. }
  67. export function addGood(data) {
  68. return request({
  69. url: '/news/addGood',
  70. method: 'post',
  71. data
  72. })
  73. }
  74. export function delGood(data) {
  75. return request({
  76. url: '/news/delGood',
  77. method: 'post',
  78. data
  79. })
  80. }
  81. export function getGoodInfo(params) {
  82. return request({
  83. url: '/news/getGoodInfo',
  84. method: 'post',
  85. params
  86. })
  87. }
  88. export function updateGood(data) {
  89. return request({
  90. url: '/news/updateGood',
  91. method: 'post',
  92. data
  93. })
  94. }
  95. export function websiteList(params) {
  96. return request({
  97. url: '/website/getWebsiteList',
  98. method: 'get',
  99. params
  100. })
  101. }
  102. export function getWebsiteNavList(data) {
  103. return request({
  104. url: '/website/getWebsiteNavList',
  105. method: 'post',
  106. data
  107. })
  108. }
  109. //20250226 产品列表
  110. //20250306求职
  111. export function getJobHuntingList(params) {
  112. return request({
  113. url: '/news/getJobHuntingList',
  114. method: 'post',
  115. params
  116. })
  117. }
  118. export function addJobHunting(data) {
  119. return request({
  120. url: '/news/addJobHunting',
  121. method: 'post',
  122. data
  123. })
  124. }
  125. export function delJobHunting(data) {
  126. return request({
  127. url: '/news/delJobHunting',
  128. method: 'post',
  129. data
  130. })
  131. }
  132. export function getJobHuntingInfo(data) {
  133. return request({
  134. url: '/news/getJobHuntingInfo',
  135. method: 'post',
  136. data
  137. })
  138. }
  139. export function updateJobHunting(data) {
  140. return request({
  141. url: '/news/updateJobHunting',
  142. method: 'post',
  143. data
  144. })
  145. }
  146. export function getJobHuntingData(data) {
  147. return request({
  148. url: '/news/getJobHuntingData',
  149. method: 'post',
  150. data
  151. })
  152. }
  153. export function updateGoodStatus(data) {
  154. return request({
  155. url: '/news/updateGoodStatus',
  156. method: 'post',
  157. data
  158. })
  159. }
  160. export function updateJobHuntingStatus(data) {
  161. return request({
  162. url: '/news/updateJobHuntingStatus',
  163. method: 'post',
  164. data
  165. })
  166. }
  167. export function updateNoticeStatus(data) {
  168. return request({
  169. url: '/news/updateNoticeStatus',
  170. method: 'post',
  171. data
  172. })
  173. }
  174. export function updateComplaintStatus(data) {
  175. return request({
  176. url: '/news/updateComplaintStatus',
  177. method: 'post',
  178. data
  179. })
  180. }
  181. export function getDUser(data) {
  182. return request({
  183. url: '/news/getDUser',
  184. method: 'post',
  185. data
  186. })
  187. }
  188. //20250306求职
  189. //待审核列表
  190. export function getWebsiteNavPool(data) {
  191. return request({
  192. url: '/website/getWebsiteNavPool',
  193. method: 'post',
  194. data
  195. })
  196. }
  197. export function getWebsiteNavPoolSite(data) {
  198. return request({
  199. url: '/website/getWebsiteNavPoolSite',
  200. method: 'post',
  201. data
  202. })
  203. }
  204. //2.投票列表 start fr ------------------------------------->
  205. //2.1 获取投票列表
  206. export function getSurveyList(params) {
  207. return request({
  208. url: '/news/getSurveyList',
  209. method: 'post',
  210. params
  211. })
  212. }
  213. //2.2 获取投票详情
  214. export function getSurveyInfo(data) {
  215. return request({
  216. url: '/news/getSurveyInfo',
  217. method: 'post',
  218. data
  219. })
  220. }
  221. // 2.投票列表 end fr ------------------------------------->
  222. //20250324 通知,公告,消息
  223. export function getNoticeList(data) {
  224. return request({
  225. url: '/news/getNoticeList',
  226. method: 'post',
  227. data
  228. })
  229. }
  230. export function getNoticeInfo(data) {
  231. return request({
  232. url: '/news/getNoticeInfo',
  233. method: 'post',
  234. data
  235. })
  236. }
  237. export function addNotice(data) {
  238. return request({
  239. url: '/news/addNotice',
  240. method: 'post',
  241. data
  242. })
  243. }
  244. export function updateNotice(data) {
  245. return request({
  246. url: '/news/updateNotice',
  247. method: 'post',
  248. data
  249. })
  250. }
  251. export function deleteNotice(data) {
  252. return request({
  253. url: '/news/deleteNotice',
  254. method: 'post',
  255. data
  256. })
  257. }
  258. export function getMSG(data) {
  259. return request({
  260. url: '/news/getMSG',
  261. method: 'post',
  262. data
  263. })
  264. }
  265. export function getComplaintList(data) {
  266. return request({
  267. url: '/news/getComplaintList',
  268. method: 'post',
  269. data
  270. })
  271. }
  272. export function getComplaintInfo(data) {
  273. return request({
  274. url: '/news/getComplaintInfo',
  275. method: 'post',
  276. data
  277. })
  278. }
  279. export function addComplaint1(data) {
  280. return request({
  281. url: '/news/addComplaint',
  282. method: 'post',
  283. data
  284. })
  285. }
  286. export function updateComplaint(data) {
  287. return request({
  288. url: '/news/updateComplaint',
  289. method: 'post',
  290. data
  291. })
  292. }
  293. export function deleteComplaint(data) {
  294. return request({
  295. url: '/news/deleteComplaint',
  296. method: 'post',
  297. data
  298. })
  299. }
  300. //20250324 通知,公告,消息
  301. //20250422 书刊音像
  302. export function getBookList(data) {
  303. return request({
  304. url: '/news/getBookList',
  305. method: 'post',
  306. data:data
  307. })
  308. }
  309. export function addBook(data) {
  310. return request({
  311. url: '/news/addBook',
  312. method: 'post',
  313. data:data
  314. })
  315. }
  316. export function deleteBook(data) {
  317. return request({
  318. url: '/news/deleteBook',
  319. method: 'post',
  320. data:data
  321. })
  322. }
  323. export function getBookInfo(data) {
  324. return request({
  325. url: '/news/getBookInfo',
  326. method: 'post',
  327. data:data
  328. })
  329. }
  330. export function updateBook(data) {
  331. return request({
  332. url: '/news/updateBook',
  333. method: 'post',
  334. data:data
  335. })
  336. }
  337. export function updateBookStatus(data) {
  338. return request({
  339. url: '/news/updateBookStatus',
  340. method: 'post',
  341. data:data
  342. })
  343. }
  344. export function getJobHuntingApply(data) {
  345. return request({
  346. url: '/news/getJobHuntingApply',
  347. method: 'post',
  348. data:data
  349. })
  350. }
  351. export function myApplyList(data) {
  352. return request({
  353. url: '/news/myApplyList',
  354. method: 'post',
  355. data:data
  356. })
  357. }
  358. //20250422 书刊音像
  359. //招聘列表 start  fr ------------------------------------->
  360. //1.获取职位列表
  361. export function getJobRecruitingList(params) {
  362. return request({
  363. url: '/news/getJobRecruitingList',
  364. method: 'get',
  365. params
  366. })
  367. }
  368. //2.添加职位
  369. export function addJobRecruiting(data) {
  370. return request({
  371. url: '/news/addJobRecruiting',
  372. method: 'post',
  373. data
  374. })
  375. }
  376. // 3.获取职位详情
  377. export function getJobRecruitingInfo(params) {
  378. return request({
  379. url: '/news/getJobRecruitingInfo',
  380. method: 'get',
  381. params
  382. })
  383. }
  384. //4.修改职位
  385. export function upJobRecruiting(data) {
  386. return request({
  387. url: '/news/upJobRecruiting',
  388. method: 'post',
  389. data
  390. })
  391. }
  392. // 5.删除职位
  393. export function delJobRecruiting(data) {
  394. return request({
  395. url: '/news/delJobRecruiting',
  396. method: 'post',
  397. data
  398. })
  399. }
  400. // 6.获取公司信息
  401. export function getJobCompany(params) {
  402. return request({
  403. url: '/news/getJobCompany',
  404. method: 'get',
  405. params
  406. })
  407. }
  408. // 7.修改公司信息
  409. export function upJobCompany(data) {
  410. return request({
  411. url: '/news/upJobCompany',
  412. method: 'post',
  413. data
  414. })
  415. }
  416. // 2.1 获取行业分类
  417. export function getIndustry(params) {
  418. return request({
  419. url: '/news/getIndustry',
  420. method: 'get',
  421. params
  422. })
  423. }
  424. //2.2 获取职位分类
  425. export function getPositionList(params) {
  426. return request({
  427. url: '/news/getPositionList',
  428. method: 'get',
  429. params
  430. })
  431. }
  432. //2.3 获取地区
  433. export function getJobRecruitingArea(params) {
  434. return request({
  435. url: '/news/getJobRecruitingArea',
  436. method: 'get',
  437. params
  438. })
  439. }
  440. //2.4 获取职位性质
  441. export function getJobNature(params) {
  442. return request({
  443. url: '/news/getJobNature',
  444. method: 'get',
  445. params
  446. })
  447. }
  448. //2.5 获取工作经验
  449. export function getExperience(params) {
  450. return request({
  451. url: '/news/getExperience',
  452. method: 'get',
  453. params
  454. })
  455. }
  456. //2.6 获取学历
  457. export function getEducation(params) {
  458. return request({
  459. url: '/news/getEducation',
  460. method: 'get',
  461. params
  462. })
  463. }
  464. //2.7 获取薪资
  465. export function getSalary(params) {
  466. return request({
  467. url: '/news/getSalary',
  468. method: 'get',
  469. params
  470. })
  471. }
  472. //2.8 获取语种
  473. export function getLanguage(params) {
  474. return request({
  475. url: '/news/getLanguage',
  476. method: 'get',
  477. params
  478. })
  479. }
  480. //2.9 获取语言能力
  481. export function getLevel(params) {
  482. return request({
  483. url: '/news/getLevel',
  484. method: 'get',
  485. params
  486. })
  487. }
  488. //2.10 获取公司规模
  489. export function getCompanySize(params) {
  490. return request({
  491. url: '/news/getCompanySize',
  492. method: 'get',
  493. params
  494. })
  495. }
  496. //2.11 获取公司性质
  497. export function getCompanyNature(params) {
  498. return request({
  499. url: '/news/getCompanyNature',
  500. method: 'get',
  501. params
  502. })
  503. }
  504. // 8.修改职位信息状态(审核通过、拒绝、撤回)
  505. export function checkJobRecruiting(data) {
  506. return request({
  507. url: '/news/checkJobRecruiting',
  508. method: 'post',
  509. data
  510. })
  511. }
  512. // 招聘列表 end  fr ------------------------------------->