|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
* @Autor: 飘泊客
|
|
|
|
|
* @Date: 2021-12-02 16:54:53
|
|
|
|
|
* @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
|
|
|
|
|
* @LastEditTime: 2023-10-16 19:32:17
|
|
|
|
|
* @LastEditTime: 2023-07-12 15:58:49
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
@ -422,6 +422,20 @@
|
|
|
|
|
>
|
|
|
|
|
<div class="u-flex u-flex-between top-currency-title">
|
|
|
|
|
<div class="charTitle">广告质量分</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-button
|
|
|
|
|
size="mini"
|
|
|
|
|
type="primary"
|
|
|
|
|
class="filter-item mb-5"
|
|
|
|
|
@click="advertisingFun(1)"
|
|
|
|
|
>建模</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
size="mini"
|
|
|
|
|
type="success"
|
|
|
|
|
class="filter-item mb-5"
|
|
|
|
|
@click="advertisingFun(2)"
|
|
|
|
|
>上传巨量</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex;justify-content: center;align-items: center;">
|
|
|
|
|
<advertisingQualityscore v-if="JSON.stringify(advertisingQualityScoreData) !== '{}'" :series-value="advertisingQualityScoreData" />
|
|
|
|
@ -1482,6 +1496,18 @@ export default {
|
|
|
|
|
this.agreementDialog = this.user.companyStatus !== 1
|
|
|
|
|
}
|
|
|
|
|
this.updateUrl = this.$store.getters.picturesUpload
|
|
|
|
|
// var isrem = localStorage.getItem('isRemind')
|
|
|
|
|
// if (everydayRemind() && isrem !== 1 && this.user.companyStatus === 1) {
|
|
|
|
|
// this.$alert(
|
|
|
|
|
// `<i style='color:red'>昨日日报已生成,可在首页下载</i>`,
|
|
|
|
|
// '公告',
|
|
|
|
|
// {
|
|
|
|
|
// confirmButtonText: '知道啦',
|
|
|
|
|
// dangerouslyUseHTMLString: true
|
|
|
|
|
// }
|
|
|
|
|
// )
|
|
|
|
|
// localStorage.setItem('isRemind', 1)
|
|
|
|
|
// }
|
|
|
|
|
} else if (!this.user.isManager && !this.user.isAdmin) {
|
|
|
|
|
this.Statistics.usrNum = 0
|
|
|
|
|
this.Statistics.turnOnNum = 0
|
|
|
|
@ -1505,23 +1531,21 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.getTurnover()
|
|
|
|
|
}
|
|
|
|
|
// 公告
|
|
|
|
|
// var isrem = Number(localStorage.getItem('isRemind'))
|
|
|
|
|
// if (isrem !== 1) {
|
|
|
|
|
// this.$alert(
|
|
|
|
|
// `<i>接<i style='color:red'>网信办</i>风险评估整改下发通知,太空猫平台将于10月16日晚8点进行配合整改升级,升级完成后,客户手机号将不再通过【转到CRM】进行解锁,需要在通话时询问客户联系方式并进行填写后即可转入【我的线索】,请各位用户悉知,感谢。</i>`,
|
|
|
|
|
// '通知',
|
|
|
|
|
// {
|
|
|
|
|
// confirmButtonText: '知道啦',
|
|
|
|
|
// dangerouslyUseHTMLString: true
|
|
|
|
|
// }
|
|
|
|
|
// )
|
|
|
|
|
// }
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
handleSetLineChartData(type) {
|
|
|
|
|
this.$emit('handleSetLineChartData', type)
|
|
|
|
|
},
|
|
|
|
|
advertisingFun(type) {
|
|
|
|
|
if (type === 1) {
|
|
|
|
|
this.$alert('当前检测数量不足,需达到100,000才可制作上传!', '提示', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
callback: action => {}
|
|
|
|
|
})
|
|
|
|
|
} else if (type === 2) {
|
|
|
|
|
window.open('https://business.oceanengine.com/site/asset/dmp/audience/list', 'mozillaTab')
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 时间格式化
|
|
|
|
|
formatTime(timestamp) {
|
|
|
|
|
const time = new Date(timestamp)
|
|
|
|
@ -1563,6 +1587,7 @@ export default {
|
|
|
|
|
const res = await getAdvertisingQualityScore()
|
|
|
|
|
if (res.status === 0) {
|
|
|
|
|
this.advertisingQualityScoreData = res.data
|
|
|
|
|
console.log(this.advertisingQualityScoreData, 'this.advertisingQualityScoreData')
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.msg)
|
|
|
|
|
}
|
|
|
|
|