|
@@ -577,6 +577,33 @@ const columnsFixd = [
|
|
scopedSlots: { customRender: 'cost' }
|
|
scopedSlots: { customRender: 'cost' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
+const columnsTt = [
|
|
|
|
+ {
|
|
|
|
+ title: '排名',
|
|
|
|
+ dataIndex: 'rowNumber',
|
|
|
|
+ align: 'center',
|
|
|
|
+ customRender: (t, r, index) => {
|
|
|
|
+ return index + 1
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '设计人员',
|
|
|
|
+ dataIndex: 'userName',
|
|
|
|
+ align: 'center'
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ title: '消耗(元)',
|
|
|
|
+ dataIndex: 'cost',
|
|
|
|
+ align: 'center',
|
|
|
|
+ scopedSlots: { customRender: 'cost' }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '爆款视频数',
|
|
|
|
+ dataIndex: 'videoHotCount',
|
|
|
|
+ align: 'center'
|
|
|
|
+ },
|
|
|
|
+]
|
|
|
|
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
@@ -1242,6 +1269,7 @@ export default {
|
|
if (data == 'materialQuality') {
|
|
if (data == 'materialQuality') {
|
|
params.materialQuality = 1
|
|
params.materialQuality = 1
|
|
} else if (data == 'materialType') {
|
|
} else if (data == 'materialType') {
|
|
|
|
+ params.materialQuality = 0
|
|
params.materialType = this.videoType == 0 ? '' : this.videoType
|
|
params.materialType = this.videoType == 0 ? '' : this.videoType
|
|
}
|
|
}
|
|
params = JSON.stringify(params)
|
|
params = JSON.stringify(params)
|
|
@@ -1319,6 +1347,11 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.timeShowEchartsStatus = true
|
|
this.timeShowEchartsStatus = true
|
|
}
|
|
}
|
|
|
|
+ if (this.mediaDimension === 'b') {
|
|
|
|
+ this.columns = [...columnsFixd]
|
|
|
|
+ } else {
|
|
|
|
+ this.columns = [...columnsTt]
|
|
|
|
+ }
|
|
this.getData()
|
|
this.getData()
|
|
},
|
|
},
|
|
resetSubmit() {
|
|
resetSubmit() {
|