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
b177dd2a
Commit
b177dd2a
authored
Dec 20, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/12月迭代' into dev
parents
42e24e01
96039607
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
board.vue
src/views/recharge/board.vue
+10
-6
record.vue
src/views/recharge/record.vue
+1
-2
No files found.
src/views/recharge/board.vue
View file @
b177dd2a
...
...
@@ -19,7 +19,8 @@
<span
v-if=
"config.isMoreAccount"
>
(当前所在计费部门:
{{
config
.
departmentName
}}
)
</span>
</div>
<p
class=
"fz22 vertical-middle money"
>
<span
@
click=
"$router.push('/recharge/record')"
>
{{
(
config
.
balance
/
100
)
|
amount
}}
<i
class=
"el-icon-arrow-right arrow"
/></span>
<span
v-if=
"$getButtonLimit($buttonCode.marketingRechargeBoardRecord)"
class=
"active"
@
click=
"$router.push('/recharge/record')"
>
{{
(
config
.
balance
/
100
)
|
amount
}}
<i
class=
"el-icon-arrow-right arrow"
/></span>
<span
v-else
>
{{
(
config
.
balance
/
100
)
|
amount
}}
<i
class=
"el-icon-arrow-right arrow"
/></span>
</p>
<el-button
v-if=
"$getButtonLimit($buttonCode.marketingRechargeBoardRecharge)"
:limit-code=
"$buttonCode.marketingRechargeBoardRecharge"
class=
"vertical-middle pl20 pr20"
type=
"primary"
@
click=
"$router.push('/recharge/do')"
>
充值
</el-button>
<el-button
v-if=
"$getButtonLimit($buttonCode.marketingRechargeBoardRecord)"
:limit-code=
"$buttonCode.marketingRechargeBoardRecord"
class=
"vertical-middle pl20 pr20"
@
click=
"$router.push('/recharge/record')"
>
记录
</el-button>
...
...
@@ -29,7 +30,8 @@
所有账户余额(元)
<span
class=
"tip"
><i
class=
"iconfont icon-anquanbaozhang"
/>
已开启多账户计费模式
</span>
</div>
<p
class=
"fz22 vertical-middle money"
>
<span
@
click=
"$router.push('/recharge/accountDetail')"
>
{{
(
config
.
allDepartmentTotal
/
100
)
|
amount
}}
<i
class=
"el-icon-arrow-right arrow"
/></span>
<span
v-if=
"$getButtonLimit($buttonCode.marketingAccountDetail)"
class=
"active"
@
click=
"$router.push('/recharge/accountDetail')"
>
{{
(
config
.
allDepartmentTotal
/
100
)
|
amount
}}
<i
class=
"el-icon-arrow-right arrow"
/></span>
<span
v-else
>
{{
(
config
.
allDepartmentTotal
/
100
)
|
amount
}}
<i
class=
"el-icon-arrow-right arrow"
/></span>
</p>
<!--该按钮待埋点-->
<el-button
v-if=
"$getButtonLimit($buttonCode.marketingAccountDetail)"
:limit-code=
"$buttonCode.marketingAccountDetail"
class=
"vertical-middle"
@
click=
"$router.push('/recharge/accountDetail')"
>
账户明细
</el-button>
...
...
@@ -477,16 +479,18 @@ export default {
color
:
#303133
;
line-height
:
37px
;
&
span
{
cursor
:
pointer
;
font-weight
:
600
;
i
{
position
:
relative
;
top
:
-4px
;
}
&
:hover
{
c
olor
:
#1890ff
;
.arrow
{
&
.active
{
c
ursor
:
pointer
;
&:hover
{
color
:
#1890ff
;
.arrow
{
color
:
#1890ff
;
}
}
}
}
...
...
src/views/recharge/record.vue
View file @
b177dd2a
...
...
@@ -97,11 +97,10 @@ export default {
};
},
async
created
()
{
this
.
deparment
.
departId
=
this
.
$route
.
query
.
id
||
''
;
this
.
getDepartmentList
();
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'企业管理'
,
path
:
''
},
{
name
:
'计费中心'
,
path
:
'/recharge'
},
{
name
:
'记录'
,
path
:
''
}]);
// eslint-disable-line
const
config
=
await
this
.
getAuth
();
// rechartge_mixin
this
.
deparment
.
departId
=
config
.
accountDepartId
;
this
.
deparment
.
departId
=
this
.
$route
.
query
.
id
||
config
.
accountDepartId
;
await
this
.
getRule
();
// 该接口调取完后select-depart组件挂载所以在之前一步初始化departId
this
.
rechargeRecord
();
},
...
...
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