Procházet zdrojové kódy

提交批量2.0视频选择

朱鑫波 před 3 roky
rodič
revize
87c8573fdc

+ 1 - 1
src/views/modules/Statistics/materialReport/materialReport.vue

@@ -50,7 +50,7 @@
         <div class="card-containers">
             <a-tabs type="card">
                 <a-tab-pane key="1">
-                    <span slot="tab"><a-icon type="unordered-list" />大盘</span>
+                    <span slot="tab"><a-icon type="unordered-list" />素材大盘</span>
                 </a-tab-pane>
             </a-tabs>
             <div class="option" style="justify-content: space-between">

+ 7 - 1
src/views/modules/autoLaunch/trusteeship/index.vue

@@ -205,7 +205,7 @@
             <div class="table-page-search-wrapper">
                 <a-form layout="inline" :form="form" hide-required-mark :selfUpdate="true" @submit="handleQueryList">
                     <a-row :gutter="24" v-if="tabKey === 1">
-                        <a-col :md="12" :sm="12" :xxl="12">
+                        <a-col :md="8" :sm="8" :xxl="8">
                             <a-form-item label="账户名称">
                                 <selectTreeAccount
                                     v-decorator="['accountId', { initialValue: undefined }]"
@@ -215,6 +215,12 @@
                             </a-form-item>
                         </a-col>
                         <a-col :md="8" :sm="8" :xxl="8">
+                            <a-form-item label="策略名称">
+                                <a-input placeholder="请输入策略名称" v-decorator="['name', { initialValue: undefined }]"/>
+                            </a-form-item>
+                        </a-col>
+                        
+                        <a-col :md="8" :sm="8" :xxl="8">
                             <span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
                                 <a-button type="primary" icon="search" @click="handleQueryList">查询</a-button>
                                 <a-button type="primary" @click="handleResetForm" icon="reload" class="middle-button"

+ 218 - 191
src/views/modules/kuaishouapp/batchCreation/creat/creatUnit.vue

@@ -859,76 +859,113 @@
       @cancel="cancelAll"
       :width="1000"
     >
