Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
zxn-adputin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lijin
zxn-adputin
Commits
7ce75464
Commit
7ce75464
authored
Dec 19, 2024
by
lijin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified
parent
6f5abc1c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
46 deletions
+28
-46
report.js
src/api/report.js
+4
-4
index.vue
src/views/createDelivery/index.vue
+22
-40
copywritinglibrary.vue
src/views/createMaterial/common/copywritinglibrary.vue
+2
-2
No files found.
src/api/report.js
View file @
7ce75464
...
...
@@ -56,7 +56,7 @@ export function putinUpdateAdvertiseConversion(params) {
// 创建投放任务
export
function
putinCreatePutinTask
(
data
)
{
return
request
({
url
:
process
.
env
.
PUTIN_API
+
"/putin/
create/putin-t
ask"
,
url
:
process
.
env
.
PUTIN_API
+
"/putin/
task/createPutinT
ask"
,
method
:
"post"
,
data
});
...
...
@@ -107,7 +107,7 @@ export function getPictureSizeLsit(params) {
});
}
//获取行动号召列表
//获取行动号召列表
export
function
getCallActionList
(
params
)
{
return
request
({
url
:
process
.
env
.
PUTIN_API
+
"/putin/action/texts"
,
...
...
@@ -192,7 +192,7 @@ export function handleAdvertiserOcmp(params, means) {
/**
* 通用接口通过sqlid来区分获取不同的数据
* @param {Object} params
* @param {Object} params
*/
export
function
v2TableMappingAPI
(
params
)
{
return
request
({
...
...
@@ -414,4 +414,4 @@ export function backhaul(params) {
}
// ----------------------------------------
\ No newline at end of file
// ----------------------------------------
src/views/createDelivery/index.vue
View file @
7ce75464
...
...
@@ -567,6 +567,20 @@
</div>
</div>
<div
class=
"drawer-item border-bottom"
>
<div
class=
"drawer-item-title"
style=
"font-weight: 700"
>
广告组
</div>
<div
class=
"drawer-item-title"
>
广告组名称
</div>
<div
class=
"drawer-item-con"
>
<el-input
class=
"apk-input"
v-model=
"putinTask.adGroupName"
/>
</div>
</div>
<!-- 制作创意 -->
<div
class=
"drawer-item border-bottom"
>
<div
class=
"drawer-item-title"
>
制作创意
</div>
...
...
@@ -807,6 +821,7 @@ export default {
putinAccounts
:
[],
campaignName
:
''
,
campaignType
:
1
,
zhuanhuamubiao
:
1
,
dailyBudget
:
0.0
,
targetCpa
:
0.0
,
appInfo
:
""
,
...
...
@@ -1241,45 +1256,8 @@ export default {
// 创建投放任务
putinCreatePutinTask
:
function
()
{
this
.
makeCreative
.
creativeTags
=
this
.
arrays
.
creativeTags
.
join
();
this
.
orientation
.
allowAge
=
this
.
arrays
.
allowAge
.
join
();
this
.
orientation
.
allowNetwork
=
this
.
arrays
.
allowNetwork
.
join
();
this
.
orientation
.
allowCarrier
=
this
.
arrays
.
allowCarrier
.
join
();
this
.
makeCreative
.
textGroup
=
JSON
.
stringify
(
this
.
putinTask
.
headlines
);
this
.
makeCreative
.
productSellingPoints
=
JSON
.
stringify
(
this
.
arrays
.
productSellingPoints
);
if
(
this
.
makeCreative
.
putinInventory
instanceof
Array
)
{
this
.
makeCreative
.
putinInventory
=
this
.
makeCreative
.
putinInventory
.
join
();
}
if
(
this
.
makeCreative
.
actionText
===
""
||
this
.
makeCreative
.
actionText
==
null
||
this
.
makeCreative
.
actionText
==
undefined
)
{
this
.
$message
.
error
(
"请选择行动号召参数!"
);
return
;
}
//点击选择试玩素材列表,如果不启用或者不是穿山甲激励视频,就将其置为空,否侧就多选拼串
if
(
this
.
tryItOut
!==
1
)
{
this
.
makeCreative
.
openPlay
=
"no"
;
}
else
{
this
.
makeCreative
.
openPlay
=
"yes"
;
}
//提交按钮禁用
this
.
submitBtnState
=
true
;
/* 接口请求 */
putinCreatePutinTask
({
putinBaseInfo
:
this
.
putinBaseInfo
,
orientation
:
this
.
orientation
,
makeCreative
:
this
.
makeCreative
,
})
putinCreatePutinTask
(
this
.
putinTask
)
.
then
((
res
)
=>
{
if
(
res
.
status
===
200
)
{
this
.
putinFetchPutinTasks
();
// 获取投放任务列表
...
...
@@ -1969,11 +1947,15 @@ export default {
handleChangeApp
(
item
){
this
.
putinFetchAccount
()
if
(
this
.
putinTask
.
taskName
==
''
){
this
.
putinTask
.
taskName
=
`
${
item
.
label
}
-
${
moment
().
format
(
"YYYY-
mm-dd
HH:mm:ss"
)}
`
this
.
putinTask
.
taskName
=
`
${
item
.
label
}
-
${
moment
().
format
(
"YYYY-
MM-DD
HH:mm:ss"
)}
`
}
if
(
this
.
putinTask
.
campaignName
==
''
){
this
.
putinTask
.
campaignName
=
`
${
item
.
label
}
-
${
moment
().
format
(
"YYYY-mm-dd HH:mm:ss"
)}
`
this
.
putinTask
.
campaignName
=
`
${
item
.
label
}
-
${
moment
().
format
(
"YYYY-MM-DD HH:mm:ss"
)}
`
}
if
(
this
.
putinTask
.
adGroupName
==
''
){
this
.
putinTask
.
adGroupName
=
`adGroup -
${
moment
().
format
(
"YYYY-MM-DD HH:mm:ss"
)}
`
}
},
...
...
src/views/createMaterial/common/copywritinglibrary.vue
View file @
7ce75464
...
...
@@ -241,8 +241,8 @@ export default {
methods
:
{
APIgetSelectApps
()
{
const
params
=
{
platformId
:
4
,
menuCode
:
"
putin.apps
"
,
platformId
:
5
,
menuCode
:
"
game.Overview,android
"
,
};
getSelectApps
(
params
).
then
((
res
)
=>
{
console
.
log
(
"创意素材组下的下拉列表"
,
res
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment