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
d5f2296a
Commit
d5f2296a
authored
May 27, 2019
by
member
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sad
parent
4b7d24a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
6 deletions
+20
-6
index.js
src/components/tagDetail/mixin/index.js
+20
-6
No files found.
src/components/tagDetail/mixin/index.js
View file @
d5f2296a
...
...
@@ -1825,7 +1825,7 @@ export default {
let
tagValue
=
JSON
.
parse
(
this
.
templateDataList
.
tagValue
);
let
tagParams
=
JSON
.
parse
(
this
.
templateDataList
.
tagParams
);
let
value
=
null
;
let
radio
=
null
;
//
let radio = null;
let
selectVal
=
null
;
let
checkedCount
=
null
;
...
...
@@ -1895,12 +1895,26 @@ export default {
this
.
templateData
[
0
].
computeRadio
=
tagParams
.
template
[
0
].
computeRadio
;
break
;
case
'tag015'
:
radio
=
tagParams
.
template
[
0
].
radio
;
value
=
tagValue
.
val
[
0
].
data
.
value
.
split
(
','
);
this
.
templateData
[
0
].
radio
=
radio
;
this
.
templateData
[
0
].
monthDayRange
=
value
;
for
(
let
i
=
0
;
i
<
this
.
templateData
.
length
;
i
++
)
{
if
(
this
.
templateData
[
i
].
templateCode
===
'tag015'
)
{
let
templateDate
=
tagParams
.
template
[
0
];
this
.
templateData
[
i
].
radio
=
templateDate
.
radio
;
// 时段
this
.
templateData
[
i
].
timeRadio
=
templateDate
.
timeRadio
;
// 天 月 年
this
.
templateData
[
i
].
timeAfterChecked
=
templateDate
.
timeAfterChecked
;
this
.
templateData
[
i
].
timeChecked
=
templateDate
.
timeChecked
;
if
(
templateDate
.
dateRangeValue
.
length
)
{
this
.
templateData
[
i
].
dateRangeValue
=
templateDate
.
dateRangeValue
;
}
else
{
this
.
templateData
[
i
].
dateRangeValue
=
tagValue
.
val
[
0
].
data
.
value
.
split
(
','
);
}
// 如果有最近选项必有 timeInput
if
(
this
.
templateData
[
i
].
timeAfterChecked
)
{
this
.
templateData
[
i
].
timeInput
=
tagValue
.
val
[
0
].
data
.
value
;
}
}
}
break
;
case
'tag012'
:
for
(
let
i
=
0
;
i
<
this
.
templateData
.
length
;
i
++
)
{
if
(
this
.
templateData
[
i
].
templateCode
===
'tag012'
)
{
...
...
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