-      <a-tabs type="card" @change="callback" v-model="active" class="check-video">
-        <div slot="tabBarExtraContent"> 
-          当前选择数量
-          {{ sumContent + '/' + (getData('createType')=='0'?getData('createCount'):getData('createCount')*15) }}
-          <a-button  type="primary" @click="tongbu()" :loading="tongbuLoading" style="margin-left:10px">
-          刷新素材</a-button
-        >
-        </div>
-         
-        <a-tab-pane :tab="item.label" v-for="item of tab" :key="item.value">
-          <a-row :gutter="24">
-            <a-col :span="9">
-              <a-form-item label="日期选择" :labelCol="labelCol" :wrapperCol="wrapperCol">
-                <a-range-picker name="buildTime" v-model="time" />
-              </a-form-item>
-            </a-col>
-             <a-col :span="9">
-              <a-form-item label="唯一标识" :labelCol="labelCol" :wrapperCol="wrapperCol">
-                  <a-input placeholder="请输入唯一标识,多个以,隔开" v-model="md5Str"/>
-              </a-form-item>
-            </a-col>
-            <a-col :span="4">
-              <a-button style="position: relative;top: 4px;" @click="selectAllVideo">
-                全选
-              </a-button>
-              <a-button type="primary" style="position: relative;top: 4px;margin-left:5px" @click="searchVideo">
-                搜索
-              </a-button>
-            </a-col>
-
-            <!-- <a-col :span="12">
-              <a-form-item label="筛选条件" :labelCol="labelCol" :wrapperCol="wrapperCol">
-                <a-select v-model="orderBy" style="width: 100%">
-                  <a-select-option value="time"> 按时间排序 </a-select-option>
-                  <a-select-option value="cost"> 按消耗排序</a-select-option>
-                </a-select>
-              </a-form-item>
-            </a-col> -->
-          </a-row>
+        <a-row :gutter="24">
+          <a-col :span="8">
+            <a-form-item label="类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
+              <a-radio-group v-model="mediaDimension" style="width: 300px"> 
+                <a-radio-button value="a">按时间查询</a-radio-button>
+                <a-radio-button value="b">按消耗查询</a-radio-button>
+              </a-radio-group>
+            </a-form-item>
+          </a-col>
+          <a-col :span="8" v-if="mediaDimension == 'a'">
+            <a-form-item label="日期选择" :labelCol="labelCol" :wrapperCol="wrapperCol">
+              <a-range-picker name="buildTime" v-model="time" />
+            </a-form-item>
+          </a-col>
+          <a-col :span="8" v-else>
+            <a-form-item label="消耗时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
+              <a-select v-model="costType" placeholder="请选择消耗时间" style="width: 100%">
+                <a-select-option :value="1">昨天</a-select-option>
+                <a-select-option :value="2">近七天</a-select-option>
+                <a-select-option :value="3">近14天</a-select-option>
+                <a-select-option :value="4">近一个月</a-select-option>
+                <a-select-option :value="5">近三个月</a-select-option>
+                <a-select-option :value="6">近半年</a-select-option>
+                <a-select-option :value="7">近一年</a-select-option>
+                <a-select-option :value="8">全部</a-select-option>
+              </a-select>
+            </a-form-item>
+          </a-col>
+          <a-col :span="8">
+            <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol">
+              当前选择数量
+              {{ sumContent + '/' + (getData('createType')=='0'?getData('createCount'):getData('createCount')*15) }}
+              <a-button  type="primary" @click="tongbu()" :loading="tongbuLoading" style="margin-left:10px"  v-if="mediaDimension == 'a'">
+              刷新素材</a-button>
+            </a-form-item>
+          </a-col>
+        </a-row>
+        <a-row :gutter="24">
+          <a-col :span="8">
+            <a-form-item label="视频ID" :labelCol="labelCol" :wrapperCol="wrapperCol">
+               <a-input placeholder="请输入视频ID" v-model="photoId"/>
+            </a-form-item>
+          </a-col>
+          <a-col :span="8">
+            <a-form-item label="视频名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
+               <a-input placeholder="请输入视频名称" v-model="photoName"/>
+            </a-form-item>
+          </a-col>
+          <!-- <a-col :span="8" v-if="mediaDimension == 'a'">
+            <a-form-item label="唯一标识" :labelCol="labelCol" :wrapperCol="wrapperCol">
+                <a-input placeholder="请输入唯一标识,多个以,隔开" v-model="md5Str"/>
+            </a-form-item>
+          </a-col> -->
+          <a-col :span="4">
+            <a-button style="position: relative;top: 4px;" @click="selectAllVideo">
+              全选
+            </a-button>
+            <a-button type="primary" style="position: relative;top: 4px;margin-left:5px" @click="searchVideo">
+              搜索
+            </a-button>
+          </a-col>
+
+          <!-- <a-col :span="12">
+            <a-form-item label="筛选条件" :labelCol="labelCol" :wrapperCol="wrapperCol">
+              <a-select v-model="orderBy" style="width: 100%">
+                <a-select-option value="time"> 按时间排序 </a-select-option>
+                <a-select-option value="cost"> 按消耗排序</a-select-option>
+              </a-select>
+            </a-form-item>
+          </a-col> -->
+        </a-row>
           
-          <ul v-if="dataSource.length > 0" style="overflow: auto; padding-left: 0">
-            <a-checkbox-group v-model="checkVideo" style="width: 100%" @change="setData">
-              <li v-for="(item, index) of dataSource" :key="index" class="chouzhen" style="height: 400px">
-                <!-- <video class="video" :src="item.url" controls="controls" style="width:100%">
-                  您的浏览器不支持 video 标签。
-                </video> -->
-                <a-checkbox
-                  :value="item.photoId"
-                  style="width: 100%; position: absolute; z-index: 100; right: 0; top: 0"
-                >
-                  <img :src="item.coverUrl" alt="" style="width: 90%; margin-bottom: 30px" />
+        <ul v-if="dataSource.length > 0" style="overflow: auto; padding-left: 0">
+          <a-checkbox-group v-model="checkVideo" style="width: 100%" @change="setData">
+            <li v-for="(item, index) of dataSource" :key="index" class="chouzhen" style="height: 400px">
+              <!-- <video class="video" :src="item.url" controls="controls" style="width:100%">
+                您的浏览器不支持 video 标签。
+              </video> -->
+              <a-checkbox
+                :value="item.photoId"
+                style="width: 100%; position: absolute; z-index: 100; right: 0; top: 0"
+              >
+                <img :src="item.coverUrl" alt="" style="width: 90%; margin-bottom: 30px" />
+                <div>
                   <div style="width: 100%; text-align: center">
