|
@@ -47,7 +47,6 @@
|
|
<a-radio-button value="11">转化量</a-radio-button>
|
|
<a-radio-button value="11">转化量</a-radio-button>
|
|
<a-radio-button value="2">点击量</a-radio-button>
|
|
<a-radio-button value="2">点击量</a-radio-button>
|
|
<a-radio-button value="1">展示量</a-radio-button>
|
|
<a-radio-button value="1">展示量</a-radio-button>
|
|
- <a-radio-button value="22">有效播放量</a-radio-button>
|
|
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
|
|
|
@@ -76,7 +75,7 @@
|
|
v-if="showDownloadUrl"
|
|
v-if="showDownloadUrl"
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
:wrapperCol="wrapperCol">
|
|
:wrapperCol="wrapperCol">
|
|
- <a-input placeholder="请输入网址或从之前网站选择" v-model="downloadUrl"/>
|
|
|
|
|
|
+ <a-input placeholder="请填写下载链接" v-model="downloadUrl"/>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
|
|
|
<a-form-item
|
|
<a-form-item
|
|
@@ -107,52 +106,40 @@
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
|
|
|
- <a-form-item
|
|
|
|
- label="直达链接生成方式"
|
|
|
|
- :labelCol="labelCol"
|
|
|
|
- :wrapperCol="wrapperCol">
|
|
|
|
- <a-radio-group>
|
|
|
|
- <a-radio-button value="auto_create" disabled>自动生成</a-radio-button>
|
|
|
|
- <a-radio-button value="hand_create">手动生成</a-radio-button>
|
|
|
|
- </a-radio-group>
|
|
|
|
- </a-form-item>
|
|
|
|
- <a-form-item
|
|
|
|
- label="跳转app链接"
|
|
|
|
- :labelCol="labelCol"
|
|
|
|
- :wrapperCol="wrapperCol">
|
|
|
|
- <a-input v-model="redirectUrl"></a-input>
|
|
|
|
- </a-form-item>
|
|
|
|
- <!-- <a-form-item
|
|
|
|
- label="模板名称"
|
|
|
|
- :labelCol="labelCol"
|
|
|
|
- :wrapperCol="wrapperCol">
|
|
|
|
- <a-input></a-input>
|
|
|
|
- </a-form-item>-->
|
|
|
|
|
|
+<!-- <a-form-item-->
|
|
|
|
+<!-- label="直达链接生成方式"-->
|
|
|
|
+<!-- :labelCol="labelCol"-->
|
|
|
|
+<!-- :wrapperCol="wrapperCol">-->
|
|
|
|
+<!-- <a-radio-group>-->
|
|
|
|
+<!-- <a-radio-button value="auto_create" disabled>自动生成</a-radio-button>-->
|
|
|
|
+<!-- <a-radio-button value="hand_create">手动生成</a-radio-button>-->
|
|
|
|
+<!-- </a-radio-group>-->
|
|
|
|
+<!-- </a-form-item>-->
|
|
|
|
+<!-- <a-form-item-->
|
|
|
|
+<!-- label="跳转app链接"-->
|
|
|
|
+<!-- :labelCol="labelCol"-->
|
|
|
|
+<!-- :wrapperCol="wrapperCol">-->
|
|
|
|
+<!-- <a-input v-model="redirectUrl"></a-input>-->
|
|
|
|
+<!-- </a-form-item>-->
|
|
<a-form-item
|
|
<a-form-item
|
|
label="出价方式"
|
|
label="出价方式"
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
:wrapperCol="wrapperCol">
|
|
:wrapperCol="wrapperCol">
|
|
<a-radio-group v-model="bidType">
|
|
<a-radio-group v-model="bidType">
|
|
- <!-- <a-radio-button v-for="bidType in bidTypeList" :key="bidType.itemValue" :value="bidType.itemValue">
|
|
|
|
- {{bidType.itemText}}
|
|
|
|
- </a-radio-button>-->
|
|
|
|
<a-radio-button value="0">手动</a-radio-button>
|
|
<a-radio-button value="0">手动</a-radio-button>
|
|
- <a-radio-button value="1">保守</a-radio-button>
|
|
|
|
- <a-radio-button value="2">激进</a-radio-button>
|
|
|
|
-
|
|
|
|
|
|
+<!-- <a-radio-button value="1">保守</a-radio-button>-->
|
|
|
|
+ <a-radio-button value="2" v-if="deliveryTarget==='11'">自动</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
- </a-form-item>
|
|
|
|
|
|
|
|
|
|
+ </a-form-item>
|
|
<a-form-item
|
|
<a-form-item
|
|
label="投放方式"
|
|
label="投放方式"
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
:wrapperCol="wrapperCol">
|
|
:wrapperCol="wrapperCol">
|
|
<a-radio-group v-model="flowControlMode">
|
|
<a-radio-group v-model="flowControlMode">
|
|
- <a-radio-group>
|
|
|
|
<a-radio-button value="0">优先跑量</a-radio-button>
|
|
<a-radio-button value="0">优先跑量</a-radio-button>
|
|
<a-radio-button value="1">均衡投放</a-radio-button>
|
|
<a-radio-button value="1">均衡投放</a-radio-button>
|
|
<a-radio-button value="3">优先低成本</a-radio-button>
|
|
<a-radio-button value="3">优先低成本</a-radio-button>
|
|
- </a-radio-group>
|
|
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
<a-form-item
|
|
<a-form-item
|
|
@@ -164,7 +151,6 @@
|
|
<a-select
|
|
<a-select
|
|
slot="addonBefore"
|
|
slot="addonBefore"
|
|
v-model="budgetPriceMode"
|
|
v-model="budgetPriceMode"
|
|
- v-decorator="['prefix',{ initialValue: '0' }]"
|
|
|
|
style="width: 100px">
|
|
style="width: 100px">
|
|
<a-select-option value="0">日预算</a-select-option>
|
|
<a-select-option value="0">日预算</a-select-option>
|
|
<a-select-option value="1">总预算</a-select-option>
|
|
<a-select-option value="1">总预算</a-select-option>
|
|
@@ -200,8 +186,8 @@
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
:wrapperCol="wrapperCol">
|
|
:wrapperCol="wrapperCol">
|
|
<a-radio-group @change="dateQuantumChange" v-model="dateQuantum">
|
|
<a-radio-group @change="dateQuantumChange" v-model="dateQuantum">
|
|
- <a-radio-button value="0">不限</a-radio-button>
|
|
|
|
- <a-radio-button value="1">按时间段投放</a-radio-button>
|
|
|
|
|
|
+ <a-radio-button value="1">不限</a-radio-button>
|
|
|
|
+ <a-radio-button value="2">按时间段投放</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
<a-form-item
|
|
<a-form-item
|
|
@@ -219,15 +205,12 @@
|
|
label="付费方式"
|
|
label="付费方式"
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
:wrapperCol="wrapperCol">
|
|
:wrapperCol="wrapperCol">
|
|
- <a-radio-group @change="onChange" v-model="priceType">
|
|
|
|
- <!-- <a-radio-button value="PRICING_OCPM">按展示付费(oCPM)</a-radio-button>
|
|
|
|
- <a-radio-button value="PRICING_OCPC">按点击付费(oCPC)</a-radio-button>-->
|
|
|
|
- <a-radio-button value="9">按展示付费(oCPM)</a-radio-button>
|
|
|
|
- <a-radio-button value="7">按点击付费(oCPC)</a-radio-button>
|
|
|
|
- <a-radio-button value="8">按转化付费(CPA)</a-radio-button>
|
|
|
|
|
|
+ <a-radio-group @change="onChange" v-model="pricing">
|
|
|
|
+ <a-radio-button v-if="deliveryTarget==='11'" value="9">按展示付费(oCPM)</a-radio-button>
|
|
|
|
+ <a-radio-button v-else-if="deliveryTarget==='2'" value="2">按点击付费(CPC)</a-radio-button>
|
|
|
|
+ <a-radio-button v-else-if="deliveryTarget==='1'" value="1">按展示付费(CPM)</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
-
|
|
|
|
<a-form-item
|
|
<a-form-item
|
|
label="目标转化出价"
|
|
label="目标转化出价"
|
|
:labelCol="labelCol"
|
|
:labelCol="labelCol"
|
|
@@ -285,18 +268,16 @@
|
|
packageName: '',//应用包名
|
|
packageName: '',//应用包名
|
|
// 直达链接
|
|
// 直达链接
|
|
// 直达链接生成方式
|
|
// 直达链接生成方式
|
|
- bidType: '1',//出价方式
|
|
|
|
|
|
+ bidType: '0',//出价方式
|
|
budgetPriceMode: '0',//预算类型
|
|
budgetPriceMode: '0',//预算类型
|
|
flowControlMode: '0',//投放方式
|
|
flowControlMode: '0',//投放方式
|
|
budgetPrice: 0,//预算金额
|
|
budgetPrice: 0,//预算金额
|
|
flowDateType: '1', //投放时间类型
|
|
flowDateType: '1', //投放时间类型
|
|
time: [], //投放时间段值
|
|
time: [], //投放时间段值
|
|
- dateQuantum: '0', //投放时段类型
|
|
|
|
|
|
+ dateQuantum: '1', //投放时段类型
|
|
dateQuantumRange: '',// 投放时段选择值
|
|
dateQuantumRange: '',// 投放时段选择值
|
|
- priceType: '9', //付费方式
|
|
|
|
|
|
+ pricing: '9', //付费方式
|
|
convertPrice: 0, //目标转化出价
|
|
convertPrice: 0, //目标转化出价
|
|
-
|
|
|
|
-
|
|
|
|
convertTarget: '',
|
|
convertTarget: '',
|
|
showDownloadUrl: true,
|
|
showDownloadUrl: true,
|
|
showExternalUrl: false,
|
|
showExternalUrl: false,
|
|
@@ -310,16 +291,8 @@
|
|
openUrlCreateMode: 'hand_create',
|
|
openUrlCreateMode: 'hand_create',
|
|
name: '',
|
|
name: '',
|
|
confirmLoading: false,
|
|
confirmLoading: false,
|
|
-
|
|
|
|
-
|
|
|
|
showDateFlowRange: false,
|
|
showDateFlowRange: false,
|
|
showDateQuantumRange: false,
|
|
showDateQuantumRange: false,
|
|
-
|
|
|
|
-
|
|
|
|
- bidTypeList: {},
|
|
|
|
-
|
|
|
|
- flowControlModeList: {},
|
|
|
|
- filterTypeList: {},
|
|
|
|
price: 0,
|
|
price: 0,
|
|
filterType: "NO_EXCLUDE",
|
|
filterType: "NO_EXCLUDE",
|
|
flowDateList: {},
|
|
flowDateList: {},
|
|
@@ -343,19 +316,19 @@
|
|
id: null,
|
|
id: null,
|
|
time: [],
|
|
time: [],
|
|
convertPrice: 0,
|
|
convertPrice: 0,
|
|
- priceType: '9',
|
|
|
|
- dateQuantum: '0',
|
|
|
|
|
|
+ pricing: '9',
|
|
|
|
+ dateQuantum: '1',
|
|
dateQuantumRange: '',
|
|
dateQuantumRange: '',
|
|
flowDateType: '1',
|
|
flowDateType: '1',
|
|
budgetPrice: 0,
|
|
budgetPrice: 0,
|
|
budgetPriceMode: '0',
|
|
budgetPriceMode: '0',
|
|
flowControlMode: '0',
|
|
flowControlMode: '0',
|
|
- bidType: 'SMART_BID_CUSTOM',
|
|
|
|
|
|
+ bidType: '0',
|
|
filterType: 'NO_EXCLUDE'
|
|
filterType: 'NO_EXCLUDE'
|
|
});
|
|
});
|
|
},
|
|
},
|
|
edit(record) {
|
|
edit(record) {
|
|
- this.form.resetFields();
|
|
|
|
|
|
+ // this.form.resetFields();
|
|
|
|
|
|
// this.time[0] = record.startDate
|
|
// this.time[0] = record.startDate
|
|
// this.time[1] = record.endDate
|
|
// this.time[1] = record.endDate
|
|
@@ -377,7 +350,7 @@
|
|
this.time = [moment(record.startDate), moment(record.endDate)]
|
|
this.time = [moment(record.startDate), moment(record.endDate)]
|
|
}
|
|
}
|
|
this.bidType = record.bidType
|
|
this.bidType = record.bidType
|
|
- this.priceType = record.priceType
|
|
|
|
|
|
+ this.pricing = record.pricing
|
|
this.price = record.price
|
|
this.price = record.price
|
|
this.filterType = record.filterType
|
|
this.filterType = record.filterType
|
|
if (this.flowDateType == '1') {
|
|
if (this.flowDateType == '1') {
|
|
@@ -385,7 +358,7 @@
|
|
} else {
|
|
} else {
|
|
this.showDateFlowRange = true;
|
|
this.showDateFlowRange = true;
|
|
}
|
|
}
|
|
- if (this.dateQuantum == '0') {
|
|
|
|
|
|
+ if (this.dateQuantum == '1') {
|
|
this.showDateQuantumRange = false;
|
|
this.showDateQuantumRange = false;
|
|
} else {
|
|
} else {
|
|
this.showDateQuantumRange = true;
|
|
this.showDateQuantumRange = true;
|
|
@@ -428,8 +401,14 @@
|
|
console.log(value);
|
|
console.log(value);
|
|
if (this.deliveryTarget == '11') {
|
|
if (this.deliveryTarget == '11') {
|
|
this.showConvertTarget = true;
|
|
this.showConvertTarget = true;
|
|
|
|
+ this.pricing='9'
|
|
} else {
|
|
} else {
|
|
this.showConvertTarget = false;
|
|
this.showConvertTarget = false;
|
|
|
|
+ if(this.deliveryTarget == '2'){
|
|
|
|
+ this.pricing='2'
|
|
|
|
+ }else if(this.deliveryTarget == '1'){
|
|
|
|
+ this.pricing='1'
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onChangeOpenUrlStatus() {
|
|
onChangeOpenUrlStatus() {
|
|
@@ -461,7 +440,7 @@
|
|
console.log("选择起始时间:" + this.time);
|
|
console.log("选择起始时间:" + this.time);
|
|
console.log("投放时段类型:" + this.dateQuantum);
|
|
console.log("投放时段类型:" + this.dateQuantum);
|
|
this.dateQuantumRange = '';
|
|
this.dateQuantumRange = '';
|
|
- if (this.dateQuantum == 'date_appoint') {
|
|
|
|
|
|
+ if (this.dateQuantum == '2') {
|
|
this.dateQuantumRange = jq("#table_time_selected1_time_num").val();
|
|
this.dateQuantumRange = jq("#table_time_selected1_time_num").val();
|
|
}
|
|
}
|
|
console.log("付费方式:" + this.priceType);
|
|
console.log("付费方式:" + this.priceType);
|
|
@@ -484,11 +463,11 @@
|
|
params.budgetPrice =this.budgetPrice;
|
|
params.budgetPrice =this.budgetPrice;
|
|
params.flowDateType =this.flowDateType;
|
|
params.flowDateType =this.flowDateType;
|
|
params.dateQuantum =this.dateQuantum;
|
|
params.dateQuantum =this.dateQuantum;
|
|
- params.priceType = this.priceType;
|
|
|
|
|
|
+ params.pricing = this.pricing;
|
|
params.convertPrice = this.convertPrice;
|
|
params.convertPrice = this.convertPrice;
|
|
if (this.time != [] && this.time.length == 2) {
|
|
if (this.time != [] && this.time.length == 2) {
|
|
- params.startDate = moment(this.time[0]).format('YYYY-MM-DD')
|
|
|
|
- params.endDate = moment(this.time[1]).format('YYYY-MM-DD')
|
|
|
|
|
|
+ params.startDate = moment(this.time[0]).format('YYYY-MM-DD HH:mm')
|
|
|
|
+ params.endDate = moment(this.time[1]).format('YYYY-MM-DD HH:mm')
|
|
}
|
|
}
|
|
|
|
|
|
params.dateQuantumRange = this.dateQuantumRange;
|
|
params.dateQuantumRange = this.dateQuantumRange;
|
|
@@ -531,7 +510,7 @@
|
|
console.log(value)
|
|
console.log(value)
|
|
},
|
|
},
|
|
dateQuantumChange(value) {
|
|
dateQuantumChange(value) {
|
|
- if (this.dateQuantum == 'date_unlimited') {
|
|
|
|
|
|
+ if (this.dateQuantum == '1') {
|
|
this.showDateQuantumRange = false;
|
|
this.showDateQuantumRange = false;
|
|
this.dateQuantumRange = '';
|
|
this.dateQuantumRange = '';
|
|
} else {
|
|
} else {
|
|
@@ -552,53 +531,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created: function () {
|
|
created: function () {
|
|
- //出价方式
|
|
|
|
- let params = {};
|
|
|
|
- params.dictId = '35c0634f642a0da32dcd2c75b4f03ad9';
|
|
|
|
- params.pageSize = '1000';
|
|
|
|
- getAction(this.url.dictListUrl, params).then((res) => {
|
|
|
|
- if (res.success) {
|
|
|
|
- this.bidTypeList = res.result.records
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- //投放方式(计划投放速度类型)
|
|
|
|
- params = {};
|
|
|
|
- params.dictId = '46e24e805d5cd0356a9f4560d987a276';
|
|
|
|
- params.pageSize = '1000';
|
|
|
|
- getAction(this.url.dictListUrl, params).then((res) => {
|
|
|
|
- if (res.success) {
|
|
|
|
- this.flowControlModeList = res.result.records
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- //投放时间类型
|
|
|
|
- params = {};
|
|
|
|
- params.dictId = '4c5bb1a99115c6130d6f71b3784a99ab';
|
|
|
|
- params.pageSize = '1000';
|
|
|
|
- getAction(this.url.dictListUrl, params).then((res) => {
|
|
|
|
- if (res.success) {
|
|
|
|
- this.flowDateList = res.result.records
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
|
|
|
|
- // //付费方式类型
|
|
|
|
- // params = {};
|
|
|
|
- // params.dictId = '46e24e805d5cd0356a9f4560d987a276';
|
|
|
|
- // params.pageSize = '1000';
|
|
|
|
- // getAction(this.url.dictListUrl,params).then((res) => {
|
|
|
|
- // if (res.success) {
|
|
|
|
- // this.flowControlModeList = res.result.records
|
|
|
|
- // }
|
|
|
|
- // });
|
|
|
|
-
|
|
|
|
- //过滤已转化用户
|
|
|
|
- params = {};
|
|
|
|
- params.dictId = 'd06027ca9be05d60b2946e5276fa1cba';
|
|
|
|
- params.pageSize = '1000';
|
|
|
|
- getAction(this.url.dictListUrl, params).then((res) => {
|
|
|
|
- if (res.success) {
|
|
|
|
- this.filterTypeList = res.result.records
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|