|
@@ -13,6 +13,16 @@
|
|
|
</span>
|
|
|
|
|
|
</div>
|
|
|
+ <div v-else-if="editLHKProjectInfo.id">
|
|
|
+ <span style="margin-right:8px"> 项目:<strong>{{editLHKProjectInfo.name||''}}</strong></span>
|
|
|
+ <span style="margin-right:8px"> 推广目的:<strong>{{editLHKProjectInfo.landingType=='APP'?'应用推广':'销售线索收集'||''}}</strong></span>
|
|
|
+ <span style="margin-right:8px"> 投放媒体:<strong>{{editLHKProjectInfo.deliveryRange=="DEFAULT"?'默认':'穿山甲'||''}}</strong></span>
|
|
|
+ <span style="margin-right:8px"> 投放方式:
|
|
|
+ <strong v-if="editLHKProjectInfo.adTarget=='CPA'">优先成本</strong>
|
|
|
+ <strong v-if="editLHKProjectInfo.adTarget=='COST'">优先跑量</strong>
|
|
|
+ <strong v-if="editLHKProjectInfo.adTarget=='PUSH'">激进抢量</strong>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -220,9 +230,12 @@
|
|
|
<div class="moduler">
|
|
|
<div class="adName">
|
|
|
<span>当前账户:</span>
|
|
|
- <div class="nameList">
|
|
|
+ <div class="nameList" v-if="LHKaccountInfo.length>0">
|
|
|
<strong v-for="item in LHKaccountInfo" :key="item.value" class="item">{{item.title+'('+item.value+')'}}</strong>
|
|
|
</div>
|
|
|
+ <div class="nameList" v-else-if="editLHKProjectInfo.id">
|
|
|
+ <strong class="item">{{editLHKProjectInfo.accountName+'('+editLHKProjectInfo.accountId+')'}}</strong>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 操作 -->
|
|
@@ -274,6 +287,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ isEdit:false,
|
|
|
+ editLHKProjectInfo:{},
|
|
|
userInfo:{},
|
|
|
isDeepConvert:false,
|
|
|
projectInfo:[],
|
|
@@ -490,14 +505,25 @@ export default {
|
|
|
|
|
|
},
|
|
|
|
|
|
- EchoPageInfo(){
|
|
|
+ EchoPageInfo(object){
|
|
|
+ if(object.weekTime.length>0){
|
|
|
|
|
|
+ }
|
|
|
+ this.form.setFieldsValue({
|
|
|
+ bid:object.bid,
|
|
|
+ budget:object.budget,
|
|
|
+ deepBid:object.deepBid,
|
|
|
+ deepBidType:object.deepBidType,
|
|
|
+ budgetMode:object.budgetMode,
|
|
|
+ deepExternalAction:object.deepExternalAction,
|
|
|
+
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
},
|
|
|
|
|
|
mounted() {
|
|
|
- this.$bus.$emit('remove', '/LaunchHousekeeper/setProjectCreate')
|
|
|
+ this.$bus.$emit('remove', '/LaunchHousekeeper/setProjectCreate')
|
|
|
let projectInfo=sessionStorage.getItem('projectInfo');
|
|
|
if(projectInfo){
|
|
|
this.projectInfo=JSON.parse(projectInfo)
|
|
@@ -508,12 +534,14 @@ export default {
|
|
|
}
|
|
|
let editLHKProjectInfo=sessionStorage.getItem('editLHKProjectInfo');
|
|
|
if(editLHKProjectInfo){
|
|
|
- this.LHKaccountInfo.push(editLHKProjectInfo);
|
|
|
+ this.editLHKProjectInfo=JSON.parse(editLHKProjectInfo);
|
|
|
+ this.EchoPageInfo(this.editLHKProjectInfo)
|
|
|
}
|
|
|
let userInfo=localStorage.getItem('pro__Login_Userinfo')
|
|
|
if(userInfo){
|
|
|
this.userInfo=JSON.parse(userInfo)
|
|
|
}
|
|
|
+
|
|
|
|
|
|
},
|
|
|
}
|