Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
罗超
bigwood
Commits
63575108
Commit
63575108
authored
Apr 13, 2025
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
82c244d8
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
82 additions
and
47 deletions
+82
-47
passbookHead.vue
src/components/passbook/passbookHead.vue
+4
-4
rebate.vue
src/components/passbook/rebate.vue
+14
-14
redEnvelope.vue
src/components/passbook/redEnvelope.vue
+22
-22
index.ts
src/i18n/en-US/index.ts
+4
-4
passbook.vue
src/pages/passbook/passbook.vue
+23
-3
menus.ts
src/utils/menus.ts
+15
-0
No files found.
src/components/passbook/passbookHead.vue
View file @
63575108
src/components/passbook/rebate.vue
View file @
63575108
src/components/passbook/redEnvelope.vue
View file @
63575108
src/i18n/en-US/index.ts
View file @
63575108
...
...
@@ -1509,7 +1509,7 @@ export default {
//#region ending v1.0.4
v104
:
{
passbook
:
{
pageTitle
:
'
Happiness passboo
k'
,
pageTitle
:
'
Cashbac
k'
,
available
:
'Available balance'
,
rules
:
'Usage rules'
,
details
:
'Usage details'
,
...
...
@@ -1520,13 +1520,13 @@ export default {
text2
:
'Line data proportion'
,
text3
:
'Line proportion'
,
text4
:
'Order source'
,
text5
:
'
Big Red Envelope
'
,
text5
:
'
Cashback
'
,
text6
:
'Revenue in the past six months'
,
text7
:
'Time selection'
,
text8
:
'Select month'
,
text9
:
'Accumulated
transaction total for
this year'
,
text9
:
'Accumulated
number of transactions
this year'
,
text10
:
'Accumulated revenue'
,
text11
:
'
Current transaction amount
'
,
text11
:
'
Month Number
'
,
text12
:
'Activated, expected revenue'
,
text13
:
'Still lacking'
,
text14
:
'Estimated Revenue'
,
...
...
src/pages/passbook/passbook.vue
View file @
63575108
...
...
@@ -11,7 +11,7 @@
>
<template
v-if=
"MonthObj&&datainfo"
>
<passbookHead
:dataNum=
"datainfo?datainfo.Client_Balance:0"
/>
<
rebate/
>
<
!--
<rebate/>
--
>
<redEnvelope
:Obj=
"MonthObj"
:info=
"datainfo"
/>
</
template
>
</transition-group>
...
...
@@ -62,7 +62,24 @@
const
pageTitle
=
inject
(
DirtionmaryHelper
.
PAGE_TITLE_KEY
)
as
any
pageTitle
.
value
=
t
(
'v104.passbook.pageTitle'
)
setTitle
(
pageTitle
.
value
)
const
ratioListBase
=
ref
([
{
Money
:
5
,
Ratio
:
100000
,
},
{
Money
:
11
,
Ratio
:
150000
,
},
{
Money
:
16
,
Ratio
:
200000
,
},
{
Money
:
21
,
Ratio
:
250000
,
},
])
const
isUseDetails
=
ref
(
false
)
provide
(
DirtionmaryHelper
.
PASSBOOK_DETAILS
,
isUseDetails
)
const
methods
=
{
...
...
@@ -88,10 +105,13 @@
data
.
yMoney2
=
arr1
.
concat
(
newarr
);
}
})
data
.
datainfo
.
RatioList
=
ratioListBase
.
value
data
.
datainfo
.
RatioList
.
forEach
(
item
=>
{
item
.
percent
=
data
.
datainfo
.
Amount
/
item
.
Money
;
item
.
width
=
(
item
.
percent
)
*
100
;
})
console
.
log
(
data
.
datainfo
.
RatioList
)
data
.
yMoney1
=
data
.
yMoney1
.
concat
([
"-"
]);
data
.
MonthObj
=
{
xMonth
:
data
.
xMonth
,
...
...
src/utils/menus.ts
View file @
63575108
...
...
@@ -159,6 +159,21 @@ const useMenus = {
}
]
})
menus
.
push
({
name
:
t
(
'v104.passbook.pageTitle'
),
url
:
'/passbook'
,
id
:
25
,
parentId
:
0
,
icon
:
'Shopping/Box1.svg'
,
childs
:
[
{
name
:
t
(
'v104.passbook.pageTitle'
),
url
:
'/passbook'
,
id
:
26
,
parentId
:
25
,
}
]
})
// menus.push({
// name: t('menu.finance.first'),
// url: '',
...
...
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