|
@@ -820,6 +820,52 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ showClick(record) {
|
|
|
+ this.visible = true
|
|
|
+ this.loadingChild = true
|
|
|
+ if (this.tabKey == 1) {
|
|
|
+
|
|
|
+ this.columnsChildren = [...accountColumns, ...bytedanceColumns]
|
|
|
+ var params = {
|
|
|
+ startDate: this.dateRange[0].format('YYYY-MM-DD'),
|
|
|
+ endDate: this.dateRange[1].format('YYYY-MM-DD'),
|
|
|
+ projectId: record.projectId,
|
|
|
+ pageNum: '1',
|
|
|
+ pageSize: '10'
|
|
|
+ }
|
|
|
+ postAction('/ctop/report/getBytedanceAccountInfoByProjectId', params).then(res => {
|
|
|
+
|
|
|
+ if (res.success) {
|
|
|
+ this.loadingChild = false
|
|
|
+ this.tableDataChild = res.result.list
|
|
|
+ this.ipaginationCount.total = res.result.total
|
|
|
+ } else {
|
|
|
+ this.loadingChild = false
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
+ } else if (this.tabKey == 2) {
|
|
|
+ this.columnsChildren = [...accountColumns, ...publicColumns]
|
|
|
+ var params = {
|
|
|
+ startDate: this.dateRange[0].format('YYYY-MM-DD'),
|
|
|
+ endDate: this.dateRange[1].format('YYYY-MM-DD'),
|
|
|
+ projectId: record.projectId,
|
|
|
+ pageNum: '1',
|
|
|
+ pageSize: '10'
|
|
|
+ }
|
|
|
+ postAction('/kuaishou/getKuaishouAccountInfoByProjectId', params).then(res => {
|
|
|
+
|
|
|
+ if (res.success) {
|
|
|
+ this.loadingChild = false
|
|
|
+ this.tableDataChild = res.result.list
|
|
|
+ this.ipaginationCount.total = res.result.total
|
|
|
+ } else {
|
|
|
+ this.loadingChild = false
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
click(record, index) {
|
|
|
return {
|
|
|
on: {
|