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
7297dd5f
Commit
7297dd5f
authored
Oct 08, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 会员标签文案调整
parent
7fadcfa2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
9 deletions
+18
-9
tag-config-options.vue
src/components/tag/tag-config-options.vue
+15
-9
index.js
src/components/tagDetail/mixin/index.js
+3
-0
No files found.
src/components/tag/tag-config-options.vue
View file @
7297dd5f
...
...
@@ -183,6 +183,7 @@
<label
class=
"inline-block middle label-unit m-r-8"
>
最近
</label
><el-input
v-model=
"parent.fixedRecentTimeRecent"
placeholder=
"请输入1-730"
class=
"m-r-8"
style=
"width: 120px"
@
blur=
"value => toEditInput(value, 'fixedRecentTimeRecent', parent)"
></el-input
><label
class=
"inline-block middle label-unit"
>
天
</label>
<span
class=
"tips m-l-8 middle"
>
统计当天之前的数据
</span>
</div>
</div>
</div>
...
...
@@ -438,11 +439,11 @@
></el-input>
<
template
v-if=
"parent.timeRadio == 1"
>
<label
class=
"inline-block middle label-unit m-l-8"
>
天
</label>
<label
class=
"inline-block middle label-tip"
>
正整数,最大365
</label>
<label
class=
"inline-block middle label-tip"
>
正整数,最大365
,统计当天之前的数据
</label>
</
template
>
<
template
v-if=
"parent.timeRadio == 2"
>
<label
class=
"inline-block middle label-unit m-l-8"
>
月
</label>
<label
class=
"inline-block middle label-tip"
>
正整数,最大24
</label>
<label
class=
"inline-block middle label-tip"
>
正整数,最大24
,统计当月之前的数据
</label>
</
template
>
</div>
</div>
...
...
@@ -614,15 +615,16 @@
></el-input>
<
template
v-if=
"parent.timeRadio == 1"
>
<label
class=
"inline-block middle label-unit m-l-8"
>
天
</label>
<label
class=
"inline-block middle label-tip"
>
正整数,最大730
</label>
<!-- lastCostTime:最近消费时间 -->
<label
class=
"inline-block middle label-tip"
>
{{
tagData
.
tagCode
==
'lastCostTime'
?
'统计当天之前的数据'
:
'正整数,最大730,统计当天之前的数据'
}}
</label>
</
template
>
<
template
v-if=
"parent.timeRadio == 2"
>
<label
class=
"inline-block middle label-unit m-l-8"
>
月
</label>
<label
class=
"inline-block middle label-tip"
>
正整数,最大24
</label>
<label
class=
"inline-block middle label-tip"
>
{{
tagData
.
tagCode
==
'lastCostTime'
?
'统计当月之前的数据'
:
'正整数,最大24,统计当月之前的数据'
}}
</label>
</
template
>
<
template
v-if=
"parent.timeRadio == 3"
>
<label
class=
"inline-block middle label-unit m-l-8"
>
年
</label>
<label
class=
"inline-block middle label-tip"
>
正整数,最大2
</label>
<label
class=
"inline-block middle label-tip"
>
{{
tagData
.
tagCode
==
'lastCostTime'
?
'统计当年之前的数据'
:
'正整数,最大2,统计当年之前的数据'
}}
</label>
</
template
>
</div>
</div>
...
...
@@ -787,15 +789,18 @@
></el-input>
<
template
v-if=
"parent.timeRadio == 1"
>
<label
class=
"inline-block middle label-unit m-l-8"
>
天
</label>
<label
class=
"inline-block middle label-tip"
>
正整数,最大365
</label>
<!--
<label
class=
"inline-block middle label-tip"
>
正整数,最大365
</label>
-->
<label
class=
"inline-block middle label-tip"
>
统计当天之前的数据
</label>
</
template
>
<
template
v-if=
"parent.timeRadio == 2"
>
<label
class=
"inline-block middle label-unit m-l-8"
>
月
</label>
<label
class=
"inline-block middle label-tip"
>
正整数,最大24
</label>
<!--
<label
class=
"inline-block middle label-tip"
>
正整数,最大24
</label>
-->
<label
class=
"inline-block middle label-tip"
>
统计当月之前的数据
</label>
</
template
>
<
template
v-if=
"parent.timeRadio == 3"
>
<label
class=
"inline-block middle label-unit m-l-8"
>
年
</label>
<label
class=
"inline-block middle label-tip"
>
正整数,最大2
</label>
<!--
<label
class=
"inline-block middle label-tip"
>
正整数,最大2
</label>
-->
<label
class=
"inline-block middle label-tip"
>
统计当年之前的数据
</label>
</
template
>
</div>
</div>
...
...
@@ -1590,6 +1595,7 @@ export default {
this
.
tagData
.
tagId
=
data
.
tagId
;
this
.
tagData
.
tagType
=
data
.
tagType
;
this
.
tagData
.
tagName
=
data
.
tagName
;
this
.
tagData
.
tagCode
=
data
.
tagCode
;
this
.
currentKey
=
data
.
columnKey
;
this
.
tagData
.
isActive
=
data
.
isActive
;
this
.
tagData
.
isMultiple
=
data
.
isMultiple
;
...
...
@@ -2625,7 +2631,7 @@ export default {
}
.relative-range
{
width
:
526
px
;
width
:
670
px
;
height
:
191px
;
padding
:
19px
;
background
:
#f3f6f9
;
...
...
src/components/tagDetail/mixin/index.js
View file @
7297dd5f
...
...
@@ -1535,6 +1535,9 @@ export default {
* 天/月/年输入
*/
toEditDateInput
(
e
,
radio
,
parent
)
{
if
(
this
.
tagData
.
tagCode
==
'lastCostTime'
)
{
return
;
}
const
code
=
parent
.
templateCode
;
let
newNum
;
newNum
=
Number
(
e
.
target
.
value
)
?
Math
.
floor
(
e
.
target
.
value
)
:
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