|
@@ -436,7 +436,7 @@ li.chouzhen.first:before {
|
|
<a-form-item label="创意分类" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<a-form-item label="创意分类" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<a-cascader
|
|
<a-cascader
|
|
:options="createOptions"
|
|
:options="createOptions"
|
|
- v-decorator="['creativeCategory', { rules: [{ required: true, message: '创意分类' }] }]"
|
|
|
|
|
|
+ v-decorator="['creativeCategory']"
|
|
:fieldNames="fieldNames"
|
|
:fieldNames="fieldNames"
|
|
placeholder="请选择创意分类"
|
|
placeholder="请选择创意分类"
|
|
/>
|
|
/>
|
|
@@ -447,7 +447,7 @@ li.chouzhen.first:before {
|
|
mode="tags"
|
|
mode="tags"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
placeholder="按回车生成标签"
|
|
placeholder="按回车生成标签"
|
|
- v-decorator="['creativeTag', { rules: [{ required: true, message: '创意标签必填' }] }]"
|
|
|
|
|
|
+ v-decorator="['creativeTag']"
|
|
dropdownClassName="display-none-selset"
|
|
dropdownClassName="display-none-selset"
|
|
:token-separators="[',',' ',',']"
|
|
:token-separators="[',',' ',',']"
|
|
>
|
|
>
|
|
@@ -1529,14 +1529,15 @@ export default {
|
|
stickerTitle: item.stickerTitle,
|
|
stickerTitle: item.stickerTitle,
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- var params = {
|
|
|
|
- dataJson: allJson.concat(dataAd),
|
|
|
|
- ...values,
|
|
|
|
- creativeCategory:values.creativeCategory.pop(),
|
|
|
|
- unitId: this.pansKey,
|
|
|
|
- accountId: localStorage.getItem('accountId'),
|
|
|
|
- content: this.content,
|
|
|
|
- }
|
|
|
|
|
|
+ var params = Object.assign({}, values)
|
|
|
|
+ // var params = {
|
|
|
|
+ params.dataJson= allJson.concat(dataAd)
|
|
|
|
+ // ...values,
|
|
|
|
+ params.creativeCategory = params.creativeCategory?params.creativeCategory.pop():null
|
|
|
|
+ params.unitId= this.pansKey
|
|
|
|
+ params.accountId= localStorage.getItem('accountId')
|
|
|
|
+ params.content= this.content
|
|
|
|
+ // }
|
|
postAction('/kuaishou/batch/createCreative', params).then((res) => {
|
|
postAction('/kuaishou/batch/createCreative', params).then((res) => {
|
|
if (res.success) {
|
|
if (res.success) {
|
|
this.visible = true
|
|
this.visible = true
|