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
8d48244f
Commit
8d48244f
authored
Oct 19, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 会员标签
parent
f66200f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.js
src/components/tagDetail/mixin/index.js
+4
-3
No files found.
src/components/tagDetail/mixin/index.js
View file @
8d48244f
...
...
@@ -1667,15 +1667,16 @@ export default {
*/
toEditDateInput
(
e
,
radio
,
parent
)
{
const
codeList
=
[
'firstCostTime'
,
'allChannelLastCostTime'
,
'allChannelFirstCostTime'
,
'lastCostTime'
];
if
(
codeList
.
some
(
el
=>
el
==
this
.
tagData
.
tagCode
))
{
return
;
}
const
code
=
parent
.
templateCode
;
let
newNum
;
newNum
=
Number
(
e
.
target
.
value
)
?
Math
.
floor
(
e
.
target
.
value
)
:
1
;
if
(
newNum
<=
0
)
{
newNum
=
1
;
}
if
(
codeList
.
some
(
el
=>
el
==
this
.
tagData
.
tagCode
))
{
parent
.
timeInput
=
newNum
;
return
;
}
// 天
if
(
code
!=
'tag020'
&&
code
!=
'tag050'
&&
newNum
>
365
&&
radio
==
1
)
{
newNum
=
365
;
...
...
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