Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
renewal-interest-data-board
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 967dee54
authored
Aug 07, 2023
by
徐忆琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'scrmV3.15.0_10' into 'scrmV3.15.0'
月中版本开发 See merge request
!21
2 parents
a2454b3b
0dbae825
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
src/api/modules/renewal.js
src/common/util.js
src/components/ViewContentBottom.vue
src/api/modules/renewal.js
View file @
967dee5
...
@@ -32,6 +32,11 @@ const getBrandName = params => {
...
@@ -32,6 +32,11 @@ const getBrandName = params => {
const
exportApi
=
params
=>
{
const
exportApi
=
params
=>
{
return
window
.
$HTTP
.
get
(
'renewalInsurance/download'
,
params
)
return
window
.
$HTTP
.
get
(
'renewalInsurance/download'
,
params
)
}
}
// 激活量导出
const
exportActApi
=
params
=>
{
return
window
.
$HTTP
.
get
(
'renewalInsurance/downloadActivationdetail'
,
params
)
}
export
default
{
export
default
{
getOverview
,
getOverview
,
getRanking
,
getRanking
,
...
@@ -39,5 +44,6 @@ export default {
...
@@ -39,5 +44,6 @@ export default {
getviewTrend
,
getviewTrend
,
getBrandName
,
getBrandName
,
getDetail
,
getDetail
,
exportApi
exportApi
,
exportActApi
}
}
src/common/util.js
View file @
967dee5
...
@@ -30,7 +30,6 @@ export const Util = {
...
@@ -30,7 +30,6 @@ export const Util = {
},
},
exportFn
:
function
(
url
)
{
exportFn
:
function
(
url
)
{
console
.
log
(
url
)
let
browserType
=
getExplorer
()
let
browserType
=
getExplorer
()
if
(
browserType
==
'QQ'
)
{
if
(
browserType
==
'QQ'
)
{
window
.
open
(
url
)
window
.
open
(
url
)
...
...
src/components/ViewContentBottom.vue
View file @
967dee5
...
@@ -53,7 +53,8 @@
...
@@ -53,7 +53,8 @@
<el-button
@
click=
'reset'
class=
'reset-btn btn'
size=
'mini'
>
重置
</el-button>
<el-button
@
click=
'reset'
class=
'reset-btn btn'
size=
'mini'
>
重置
</el-button>
</el-form-item>
</el-form-item>
<el-form-item
class=
'btn-wrap btn-out-warp'
>
<el-form-item
class=
'btn-wrap btn-out-warp'
>
<el-button
@
click=
'handleOutput'
class=
'output-btn btn'
size=
'mini'
>
导出
</el-button>
<el-button
@
click=
'handleActOutput'
class=
'output-btn btn'
size=
'mini'
>
导出激活明细
</el-button>
<el-button
@
click=
'handleOutput'
class=
'output-btn btn'
size=
'mini'
>
导出统计数据
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -331,9 +332,14 @@ export default {
...
@@ -331,9 +332,14 @@ export default {
delete
params
.
withdrawalTime
delete
params
.
withdrawalTime
return
params
return
params
},
},
handleActOutput
()
{
this
.
outputDetail
(
'exportActApi'
,
this
.
getSearchForm
())
},
handleOutput
()
{
handleOutput
()
{
const
params
=
this
.
getSearchForm
()
this
.
outputDetail
(
'exportApi'
,
this
.
getSearchForm
())
this
.
api
.
renewal
.
exportApi
(
params
).
then
(
res
=>
{
},
outputDetail
(
apiReq
,
params
)
{
this
.
api
.
renewal
[
apiReq
](
params
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
$Utils
.
exportFn
(
res
.
data
.
dataList
[
0
].
url
)
this
.
$Utils
.
exportFn
(
res
.
data
.
dataList
[
0
].
url
)
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment