Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
e498260f
Commit
e498260f
authored
Aug 10, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
984fbc81
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
55 additions
and
58 deletions
+55
-58
index.js
config/index.js
+1
-1
index.html
index.html
+1
-1
index.vue
src/components/aside-menu/index.vue
+1
-1
table.vue
src/components/dm-new-member-group/table.vue
+1
-1
card-list.vue
src/components/linktools-fulls/card-list.vue
+1
-1
gift-list.vue
src/components/linktools-fulls/gift-list.vue
+1
-1
index.vue
src/components/linktools-fulls/index.vue
+2
-2
linktoolspage.vue
src/components/linktools-fulls/linktoolspage.vue
+1
-1
memberAuth.vue
src/components/linktools-fulls/memberAuth.vue
+1
-1
linktools.vue
src/components/linktools/linktools.vue
+1
-1
linktoolspage.vue
src/components/linktools/linktoolspage.vue
+1
-1
index.vue
src/components/member-info/index.vue
+1
-1
index.js
src/config/index.js
+2
-2
popApi.js
src/service/api/popApi.js
+1
-1
ai-data-detail.vue
src/views/ai/ai-data-detail.vue
+22
-31
form.vue
src/views/ai/task/form.vue
+6
-2
info.vue
src/views/ai/task/info.vue
+1
-1
task.vue
src/views/ai/task/task.vue
+6
-3
form.vue
src/views/cdkey/form.vue
+1
-1
api.js
src/views/ecm/marketing-event/assets/api.js
+1
-1
base-config.vue
src/views/game/cmh/base-config.vue
+0
-1
form.vue
src/views/game/dzp/form.vue
+1
-1
api.js
src/views/sign/assets/api.js
+1
-1
No files found.
config/index.js
View file @
e498260f
...
...
@@ -11,7 +11,7 @@ module.exports = {
assetsPublicPath
:
'/marketing/'
,
proxyTable
:
{
'/dmApi/'
:
{
target
:
'http://
gicdev.demogic
.com'
,
target
:
'http://
www.gicdev
.com'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/dmApi'
:
''
...
...
index.html
View file @
e498260f
...
...
@@ -32,7 +32,7 @@
(
function
()
{
var
src
=
'/component/static/import-component.js?timestrap='
+
new
Date
().
getTime
();
var
host
=
window
.
location
.
host
;
host
=
host
.
indexOf
(
'localhost'
)
>
-
1
||
host
.
indexOf
(
'192.168'
)
>
-
1
?
'
gicdev.demogic
.com'
:
host
;
host
=
host
.
indexOf
(
'localhost'
)
>
-
1
||
host
.
indexOf
(
'192.168'
)
>
-
1
?
'
www.gicdev
.com'
:
host
;
document
.
write
(
'<script src="//'
+
host
+
src
+
'"><
\
/script>'
);
})();
</script>
...
...
src/components/aside-menu/index.vue
View file @
e498260f
...
...
@@ -60,7 +60,7 @@ export default {
var
host
=
window
.
location
.
origin
;
// console.log("当前host:",host)
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
that
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
src/components/dm-new-member-group/table.vue
View file @
e498260f
...
...
@@ -132,7 +132,7 @@ export default {
return
row
.
readyStatus
==
1
&&
this
.
realTimeType
.
includes
(
row
.
isRealTime
);
},
addGroup
()
{
let
str
=
window
.
location
.
host
.
includes
(
'localhost'
)
?
'http://
gicdev.demogic
.com'
:
''
;
let
str
=
window
.
location
.
host
.
includes
(
'localhost'
)
?
'http://
www.gicdev
.com'
:
''
;
window
.
open
(
`
${
str
}
/member-tag/#/memberGroupEdit?refresh`
,
'_blank'
);
},
selectRow
(
row
)
{
...
...
src/components/linktools-fulls/card-list.vue
View file @
e498260f
...
...
@@ -130,7 +130,7 @@ export default {
created
()
{
const
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com'
:
host
;
},
mounted
()
{
...
...
src/components/linktools-fulls/gift-list.vue
View file @
e498260f
...
...
@@ -69,7 +69,7 @@ export default {
created
()
{
const
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com'
:
host
;
},
methods
:
{
...
...
src/components/linktools-fulls/index.vue
View file @
e498260f
...
...
@@ -7,7 +7,7 @@
<linktools :showType="showType" :linkToolsVisible="linkToolsVisible" @linkSelect="linkSelect"/>
// 直播间
// http://
gicdev.demogic
.com/api-plug/list-wx-lives?requestProject=gic-web&type=0
// http://
www.gicdev
.com/api-plug/list-wx-lives?requestProject=gic-web&type=0
this.axios.get(`${this.baseUrl}/api-plug/list-wx-lives?requestProject=gic-web&type=0`).the()
import Linktools from 'components/linktools/linktools.vue'
...
...
@@ -731,7 +731,7 @@ export default {
this
.
giftFlag
=
false
;
var
that
=
this
var
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com'
:
host
;
},
methods
:
{
// H5对接文档
...
...
src/components/linktools-fulls/linktoolspage.vue
View file @
e498260f
...
...
@@ -688,7 +688,7 @@ export default {
this
.
giftFlag
=
false
;
var
that
=
this
var
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
!=
'-1'
?
'http://
gicdev.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
!=
'-1'
?
'http://
www.gicdev
.com'
:
host
;
},
methods
:
{
getMore
()
{
...
...
src/components/linktools-fulls/memberAuth.vue
View file @
e498260f
...
...
@@ -601,7 +601,7 @@ export default {
this
.
giftFlag
=
false
;
var
that
=
this
var
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com'
:
host
;
},
methods
:
{
getMore
()
{
...
...
src/components/linktools/linktools.vue
View file @
e498260f
...
...
@@ -355,7 +355,7 @@ export default {
var
host
=
window
.
location
.
origin
;
console
.
log
(
'当前host:'
,
host
);
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
that
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
src/components/linktools/linktoolspage.vue
View file @
e498260f
...
...
@@ -386,7 +386,7 @@ export default {
let
host
=
window
.
location
.
origin
;
console
.
log
(
'当前host:'
,
host
);
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
that
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
src/components/member-info/index.vue
View file @
e498260f
...
...
@@ -54,7 +54,7 @@
<
script
>
/* eslint-disable */
const
host
=
window
.
location
.
origin
;
export
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http://
gicdev.demogic
.com/'
:
host
;
export
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http://
www.gicdev
.com/'
:
host
;
export
default
{
name
:
'vue-gic-member-info'
,
props
:
{
...
...
src/config/index.js
View file @
e498260f
export
default
{
// eslint-disable-next-line
api
:
process
.
env
[
'NODE_ENV'
]
===
'development'
?
'http://
gicdev.demogic
.com/'
:
window
.
location
.
protocol
+
'//'
+
window
.
location
.
host
+
'/'
||
''
api
:
process
.
env
[
'NODE_ENV'
]
===
'development'
?
'http://
www.gicdev
.com/'
:
window
.
location
.
protocol
+
'//'
+
window
.
location
.
host
+
'/'
||
''
// /dmApi/
// http://
gicdev.demogic
.com/
// http://
www.gicdev
.com/
// http://192.168.1.154:86/
};
...
...
src/service/api/popApi.js
View file @
e498260f
...
...
@@ -27,5 +27,5 @@ export const removePopupPlan = params => requests(PREFIX + 'remove-popup-plan',
export
const
stopPopup
=
params
=>
requests
(
PREFIX
+
'stop-popup'
,
params
);
// 投放页面-获取自定义页面
// http://
gicdev.demogic
.com/api-admin/list-page
// http://
www.gicdev
.com/api-admin/list-page
export
const
customPageList
=
params
=>
requests
(
`
${
config
.
api
}
api-admin/list-page`
,
params
);
src/views/ai/ai-data-detail.vue
View file @
e498260f
...
...
@@ -73,14 +73,14 @@
<div
slot=
"content"
>
查看记录
</div>
<el-button
size=
"small"
type=
"text"
@
click=
"handleRecord(row)"
v-if=
"
row.aiTelRecordText"
><i
class=
"iconfont fz14 icon-chakanxiangqing-copy"
></i>
</el-button>
<el-button
size=
"small"
type=
"text"
@
click=
"handleRecord(row)"
:disabled=
"!
row.aiTelRecordText"
><i
class=
"iconfont fz14 icon-chakanxiangqing-copy"
></i>
</el-button>
</el-tooltip>
<el-tooltip
placement=
"top"
>
<el-tooltip
placement=
"top"
:disabled=
"!row.aiTelRecordText"
>
<div
slot=
"content"
>
{{
row
.
aiTelRecordText
&&
!
row
.
aiTelRecordUrl
?
'录音已过期'
:
'播放录音'
}}
</div>
<el-button
size=
"small"
type=
"text"
@
click=
"handleListen(row)"
v-if=
"row.aiTelRecordText"
:disabled=
"row.aiTelRecordText && !row.aiTelRecordUrl
"
>
<el-button
size=
"small"
type=
"text"
@
click=
"handleListen(row)"
:disabled=
"!row.aiTelRecordText || (row.aiTelRecordText && !row.aiTelRecordUrl)
"
>
<i
:class=
"['iconfont fz14', row.isPlay ? 'icon-zanting' : 'icon-kaiqi']"
></i>
</el-button>
</el-tooltip>
...
...
@@ -130,7 +130,6 @@ export default {
this
.
analyseFlag
=
this
.
$route
.
query
.
analyseFlag
==
1
;
this
.
scene
=
this
.
$route
.
query
.
scene
;
this
.
getData
();
console
.
log
(
'mounted3'
);
},
mounted
()
{
music
.
addEventListener
(
'ended'
,
()
=>
{
...
...
@@ -139,6 +138,16 @@ export default {
item
.
isPlay
=
false
;
});
this
.
tableData
=
this
.
tableData
.
splice
(
0
);
console
.
log
(
this
.
tableData
);
});
document
.
addEventListener
(
'visibilitychange'
,
()
=>
{
this
.
tableData
.
filter
(
item
=>
item
.
isPlay
==
true
)
.
forEach
(
item
=>
{
item
.
isPlay
=
false
;
});
this
.
tableData
=
this
.
tableData
.
splice
(
0
);
music
.
pause
();
});
},
methods
:
{
...
...
@@ -207,39 +216,18 @@ export default {
item
.
isPlay
=
false
;
item
.
id
=
index
;
// if (index % 2) {
// item.aiTelRecordUrl = 'https://byrobot-prod.oss-cn-hangzhou.aliyuncs.com/RobotPhoneCommunicate/20220725/20220725TFuFsG8136020144q.mp3';
// } else {
// item.aiTelRecordUrl = 'https://byrobot-prod.oss-cn-hangzhou.aliyuncs.com/RobotPhoneCommunicate/20220725/20220725TFuFsG8136020144.mp3';
// } else {
// item.aiTelRecordUrl = 'https://byrobot-prod.oss-cn-hangzhou.aliyuncs.com/RobotPhoneCommunicate/20220725/20220725TFuFsG8136020144.mp3';
// }
// item.aiTelRecordUrl = null;
// item.aiTelRecordText = 'AI:你出行了吗
<
br
><
br
用户
:
喂
<
br
><
br
>
AI
:
好的,这边不打扰了
<
br
><
br
用户
:
嗯
<
br
><
br
>
AI
:
抱歉,暂时没听清您的问题
<
br
><
br
您刚刚说什么来着
?
<
br
><
brAI
:
你出行了吗
<
br
><
br
用户
:
喂
<
br
><
br
>
AI
:
好的,这边不打扰了
<
br
>
用户
:
嗯
<
br
><
br
>
';
});
// this.tableData = [
// {
// smsSendTime: 1647852104000, //短信发送时间
// aiStatus: 2, //AI状态1已提交2已删除3已接通4线路问题5被叫问题
// aiThirdStatus: 5, //第三方:已完成通话状态 0:已接听,1:拒接,2:无法接通,3:外呼失败,4:空号,5:关机,6:占线,7:停机,8:未接,9:主叫欠费,10:呼损,11:黑名单,12:天盾拦截,22:线路盲区,23呼出拦截,25:无可用线路(可选线路为空、线路超频等)
// aiTime: 1647852101000, //外呼时间
// aiDuration: 2, //'
时长分钟
(
计费
)
// aiDurationSec: 66, //时长秒
// aiLabel: 'A级(有明确意向)', //ai回调会员标签
// orderPayAmount: 0, //订单实付总金额
// memberImage: '', //会员头像
// memberName: '', //会员姓名
// memberNick: '', //会员Nick
// memberMobile: '18368612362', //会员手机号
// memberCard: '', //会员卡号
// memberGradeName: '', //等级名称
// mainStoreName: '', //主门店名称
// mainStoreCode: '',
// aiTelRecordText: 'AI:你出行了吗
<
br
><
br
用户
:
喂
<
br
><
br
>
AI
:
好的,这边不打扰了
<
br
><
br
用户
:
嗯
<
br
><
br
>
AI
:
抱歉,暂时没听清您的问题
<
br
><
br
您刚刚说什么来着
?
<
br
><
brAI
:
你出行了吗
<
br
><
br
用户
:
喂
<
br
><
br
>
AI
:
好的,这边不打扰了
<
br
>
用户
:
嗯
<
br
><
br
>
',
// aiTelRecordUrl: '
https
:
//byrobot-prod.oss-cn-hangzhou.aliyuncs.com/RobotPhoneCommunicate/20220725/20220725TFuFsG8136020144.mp3', //用户通话录音链接
// isNewMember: '0 //是否是本次开卡的新会员 0-否 1-是'
// }
// ];
})
.
finally
(()
=>
(
this
.
loading
=
false
));
.finally(() => {
this.loading = false;
music.pause();
});
},
handleCurrentChange(pageNum) {
this.search.pageNum = pageNum;
...
...
@@ -271,6 +259,9 @@ export default {
};
return status[state] || '
--
';
}
},
destroyed() {
music.pause();
}
};
</
script
>
...
...
src/views/ai/task/form.vue
View file @
e498260f
...
...
@@ -545,7 +545,7 @@ export default {
planName
,
aiEventId
,
eventId
,
phoneList
,
phoneList
:
[]
,
fileName
,
fileSize
};
...
...
@@ -569,7 +569,8 @@ export default {
};
this
.
form
=
Object
.
assign
(
obj
,
this
.
form
);
}
if
(
scene
==
5
)
{
if
(
scene
==
5
&&
this
.
isEdit
)
{
this
.
form
.
phoneList
=
phoneList
;
this
.
fileEcho
=
[
{
name
:
fileName
,
...
...
@@ -856,6 +857,9 @@ export default {
},
handleFileChange
({
files
})
{
console
.
log
(
files
);
if
(
!
files
.
length
)
{
return
;
}
const
file
=
files
[
0
];
const
formData
=
new
FormData
();
formData
.
append
(
'file'
,
file
);
...
...
src/views/ai/task/info.vue
View file @
e498260f
...
...
@@ -55,7 +55,7 @@
<dm-sub-title
type=
"line"
>
外呼规则配置
</dm-sub-title>
<div
class=
"section"
>
<!--根据客户意向打标标签-->
<div
class=
"card"
>
<div
class=
"card"
v-if=
"form.scene != 5"
>
<div
class=
"title"
>
根据客户意向打标标签:
{{
form
.
labelFlag
?
'开启'
:
'未开启'
}}
</div>
<div
class=
"content"
v-show=
"form.labelFlag"
>
<table>
...
...
src/views/ai/task/task.vue
View file @
e498260f
...
...
@@ -129,8 +129,11 @@ export default {
},
{
text
:
'暂停'
,
props
:
{
limitCode
:
this
.
$buttonCode
.
marketingAiStart
},
visible
:
row
=>
{
return
row
.
activityPlanStatus
==
2
;
return
row
.
activityPlanStatus
==
2
&&
this
.
$getButtonLimit
(
this
.
$buttonCode
.
marketingAiStart
)
;
},
handler
:
row
=>
this
.
handleSuspend
(
row
)
},
...
...
@@ -510,7 +513,7 @@ export default {
});
},
handleSuspend
({
planId
})
{
this
.
$confirm
(
'任务正在进行中,暂停任务后,计划将暂停'
,
'
提示
'
,
{
this
.
$confirm
(
'任务正在进行中,暂停任务后,计划将暂停'
,
'
确定暂停任务?
'
,
{
confirmButtonText
:
'暂停'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
...
...
@@ -561,7 +564,7 @@ export default {
});
});
}
else
if
(
this
.
money
<=
0
)
{
this
.
$confirm
(
`本次外呼预计营销人数
${
row
.
peopleCount
}
人,费用预计需要消费
${
row
.
fee
.
toLocaleString
()}
元,当前
余额不足,请充值。`
,
'提示
'
,
{
this
.
$confirm
(
`本次外呼预计营销人数
${
row
.
peopleCount
}
人,费用预计需要消费
${
row
.
fee
.
toLocaleString
()}
元,当前
账户余额不足,请充值。`
,
'当前账户余额不足
'
,
{
confirmButtonText
:
'充值'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
...
...
src/views/cdkey/form.vue
View file @
e498260f
...
...
@@ -73,7 +73,7 @@
</el-form>
<vue-gic-card
appendToBody
:showCardDialog
.
sync=
"showCardDialog"
@
selectCard=
"selectCard"
:cardLimit=
"-1"
:cardType=
"null"
></vue-gic-card>
<vue-gic-export-excel
:dialogVisible
.
sync=
"dialogVisible"
:dataArr=
"[1, 2, 3]"
:type=
"2"
:excelUrl=
"excelUrl"
:params=
"params"
:projectName=
"projectName"
></vue-gic-export-excel>
<!-- <form action="http://
gicdev.demogic
.com/api-marketing/cdkey-fail-export" target="_blank" enctype="multipart/form-data">
<!-- <form action="http://
www.gicdev
.com/api-marketing/cdkey-fail-export" target="_blank" enctype="multipart/form-data">
<input type="text" name="requestProject" value="gic-web" />
<input type="file"/>
<button type="submit">submit</button>
...
...
src/views/ecm/marketing-event/assets/api.js
View file @
e498260f
...
...
@@ -12,7 +12,7 @@ const MINI_TIME = 300;
let
TIME_OUT_MAX
=
20000
;
// 环境value
// 请求接口host
let
_apiHost
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
let
_apiHost
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http://
www.gicdev
.com'
:
host
;
// 请求组(判断当前请求数)
let
_requests
=
[];
...
...
src/views/game/cmh/base-config.vue
View file @
e498260f
...
...
@@ -461,7 +461,6 @@ export default {
delete
gameExt
.
mpUrlView
;
}
data
.
gameExt
=
gameExt
;
resolve
(
true
);
this
.
$emit
(
'nextStep'
,
data
,
noNext
);
}
else
{
...
...
src/views/game/dzp/form.vue
View file @
e498260f
...
...
@@ -329,7 +329,7 @@ export default {
getHost
()
{
const
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
return
'http://
gicdev.demogic
.com'
;
return
'http://
www.gicdev
.com'
;
}
else
{
return
host
;
}
...
...
src/views/sign/assets/api.js
View file @
e498260f
...
...
@@ -11,7 +11,7 @@ const MINI_TIME = 300;
let
TIME_OUT_MAX
=
20000
;
// 环境value
// 请求接口host
let
_apiHost
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
let
_apiHost
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http://
www.gicdev
.com'
:
host
;
// 请求组(判断当前请求数)
let
_requests
=
[];
...
...
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