|
@@ -89,8 +89,11 @@
|
|
|
<a-card :body-style="{ padding: '24px 32px' }" :bordered="false" class="only-step3">
|
|
|
<a-tabs style="width:50%;margin:0 auto" type="editable-card" hideAdd @edit="remove">
|
|
|
<a-tab-pane v-for="(pane, bestIndex) in pans" :tab="pane.tab" :key="pane.key" v-model="pansKey" disabled
|
|
|
- :closable="pane.closable">
|
|
|
+ :closable="pane.closable" class="shishishis">
|
|
|
<a-form @submit="handleSubmit" :form="form" style="margin-top:20px" :hideRequiredMark="true">
|
|
|
+ <a-form-item label="广告组名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
+ <a-input v-model="pane.tab" readonly></a-input>
|
|
|
+ </a-form-item>
|
|
|
<a-form-item label="素材类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
<a-radio-group buttonStyle="solid" v-decorator="['creativeMaterialType', { initialValue: '1' }]">
|
|
|
<a-radio-button value="1">竖版视频</a-radio-button>
|
|
@@ -144,10 +147,10 @@
|
|
|
</a-form-item>
|
|
|
<a-form-item label="广告语">
|
|
|
<a @click="showTitle(index,bestIndex)">推荐广告语</a>
|
|
|
- <a-textarea class="rending" placeholder="请输入广告语" v-model="item.description"
|
|
|
+ <a-textarea class="rending" placeholder="请输入广告语" v-model.trim="item.description"
|
|
|
:autosize="{ minRows: 2, maxRows: 6 }"></a-textarea>
|
|
|
<a-tag v-for="(itemTag,indexTag) of tags" :key="indexTag"
|
|
|
- @click="getChange(item, itemTag, bestIndex)">{{itemTag.name}}</a-tag>
|
|
|
+ @click="getChange(item, itemTag, index)">{{itemTag.name}}</a-tag>
|
|
|
</a-form-item>
|
|
|
<a-form-item label="创意标题">
|
|
|
<a-input v-model="item.name"></a-input>
|
|
@@ -507,6 +510,9 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ a() {
|
|
|
+ alert(1)
|
|
|
+ },
|
|
|
showTitle(index, bestIndex) {
|
|
|
nowIndex = index
|
|
|
bestIndex = bestIndex
|
|
@@ -721,7 +727,7 @@
|
|
|
params.pageSize = this.ipagination.pageSize
|
|
|
params.pageNo = page
|
|
|
params.channelType = this.channelType
|
|
|
- if (this.active == 0 && this.time.length > 0) {
|
|
|
+ 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')
|
|
|
}
|
|
@@ -933,7 +939,7 @@
|
|
|
nowIndex = index
|
|
|
bestIndex = bestIndex
|
|
|
var params = {
|
|
|
- videoSignature: this.pans[index].list[bestIndex].videoList.signature,
|
|
|
+ videoSignature: this.pans[bestIndex].list[index].videoList.signature,
|
|
|
pageSize: 20,
|
|
|
pageNo: 1
|
|
|
}
|
|
@@ -1298,7 +1304,7 @@
|
|
|
let d = date.getDate()
|
|
|
d = d < 10 ? '0' + d : d
|
|
|
|
|
|
- return 'image/Operate/' + y + '-' + MM + '-' + d + '/'
|
|
|
+ return 'image/' + y + '-' + MM + '-' + d + '/'
|
|
|
},
|
|
|
dirVideo() {
|
|
|
let date = new Date()
|
|
@@ -1308,7 +1314,7 @@
|
|
|
let d = date.getDate()
|
|
|
d = d < 10 ? '0' + d : d
|
|
|
|
|
|
- return 'video/Operate/' + y + '-' + MM + '-' + d + '/'
|
|
|
+ return 'video/' + y + '-' + MM + '-' + d + '/'
|
|
|
},
|
|
|
contentAll() {
|
|
|
var count, arr = []
|
|
@@ -1377,7 +1383,9 @@
|
|
|
})
|
|
|
|
|
|
this.pansKey = this.pans[0].key
|
|
|
- this.addCreative(0)
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.addCreative(0)
|
|
|
+ })
|
|
|
getAction('/kuaishou/batch/checkCreativeCount', {
|
|
|
unitId: this.pansKey,
|
|
|
accountId: localStorage.getItem('accountId')
|