123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940 |
- "use strict";
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.advertisementApi = advertisementApi;
- exports.inOutApi = inOutApi;
- exports.epgApi = epgApi;
- exports.liveRealDataMinApi = liveRealDataMinApi;
- exports.liveRealDataApi = liveRealDataApi;
- exports.liveDataApi = liveDataApi;
- exports.heightlightDataApi = heightlightDataApi;
- exports.heightlightApi = heightlightApi;
- exports.list = list;
- exports.listcsv = listcsv;
- exports.channel = channel;
- exports.channelcsv = channelcsv;
- exports.epgList = epgList;
- exports.epgDetail = epgDetail;
- exports.epgResult = epgResult;
- exports.defaultAjax = defaultAjax;
- exports.frequencyList = frequencyList;
- exports.PLList = PLList;
- exports.allDayEpg = allDayEpg;
- exports.overlapSearchTitle = overlapSearchTitle;
- exports.overlap = overlap;
- exports.adChannelList = adChannelList;
- exports.launchList = launchList;
- exports.trendList = trendList;
- exports.proportionList = proportionList;
- exports.customerList = customerList;
- exports.advantageousList = advantageousList;
- exports.potentialList = potentialList;
- exports.saturationList = saturationList;
- exports.allindustryList = allindustryList;
- exports.industryList = industryList;
- exports.byIndustryTrendHard = byIndustryTrendHard;
- exports.byIndustryTrendSoft = byIndustryTrendSoft;
- exports.smallIndustryProportion = smallIndustryProportion;
- exports.MediaShare = MediaShare;
- exports.ChannelDistribution = ChannelDistribution;
- exports.ProgramTypeDistribution = ProgramTypeDistribution;
- exports.ProgramTypeDistributionChart = ProgramTypeDistributionChart;
- exports.ImportantCustomer = ImportantCustomer;
- exports.LastWeekTrend = LastWeekTrend;
- exports.BrandTop = BrandTop;
- exports.ChannelTop = ChannelTop;
- exports.channelRank = channelRank;
- exports.platform = platform;
- exports.platformlistData = platformlistData;
- exports.platformList = platformList;
- exports.guijiLogin = guijiLogin;
- exports.guijiActivity = guijiActivity;
- exports.guijiTopic = guijiTopic;
- exports.guijiSpread = guijiSpread;
- exports.guijiTrend = guijiTrend;
- exports.guijiDepartment = guijiDepartment;
- exports.guijiHottopic = guijiHottopic;
- exports.guijiBumenList = guijiBumenList;
- exports.guijiFagao = guijiFagao;
- exports.leverAudience = leverAudience;
- exports.audioGet = audioGet;
- exports.audioList = audioList;
- var _request = _interopRequireDefault(require("@/utils/request.js"));
- var _request_axios = _interopRequireDefault(require("@/utils/request_axios.js"));
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
- /**
- * 广告
- * @returns {AxjxPromise}
- */
- function advertisementApi(data) {
- return (0, _request["default"])({
- url: "/kuyun_eye_ad/cbd_public/perform",
- method: "get",
- data: data
- });
- }
- /**
- * 流入流出
- * @returns {AxjxPromise}
- */
- function inOutApi(data) {
- return (0, _request["default"])({
- url: "/api/recent_inout",
- method: "get",
- data: data
- });
- }
- /**
- * epg
- * @returns {AxjxPromise}
- */
- function epgApi(data) {
- return (0, _request["default"])({
- url: "/api/recent_epgs",
- method: "get",
- data: data
- });
- }
- /**
- * 直播实时 分
- * @returns {AxjxPromise}
- */
- function liveRealDataMinApi(data) {
- return (0, _request["default"])({
- url: "/api/sec_ratings",
- method: "get",
- data: data
- });
- }
- /**
- * 直播实时数据
- * @returns {AxjxPromise}
- */
- function liveRealDataApi(data) {
- return (0, _request["default"])({
- url: "/api/min_ratings",
- method: "get",
- data: data
- });
- }
- /**
- * 直播实时数据
- * @returns {AxjxPromise}
- */
- function liveDataApi(data) {
- return (0, _request["default"])({
- url: "/api/tvlb",
- method: "get",
- data: data
- });
- }
- /**
- * 高光数据
- * @returns {AxjxPromise}
- */
- function heightlightDataApi(data) {
- return (0, _request["default"])({
- url: "/api/hl/calendar",
- method: "get",
- data: data
- });
- }
- /**
- * 高光时刻
- * @returns {AxjxPromise}
- */
- function heightlightApi(data) {
- return (0, _request["default"])({
- url: "/api/hl/list-milestone",
- method: "get",
- data: data
- });
- }
- /**
- * 节目
- * @returns {AxjxPromise}
- */
- function list(data) {
- return (0, _request["default"])({
- url: "/api/proepglb",
- method: "get",
- data: data
- });
- }
- /**
- * 节目导出
- * @returns {AxjxPromise}
- */
- function listcsv(data) {
- return (0, _request["default"])({
- url: "/api/proepglb/csv",
- method: "get",
- downCsv: true,
- data: data
- });
- }
- /**
- * 频道
- * @returns {AxjxPromise}
- */
- function channel(data) {
- return (0, _request["default"])({
- url: "/api/protvlb",
- method: "get",
- data: data
- });
- }
- /**
- * 频道导出
- * @returns {AxjxPromise}
- */
- function channelcsv(data) {
- return (0, _request["default"])({
- url: "/api/protvlb/csv",
- method: "get",
- downCsv: true,
- data: data
- });
- }
- /**
- * 获取精品节目列表
- * @props {}
- * @returns {AxjxPromise}
- */
- function epgList() {
- return (0, _request["default"])({
- urlType: "url2",
- url: "/program",
- method: "get"
- });
- }
- /**
- * 获取精品节目详情
- * @props {}
- * @returns {AxjxPromise}
- */
- function epgDetail(data) {
- return (0, _request["default"])({
- urlType: "url2",
- url: "/epg-detail",
- method: "get",
- target: data.target,
- data: {
- epgId: data.epgId
- }
- });
- }
- /**
- * 获取精品节目指标
- * @props {}
- * @returns {AxjxPromise}
- */
- function epgResult(data) {
- return (0, _request["default"])({
- urlType: "url2",
- url: "/epg-result",
- method: "get",
- data: data
- });
- }
- /**
- * 自由接口
- * @props {url, data}
- * @return {AxjxPromise}
- */
- function defaultAjax(props) {
- return (0, _request["default"])({
- urlType: "url3",
- url: props.url,
- method: "get",
- notLoad: props.notLoad,
- target: props.target,
- data: props.data
- });
- }
- /**
- * 频率列表
- * @props {}
- * @return {AxjxPromise}
- */
- function frequencyList() {
- return (0, _request["default"])({
- urlType: "url2",
- url: "/broadcast/dict",
- method: "get"
- });
- }
- /**
- * 频率查询
- * @props {}
- * @return {AxjxPromise}
- */
- function PLList(data) {
- return (0, _request["default"])({
- urlType: "url2",
- url: "/broadcast/list",
- method: "get",
- data: data
- });
- } // 全国接口
- /**
- * 频道全天节目
- * 表格查询
- * @props {}
- * @return {AxjxPromise}
- */
- function allDayEpg(data) {
- return (0, _request["default"])({
- urlType: "kuyunApi",
- url: "/broadcast/list",
- method: "get",
- data: data
- });
- } // 重叠度
- /**
- * 节目查询
- * 图表查询
- * @props {}
- * @return {AxjxPromise}
- */
- function overlapSearchTitle(data) {
- return (0, _request["default"])({
- urlType: "kuyunApi",
- url: "/api/evaluation/eye/search_suggest?" + data,
- method: "GET"
- });
- }
- /**
- * 节目重叠度
- * 图表查询
- * @props {}
- * @return {AxjxPromise}
- */
- function overlap(data) {
- return (0, _request["default"])({
- urlType: "kuyunApi",
- url: "/ProUserOverlapAction",
- method: "GET",
- data: data
- });
- }
- /**
- * 广告频道列表
- * @props {}
- * @return {AxjxPromise}
- */
- function adChannelList() {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/channel",
- method: "GET"
- });
- }
- /**
- * 投放分析
- * @props {string} channelId
- * @props {string} start
- * @props {string} end
- * @return {AxjxPromise}
- */
- function launchList(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/day",
- method: "POST",
- data: data
- });
- }
- /**
- * 时段分析
- * @props {string} channelId
- * @props {string} start
- * @props {string} end
- * @return {AxjxPromise}
- */
- function trendList(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/hour",
- method: "POST",
- data: data
- });
- }
- /**
- * 行业占比
- * @props {string} channelId
- * @props {string} start
- * @props {string} end
- * @return {AxjxPromise}
- */
- function proportionList(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/ratio",
- method: "POST",
- data: data
- });
- }
- /**
- * 客户投放详情
- * @props {string} channelId
- * @props {string} start
- * @props {string} end
- * @return {AxjxPromise}
- */
- function customerList(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/detail",
- method: "POST",
- data: data
- });
- }
- /**
- * 优势客户
- * @props {string} channelId
- * @props {string} start
- * @props {string} end
- * @return {AxjxPromise}
- */
- function advantageousList(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/youshi",
- method: "POST",
- data: data
- });
- }
- /**
- * 潜在客户
- * @props {string} channelId
- * @props {string} start
- * @props {string} end
- * @return {AxjxPromise}
- */
- function potentialList(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/qianzai",
- method: "POST",
- data: data
- });
- }
- /**
- * 饱和度
- * @props {string} channelId
- * @props {string} start
- * @props {string} end
- * @return {AxjxPromise}
- */
- function saturationList(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/saturation",
- method: "POST",
- data: data
- });
- }
- /**
- * 行业列表
- * @return {AxjxPromise}
- */
- function allindustryList(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/industry/list",
- method: "GET",
- data: data
- });
- }
- /**
- * 全行业
- * @props {string} tableType
- * @props {string} indexTime
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function industryList(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/market",
- method: "POST",
- data: data
- });
- }
- /***************************************分行业 */
- /**
- * 分行业硬广
- * @props {string} tableType
- * @props {string} indexTime
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function byIndustryTrendHard(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/industry/TrendHard",
- method: "POST",
- data: data
- });
- }
- /**
- * 分行业软广
- * @props {string} tableType
- * @props {string} indexTime
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function byIndustryTrendSoft(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/industry/TrendSoft",
- method: "POST",
- data: data
- });
- }
- /**
- * 中小行业占比
- * @props {string} tableType
- * @props {string} indexTime
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function smallIndustryProportion(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/industry/MSIndustryProportion",
- method: "POST",
- data: data
- });
- }
- /**
- * 媒体份额
- * @props {string} tableType
- * @props {string} indexTime
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function MediaShare(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/industry/MediaShare",
- method: "POST",
- data: data
- });
- }
- /**
- * 频道份额
- * @props {string} tableType
- * @props {string} indexTime
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function ChannelDistribution(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/industry/ChannelDistribution",
- method: "POST",
- data: data
- });
- }
- /**
- * 节目类型
- * @props {string} tableType
- * @props {string} indexTime
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function ProgramTypeDistribution(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/industry/ProgramTypeDistribution",
- method: "POST",
- data: data
- });
- }
- /**
- * 节目类型
- * @props {string} tableType
- * @props {string} indexTime
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function ProgramTypeDistributionChart(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/industry/ProgramTypeDistributionTable",
- method: "POST",
- data: data
- });
- }
- /**
- * 重点客户
- * @props {string} tableType
- * @props {string} indexTime
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function ImportantCustomer(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/industry/ImportantCustomer",
- method: "POST",
- data: data
- });
- }
- /**
- * 周走势
- * @props {string} tableType
- * @props {string} indexTime
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function LastWeekTrend(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/industry/LastWeekTrend",
- method: "POST",
- data: data
- });
- }
- /**
- * 品牌top
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function BrandTop(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/index/brand",
- method: "POST",
- data: data
- });
- }
- /**
- * 品牌top
- * @props {string} dataType
- * @return {AxjxPromise}
- */
- function ChannelTop(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/index/channel",
- method: "POST",
- data: data
- });
- }
- /**
- * 投放分析
- * @props {string} channelId
- * @props {string} start
- * @props {string} end
- * @return {AxjxPromise}
- */
- function channelRank(data) {
- return (0, _request["default"])({
- urlType: "adAPI",
- url: "/ad/channel/rank",
- method: "POST",
- data: data
- });
- }
- /**
- * 获取平台信息数据
- * @props {string} end
- * @return {AxjxPromise}
- */
- function platform(data) {
- return (0, _request["default"])({
- urlType: "url2",
- url: "/new-media/agg",
- method: "POST",
- data: data
- });
- }
- /**
- * 获取平台信息数据
- * @props {string} end
- * @return {AxjxPromise}
- */
- function platformlistData(data) {
- return (0, _request["default"])({
- urlType: "url2",
- url: "/new-media/list",
- method: "POST",
- data: data
- });
- }
- /**
- * 获取平台信息列表
- * @props {string} end
- * @return {AxjxPromise}
- */
- function platformList(data) {
- return (0, _request["default"])({
- urlType: "url2",
- url: "/new-media/platform",
- method: "POST",
- data: data
- });
- }
- /**
- * 归集登录
- * @return {AxjxPromise}
- */
- function guijiLogin(data) {
- return (0, _request_axios["default"])({
- url: "/login-v2",
- method: "POST",
- data: data
- });
- }
- /**
- * 归集活动接口
- * @return {AxjxPromise}
- */
- function guijiActivity(data) {
- return (0, _request_axios["default"])({
- url: "/activity/list",
- method: "POST",
- data: data
- });
- }
- /**
- * 归集话题
- * @props {string} activityId
- * @return {AxjxPromise}
- */
- function guijiTopic(data) {
- return (0, _request_axios["default"])({
- url: "/topic/list",
- method: "POST",
- data: data
- });
- }
- /**
- * 传播数据
- * @props {string} topic
- * @return {AxjxPromise}
- */
- function guijiSpread(data) {
- return (0, _request_axios["default"])({
- url: "/topic/overview?topic=" + data.topic,
- method: "GET"
- });
- }
- /**
- * 传播量趋势
- * @props {string} topic
- * @return {AxjxPromise}
- */
- function guijiTrend(data) {
- return (0, _request_axios["default"])({
- url: "/topic/history?topic=" + data.topic,
- method: "GET"
- });
- }
- /**
- * 部门传播量排行
- * @props {string} depRange
- * @props {string} title
- * @return {AxjxPromise}
- */
- function guijiDepartment(data) {
- return (0, _request_axios["default"])({
- url: "/topic/read",
- method: "POST",
- data: data
- });
- }
- /**
- * 热点报道
- * @props {string} topic
- * @return {AxjxPromise}
- */
- function guijiHottopic(data) {
- return (0, _request_axios["default"])({
- url: "/charts/hot-topic?topic=" + data.topic,
- method: "GET"
- });
- }
- /**
- * 部门列表
- * @return {AxjxPromise}
- */
- function guijiBumenList() {
- return (0, _request_axios["default"])({
- url: "/topic/dep-dict",
- method: "GET"
- });
- }
- /**
- * 发稿统计
- * @return {AxjxPromise}
- */
- function guijiFagao(data) {
- return (0, _request_axios["default"])({
- url: "/topic/detail",
- method: "POST",
- data: data
- });
- }
- /**
- * 发稿统计
- * @return {AxjxPromise}
- */
- function leverAudience(data) {
- return (0, _request["default"])({
- urlType: "leverAudience",
- url: "/cxzx-program/flow/channels",
- method: "GET",
- data: data
- });
- }
- /**
- * 广播数据
- * @return {AxjxPromise}
- */
- function audioGet(data) {
- return (0, _request["default"])({
- urlType: "leverAudience",
- url: "/cxzx-radio-rate/radio-rate",
- method: "POST",
- data: data
- });
- }
- /**
- * 广播列表
- * @return {AxjxPromise}
- */
- function audioList(data) {
- return (0, _request["default"])({
- urlType: "leverAudience",
- url: "/cxzx-radio-rate/radio-names",
- method: "GET",
- data: data
- });
- }
|