|
@@ -31,6 +31,25 @@
|
|
<a-tab-pane v-for="pane in title" :tab="pane.tab" :key="pane.key">
|
|
<a-tab-pane v-for="pane in title" :tab="pane.tab" :key="pane.key">
|
|
<a-button @click="dianji" style="margin-bottom:15px;">新增广告组</a-button>
|
|
<a-button @click="dianji" style="margin-bottom:15px;">新增广告组</a-button>
|
|
<a-button @click="showEdit = true" style="margin:0 0 15px 15px;">列表项筛选</a-button>
|
|
<a-button @click="showEdit = true" style="margin:0 0 15px 15px;">列表项筛选</a-button>
|
|
|
|
+ <a-form layout="inline">
|
|
|
|
+ <a-row class="image-list-heading vm-panel" style="padding: 8px 20px;">
|
|
|
|
+ <a-col :md="6" :sm="8" style="display:flex">
|
|
|
|
+ <a-form-item label="广告组id">
|
|
|
|
+ <a-input placeholder="请输入广告组id" v-model="unitId"></a-input>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="6" :sm="8" style="display:flex">
|
|
|
|
+ <a-form-item label="广告组名称">
|
|
|
|
+ <a-input placeholder="请输入广告组名称" v-model="unitName"></a-input>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="6" :sm="8" style="display:flex">
|
|
|
|
+ <a-button type="primary" style="margin:0 10px" @click="searchLabel">查询</a-button>
|
|
|
|
+ <a-button type="primary" style="margin:0 10px" @click="searchRe">重置</a-button>
|
|
|
|
+ </a-col>
|
|
|
|
+
|
|
|
|
+ </a-row>
|
|
|
|
+ </a-form>
|
|
<div v-show="selectedRowKeys.length > 0">
|
|
<div v-show="selectedRowKeys.length > 0">
|
|
批量修改预算:
|
|
批量修改预算:
|
|
<a-input-number :min="-1" :step="0.1" v-model="allMoney" style="width:150px" @fouse.stop />
|
|
<a-input-number :min="-1" :step="0.1" v-model="allMoney" style="width:150px" @fouse.stop />
|
|
@@ -129,7 +148,7 @@
|
|
</a-card>
|
|
</a-card>
|
|
</a-row>
|
|
</a-row>
|
|
<editGroup ref="editGroup" @getList="getDataList" />
|
|
<editGroup ref="editGroup" @getList="getDataList" />
|
|
- <editGroupNew ref="editGroupNew" @getList="getDataList" />
|
|
|
|
|
|
+ <editGroupNew ref="editGroupNew" @getListNew="getDataList" />
|
|
<a-modal title="批量修改" v-model="visibleEditAll" :width="900">
|
|
<a-modal title="批量修改" v-model="visibleEditAll" :width="900">
|
|
<editAllGroup :populationData.sync="populationData" ref="population" />
|
|
<editAllGroup :populationData.sync="populationData" ref="population" />
|
|
<template slot="footer">
|
|
<template slot="footer">
|
|
@@ -497,6 +516,8 @@
|
|
|
|
|
|
data: function () {
|
|
data: function () {
|
|
return {
|
|
return {
|
|
|
|
+ unitName: '',
|
|
|
|
+ unitId: '',
|
|
editOk: '1',
|
|
editOk: '1',
|
|
loadingList: false,
|
|
loadingList: false,
|
|
visible: false,
|
|
visible: false,
|
|
@@ -1018,6 +1039,15 @@
|
|
this.columns = this.columnsElse
|
|
this.columns = this.columnsElse
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ searchLabel() {
|
|
|
|
+ this.ipagination.current = 1
|
|
|
|
+ this.getDataList(localStorage.getItem('advertisingGroupKey'))
|
|
|
|
+ },
|
|
|
|
+ searchRe() {
|
|
|
|
+ this.unitId = ''
|
|
|
|
+ this.unitName = ''
|
|
|
|
+ this.getDataList(localStorage.getItem('advertisingGroupKey'))
|
|
|
|
+ },
|
|
onTabChange(key) {
|
|
onTabChange(key) {
|
|
this.ipagination.current = 1
|
|
this.ipagination.current = 1
|
|
this.titleKey = key
|
|
this.titleKey = key
|
|
@@ -1033,6 +1063,8 @@
|
|
params.accountId = localStorage.getItem('accountId')
|
|
params.accountId = localStorage.getItem('accountId')
|
|
params.pageNo = this.ipagination.current
|
|
params.pageNo = this.ipagination.current
|
|
params.pageSize = this.ipagination.pageSize
|
|
params.pageSize = this.ipagination.pageSize
|
|
|
|
+ params.unitId = this.unitId
|
|
|
|
+ params.unitName = this.unitName
|
|
getAction('/kuaishou/batch/getUnitList', params).then(res => {
|
|
getAction('/kuaishou/batch/getUnitList', params).then(res => {
|
|
if (res.success) {
|
|
if (res.success) {
|
|
this.loadingList = false
|
|
this.loadingList = false
|