Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
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
memberTag
memberTag-web
Commits
53b31c80
Commit
53b31c80
authored
Apr 29, 2022
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 会员分组
parent
04adf2a0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
tag-config-options.vue
src/components/tag/tag-config-options.vue
+1
-1
memberGroupDetail.vue
src/view/memberGroup/memberGroupDetail.vue
+1
-1
memberGroupList.vue
src/view/memberGroup/memberGroupList.vue
+3
-3
No files found.
src/components/tag/tag-config-options.vue
View file @
53b31c80
...
...
@@ -2337,7 +2337,7 @@ export default {
v
=
parseInt
(
v
);
break
;
case
'double'
:
v
=
parseFloat
(
v
).
toFixed
(
2
);
v
=
Number
.
isNaN
(
parseFloat
(
v
))
?
NaN
:
parseFloat
(
v
).
toFixed
(
2
);
break
;
}
if
(
Number
.
isNaN
(
v
))
return
''
;
// 是否为数字
...
...
src/view/memberGroup/memberGroupDetail.vue
View file @
53b31c80
...
...
@@ -670,7 +670,7 @@ export default {
},
fixedPileRate
(
filed
)
{
const
{
fixedPileValue
}
=
this
;
return
fixedPileValue
.
value
.
reduce
((
str
,
cur
,
index
,
self
)
=>
str
+
cur
[
filed
]
+
(
index
<
(
self
.
length
-
1
)
?
' :'
:
''
),
''
);
return
fixedPileValue
.
value
.
reduce
((
str
,
cur
,
index
,
self
)
=>
str
+
(
cur
[
filed
]
||
0
)
+
(
index
<
(
self
.
length
-
1
)
?
' :'
:
''
),
''
);
},
},
beforeMount
()
{
...
...
src/view/memberGroup/memberGroupList.vue
View file @
53b31c80
...
...
@@ -699,14 +699,14 @@ export default {
let
len
=
(
proportions
[
0
]
||
''
).
split
(
':'
).
length
||
custom
.
length
;
let
index
=
0
;
let
names
=
[];
console
.
log
(
v
);
while
(
index
<
len
)
{
names
.
push
(
`
${
groupName
}
-
${
pileNames
[
index
]}
`
);
++
index
;
}
this
.
dialogFixedPile
.
proportions
=
proportions
;
this
.
dialogFixedPile
.
proportion
=
proportions
[
0
]
||
''
;
this
.
dialogFixedPile
.
groupNames
=
names
;
if
(
v
!=
4
)
this
.
dialogFixedPile
.
groupNames
=
names
;
},
// 该页面用keeyalive缓存 通过路由判断调用哪个列表接口
'$route'
(
to
,
from
)
{
...
...
@@ -1305,7 +1305,7 @@ export default {
getGroupList
()
{
this
.
loading
=
true
;
this
.
params
.
fixedType
=
this
.
showFixedList
?
1
:
0
;
this
.
params
.
permissionType
=
this
.
isSelf
?
null
:
2
;
this
.
params
.
permissionType
=
this
.
isSelf
?
2
:
1
;
memberTagGroupList
(
this
.
params
).
then
(
res
=>
{
this
.
loading
=
false
;
if
(
res
.
errorCode
==
1
)
{
...
...
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