|
@@ -844,8 +844,8 @@
|
|
|
:span="16"
|
|
|
v-if="
|
|
|
(getFormData('formOptimize', 'ocpxActionType') == 180 ||
|
|
|
- getFormData('formOptimize', 'ocpxActionType') == 53) &&
|
|
|
- deepTypesList.length > 0
|
|
|
+ getFormData('formOptimize', 'ocpxActionType') == 53) &&
|
|
|
+ deepTypesList.length > 0
|
|
|
"
|
|
|
>
|
|
|
<a-form-item label="深度转化目标">
|
|
@@ -870,8 +870,8 @@
|
|
|
:span="16"
|
|
|
v-if="
|
|
|
(getFormData('formOptimize', 'ocpxActionType') == 180 ||
|
|
|
- getFormData('formOptimize', 'ocpxActionType') == 53) &&
|
|
|
- deepTypesList.length > 0
|
|
|
+ getFormData('formOptimize', 'ocpxActionType') == 53) &&
|
|
|
+ deepTypesList.length > 0
|
|
|
"
|
|
|
>
|
|
|
<a-form-item label="深度转化出价">
|
|
@@ -1380,19 +1380,21 @@ export default {
|
|
|
if (this.$route.query.id) {
|
|
|
return
|
|
|
} else {
|
|
|
- this.descriptionList = [{ value: '' }]
|
|
|
- this.getAction('/kuaishou/batch/getAppList', { accountId: n }).then((res) => {
|
|
|
- if (res.success) {
|
|
|
- this.appList = res.result.map((item, index) => {
|
|
|
- return {
|
|
|
- ...item,
|
|
|
- key: index,
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- // this.getIsActivate(null)
|
|
|
- this.getOcpxActionList(null)
|
|
|
+ if (!!n) {
|
|
|
+ this.descriptionList = [{ value: '' }]
|
|
|
+ this.getAction('/kuaishou/batch/getAppList', { accountId: n }).then((res) => {
|
|
|
+ if (res.success) {
|
|
|
+ this.appList = res.result.map((item, index) => {
|
|
|
+ return {
|
|
|
+ ...item,
|
|
|
+ key: index,
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ // this.getIsActivate(null)
|
|
|
+ this.getOcpxActionList(null)
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
activeKey: function (n, o) {
|
|
@@ -1492,9 +1494,9 @@ export default {
|
|
|
getDeepTypesList(data) {
|
|
|
if (!!data) {
|
|
|
var params = {}
|
|
|
- params.accountId = localStorage.getItem('campaignAccountId')
|
|
|
+ params.accountId = this.accountIds
|
|
|
params.sceneCategory = 0
|
|
|
- params.campaignType = localStorage.getItem('campaignType')
|
|
|
+ params.campaignType = this.getFormData('formProject', 'campaignType')
|
|
|
params.sceneIds = this.getFormData('formProject', 'sceneIds')
|
|
|
params.appId = this.getFormData('formTargetApp', 'appId')
|
|
|
params.ocpxActionType = data
|