index.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137
  1. import ajax from "@/utils/request.js";
  2. import ajaxAxios from "@/utils/request_axios.js";
  3. /**
  4. * 广告
  5. * @returns {AxjxPromise}
  6. */
  7. export function advertisementApi(data) {
  8. return ajax({
  9. url: "/kuyun_eye_ad/cbd_public/perform",
  10. method: "get",
  11. data,
  12. });
  13. }
  14. /**
  15. * 流入流出
  16. * @returns {AxjxPromise}
  17. */
  18. export function inOutApi(data) {
  19. return ajax({
  20. url: "/api/recent_inout",
  21. method: "get",
  22. data,
  23. });
  24. }
  25. /**
  26. * epg
  27. * @returns {AxjxPromise}
  28. */
  29. export function epgApi(data) {
  30. return ajax({
  31. url: "/api/recent_epgs",
  32. method: "get",
  33. data,
  34. });
  35. }
  36. /**
  37. * 直播实时 分
  38. * @returns {AxjxPromise}
  39. */
  40. export function liveRealDataMinApi(data) {
  41. return ajax({
  42. url: "/api/sec_ratings",
  43. method: "get",
  44. data,
  45. });
  46. }
  47. /**
  48. * 直播实时数据
  49. * @returns {AxjxPromise}
  50. */
  51. export function liveRealDataApi(data) {
  52. return ajax({
  53. url: "/api/min_ratings",
  54. method: "get",
  55. data,
  56. });
  57. }
  58. /**
  59. * 直播实时数据
  60. * @returns {AxjxPromise}
  61. */
  62. export function liveDataApi(data) {
  63. return ajax({
  64. url: "/api/tvlb",
  65. method: "get",
  66. data,
  67. });
  68. }
  69. /**
  70. * 高光数据
  71. * @returns {AxjxPromise}
  72. */
  73. export function heightlightDataApi(data) {
  74. return ajax({
  75. url: "/api/hl/calendar",
  76. method: "get",
  77. data,
  78. });
  79. }
  80. /**
  81. * 高光时刻
  82. * @returns {AxjxPromise}
  83. */
  84. export function heightlightApi(data) {
  85. return ajax({
  86. url: "/api/hl/list-milestone",
  87. method: "get",
  88. data,
  89. });
  90. }
  91. /**
  92. * 节目
  93. * @returns {AxjxPromise}
  94. */
  95. export function list(data) {
  96. return ajax({
  97. url: "/api/proepglb",
  98. method: "get",
  99. data,
  100. });
  101. }
  102. /**
  103. * 节目导出
  104. * @returns {AxjxPromise}
  105. */
  106. export function listcsv(data) {
  107. return ajax({
  108. url: "/api/proepglb/csv",
  109. method: "get",
  110. downCsv: true,
  111. data,
  112. });
  113. }
  114. /**
  115. * 频道
  116. * @returns {AxjxPromise}
  117. */
  118. export function channel(data) {
  119. return ajax({
  120. url: "/api/protvlb",
  121. method: "get",
  122. data,
  123. });
  124. }
  125. /**
  126. * 频道导出
  127. * @returns {AxjxPromise}
  128. */
  129. export function channelcsv(data) {
  130. return ajax({
  131. url: "/api/protvlb/csv",
  132. method: "get",
  133. downCsv: true,
  134. data,
  135. });
  136. }
  137. /**
  138. * 获取精品节目列表
  139. * @props {}
  140. * @returns {AxjxPromise}
  141. */
  142. export function epgList() {
  143. return ajax({
  144. urlType: "url2",
  145. url: "/program",
  146. method: "get",
  147. });
  148. }
  149. /**
  150. * 获取精品节目详情
  151. * @props {}
  152. * @returns {AxjxPromise}
  153. */
  154. export function epgDetail(data) {
  155. return ajax({
  156. urlType: "url2",
  157. url: "/epg-detail",
  158. method: "get",
  159. target: data.target,
  160. data: { epgId: data.epgId },
  161. });
  162. }
  163. /**
  164. * 获取精品节目指标
  165. * @props {}
  166. * @returns {AxjxPromise}
  167. */
  168. export function epgResult(data) {
  169. return ajax({
  170. urlType: "url2",
  171. url: "/epg-result",
  172. method: "get",
  173. data,
  174. });
  175. }
  176. /**
  177. * 自由接口
  178. * @props {url, data}
  179. * @return {AxjxPromise}
  180. */
  181. export function defaultAjax(props) {
  182. return ajax({
  183. urlType: "url3",
  184. url: props.url,
  185. method: "get",
  186. notLoad: props.notLoad,
  187. target: props.target,
  188. data: props.data,
  189. });
  190. }
  191. /**
  192. * 频率列表
  193. * @props {}
  194. * @return {AxjxPromise}
  195. */
  196. export function frequencyList() {
  197. return ajax({
  198. urlType: "url2",
  199. url: "/broadcast/dict",
  200. method: "get",
  201. });
  202. }
  203. /**
  204. * 频率查询
  205. * @props {}
  206. * @return {AxjxPromise}
  207. */
  208. export function PLList(data) {
  209. return ajax({
  210. urlType: "url2",
  211. url: "/broadcast/list",
  212. method: "get",
  213. data,
  214. });
  215. }
  216. // 全国接口
  217. /**
  218. * 频道全天节目
  219. * 表格查询
  220. * @props {}
  221. * @return {AxjxPromise}
  222. */
  223. export function allDayEpg(data) {
  224. return ajax({
  225. urlType: "kuyunApi",
  226. url: "/broadcast/list",
  227. method: "get",
  228. data,
  229. });
  230. }
  231. // 重叠度
  232. /**
  233. * 节目查询
  234. * 图表查询
  235. * @props {}
  236. * @return {AxjxPromise}
  237. */
  238. export function overlapSearchTitle(data) {
  239. return ajax({
  240. urlType: "kuyunApi",
  241. url: "/api/evaluation/eye/search_suggest?" + data,
  242. method: "GET",
  243. });
  244. }
  245. /**
  246. * 节目重叠度
  247. * 图表查询
  248. * @props {}
  249. * @return {AxjxPromise}
  250. */
  251. export function overlap(data) {
  252. return ajax({
  253. urlType: "kuyunApi",
  254. url: "/ProUserOverlapAction",
  255. method: "GET",
  256. data,
  257. });
  258. }
  259. /**
  260. * 广告频道列表
  261. * @props {}
  262. * @return {AxjxPromise}
  263. */
  264. export function adChannelList() {
  265. return ajax({
  266. urlType: "adAPI",
  267. url: "/ad/channel",
  268. method: "GET",
  269. });
  270. }
  271. /**
  272. * 投放分析
  273. * @props {string} channelId
  274. * @props {string} start
  275. * @props {string} end
  276. * @return {AxjxPromise}
  277. */
  278. export function launchList(data) {
  279. return ajax({
  280. urlType: "adAPI",
  281. url: "/ad/day",
  282. method: "POST",
  283. data,
  284. });
  285. }
  286. /**
  287. * 时段分析
  288. * @props {string} channelId
  289. * @props {string} start
  290. * @props {string} end
  291. * @return {AxjxPromise}
  292. */
  293. export function trendList(data) {
  294. return ajax({
  295. urlType: "adAPI",
  296. url: "/ad/hour",
  297. method: "POST",
  298. data,
  299. });
  300. }
  301. /**
  302. * 行业占比
  303. * @props {string} channelId
  304. * @props {string} start
  305. * @props {string} end
  306. * @return {AxjxPromise}
  307. */
  308. export function proportionList(data) {
  309. return ajax({
  310. urlType: "adAPI",
  311. url: "/ad/ratio",
  312. method: "POST",
  313. data,
  314. });
  315. }
  316. /**
  317. * 客户投放详情
  318. * @props {string} channelId
  319. * @props {string} start
  320. * @props {string} end
  321. * @return {AxjxPromise}
  322. */
  323. export function customerList(data) {
  324. return ajax({
  325. urlType: "adAPI",
  326. url: "/ad/detail",
  327. method: "POST",
  328. data,
  329. });
  330. }
  331. /**
  332. * 优势客户
  333. * @props {string} channelId
  334. * @props {string} start
  335. * @props {string} end
  336. * @return {AxjxPromise}
  337. */
  338. export function advantageousList(data) {
  339. return ajax({
  340. urlType: "adAPI",
  341. url: "/ad/youshi",
  342. method: "POST",
  343. data,
  344. });
  345. }
  346. /**
  347. * 潜在客户
  348. * @props {string} channelId
  349. * @props {string} start
  350. * @props {string} end
  351. * @return {AxjxPromise}
  352. */
  353. export function potentialList(data) {
  354. return ajax({
  355. urlType: "adAPI",
  356. url: "/ad/qianzai",
  357. method: "POST",
  358. data,
  359. });
  360. }
  361. /**
  362. * 饱和度
  363. * @props {string} channelId
  364. * @props {string} start
  365. * @props {string} end
  366. * @return {AxjxPromise}
  367. */
  368. export function saturationList(data) {
  369. return ajax({
  370. urlType: "adAPI",
  371. url: "/ad/saturation",
  372. method: "POST",
  373. data,
  374. });
  375. }
  376. /**
  377. * 行业列表
  378. * @return {AxjxPromise}
  379. */
  380. export function allindustryList(data) {
  381. return ajax({
  382. urlType: "adAPI",
  383. url: "/ad/industry/list",
  384. method: "GET",
  385. data,
  386. });
  387. }
  388. /**
  389. * 全行业
  390. * @props {string} tableType
  391. * @props {string} indexTime
  392. * @props {string} dataType
  393. * @return {AxjxPromise}
  394. */
  395. export function industryList(data) {
  396. return ajax({
  397. urlType: "adAPI",
  398. url: "/ad/market",
  399. method: "POST",
  400. data,
  401. });
  402. }
  403. /***************************************分行业 */
  404. /**
  405. * 分行业硬广
  406. * @props {string} tableType
  407. * @props {string} indexTime
  408. * @props {string} dataType
  409. * @return {AxjxPromise}
  410. */
  411. export function byIndustryTrendHard(data) {
  412. return ajax({
  413. urlType: "adAPI",
  414. url: "/ad/industry/TrendHard",
  415. method: "POST",
  416. data,
  417. });
  418. }
  419. /**
  420. * 分行业软广
  421. * @props {string} tableType
  422. * @props {string} indexTime
  423. * @props {string} dataType
  424. * @return {AxjxPromise}
  425. */
  426. export function byIndustryTrendSoft(data) {
  427. return ajax({
  428. urlType: "adAPI",
  429. url: "/ad/industry/TrendSoft",
  430. method: "POST",
  431. data,
  432. });
  433. }
  434. /**
  435. * 中小行业占比
  436. * @props {string} tableType
  437. * @props {string} indexTime
  438. * @props {string} dataType
  439. * @return {AxjxPromise}
  440. */
  441. export function smallIndustryProportion(data) {
  442. return ajax({
  443. urlType: "adAPI",
  444. url: "/ad/industry/MSIndustryProportion",
  445. method: "POST",
  446. data,
  447. });
  448. }
  449. /**
  450. * 媒体份额
  451. * @props {string} tableType
  452. * @props {string} indexTime
  453. * @props {string} dataType
  454. * @return {AxjxPromise}
  455. */
  456. export function MediaShare(data) {
  457. return ajax({
  458. urlType: "adAPI",
  459. url: "/ad/industry/MediaShare",
  460. method: "POST",
  461. data,
  462. });
  463. }
  464. /**
  465. * 频道份额
  466. * @props {string} tableType
  467. * @props {string} indexTime
  468. * @props {string} dataType
  469. * @return {AxjxPromise}
  470. */
  471. export function ChannelDistribution(data) {
  472. return ajax({
  473. urlType: "adAPI",
  474. url: "/ad/industry/ChannelDistribution",
  475. method: "POST",
  476. data,
  477. });
  478. }
  479. /**
  480. * 节目类型
  481. * @props {string} tableType
  482. * @props {string} indexTime
  483. * @props {string} dataType
  484. * @return {AxjxPromise}
  485. */
  486. export function ProgramTypeDistribution(data) {
  487. return ajax({
  488. urlType: "adAPI",
  489. url: "/ad/industry/ProgramTypeDistribution",
  490. method: "POST",
  491. data,
  492. });
  493. }
  494. /**
  495. * 节目类型
  496. * @props {string} tableType
  497. * @props {string} indexTime
  498. * @props {string} dataType
  499. * @return {AxjxPromise}
  500. */
  501. export function ProgramTypeDistributionChart(data) {
  502. return ajax({
  503. urlType: "adAPI",
  504. url: "/ad/industry/ProgramTypeDistributionTable",
  505. method: "POST",
  506. data,
  507. });
  508. }
  509. /**
  510. * 重点客户
  511. * @props {string} tableType
  512. * @props {string} indexTime
  513. * @props {string} dataType
  514. * @return {AxjxPromise}
  515. */
  516. export function ImportantCustomer(data) {
  517. return ajax({
  518. urlType: "adAPI",
  519. url: "/ad/industry/ImportantCustomer",
  520. method: "POST",
  521. data,
  522. });
  523. }
  524. /**
  525. * 周走势
  526. * @props {string} tableType
  527. * @props {string} indexTime
  528. * @props {string} dataType
  529. * @return {AxjxPromise}
  530. */
  531. export function LastWeekTrend(data) {
  532. return ajax({
  533. urlType: "adAPI",
  534. url: "/ad/industry/LastWeekTrend",
  535. method: "POST",
  536. data,
  537. });
  538. }
  539. /**
  540. * 品牌top
  541. * @props {string} dataType
  542. * @return {AxjxPromise}
  543. */
  544. export function BrandTop(data) {
  545. return ajax({
  546. urlType: "adAPI",
  547. url: "/ad/index/brand",
  548. method: "POST",
  549. data,
  550. });
  551. }
  552. /**
  553. * 品牌top
  554. * @props {string} dataType
  555. * @return {AxjxPromise}
  556. */
  557. export function ChannelTop(data) {
  558. return ajax({
  559. urlType: "adAPI",
  560. url: "/ad/index/channel",
  561. method: "POST",
  562. data,
  563. });
  564. }
  565. /**
  566. * 投放分析
  567. * @props {string} channelId
  568. * @props {string} start
  569. * @props {string} end
  570. * @return {AxjxPromise}
  571. */
  572. export function channelRank(data) {
  573. return ajax({
  574. urlType: "adAPI",
  575. url: "/ad/channel/rank",
  576. method: "POST",
  577. data,
  578. });
  579. }
  580. /**
  581. * 获取平台信息数据
  582. * @props {string} end
  583. * @return {AxjxPromise}
  584. */
  585. export function platform(data) {
  586. return ajax({
  587. urlType: "url2",
  588. url: "/new-media/agg",
  589. method: "POST",
  590. data,
  591. });
  592. }
  593. /**
  594. * 获取平台信息数据
  595. * @props {string} end
  596. * @return {AxjxPromise}
  597. */
  598. export function platformlistData(data) {
  599. return ajax({
  600. urlType: "url2",
  601. url: "/new-media/list",
  602. method: "POST",
  603. data,
  604. });
  605. }
  606. /**
  607. * 获取平台信息列表
  608. * @props {string} end
  609. * @return {AxjxPromise}
  610. */
  611. export function platformList(data) {
  612. return ajax({
  613. urlType: "url2",
  614. url: "/new-media/platform" + (data || ""),
  615. method: "POST",
  616. });
  617. }
  618. /**
  619. * 归集登录
  620. * @return {AxjxPromise}
  621. */
  622. export function guijiLogin(data) {
  623. return ajaxAxios({
  624. url: "/login-v2",
  625. method: "POST",
  626. data,
  627. });
  628. }
  629. /**
  630. * 归集活动接口
  631. * @return {AxjxPromise}
  632. */
  633. export function guijiActivity(data) {
  634. return ajaxAxios({
  635. url: "/activity/list",
  636. method: "POST",
  637. data,
  638. });
  639. }
  640. /**
  641. * 归集话题
  642. * @props {string} activityId
  643. * @return {AxjxPromise}
  644. */
  645. export function guijiTopic(data) {
  646. return ajaxAxios({
  647. url: "/topic/list",
  648. method: "POST",
  649. data,
  650. });
  651. }
  652. /**
  653. * 传播数据
  654. * @props {string} topic
  655. * @return {AxjxPromise}
  656. */
  657. export function guijiSpread(data) {
  658. return ajaxAxios({
  659. url: "/topic/overview?topic=" + data.topic,
  660. method: "GET",
  661. });
  662. }
  663. /**
  664. * 传播量趋势
  665. * @props {string} topic
  666. * @return {AxjxPromise}
  667. */
  668. export function guijiTrend(data) {
  669. return ajaxAxios({
  670. url: "/topic/history?topic=" + data.topic,
  671. method: "GET",
  672. });
  673. }
  674. /**
  675. * 部门传播量排行
  676. * @props {string} depRange
  677. * @props {string} title
  678. * @return {AxjxPromise}
  679. */
  680. export function guijiDepartment(data) {
  681. return ajaxAxios({
  682. url: "/topic/read",
  683. method: "POST",
  684. data,
  685. });
  686. }
  687. /**
  688. * 热点报道
  689. * @props {string} topic
  690. * @return {AxjxPromise}
  691. */
  692. export function guijiHottopic(data) {
  693. return ajaxAxios({
  694. url: "/charts/hot-topic?topic=" + data.topic,
  695. method: "GET",
  696. });
  697. }
  698. /**
  699. * 部门列表
  700. * @return {AxjxPromise}
  701. */
  702. export function guijiBumenList() {
  703. return ajaxAxios({
  704. url: "/topic/dep-dict",
  705. method: "GET",
  706. });
  707. }
  708. /**
  709. * 发稿统计
  710. * @return {AxjxPromise}
  711. */
  712. export function guijiFagao(data) {
  713. return ajaxAxios({
  714. url: "/topic/detail",
  715. method: "POST",
  716. data,
  717. });
  718. }
  719. /**
  720. * 发稿统计
  721. * @return {AxjxPromise}
  722. */
  723. export function leverAudience(data) {
  724. return ajax({
  725. urlType: "leverAudience",
  726. url: "/cxzx-program/flow/channels",
  727. method: "GET",
  728. data,
  729. });
  730. }
  731. /**
  732. * 广播重点数据
  733. * @return {AxjxPromise}
  734. */
  735. export function audioKeyGet(data) {
  736. return ajax({
  737. urlType: "leverAudience",
  738. url: "/cxzx-radio-rate/radio-program-rate",
  739. method: "POST",
  740. data,
  741. });
  742. }
  743. /**
  744. * 广播数据
  745. * @return {AxjxPromise}
  746. */
  747. export function audioGet(data) {
  748. return ajax({
  749. urlType: "leverAudience",
  750. url: "/cxzx-radio-rate/radio-rate",
  751. method: "POST",
  752. data,
  753. });
  754. }
  755. /**
  756. * 广播列表
  757. * @return {AxjxPromise}
  758. */
  759. export function audioList(data) {
  760. return ajax({
  761. urlType: "leverAudience",
  762. url: "/cxzx-radio-rate/radio-names",
  763. method: "GET",
  764. data,
  765. });
  766. }
  767. /**
  768. * 广播地区列表
  769. * @return {AxjxPromise}
  770. */
  771. export function audioAreaList() {
  772. return ajax({
  773. urlType: "leverAudience",
  774. url: "/cxzx-radio-rate/area-names",
  775. method: "GET",
  776. });
  777. }
  778. /**
  779. * 获取app在线实时数
  780. * @return {AxjxPromise}
  781. */
  782. export function getRealAppOnline(data) {
  783. return ajax({
  784. urlType: "leverAudience",
  785. url: "/cxzx-program/new-media/realTime/data",
  786. method: "GET",
  787. data,
  788. });
  789. }
  790. /**
  791. * 获取大数据平台检索条件的权限
  792. * @return {AxjxPromise}
  793. */
  794. export function getRule(data) {
  795. const parent = window.parent;
  796. let token = parent.localStorage.token || "";
  797. return ajax({
  798. urlType: "leverAudience",
  799. url: "/rmtrate/NODE/SEQ/roleCtrl/findRoleCtrl",
  800. method: "POST",
  801. headers: {
  802. UserInfo: token,
  803. requestid: "tv" + Date.now(),
  804. },
  805. data,
  806. });
  807. }
  808. /**
  809. * 获取大数据平台应用列表
  810. * @return {AxjxPromise}
  811. */
  812. export function getAppList(data) {
  813. const parent = window.parent.localStorage;
  814. let token = parent.token || "";
  815. return ajax({
  816. urlType: "leverAudience",
  817. url: "/rmtrate/sysparam/info",
  818. method: "POST",
  819. headers: {
  820. UserInfo: token,
  821. requestid: "tv" + Date.now(),
  822. },
  823. data,
  824. });
  825. }
  826. /**
  827. * 获取大数据平台app历史数据
  828. * @return {AxjxPromise}
  829. */
  830. export function getHistory(data) {
  831. return ajax({
  832. urlType: "leverAudience",
  833. url: "/cxzx-program/new-media/user/trend",
  834. method: "POST",
  835. data,
  836. });
  837. }
  838. /**
  839. * 获取大数据平台指定应用的版本号,渠道
  840. * @return {AxjxPromise}
  841. */
  842. export function getSearchData(data) {
  843. return ajax({
  844. urlType: "leverAudience",
  845. url: "/cxzx-program/new-media/param/info",
  846. method: "POST",
  847. data,
  848. });
  849. }
  850. /**
  851. * 获取大数据平台内容分析 top10;
  852. * @return {AxjxPromise}
  853. */
  854. export function getContentTop10(data) {
  855. return ajax({
  856. urlType: "leverAudience",
  857. url: "/cxzx-program/new-media/content/top10",
  858. method: "POST",
  859. data,
  860. });
  861. }
  862. /**
  863. * 获取大数据平台内容分析 图形;
  864. * @return {AxjxPromise}
  865. */
  866. export function getContentChart(data) {
  867. return ajax({
  868. urlType: "leverAudience",
  869. url: "/cxzx-program/new-media/content/dt",
  870. method: "POST",
  871. data,
  872. });
  873. }
  874. /**
  875. * 获取大数据平台内容分析 表格;
  876. * @return {AxjxPromise}
  877. */
  878. export function getContentPage(data) {
  879. return ajax({
  880. urlType: "leverAudience",
  881. url: "/cxzx-program/new-media/content/list",
  882. method: "POST",
  883. data,
  884. });
  885. }
  886. /**
  887. * 获取大数据平台新用户留存分析 表格;
  888. * @return {AxjxPromise}
  889. */
  890. export function getKeepPage(data) {
  891. return ajax({
  892. urlType: "leverAudience",
  893. url: "/cxzx-program/new-media/user/keep",
  894. method: "POST",
  895. data,
  896. });
  897. }
  898. /**
  899. * 获取大数据平台活跃用户留存分析 表格;
  900. * @return {AxjxPromise}
  901. */
  902. export function getActivePage(data) {
  903. return ajax({
  904. urlType: "leverAudience",
  905. url: "/cxzx-program/new-media/user/active-keep",
  906. method: "POST",
  907. data,
  908. });
  909. }
  910. /**
  911. * 获取大数据平台新用户留存分析 表格;
  912. * @return {AxjxPromise}
  913. */
  914. export function getSearchPage(data) {
  915. return ajax({
  916. urlType: "leverAudience",
  917. url: "/cxzx-program/new-media/search/list",
  918. method: "POST",
  919. data,
  920. });
  921. }
  922. /**
  923. * 获取大数据平台新用户留存分析 top10;
  924. * @return {AxjxPromise}
  925. */
  926. export function getSearchTop10(data) {
  927. return ajax({
  928. urlType: "leverAudience",
  929. url: "/cxzx-program/new-media/search/top10",
  930. method: "POST",
  931. data,
  932. });
  933. }
  934. /**
  935. * 获取大数据平台版本分析 表格;
  936. * @return {AxjxPromise}
  937. */
  938. export function getVersionPage(data) {
  939. return ajax({
  940. urlType: "leverAudience",
  941. url: "/cxzx-program/new-media/user/version",
  942. method: "POST",
  943. data,
  944. });
  945. }
  946. /**
  947. * 获取大数据平台版本分析 图表;
  948. * @return {AxjxPromise}
  949. */
  950. export function getVersionChart(data) {
  951. return ajax({
  952. urlType: "leverAudience",
  953. url: "/cxzx-program/new-media/user/version-dt",
  954. method: "POST",
  955. data,
  956. });
  957. }
  958. /**
  959. * 获取大数据平台直播分析 表格;
  960. * @return {AxjxPromise}
  961. */
  962. export function getLivePage(data) {
  963. return ajax({
  964. urlType: "leverAudience",
  965. url: "/cxzx-program/new-media/live/list",
  966. method: "POST",
  967. data,
  968. });
  969. }
  970. /**
  971. * 获取大数据平台地域分析 地图;
  972. * @return {AxjxPromise}
  973. */
  974. export function getRegionChart(data) {
  975. return ajax({
  976. urlType: "leverAudience",
  977. url: "/cxzx-program/new-media/user/area",
  978. method: "POST",
  979. data,
  980. });
  981. }
  982. /**
  983. * 获取大数据平台渠道分析 图表;
  984. * @return {AxjxPromise}
  985. */
  986. export function getChannleChart(data) {
  987. return ajax({
  988. urlType: "leverAudience",
  989. url: "/cxzx-program/new-media/user/manufacturer-dt",
  990. method: "POST",
  991. data,
  992. });
  993. }
  994. /**
  995. * 获取大数据平台渠道分析 页面;
  996. * @return {AxjxPromise}
  997. */
  998. export function getChannlePage(data) {
  999. return ajax({
  1000. urlType: "leverAudience",
  1001. url: "/cxzx-program/new-media/user/manufacturer",
  1002. method: "POST",
  1003. data,
  1004. });
  1005. }
  1006. /**
  1007. * 获取大数据平台概览数据;
  1008. * @return {AxjxPromise}
  1009. */
  1010. export function getOverviewPage(data) {
  1011. return ajax({
  1012. urlType: "leverAudience",
  1013. url: "/cxzx-program/new-media/overview",
  1014. method: "POST",
  1015. data,
  1016. });
  1017. }
  1018. /**
  1019. * 获取大数据平台概-览用户概览数据;
  1020. * @return {AxjxPromise}
  1021. */
  1022. export function getUserOverviewPage(data) {
  1023. return ajax({
  1024. urlType: "leverAudience",
  1025. url: "/cxzx-program/new-media/overview/user",
  1026. method: "POST",
  1027. data,
  1028. });
  1029. }
  1030. /**
  1031. * 获取大数据平台概览-地域概览数据;
  1032. * @return {AxjxPromise}
  1033. */
  1034. export function getAreaOverviewPage(data) {
  1035. return ajax({
  1036. urlType: "leverAudience",
  1037. url: "/cxzx-program/new-media/overview/area",
  1038. method: "POST",
  1039. data,
  1040. });
  1041. }
  1042. /**
  1043. * 获取大数据平台新媒体用户活跃度数据;
  1044. * @return {AxjxPromise}
  1045. */
  1046. export function getUserActivity(data) {
  1047. return ajax({
  1048. urlType: "leverAudience",
  1049. url: "/cxzx-program/new-media/user/activity/list-v2",
  1050. method: "POST",
  1051. data,
  1052. });
  1053. }
  1054. /**
  1055. * 已发稿件数量排行榜
  1056. * @return {AxjxPromise}
  1057. */
  1058. export function getArticleCnt(data) {
  1059. return ajax({
  1060. urlType: "rankApi",
  1061. url: "/article/articleCnt",
  1062. method: "GET",
  1063. data,
  1064. });
  1065. }
  1066. /**
  1067. * 稿件传播量排行榜
  1068. * @return {AxjxPromise}
  1069. */
  1070. export function getArticlePv(data) {
  1071. return ajax({
  1072. urlType: "rankApi",
  1073. url: "/article/articlePv",
  1074. method: "GET",
  1075. data,
  1076. });
  1077. }