index.js 19 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121
  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. * 获取大数据平台内容分析 检索内容汇总new-media;
  864. * @return {AxjxPromise}
  865. */
  866. export function getContentTotle(data) {
  867. return ajax({
  868. urlType: "leverAudience",
  869. url: "/cxzx-program/new-media/content/total",
  870. method: "POST",
  871. data,
  872. });
  873. }
  874. /**
  875. * 获取大数据平台内容分析 图形;
  876. * @return {AxjxPromise}
  877. */
  878. export function getContentChart(data) {
  879. return ajax({
  880. urlType: "leverAudience",
  881. url: "/cxzx-program/new-media/content/dt",
  882. method: "POST",
  883. data,
  884. });
  885. }
  886. /**
  887. * 获取大数据平台内容分析 表格;
  888. * @return {AxjxPromise}
  889. */
  890. export function getContentPage(data) {
  891. return ajax({
  892. urlType: "leverAudience",
  893. url: "/cxzx-program/new-media/content/list",
  894. method: "POST",
  895. data,
  896. });
  897. }
  898. /**
  899. * 获取大数据平台新用户留存分析 表格;
  900. * @return {AxjxPromise}
  901. */
  902. export function getKeepPage(data) {
  903. return ajax({
  904. urlType: "leverAudience",
  905. url: "/cxzx-program/new-media/user/keep",
  906. method: "POST",
  907. data,
  908. });
  909. }
  910. /**
  911. * 获取大数据平台活跃用户留存分析 表格;
  912. * @return {AxjxPromise}
  913. */
  914. export function getActivePage(data) {
  915. return ajax({
  916. urlType: "leverAudience",
  917. url: "/cxzx-program/new-media/user/active-keep",
  918. method: "POST",
  919. data,
  920. });
  921. }
  922. /**
  923. * 获取大数据平台新用户留存分析 表格;
  924. * @return {AxjxPromise}
  925. */
  926. export function getSearchPage(data) {
  927. return ajax({
  928. urlType: "leverAudience",
  929. url: "/cxzx-program/new-media/search/list",
  930. method: "POST",
  931. data,
  932. });
  933. }
  934. /**
  935. * 获取大数据平台新用户留存分析 top10;
  936. * @return {AxjxPromise}
  937. */
  938. export function getSearchTop10(data) {
  939. return ajax({
  940. urlType: "leverAudience",
  941. url: "/cxzx-program/new-media/search/top10",
  942. method: "POST",
  943. data,
  944. });
  945. }
  946. /**
  947. * 获取大数据平台版本分析 表格;
  948. * @return {AxjxPromise}
  949. */
  950. export function getVersionPage(data) {
  951. return ajax({
  952. urlType: "leverAudience",
  953. url: "/cxzx-program/new-media/user/version",
  954. method: "POST",
  955. data,
  956. });
  957. }
  958. /**
  959. * 获取大数据平台版本分析 图表;
  960. * @return {AxjxPromise}
  961. */
  962. export function getVersionChart(data) {
  963. return ajax({
  964. urlType: "leverAudience",
  965. url: "/cxzx-program/new-media/user/version-dt",
  966. method: "POST",
  967. data,
  968. });
  969. }
  970. /**
  971. * 获取大数据平台直播分析 表格;
  972. * @return {AxjxPromise}
  973. */
  974. export function getLivePage(data) {
  975. return ajax({
  976. urlType: "leverAudience",
  977. url: "/cxzx-program/new-media/live/list",
  978. method: "POST",
  979. data,
  980. });
  981. }
  982. /**
  983. * 获取大数据平台地域分析 地图;
  984. * @return {AxjxPromise}
  985. */
  986. export function getRegionChart(data) {
  987. return ajax({
  988. urlType: "leverAudience",
  989. url: "/cxzx-program/new-media/user/area",
  990. method: "POST",
  991. data,
  992. });
  993. }
  994. /**
  995. * 获取大数据平台渠道分析 图表;
  996. * @return {AxjxPromise}
  997. */
  998. export function getChannleChart(data) {
  999. return ajax({
  1000. urlType: "leverAudience",
  1001. url: "/cxzx-program/new-media/user/manufacturer-dt",
  1002. method: "POST",
  1003. data,
  1004. });
  1005. }
  1006. /**
  1007. * 获取大数据平台渠道分析 页面;
  1008. * @return {AxjxPromise}
  1009. */
  1010. export function getChannlePage(data) {
  1011. return ajax({
  1012. urlType: "leverAudience",
  1013. url: "/cxzx-program/new-media/user/manufacturer",
  1014. method: "POST",
  1015. data,
  1016. });
  1017. }
  1018. /**
  1019. * 获取大数据平台概览数据;
  1020. * @return {AxjxPromise}
  1021. */
  1022. export function getOverviewPage(data) {
  1023. return ajax({
  1024. urlType: "leverAudience",
  1025. url: "/cxzx-program/new-media/overview",
  1026. method: "POST",
  1027. data,
  1028. });
  1029. }
  1030. /**
  1031. * 获取大数据平台概-览用户概览数据;
  1032. * @return {AxjxPromise}
  1033. */
  1034. export function getUserOverviewPage(data) {
  1035. return ajax({
  1036. urlType: "leverAudience",
  1037. url: "/cxzx-program/new-media/overview/user",
  1038. method: "POST",
  1039. data,
  1040. });
  1041. }
  1042. /**
  1043. * 获取大数据平台概览-地域概览数据;
  1044. * @return {AxjxPromise}
  1045. */
  1046. export function getAreaOverviewPage(data) {
  1047. return ajax({
  1048. urlType: "leverAudience",
  1049. url: "/cxzx-program/new-media/overview/area",
  1050. method: "POST",
  1051. data,
  1052. });
  1053. }
  1054. /**
  1055. * 获取大数据平台新媒体用户活跃度数据;
  1056. * @return {AxjxPromise}
  1057. */
  1058. export function getUserActivity(data) {
  1059. return ajax({
  1060. urlType: "leverAudience",
  1061. url: "/cxzx-program/new-media/user/activity/list-v2",
  1062. method: "POST",
  1063. data,
  1064. });
  1065. }