|
@@ -1,4 +1,3 @@
|
|
|
-
|
|
|
<style>
|
|
|
/* .data-display-statistics .ant-col-6 {
|
|
|
margin: 10px 0;
|
|
@@ -55,9 +54,10 @@ th div {
|
|
|
<a-row class="image-list-heading vm-panel">
|
|
|
<div class="panel-heading" style="display:flex;justify-content: space-between;">{{ title }}</div>
|
|
|
<a-row type="flex" align="middle" justify="space-between" class="panel-body">
|
|
|
- <div class="search-bar" style="width:100%">
|
|
|
- <span>账户选择:</span>
|
|
|
- <a-select
|
|
|
+ <div class="search-bar" style="width:100%;display:flex">
|
|
|
+ <span style="line-height:35px">账户选择:</span>
|
|
|
+ <treeselect :appId.sync="appId" />
|
|
|
+ <!-- <a-select
|
|
|
v-model="appId"
|
|
|
showSearch
|
|
|
allowClear
|
|
@@ -70,8 +70,8 @@ th div {
|
|
|
:key="appModel.id+new Date().getTime()"
|
|
|
:value="appModel.accountId"
|
|
|
>{{appModel.advertiserName}}  {{appModel.accountId}}   {{appModel.authName}}  {{appModel.operationName}}</a-select-option>
|
|
|
- </a-select>
|
|
|
- <a-button type="primary" style="margin:10px" @click="addUser">搜索</a-button>
|
|
|
+ </a-select> -->
|
|
|
+ <a-button type="primary" style="margin-left:10px" @click="addUser">搜索</a-button>
|
|
|
</div>
|
|
|
</a-row>
|
|
|
</a-row>
|
|
@@ -85,12 +85,9 @@ th div {
|
|
|
|
|
|
<a-table :columns="columns" :dataSource="dataList" bordered :loading="loading">
|
|
|
<div slot="videoUrl" slot-scope="videoUrl">
|
|
|
- <video
|
|
|
- class="video"
|
|
|
- :src="videoUrl"
|
|
|
- controls="controls"
|
|
|
- style="height:200px;width:112.5px"
|
|
|
- >您的浏览器不支持 video 标签。</video>
|
|
|
+ <video class="video" :src="videoUrl" controls="controls" style="height:200px;width:112.5px">
|
|
|
+ 您的浏览器不支持 video 标签。
|
|
|
+ </video>
|
|
|
</div>
|
|
|
<div slot="coverUrl" slot-scope="coverUrl">
|
|
|
<img :src="coverUrl" controls="controls" style="height:200px;width:112.5px" />
|
|
@@ -98,23 +95,15 @@ th div {
|
|
|
<template slot="creativeName" slot-scope="text, record">
|
|
|
<!-- <editable-cell :text="text" @change="onCellChange(record, 'creativeName', $event)" /> -->
|
|
|
<div>
|
|
|
- {{text}}
|
|
|
- <a-icon
|
|
|
- type="edit"
|
|
|
- style="cursor: pointer;"
|
|
|
- @click="onCellChange(record, 'creativeName')"
|
|
|
- />
|
|
|
+ {{ text }}
|
|
|
+ <a-icon type="edit" style="cursor: pointer;" @click="onCellChange(record, 'creativeName')" />
|
|
|
</div>
|
|
|
</template>
|
|
|
<template slot="description" slot-scope="text, record">
|
|
|
<!-- <editable-cell :text="text" @change="onCellChange(record, 'description', $event)" /> -->
|
|
|
<div>
|
|
|
- {{text}}
|
|
|
- <a-icon
|
|
|
- type="edit"
|
|
|
- style="cursor: pointer;"
|
|
|
- @click="onCellChange(record, 'description')"
|
|
|
- />
|
|
|
+ {{ text }}
|
|
|
+ <a-icon type="edit" style="cursor: pointer;" @click="onCellChange(record, 'description')" />
|
|
|
</div>
|
|
|
</template>
|
|
|
</a-table>
|
|
@@ -139,6 +128,9 @@ import { getMaterialAccount, getRefuseCreative, updateCreative, selectByCreateNa
|
|
|
import axios from 'axios'
|
|
|
import EditableCell from './components/EditableCell'
|
|
|
import { mapGetters } from 'vuex'
|
|
|
+
|
|
|
+import Treeselect from './components/Treeselect.vue'
|
|
|
+
|
|
|
import { stopOtherVideo, closeAllVideoFun } from '@/utils/videoControl' // 停止除当前外的其他视频播放,及停止所有视频播放的方法
|
|
|
const columns = [
|
|
|
{
|
|
@@ -205,7 +197,8 @@ const columns = [
|
|
|
export default {
|
|
|
name: 'refuse-data',
|
|
|
components: {
|
|
|
- EditableCell
|
|
|
+ EditableCell,
|
|
|
+ Treeselect
|
|
|
},
|
|
|
|
|
|
data: function() {
|