-                    {{ item.statDate ? '时间:' + item.statDate.split(' ')[0] : '消耗:' + item.charge }}
+                    {{ item.statDate&&item.channelType == 0 ? 
+                    '内部  ' + item.statDate.split(' ')[0]:item.statDate&&item.channelType == 1 ?
+                    '素造  ' + item.statDate.split(' ')[0]: item.charge&&item.channelType == 0?
+                    '内部  ' + item.charge :'素造  ' + item.charge}}
                   </div>
-                </a-checkbox>
-                <a @click="matemalVideo(item, index)" style="position: absolute; z-index: 100; right: 56px; bottom: 5px"
-                  >查看视频</a
-                >
-              </li>
-            </a-checkbox-group>
-          </ul>
-          <div v-else style="width: 100%; height: 400px; display: flex; justify-content: center; align-items: center">
-            <img
-              src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1575627350102&di=02972956f2243933bffc0d85099adbfe&imgtype=jpg&src=http%3A%2F%2Fimg0.imgtn.bdimg.com%2Fit%2Fu%3D1095310825%2C1528244349%26fm%3D214%26gp%3D0.jpg"
-              alt=""
-              v-if="!loadingVideoList"
-            />
-            <img v-else src="@/views/modules/material/loading.gif" />
-          </div>
-        </a-tab-pane>
+                </div>
+              
+              </a-checkbox>
+              <a @click="matemalVideo(item, index)" style="position: absolute; z-index: 100; right: 56px; bottom: 5px"
+                >查看视频</a
+              >
+            </li>
+          </a-checkbox-group>
+        </ul>
+        <div v-else style="width: 100%; height: 400px; display: flex; justify-content: center; align-items: center">
+          <img
+            src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1575627350102&di=02972956f2243933bffc0d85099adbfe&imgtype=jpg&src=http%3A%2F%2Fimg0.imgtn.bdimg.com%2Fit%2Fu%3D1095310825%2C1528244349%26fm%3D214%26gp%3D0.jpg"
+            alt=""
+            v-if="!loadingVideoList"
+          />
+          <img v-else src="@/views/modules/material/loading.gif" />
+        </div>
         <!-- <a-button slot="tabBarExtraContent" type="primary" @click="tongbu()" :loading="tongbuLoading">
           刷新素材</a-button
         > -->
