|
@@ -946,6 +946,89 @@ li.chouzhen.first:before {
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
|
|
+ <a-row :gutter="16" v-if="groupTypeData">
|
|
|
|
+ <a-col
|
|
|
|
+ :span="16"
|
|
|
|
+ v-if="
|
|
|
|
+ (getFormData('formOptimize', 'ocpxActionType') == 180 ||
|
|
|
|
+ getFormData('formOptimize', 'ocpxActionType') == 53) &&
|
|
|
|
+ groupTypeData &&
|
|
|
|
+ groupTypeData.deepConversionTypes.length > 0
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <a-form-item label="深度转化目标">
|
|
|
|
+ <a-select
|
|
|
|
+ v-decorator="['deepConversionType']"
|
|
|
|
+ allowClear
|
|
|
|
+ style="width:300px"
|
|
|
|
+ >
|
|
|
|
+ <a-select-option
|
|
|
|
+ :value="items.deepConversionType"
|
|
|
|
+ v-for="(items, index) of groupTypeData.deepConversionTypes"
|
|
|
|
+ :key="index"
|
|
|
|
+ >
|
|
|
|
+ {{ items.desc }}</a-select-option
|
|
|
|
+ >
|
|
|
|
+ </a-select>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ <!-- <a-form-item label="深度转化目标">
|
|
|
|
+ <a-select
|
|
|
|
+ style="width:300px"
|
|
|
|
+ size="default"
|
|
|
|
+ allowClear
|
|
|
|
+ v-decorator="['deepConversionType']"
|
|
|
|
+ >
|
|
|
|
+ <a-select-option :value="3">
|
|
|
|
+ 付费
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option :value="7">
|
|
|
|
+ 次日留存
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option :value="10">
|
|
|
|
+ 完件
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option :value="11">
|
|
|
|
+ 授信
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option :value="13">
|
|
|
|
+ 添加购物车
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option :value="14">
|
|
|
|
+ 提交订单
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option :value="15">
|
|
|
|
+ 购买
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option :value="44">
|
|
|
|
+ 有效线索
|
|
|
|
+ </a-select-option>
|
|
|
|
+ <a-select-option :value="92">
|
|
|
|
+ 付费roi
|
|
|
|
+ </a-select-option>
|
|
|
|
+ </a-select>
|
|
|
|
+ </a-form-item> -->
|
|
|
|
+ </a-col>
|
|
|
|
+ </a-row>
|
|
|
|
+ <a-row :gutter="16" v-if="groupTypeData">
|
|
|
|
+ <a-col
|
|
|
|
+ :span="16"
|
|
|
|
+ v-if="
|
|
|
|
+ (getFormData('formOptimize', 'ocpxActionType') == 180 ||
|
|
|
|
+ getFormData('formOptimize', 'ocpxActionType') == 53) &&
|
|
|
|
+ groupTypeData &&
|
|
|
|
+ groupTypeData.deepConversionTypes.length > 0
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <a-form-item label="深度转化出价">
|
|
|
|
+ <a-input style="width:300px" v-decorator="['deepConversionBid']"> </a-input>
|
|
|
|
+ <br />
|
|
|
|
+ <span style="color:red"
|
|
|
|
+ >单出价请输入单数字,阶梯出价请用/隔开 例如10/12,区间出价请用-链接
|
|
|
|
+ 例如20-25</span
|
|
|
|
+ >
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ </a-row>
|
|
</a-form>
|
|
</a-form>
|
|
</a-card>
|
|
</a-card>
|
|
<a-card class="search-box step-jump" title="创意信息">
|
|
<a-card class="search-box step-jump" title="创意信息">
|
|
@@ -1051,64 +1134,6 @@ li.chouzhen.first:before {
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
- <!-- <a-row :gutter="16">
|
|
|
|
- <a-col :span="16">
|
|
|
|
- <a-form-item label="关联封面数">
|
|
|
|
- <a-input-number
|
|
|
|
- style="width:200px"
|
|
|
|
- :max="imageCntMax"
|
|
|
|
- :step="1"
|
|
|
|
- :min="1"
|
|
|
|
- v-decorator="[
|
|
|
|
- 'imageCnt',
|
|
|
|
- {
|
|
|
|
- initialValue: 5,
|
|
|
|
- rules: [{ required: true, message: '请填写关联封面数' }]
|
|
|
|
- }
|
|
|
|
- ]"
|
|
|
|
- @change="setImageCnt"
|
|
|
|
- />
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- </a-row> -->
|
|
|
|
- <!-- <a-row :gutter="16" v-if="getFormData('formOriginality', 'unitType') != 7">
|
|
|
|
- <a-col :span="16">
|
|
|
|
- <a-form-item label="自定义组上限">
|
|
|
|
- <a-input-number
|
|
|
|
- v-decorator="[
|
|
|
|
- 'customUnitCnt',
|
|
|
|
- {
|
|
|
|
- initialValue: 400,
|
|
|
|
- rules: [{ required: true, message: '请填写自定义组上限' }]
|
|
|
|
- }
|
|
|
|
- ]"
|
|
|
|
- style="width: 100%"
|
|
|
|
- placeholder="仅支持输入自然数"
|
|
|
|
- :max="customUnitCntMax"
|
|
|
|
- :precision="0"
|
|
|
|
- />
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- </a-row> -->
|
|
|
|
- <!-- <a-row :gutter="16" v-if="getFormData('formOriginality', 'unitType') != 4">
|
|
|
|
- <a-col :span="16">
|
|
|
|
- <a-form-item label="程序化组上限">
|
|
|
|
- <a-input-number
|
|
|
|
- v-decorator="[
|
|
|
|
- 'programUnitCnt',
|
|
|
|
- {
|
|
|
|
- initialValue: 60,
|
|
|
|
- rules: [{ required: true, message: '请填写程序化组上限' }]
|
|
|
|
- }
|
|
|
|
- ]"
|
|
|
|
- style="width: 100%"
|
|
|
|
- placeholder="仅支持输入自然数"
|
|
|
|
- :max="60"
|
|
|
|
- :precision="0"
|
|
|
|
- />
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- </a-row> -->
|
|
|
|
<a-row :gutter="16">
|
|
<a-row :gutter="16">
|
|
<a-col :span="16">
|
|
<a-col :span="16">
|
|
<a-form-item label="单计划组数量">
|
|
<a-form-item label="单计划组数量">
|
|
@@ -1148,56 +1173,6 @@ li.chouzhen.first:before {
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
- <!--
|
|
|
|
- <a-row :gutter="16">
|
|
|
|
- <a-col :span="16">
|
|
|
|
- <a-form-item label="素材类型">
|
|
|
|
- <a-radio-group
|
|
|
|
- button-style="solid"
|
|
|
|
- v-decorator="[
|
|
|
|
- 'channelType',
|
|
|
|
- { rules: [{ required: true }], initialValue: 2 }
|
|
|
|
- ]"
|
|
|
|
- >
|
|
|
|
- <a-radio-button :value="2">不限</a-radio-button>
|
|
|
|
- <a-radio-button :value="0">内部</a-radio-button>
|
|
|
|
- <a-radio-button :value="1">素造</a-radio-button>
|
|
|
|
- </a-radio-group>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- </a-row>
|
|
|
|
- <a-row :gutter="16">
|
|
|
|
- <a-col :span="16">
|
|
|
|
- <a-form-item label="素材挖掘">
|
|
|
|
- <a-radio-group
|
|
|
|
- button-style="solid"
|
|
|
|
- v-decorator="[
|
|
|
|
- 'assetMining',
|
|
|
|
- { rules: [{ required: true }], initialValue: 1 }
|
|
|
|
- ]"
|
|
|
|
- >
|
|
|
|
- <a-radio-button :value="1">开启</a-radio-button>
|
|
|
|
- <a-radio-button :value="0">关闭</a-radio-button>
|
|
|
|
- </a-radio-group>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- </a-row>
|
|
|
|
- <a-row :gutter="16">
|
|
|
|
- <a-col :span="16">
|
|
|
|
- <a-form-item label="智能抽帧">
|
|
|
|
- <a-radio-group
|
|
|
|
- button-style="solid"
|
|
|
|
- v-decorator="[
|
|
|
|
- 'smartCover',
|
|
|
|
- { rules: [{ required: true }], initialValue: 1 }
|
|
|
|
- ]"
|
|
|
|
- >
|
|
|
|
- <a-radio-button :value="1">开启</a-radio-button>
|
|
|
|
- <a-radio-button :value="0">关闭</a-radio-button>
|
|
|
|
- </a-radio-group>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- </a-row> -->
|
|
|
|
<a-row :gutter="16">
|
|
<a-row :gutter="16">
|
|
<a-col :span="16">
|
|
<a-col :span="16">
|
|
<a-form-item label="行动号召">
|
|
<a-form-item label="行动号召">
|
|
@@ -1539,7 +1514,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
//优化目标参数
|
|
//优化目标参数
|
|
- groupTypeData: {},
|
|
|
|
|
|
+ groupTypeData: null,
|
|
//创意信息参数
|
|
//创意信息参数
|
|
optimizeVisible: false,
|
|
optimizeVisible: false,
|
|
adposition: 1,
|
|
adposition: 1,
|
|
@@ -2145,7 +2120,6 @@ export default {
|
|
)
|
|
)
|
|
)
|
|
)
|
|
data.platformOs = data.appInfoArray[0].platform > 2 ? 2 : 1
|
|
data.platformOs = data.appInfoArray[0].platform > 2 ? 2 : 1
|
|
-
|
|
|
|
this.formTargetApp.setFieldsValue(pick(data, 'platformOs'))
|
|
this.formTargetApp.setFieldsValue(pick(data, 'platformOs'))
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
if (data.platformOs == 1) {
|
|
if (data.platformOs == 1) {
|
|
@@ -2223,7 +2197,6 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
this.multipleBidDataDrawer = data.appInfoArray.map(item => {
|
|
this.multipleBidDataDrawer = data.appInfoArray.map(item => {
|
|
return {
|
|
return {
|
|
...item,
|
|
...item,
|
|
@@ -2235,6 +2208,17 @@ export default {
|
|
for (let i = 0; i < this.multipleBidDataDrawer.length; i++) {
|
|
for (let i = 0; i < this.multipleBidDataDrawer.length; i++) {
|
|
let params = {}
|
|
let params = {}
|
|
params.accountId = this.multipleBidDataDrawer[i].accountId
|
|
params.accountId = this.multipleBidDataDrawer[i].accountId
|
|
|
|
+ if (i == 0) {
|
|
|
|
+ this.getAction('/kuaishou/batch/getIsActivate', {
|
|
|
|
+ accountId: params.accountId,
|
|
|
|
+ appId: this.multipleBidDataDrawer[i].appId,
|
|
|
|
+ campaignType: 2
|
|
|
|
+ }).then(res => {
|
|
|
|
+ if (res.success) {
|
|
|
|
+ this.groupTypeData = res.result
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
this.getAction('/kuaishou/batch/getAppList', params).then(res => {
|
|
this.getAction('/kuaishou/batch/getAppList', params).then(res => {
|
|
if (res.success) {
|
|
if (res.success) {
|
|
this.multipleBidDataDrawer[i].appListAll = res.result.map((item, index) => {
|
|
this.multipleBidDataDrawer[i].appListAll = res.result.map((item, index) => {
|
|
@@ -2822,11 +2806,23 @@ export default {
|
|
onCellChange(key, dataIndex, value) {
|
|
onCellChange(key, dataIndex, value) {
|
|
const dataSource = [...this.multipleBidDataDrawer]
|
|
const dataSource = [...this.multipleBidDataDrawer]
|
|
const target = dataSource.find(item => item.accountId === key)
|
|
const target = dataSource.find(item => item.accountId === key)
|
|
|
|
+ const index = dataSource.findIndex(item => item.accountId === key)
|
|
if (target) {
|
|
if (target) {
|
|
target[dataIndex] = typeof value === 'object' ? value.target.value : value
|
|
target[dataIndex] = typeof value === 'object' ? value.target.value : value
|
|
if (dataIndex == 'appId') {
|
|
if (dataIndex == 'appId') {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
if (value) {
|
|
if (value) {
|
|
|
|
+ if (index === 0) {
|
|
|
|
+ this.getAction('/kuaishou/batch/getIsActivate', {
|
|
|
|
+ accountId: key,
|
|
|
|
+ appId: value,
|
|
|
|
+ campaignType: 2
|
|
|
|
+ }).then(res => {
|
|
|
|
+ if (res.success) {
|
|
|
|
+ this.groupTypeData = res.result
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
target['appVersion'] = target['appList'].filter(item => {
|
|
target['appVersion'] = target['appList'].filter(item => {
|
|
return item.appId == value
|
|
return item.appId == value
|
|
@@ -2855,7 +2851,7 @@ export default {
|
|
}
|
|
}
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.multipleBidDataDrawer = dataSource
|
|
this.multipleBidDataDrawer = dataSource
|
|
- },100)
|
|
|
|
|
|
+ }, 100)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
addApplication() {},
|
|
addApplication() {},
|