common.js 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. import request from '@/utils/request'
  2. export function getCommonBanners(data = {}) {
  3. return request({
  4. 'url': '/common/client/index/banner/list',
  5. headers: {
  6. isToken: false
  7. },
  8. method: 'post',
  9. data,
  10. timeout: 20000
  11. })
  12. }
  13. // 校园概述
  14. export function getCommonXinwenYuanxiaoList(data = {}) {
  15. return request({
  16. 'url': '/common/xinwen/yuanxiao/list',
  17. headers: {
  18. isToken: false
  19. },
  20. method: 'post',
  21. data,
  22. timeout: 20000
  23. })
  24. }
  25. export function getCommonXinwenTongzhiList(data = {}) {
  26. return request({
  27. 'url': '/common/xinwen/tongzhi/list',
  28. headers: {
  29. isToken: false
  30. },
  31. method: 'post',
  32. data,
  33. timeout: 20000
  34. })
  35. }
  36. export function getCommonXinwenXiaowuList(data = {}) {
  37. return request({
  38. 'url': '/common/xinwen/xiaowu/list',
  39. headers: {
  40. isToken: false
  41. },
  42. method: 'post',
  43. data,
  44. timeout: 20000
  45. })
  46. }
  47. export function getCommonGaikuangJianjieInfo(data = {}) {
  48. return request({
  49. 'url': '/common/gaikuang/jianjie/info',
  50. headers: {
  51. isToken: false
  52. },
  53. method: 'post',
  54. data,
  55. timeout: 20000
  56. })
  57. }
  58. export function getCommonGaikuangJigouShezhiInfo(data = {}) {
  59. return request({
  60. 'url': '/common/gaikuang/jigou/info',
  61. headers: {
  62. isToken: false
  63. },
  64. method: 'post',
  65. data,
  66. timeout: 20000
  67. })
  68. }
  69. export function getCommonGaikuangRongyuList(data = {}) {
  70. return request({
  71. 'url': '/common/gaikuang/rongyu/list',
  72. headers: {
  73. isToken: false
  74. },
  75. method: 'post',
  76. data,
  77. timeout: 20000
  78. })
  79. }
  80. // 党群工作
  81. export function getDangJianZuzhiInfo(data = {}) {
  82. return request({
  83. 'url': '/common/dangjian/zuzhi/info',
  84. headers: {
  85. isToken: false
  86. },
  87. method: 'post',
  88. data,
  89. timeout: 20000
  90. })
  91. }
  92. export function getDangjianZuzhiGonghuiInfo(data = {}) {
  93. return request({
  94. 'url': '/common/dangjian/zuzhi/gonghui/info',
  95. headers: {
  96. isToken: false
  97. },
  98. method: 'post',
  99. data,
  100. timeout: 20000
  101. })
  102. }
  103. export function getDangjianGonghuiList(data = {}) {
  104. return request({
  105. 'url': '/common/dangjian/gonghui/list',
  106. headers: {
  107. isToken: false
  108. },
  109. method: 'post',
  110. data,
  111. timeout: 20000
  112. })
  113. }
  114. export function getDangjianGonghuiInfo(data = {}) {
  115. return request({
  116. 'url': '/common​/dangjian​/gonghui​/info',
  117. headers: {
  118. isToken: false
  119. },
  120. method: 'post',
  121. data,
  122. timeout: 20000
  123. })
  124. }
  125. export function getDangjianFengcaiInfo(data = {}) {
  126. return request({
  127. 'url': '/common/dangjian/fengcai/info',
  128. headers: {
  129. isToken: false
  130. },
  131. method: 'post',
  132. data,
  133. timeout: 20000
  134. })
  135. }
  136. export function getDangjianFengcaiList(data = {}) {
  137. return request({
  138. 'url': '/common/dangjian/fengcai/list',
  139. headers: {
  140. isToken: false
  141. },
  142. method: 'post',
  143. data,
  144. timeout: 20000
  145. })
  146. }
  147. export function getDangjianGongzuoList(data = {}) {
  148. return request({
  149. 'url': '/common/dangjian/gongzuo/list',
  150. headers: {
  151. isToken: false
  152. },
  153. method: 'post',
  154. data,
  155. timeout: 20000
  156. })
  157. }
  158. export function getDangjianGongzuoInfo(data = {}) {
  159. return request({
  160. 'url': '/common​/dangjian​/gongzuo​/info',
  161. headers: {
  162. isToken: false
  163. },
  164. method: 'post',
  165. data,
  166. timeout: 20000
  167. })
  168. }
  169. // 教育教学
  170. export function getJiaoyuZhuanyejiansheList(data = {}) {
  171. return request({
  172. 'url': '/common/jiaoyu/zhuanye/list',
  173. headers: {
  174. isToken: false
  175. },
  176. method: 'post',
  177. data,
  178. timeout: 20000
  179. })
  180. }
  181. export function getJiaoyuZhuanyejiansheInfo(data = {}) {
  182. return request({
  183. 'url': '/common/jiaoyu/zhuanye/info',
  184. headers: {
  185. isToken: false
  186. },
  187. method: 'post',
  188. data,
  189. timeout: 20000
  190. })
  191. }
  192. export function getJiaoyuDasaiList(data = {}) {
  193. return request({
  194. 'url': '/common/jiaoyu/dasai/list',
  195. headers: {
  196. isToken: false
  197. },
  198. method: 'post',
  199. data,
  200. timeout: 20000
  201. })
  202. }
  203. export function getJiaoyuDasaiInfo(data = {}) {
  204. return request({
  205. 'url': '/common/jiaoyu/dasai/info',
  206. headers: {
  207. isToken: false
  208. },
  209. method: 'post',
  210. data,
  211. timeout: 20000
  212. })
  213. }
  214. export function getJiaoyuShiziList(data = {}) {
  215. return request({
  216. 'url': '/common/jiaoyu/duiwu/list',
  217. headers: {
  218. isToken: false
  219. },
  220. method: 'post',
  221. data,
  222. timeout: 20000
  223. })
  224. }
  225. export function getJiaoyuShiziInfo(data = {}) {
  226. return request({
  227. 'url': '/common/jiaoyu/duiwu/info',
  228. headers: {
  229. isToken: false
  230. },
  231. method: 'post',
  232. data,
  233. timeout: 20000
  234. })
  235. }
  236. export function getJiaoyuJinengList(data = {}) {
  237. return request({
  238. 'url': '/common/jiaoyu/jineng/list',
  239. headers: {
  240. isToken: false
  241. },
  242. method: 'post',
  243. data,
  244. timeout: 20000
  245. })
  246. }
  247. export function getJiaoyuJinengInfo(data = {}) {
  248. return request({
  249. 'url': '/common/jiaoyu/jineng/info',
  250. headers: {
  251. isToken: false
  252. },
  253. method: 'post',
  254. data,
  255. timeout: 20000
  256. })
  257. }
  258. export function getJiaoyuJiaoyanList(data = {}) {
  259. return request({
  260. 'url': '/common/jiaoyu/jiaoyan/list',
  261. headers: {
  262. isToken: false
  263. },
  264. method: 'post',
  265. data,
  266. timeout: 20000
  267. })
  268. }
  269. export function getJiaoyuJiaoyanInfo(data = {}) {
  270. return request({
  271. 'url': '/common/jiaoyu/jiaoyan/info',
  272. headers: {
  273. isToken: false
  274. },
  275. method: 'post',
  276. data,
  277. timeout: 20000
  278. })
  279. }
  280. export function getJiaoyuXiaoqiList(data = {}) {
  281. return request({
  282. 'url': '/common/jiaoyu/xiaoqi/list',
  283. headers: {
  284. isToken: false
  285. },
  286. method: 'post',
  287. data,
  288. timeout: 20000
  289. })
  290. }
  291. export function getJiaoyuXiaoqiInfo(data = {}) {
  292. return request({
  293. 'url': '/common/jiaoyu/xiaoqi/info',
  294. headers: {
  295. isToken: false
  296. },
  297. method: 'post',
  298. data,
  299. timeout: 20000
  300. })
  301. }
  302. export function getJiaoyuKeyanList(data = {}) {
  303. return request({
  304. 'url': '/common/jiaoyu/keyan/list',
  305. headers: {
  306. isToken: false
  307. },
  308. method: 'post',
  309. data,
  310. timeout: 20000
  311. })
  312. }
  313. export function getJiaoyuKeyanInfo(data = {}) {
  314. return request({
  315. 'url': '/common/jiaoyu/keyan/info',
  316. headers: {
  317. isToken: false
  318. },
  319. method: 'post',
  320. data,
  321. timeout: 20000
  322. })
  323. }
  324. export function getJiaoyuKetangList(data = {}) {
  325. return request({
  326. 'url': '/common/jiaoyu/keyan/list',
  327. headers: {
  328. isToken: false
  329. },
  330. method: 'post',
  331. data,
  332. timeout: 20000
  333. })
  334. }
  335. export function getJiaoyuKetangInfo(data = {}) {
  336. return request({
  337. 'url': '/common/jiaoyu/ketang/info',
  338. headers: {
  339. isToken: false
  340. },
  341. method: 'post',
  342. data,
  343. timeout: 20000
  344. })
  345. }
  346. export function getJiaoyuZhiduList(data = {}) {
  347. return request({
  348. 'url': '/common/jiaoyu/zhidu/list',
  349. headers: {
  350. isToken: false
  351. },
  352. method: 'post',
  353. data,
  354. timeout: 20000
  355. })
  356. }
  357. export function getJiaoyuZhiduInfo(data = {}) {
  358. return request({
  359. 'url': '/common/jiaoyu/zhidu/info',
  360. headers: {
  361. isToken: false
  362. },
  363. method: 'post',
  364. data,
  365. timeout: 20000
  366. })
  367. }
  368. export function getJiaoyuXiangmuInfo(data = {}) {
  369. return request({
  370. 'url': '/common/jiaoyu/xiangmu/info',
  371. headers: {
  372. isToken: false
  373. },
  374. method: 'post',
  375. data,
  376. timeout: 20000
  377. })
  378. }
  379. export function getJiaoyuXiangmuList(data = {}) {
  380. return request({
  381. 'url': '/common/jiaoyu/xiangmu/list',
  382. headers: {
  383. isToken: false
  384. },
  385. method: 'post',
  386. data,
  387. timeout: 20000
  388. })
  389. }