|
@@ -171,7 +171,7 @@ li:hover {
|
|
<a-radio-button value="ageLimit">限定年龄段</a-radio-button>
|
|
<a-radio-button value="ageLimit">限定年龄段</a-radio-button>
|
|
<a-radio-button value="ageCustom">自定义年龄段</a-radio-button>
|
|
<a-radio-button value="ageCustom">自定义年龄段</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
- <div v-if="allForm.ageType == 'ageLimit'" style="margin-top:5px">
|
|
|
|
|
|
+ <div v-if="allForm.ageType == 'ageLimit'" style="margin-top: 5px">
|
|
<a-checkbox-group v-decorator="['agesRange', { rules: [{ required: true, message: '请选择年龄段' }] }]">
|
|
<a-checkbox-group v-decorator="['agesRange', { rules: [{ required: true, message: '请选择年龄段' }] }]">
|
|
<!-- <a-checkbox :value="0">0-11岁</a-checkbox>
|
|
<!-- <a-checkbox :value="0">0-11岁</a-checkbox>
|
|
<a-checkbox :value="12">12-17岁</a-checkbox> -->
|
|
<a-checkbox :value="12">12-17岁</a-checkbox> -->
|
|
@@ -211,7 +211,6 @@ li:hover {
|
|
initialValue: 0,
|
|
initialValue: 0,
|
|
},
|
|
},
|
|
]"
|
|
]"
|
|
-
|
|
|
|
>
|
|
>
|
|
<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>
|
|
@@ -235,7 +234,7 @@ li:hover {
|
|
:wrapperCol="{ lg: { span: 10 }, sm: { span: 17 } }"
|
|
:wrapperCol="{ lg: { span: 10 }, sm: { span: 17 } }"
|
|
v-if="allForm.platform_os == 1"
|
|
v-if="allForm.platform_os == 1"
|
|
class="else-label"
|
|
class="else-label"
|
|
- style="margin-top:-16px"
|
|
|
|
|
|
+ style="margin-top: -16px"
|
|
>
|
|
>
|
|
<a-radio-group
|
|
<a-radio-group
|
|
v-decorator="[
|
|
v-decorator="[
|
|
@@ -258,7 +257,7 @@ li:hover {
|
|
:wrapperCol="{ lg: { span: 10 }, sm: { span: 17 } }"
|
|
:wrapperCol="{ lg: { span: 10 }, sm: { span: 17 } }"
|
|
v-if="allForm.platform_os == 2"
|
|
v-if="allForm.platform_os == 2"
|
|
class="else-label"
|
|
class="else-label"
|
|
- style="margin-top:-16px"
|
|
|
|
|
|
+ style="margin-top: -16px"
|
|
>
|
|
>
|
|
<a-radio-group
|
|
<a-radio-group
|
|
v-decorator="[
|
|
v-decorator="[
|
|
@@ -285,22 +284,22 @@ li:hover {
|
|
<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-group>
|
|
</a-radio-group>
|
|
- <div v-if="allForm.device == '1'" style="width: 120%;margin-top:15px">
|
|
|
|
|
|
+ <div v-if="allForm.device == '1'" style="width: 120%; margin-top: 15px">
|
|
<a-checkbox-group
|
|
<a-checkbox-group
|
|
v-decorator="['deviceBrand', { rules: [{ required: true, message: '请选择设备品牌' }] }]"
|
|
v-decorator="['deviceBrand', { rules: [{ required: true, message: '请选择设备品牌' }] }]"
|
|
style="width: 120%"
|
|
style="width: 120%"
|
|
>
|
|
>
|
|
- <a-checkbox :value="1" style='margin-bottom:8px'>OPPO</a-checkbox>
|
|
|
|
- <a-checkbox :value="2" style='margin-bottom:8px'>VIVO</a-checkbox>
|
|
|
|
- <a-checkbox :value="3" style='margin-bottom:8px'>华为</a-checkbox>
|
|
|
|
- <a-checkbox :value="4" style='margin-bottom:8px'>小米</a-checkbox>
|
|
|
|
- <a-checkbox :value="5" style='margin-bottom:8px'>荣耀</a-checkbox>
|
|
|
|
- <a-checkbox :value="6" style='margin-bottom:8px'>三星</a-checkbox>
|
|
|
|
- <a-checkbox :value="7" style='margin-bottom:8px'>金立</a-checkbox>
|
|
|
|
- <a-checkbox :value="8" style="margin:0 0 8px 0">魅族</a-checkbox>
|
|
|
|
- <a-checkbox :value="9" style='margin-bottom:8px'>乐视</a-checkbox>
|
|
|
|
- <a-checkbox :value="10" style='margin-bottom:8px'>其他</a-checkbox>
|
|
|
|
- <a-checkbox :value="11" v-if="allForm.platform_os == 0" style='margin-bottom:8px'>苹果</a-checkbox>
|
|
|
|
|
|
+ <a-checkbox :value="1" style="margin-bottom: 8px">OPPO</a-checkbox>
|
|
|
|
+ <a-checkbox :value="2" style="margin-bottom: 8px">VIVO</a-checkbox>
|
|
|
|
+ <a-checkbox :value="3" style="margin-bottom: 8px">华为</a-checkbox>
|
|
|
|
+ <a-checkbox :value="4" style="margin-bottom: 8px">小米</a-checkbox>
|
|
|
|
+ <a-checkbox :value="5" style="margin-bottom: 8px">荣耀</a-checkbox>
|
|
|
|
+ <a-checkbox :value="6" style="margin-bottom: 8px">三星</a-checkbox>
|
|
|
|
+ <a-checkbox :value="7" style="margin-bottom: 8px">金立</a-checkbox>
|
|
|
|
+ <a-checkbox :value="8" style="margin: 0 0 8px 0">魅族</a-checkbox>
|
|
|
|
+ <a-checkbox :value="9" style="margin-bottom: 8px">乐视</a-checkbox>
|
|
|
|
+ <a-checkbox :value="10" style="margin-bottom: 8px">其他</a-checkbox>
|
|
|
|
+ <a-checkbox :value="11" v-if="allForm.platform_os == 0" style="margin-bottom: 8px">苹果</a-checkbox>
|
|
</a-checkbox-group>
|
|
</a-checkbox-group>
|
|
</div>
|
|
</div>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
@@ -313,21 +312,21 @@ li:hover {
|
|
<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-group>
|
|
</a-radio-group>
|
|
- <div v-if="allForm.price == '1'" style="width: 120%;margin-top:10px">
|
|
|
|
|
|
+ <div v-if="allForm.price == '1'" style="width: 120%; margin-top: 10px">
|
|
<a-checkbox-group
|
|
<a-checkbox-group
|
|
v-decorator="['devicePrice', { rules: [{ required: true, message: '请选择设备价格' }] }]"
|
|
v-decorator="['devicePrice', { rules: [{ required: true, message: '请选择设备价格' }] }]"
|
|
style="width: 120%"
|
|
style="width: 120%"
|
|
>
|
|
>
|
|
- <a-checkbox :value="1" style='margin-bottom:8px'>1500以下</a-checkbox>
|
|
|
|
- <a-checkbox :value="2" style='margin-bottom:8px'>1501~2000</a-checkbox>
|
|
|
|
- <a-checkbox :value="3" style='margin-bottom:8px'>2001~2500</a-checkbox>
|
|
|
|
- <a-checkbox :value="4" style='margin-bottom:8px'>2501~3000</a-checkbox>
|
|
|
|
- <a-checkbox :value="5" style="margin-left:0;margin-bottom:8px">3001~3500</a-checkbox>
|
|
|
|
- <a-checkbox :value="6" style='margin-bottom:8px'>3501~4000</a-checkbox>
|
|
|
|
- <a-checkbox :value="7" style='margin-bottom:8px'>4001~4500</a-checkbox>
|
|
|
|
- <a-checkbox :value="8" style='margin-bottom:8px'>4501~5000</a-checkbox>
|
|
|
|
- <a-checkbox :value="9" style="margin-left:0;margin-bottom:8px">5001~5500</a-checkbox>
|
|
|
|
- <a-checkbox :value="10" style='margin-bottom:8px'>5500以上</a-checkbox>
|
|
|
|
|
|
+ <a-checkbox :value="1" style="margin-bottom: 8px">1500以下</a-checkbox>
|
|
|
|
+ <a-checkbox :value="2" style="margin-bottom: 8px">1501~2000</a-checkbox>
|
|
|
|
+ <a-checkbox :value="3" style="margin-bottom: 8px">2001~2500</a-checkbox>
|
|
|
|
+ <a-checkbox :value="4" style="margin-bottom: 8px">2501~3000</a-checkbox>
|
|
|
|
+ <a-checkbox :value="5" style="margin-left: 0; margin-bottom: 8px">3001~3500</a-checkbox>
|
|
|
|
+ <a-checkbox :value="6" style="margin-bottom: 8px">3501~4000</a-checkbox>
|
|
|
|
+ <a-checkbox :value="7" style="margin-bottom: 8px">4001~4500</a-checkbox>
|
|
|
|
+ <a-checkbox :value="8" style="margin-bottom: 8px">4501~5000</a-checkbox>
|
|
|
|
+ <a-checkbox :value="9" style="margin-left: 0; margin-bottom: 8px">5001~5500</a-checkbox>
|
|
|
|
+ <a-checkbox :value="10" style="margin-bottom: 8px">5500以上</a-checkbox>
|
|
</a-checkbox-group>
|
|
</a-checkbox-group>
|
|
</div>
|
|
</div>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
@@ -962,8 +961,14 @@ export default {
|
|
computed: {},
|
|
computed: {},
|
|
methods: {
|
|
methods: {
|
|
getPeople() {
|
|
getPeople() {
|
|
|
|
+ var data = ''
|
|
|
|
+ if (this.$route.path == '/creat/creatUnit') {
|
|
|
|
+ data = localStorage.getItem('campaignAccountId')
|
|
|
|
+ } else {
|
|
|
|
+ data = localStorage.getItem('accountId')
|
|
|
|
+ }
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|
|
- getAction('/kuaishou/batch/getPopulationList', { accountId: localStorage.getItem('accountId') }).then((res) => {
|
|
|
|
|
|
+ getAction('/kuaishou/batch/getPopulationList', { accountId: data }).then((res) => {
|
|
if (res.success) {
|
|
if (res.success) {
|
|
if (res.result) {
|
|
if (res.result) {
|
|
this.dataList = res.result.map((item, index) => {
|
|
this.dataList = res.result.map((item, index) => {
|
|
@@ -1215,10 +1220,15 @@ export default {
|
|
getAppAllElse(e) {
|
|
getAppAllElse(e) {
|
|
this.checkArr = this.optionsAll
|
|
this.checkArr = this.optionsAll
|
|
// this.getAppAll()
|
|
// this.getAppAll()
|
|
-
|
|
|
|
|
|
+ var data = ''
|
|
|
|
+ if (this.$route.path == '/creat/creatUnit') {
|
|
|
|
+ data = localStorage.getItem('campaignAccountId')
|
|
|
|
+ } else {
|
|
|
|
+ data = localStorage.getItem('accountId')
|
|
|
|
+ }
|
|
if (this.appListValue != '') {
|
|
if (this.appListValue != '') {
|
|
getAction('/kuaishou/batch/getAppSearch', {
|
|
getAction('/kuaishou/batch/getAppSearch', {
|
|
- accountId: localStorage.getItem('accountId'),
|
|
|
|
|
|
+ accountId: data,
|
|
appName: e.target.value,
|
|
appName: e.target.value,
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
if (res.result) {
|
|
if (res.result) {
|
|
@@ -1236,9 +1246,15 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
getAppAll(e) {
|
|
getAppAll(e) {
|
|
|
|
+ var data = ''
|
|
|
|
+ if (this.$route.path == '/creat/creatUnit') {
|
|
|
|
+ data = localStorage.getItem('campaignAccountId')
|
|
|
|
+ } else {
|
|
|
|
+ data = localStorage.getItem('accountId')
|
|
|
|
+ }
|
|
if (e.target.value !== '') {
|
|
if (e.target.value !== '') {
|
|
getAction('/kuaishou/batch/getAppSearch', {
|
|
getAction('/kuaishou/batch/getAppSearch', {
|
|
- accountId: localStorage.getItem('accountId'),
|
|
|
|
|
|
+ accountId: data,
|
|
appName: e.target.value,
|
|
appName: e.target.value,
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
if (res.result) {
|
|
if (res.result) {
|