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
d3cfbacb
Commit
d3cfbacb
authored
Dec 31, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/12月迭代' into dev
parents
7a4626ea
323fc53d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
25 deletions
+2
-25
board.vue
src/views/recharge/board.vue
+1
-1
consume.vue
src/views/recharge/consume.vue
+1
-24
No files found.
src/views/recharge/board.vue
View file @
d3cfbacb
...
...
@@ -134,7 +134,7 @@
</el-table-column>
<el-table-column
label=
"操作"
align=
"left"
width=
"220px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"$router.push('/recharge/consume/' + scope.row.type)"
>
详情
</el-button>
<el-button
type=
"text"
v-if=
"$getButtonLimit($buttonCode.marketingCounsumeDetail)"
:limit-code=
"$buttonCode.marketingCounsumeDetail"
@
click=
"$router.push('/recharge/consume/' + scope.row.type)"
>
详情
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/recharge/consume.vue
View file @
d3cfbacb
...
...
@@ -19,7 +19,7 @@
<select-depart
v-if=
"isMoreAccount && config.showAllDepartment"
:data=
"deparment"
@
load=
"load"
@
getDepartId=
"getDepartId"
@
remote-search=
"remoteSearch"
:loading=
"deparment.loading"
/>
<span
class=
"fz12 gray"
>
* 此处仅支持筛选近半年的统计数据
</span>
</div>
<el-button
v-if=
"
getCodeAuth"
:limit-code=
"getCode($route.params.type)
"
type=
"primary"
class=
"btn h32"
@
click=
"exportDialog.dialogVisible = true"
><i
class=
"iconfont icon-xiazai"
style=
"marginRight:6px;fontSize:14px"
/>
导出
</el-button>
<el-button
v-if=
"
$getButtonLimit($buttonCode.marketingCounsumeExport)"
:limit-code=
"$buttonCode.marketingCounsumeExport
"
type=
"primary"
class=
"btn h32"
@
click=
"exportDialog.dialogVisible = true"
><i
class=
"iconfont icon-xiazai"
style=
"marginRight:6px;fontSize:14px"
/>
导出
</el-button>
</div>
<p
class=
"tips"
v-if=
"$route.params.type === 'video'"
>
共消耗流量
{{
sumCount
}}
MB 累计支出
{{
sumFee
}}
元
</p>
<p
class=
"tips"
v-if=
"['record', 'call'].includes($route.params.type)"
>
...
...
@@ -712,29 +712,6 @@ export default {
},
accountDepartName
()
{
return
row
=>
(
row
.
accountDepartName
?
row
.
accountDepartName
:
row
.
accountDepartId
==
1
?
'总部'
:
'--'
);
},
getCodeAuth
()
{
return
this
.
$getButtonLimit
(
this
.
getCode
(
this
.
$route
.
params
.
type
));
},
getCode
()
{
return
type
=>
{
let
code
;
switch
(
type
)
{
case
'marketing'
:
code
=
'marketingExportMarketing'
;
break
;
case
'sms'
:
code
=
'marketingExportSms'
;
break
;
case
'call'
:
code
=
'marketingExportCall'
;
break
;
case
'record'
:
code
=
'marketingExportRecord'
;
break
;
}
return
this
.
$buttonCode
[
code
];
};
}
},
watch
:
{
...
...
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