@@ -1201,6 +1238,9 @@ export default {
     return {
       showNumber:false,
       md5Str:'',
+      photoId:'',
+      photoName:'',
+      costType: 1,
       uriCheck: false,
       templateLoading: false,
       dataOne: [],
@@ -1256,7 +1296,7 @@ export default {
       },
       ipagination: {
         current: 1,
-        pageSize: 5,
+        pageSize: 10,
         //   pageSizeOptions: ['10', '20', '30'],
         showTotal: (total, range) => {
           return range[0] + '-' + range[1] + ' 共' + total + '条'
@@ -1273,6 +1313,7 @@ export default {
       showVideo: true,
       videoList: [],
       orderBy: 'time',
+      mediaDimension: 'a',
       visibleMatemal: false,
       loadingVideoList: false,
       checkVideo: [],
@@ -1401,22 +1442,35 @@ export default {
   },
   methods: {
     searchVideo() {
-      var params = {}
+      let url = '/kuaishou/kuaiShouVideoGet/getBatchV2VideoList'
+      let params = {}
+      // localStorage.getItem('campaignAccountId')
       params.accountId = localStorage.getItem('campaignAccountId')
-      params.materialType = this.creativeMaterialType
       params.pageSize = this.ipagination.pageSize
-      params.pageNo = 1
+      params.pageNo = this.ipagination.current
       params.status = 0
-      params.channelType = this.channelType
-      params.orderBy = this.orderBy
-      params.signatures = this.md5Str
-      if (this.time.length > 0) {
-        // params.startDate = moment(this.time[0]).format('YYYY-MM-DD')
-        // params.endDate = moment(this.time[1]).format('YYYY-MM-DD')
-        params.startDate = moment(this.time[0]).format('YYYY-MM-DD') + ' 00:00:00'
-        params.endDate = moment(this.time[1]).format('YYYY-MM-DD') + ' 23:59:59'
+      params.photoId = this.photoId
+      params.photoName = this.photoName
+      if(this.mediaDimension == 'a'){
+        url = '/kuaishou/kuaiShouVideoGet/getBatchV2VideoList'
+        // params.signatures = this.md5Str
+        if (this.time.length > 0) {
+          // params.startDate = moment(this.time[0]).format('YYYY-MM-DD')
+          // params.endDate = moment(this.time[1]).format('YYYY-MM-DD')
+          params.startDate = moment(this.time[0]).format('YYYY-MM-DD') + ' 00:00:00'
+          params.endDate = moment(this.time[1]).format('YYYY-MM-DD') + ' 23:59:59'
+        }
+      }else if(this.mediaDimension == 'b'){
+        url = '/kuaishou/kuaiShouVideoGet/getVideoListByCostType'
+        params.costType = this.costType
       }
-      this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
+      // params.materialType = this.creativeMaterialType
+
+      // params.channelType = this.channelType
+      // params.orderBy = this.orderBy
+      
+     
+      this.showVideoList(url, params)
     },
     tongbu() {
       this.tongbuLoading = true
@@ -1426,22 +1480,7 @@ export default {
         if (res.success) {
           this.$message.success(res.message)
           this.tongbuLoading = false
-          var params = {}
-          params.accountId = localStorage.getItem('campaignAccountId')
-          params.materialType = this.creativeMaterialType
-          params.pageSize = this.ipagination.pageSize
-          params.pageNo = 1
-          params.status = 0
-          params.channelType = this.channelType
-          params.orderBy = this.orderBy
-          params.signatures = this.md5Str
-          if (this.time.length > 0) {
-            // params.startDate = moment(this.time[0]).format('YYYY-MM-DD')
-            // params.endDate = moment(this.time[1]).format('YYYY-MM-DD')
-            params.startDate = moment(this.time[0]).format('YYYY-MM-DD') + ' 00:00:00'
-            params.endDate = moment(this.time[1]).format('YYYY-MM-DD') + ' 23:59:59'
-          }
-          this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
+          this.searchVideo()
         } else {
           this.$message.error(res.message)
           this.tongbuLoading = false
@@ -1753,13 +1792,13 @@ export default {
           }
         }
       }
-      for (let i = 0; i < this.checkVideoWai.length; i++) {
-        for (let j = 0; j < this.checkVideoWai[i].length; j++) {
-          if (this.checkVideoWai[i][j] == item.photoId) {
-            this.checkVideoWai[i] = this.checkVideo
-          }
-        }
-      }
+      // for (let i = 0; i < this.checkVideoWai.length; i++) {
+      //   for (let j = 0; j < this.checkVideoWai[i].length; j++) {
+      //     if (this.checkVideoWai[i][j] == item.photoId) {
+      //       this.checkVideoWai[i] = this.checkVideo
+      //     }
+      //   }
+      // }
       this.sumContent = this.checkVideo.length
       // var deleteIndexAll = this.checkVideoAll.findIndex((c) => c == item.photoId)
       // this.checkVideoAll.splice(deleteIndexAll, 1)
@@ -1789,17 +1828,17 @@ export default {
       this.checkVideo = this.dataSource.map((item) => {
         return item.photoId
       })
-      if (this.active == 0) {
+      // if (this.active == 0) {
         for (let i = 0; i < this.ipagination.current; i++) {
           this.checkVideoAll.push([])
         }
         this.checkVideoAll[this.ipagination.current - 1] = this.checkVideo
-      } else if (this.active == 1) {
-        for (let i = 0; i < this.ipagination.current; i++) {
-          this.checkVideoWai.push([])
-        }
-        this.checkVideoWai[this.ipagination.current - 1] = this.checkVideo
-      }
+      // } else if (this.active == 1) {
+      //   for (let i = 0; i < this.ipagination.current; i++) {
+      //     this.checkVideoWai.push([])
+      //   }
+      //   this.checkVideoWai[this.ipagination.current - 1] = this.checkVideo
+      // }
       var sum = 0
       for (let i = 0; i < this.checkVideoAll.length; i++) {
         sum += this.checkVideoAll[i].length
@@ -1812,13 +1851,11 @@ export default {
         if (sum > this.getData('createCount')) {
           this.$message.error('最多选择' + this.getData('createCount') + '个素材')
           this.checkVideo = []
-          this.sumContent = this.sumContent - 5
+          this.sumContent = this.sumContent - 10
 
-          if (this.active == 0) {
+          // if (this.active == 0) {
             this.checkVideoAll[this.ipagination.current - 1] = this.checkVideo
-          } else if (this.active == 1) {
-            this.checkVideoWai[this.ipagination.current - 1] = this.checkVideo
-          }
+         
         }
       } else {
         if (sum > this.getData('createCount') * 15) {
@@ -1826,26 +1863,26 @@ export default {
           this.checkVideo = []
           this.sumContent = this.sumContent - 15
 
-          if (this.active == 0) {
+          // if (this.active == 0) {
             this.checkVideoAll[this.ipagination.current - 1] = this.checkVideo
-          } else if (this.active == 1) {
-            this.checkVideoWai[this.ipagination.current - 1] = this.checkVideo
-          }
+          // } else if (this.active == 1) {
+          //   this.checkVideoWai[this.ipagination.current - 1] = this.checkVideo
+          // }
         }
       }
     },
     setData(data) {
-      if (this.active == 0) {
+      // if (this.active == 0) {
         for (let i = 0; i < this.ipagination.current; i++) {
           this.checkVideoAll.push([])
         }
         this.checkVideoAll[this.ipagination.current - 1] = data
-      } else if (this.active == 1) {
-        for (let i = 0; i < this.ipagination.current; i++) {
-          this.checkVideoWai.push([])
-        }
-        this.checkVideoWai[this.ipagination.current - 1] = data
-      }
+      // } else if (this.active == 1) {
+      //   for (let i = 0; i < this.ipagination.current; i++) {
+      //     this.checkVideoWai.push([])
+      //   }
+      //   this.checkVideoWai[this.ipagination.current - 1] = data
+      // }
 
       var sum = 0
       for (let i = 0; i < this.checkVideoAll.length; i++) {
@@ -1861,22 +1898,22 @@ export default {
           this.$message.error('最多选择' + this.getData('createCount') + '个素材')
           this.checkVideo.pop()
           this.sumContent--
-          if (this.active == 0) {
+          // if (this.active == 0) {
             this.checkVideoAll[this.ipagination.current - 1] = this.checkVideo
-          } else if (this.active == 1) {
-            this.checkVideoWai[this.ipagination.current - 1] = this.checkVideo
-          }
+          // } else if (this.active == 1) {
+          //   this.checkVideoWai[this.ipagination.current - 1] = this.checkVideo
+          // }
         }
       } else {
         if (sum > this.getData('createCount') * 15) {
           this.$message.error('最多选择' + this.getData('createCount') * 15 + '个素材')
           this.checkVideo.pop()
           this.sumContent--
-          if (this.active == 0) {
+          // if (this.active == 0) {
             this.checkVideoAll[this.ipagination.current - 1] = this.checkVideo
-          } else if (this.active == 1) {
-            this.checkVideoWai[this.ipagination.current - 1] = this.checkVideo
-          }
+          // } else if (this.active == 1) {
+            // this.checkVideoWai[this.ipagination.current - 1] = this.checkVideo
+          // }
         }
       }
     },
@@ -1888,38 +1925,33 @@ export default {
         this.showVideo = false
         this.checkVideo = []
       }
-      this.active = 0
-      this.time = []
-      this.channelType = 0
+      // this.active = 0
+      // this.time = []
+      // this.channelType = 0
       this.creativeMaterialType = this.getData('creativeMaterialType')
+      this.searchVideo()
+
+      // this.getAction('/kuaishou/kuaiShouVideoGet/getBatchV2VideoList', {accountId:10168379}).then(res=>{
+      //   console.log(res)
+      // })
+      // this.getAction('/kuaishou/kuaiShouVideoGet/getVideoListByCostType', {accountId:10168379,costType:1}).then(res=>{
+      //   console.log(res)
+      // })
     },
     getDataSource(page, pageSize) {
-      if (this.active == 0) {
-        this.checkVideo = this.checkVideoAll[page - 1]
-      } else if (this.active == 1) {
-        this.checkVideo = this.checkVideoWai[page - 1]
-      }
+
       this.ipagination.current = page
-      var params = {}
-      params.accountId = localStorage.getItem('campaignAccountId')
-      params.materialType = this.creativeMaterialType
-      params.pageSize = this.ipagination.pageSize
-      params.pageNo = page
-      params.channelType = this.channelType
-      params.status = 0
-      params.orderBy = this.orderBy
-      params.signatures = this.md5Str
-      if (this.time.length > 0) {
-        // params.startDate = moment(this.time[0]).format('YYYY-MM-DD')
-        // params.endDate = moment(this.time[1]).format('YYYY-MM-DD')
-        params.startDate = moment(this.time[0]).format('YYYY-MM-DD') + ' 00:00:00'
-        params.endDate = moment(this.time[1]).format('YYYY-MM-DD') + ' 23:59:59'
-      }
-      this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
+      this.searchVideo()
     },
     cancelAll() {
       // this.checkVideoAll = []
       // this.checkVideoWei = []
+      this.ipagination.current = 1
+      this.mediaDimension = 'a'
+      this.time = []
+      this.costType = 1
+      this.photoId = ''
+      this.photoName = ''
       this.visibleMatemal = false
       this.md5Str = ""
     },
@@ -1933,6 +1965,7 @@ export default {
         if (i == this.checkVideo.length - 1) {
           this.showVideo = true
           this.visibleMatemal = false
+          this.cancelAll()
         }
       }
     },
@@ -2541,32 +2574,33 @@ export default {
       // this.checkVideo = [...new Set(n)]
     },
     time(n, o) {
-      if (n.length > 0) {
-        var params = {}
-        params.accountId = localStorage.getItem('campaignAccountId')
-        params.materialType = this.creativeMaterialType
-        params.pageSize = this.ipagination.pageSize
-        params.pageNo = 1
-        params.status = 0
-        params.channelType = this.channelType
-        params.startDate = moment(n[0]).format('YYYY-MM-DD') + ' 00:00:00'
-        params.endDate = moment(n[1]).format('YYYY-MM-DD') + ' 23:59:59'
-        params.orderBy = this.orderBy
-        params.signatures = this.md5Str
-        this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
-      } else {
-        var params = {}
-        params.accountId = localStorage.getItem('campaignAccountId')
-        params.materialType = this.creativeMaterialType
-        params.pageSize = this.ipagination.pageSize
-        params.pageNo = 1
-        params.status = 0
-        params.channelType = this.channelType
-        params.orderBy = this.orderBy
-        params.signatures = this.md5Str
-        this.ipagination.current = 1
-        this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
-      }
+      this.searchVideo()
+      // if (n.length > 0) {
+      //   var params = {}
+      //   params.accountId = localStorage.getItem('campaignAccountId')
+      //   params.materialType = this.creativeMaterialType
+      //   params.pageSize = this.ipagination.pageSize
+      //   params.pageNo = 1
+      //   params.status = 0
+      //   params.channelType = this.channelType
+      //   params.startDate = moment(n[0]).format('YYYY-MM-DD') + ' 00:00:00'
+      //   params.endDate = moment(n[1]).format('YYYY-MM-DD') + ' 23:59:59'
+      //   params.orderBy = this.orderBy
+      //   params.signatures = this.md5Str
+      //   this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
+      // } else {
+      //   var params = {}
+      //   params.accountId = localStorage.getItem('campaignAccountId')
+      //   params.materialType = this.creativeMaterialType
+      //   params.pageSize = this.ipagination.pageSize
+      //   params.pageNo = 1
+      //   params.status = 0
+      //   params.channelType = this.channelType
+      //   params.orderBy = this.orderBy
+      //   params.signatures = this.md5Str
+      //   this.ipagination.current = 1
+      //   this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
+      // }
     },
   },
   mounted: function () {
@@ -2584,13 +2618,6 @@ export default {
         this.addGroup()
       }
     })
-    this.getAction('/kuaishou/kuaiShouVideoGet/getBatchV2VideoList', {accountId:localStorage.getItem('campaignAccountId')}).then(res=>{
-      console.log(res)
-    })
-    this.getAction('/kuaishou/kuaiShouVideoGet/getVideoListByCostType', {accountId:localStorage.getItem('campaignAccountId'),costType:1}).then(res=>{
-      console.log(res)
-    })
-
     getAction('/kuaishou/batch/getWhiteList', {
       accountId: localStorage.getItem('campaignAccountId'),
     }).then((res) => {

+ 2 - 2
src/views/modules/material/videoMaterial.vue

@@ -500,13 +500,13 @@ a {
         icon="plus"
         >批量新增</a-button
       >
-      <!-- <a-button
+      <a-button
         @click="passTheAudit"
         :disabled="checkArr.length == 0"
         v-if="active == '0'"
         type="primary"
         >批量通过审核</a-button
-      > -->
+      >
       <a-button
         @click="onCheckAllChange"
         v-if="