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
83405aa8
Commit
83405aa8
authored
May 12, 2022
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 修改tag020逻辑
parent
6f3ea2a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
index.js
src/components/tagDetail/mixin/index.js
+7
-6
No files found.
src/components/tagDetail/mixin/index.js
View file @
83405aa8
...
...
@@ -573,17 +573,18 @@ export default {
tagValue
.
val
[
0
].
data
.
value
=
that
.
templateData
[
0
].
dateRangeValue
.
join
(
','
);
that
.
templateData
[
0
].
timeInput
=
''
;
if
(
code
===
'tag019'
||
code
===
'tag020'
||
code
===
'tag015'
)
{
if
(
code
===
'tag020'
)
{
// 兼容后端,先使用硬编码
if
(
that
.
tagData
.
tagId
==
'f75b8053fe744b2a9a366886bc40612a'
)
{
tagValue
.
val
[
0
].
data
.
value
=
that
.
templateData
[
0
].
dateRangeValue
.
map
(
el
=>
{
return
el
.
split
(
' '
)[
0
];
}).
join
(
','
).
replace
(
/-/g
,
''
)
console
.
log
(
tagValue
.
val
[
0
].
data
.
value
);
}
else
{
tagValue
.
val
[
0
].
data
.
value
=
that
.
templateData
[
0
].
dateRangeValue
.
join
(
','
)
.
replace
(
/-/g
,
''
)
.
replace
(
/:/g
,
''
)
.
replace
(
/
\s
+/g
,
''
);
tagValue
.
val
[
0
].
data
.
value
=
that
.
templateData
[
0
].
dateRangeValue
.
join
(
','
)
.
replace
(
/-/g
,
''
)
.
replace
(
/:/g
,
''
)
.
replace
(
/
\s
+/g
,
''
);
}
}
that
.
postTemplateData
.
selectedVal
.
push
(
that
.
templateData
[
0
].
dateRangeValue
[
0
].
split
(
' '
)[
0
]
+
'至'
+
that
.
templateData
[
0
].
dateRangeValue
[
1
].
split
(
' '
)[
0
]);
...
...
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