Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
a49308c9
Commit
a49308c9
authored
Dec 31, 2024
by
honghy
Committed by
wux
Jan 02, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【后台-会员等级】新增/修改/详情页面字段和样式修改
parent
55a13769
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
index.vue
src/views/ecw/memberManagement/operatingLevel/index.vue
+15
-14
No files found.
src/views/ecw/memberManagement/operatingLevel/index.vue
View file @
a49308c9
...
...
@@ -8,7 +8,7 @@
<dict-selector
clearable
:disabled=
"true"
:type=
"DICT_TYPE.ENABLE_STATUS"
v-model=
"queryParams.status"
>
</dict-selector>
</el-form-item>
<el-form-item
:label=
"$t('名称')"
prop=
"name"
>
<el-input
v-model=
"queryParams.name"
style=
"width:
3
0%;"
clearable
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
></el-input>
<el-input
v-model=
"queryParams.name"
style=
"width:
5
0%;"
clearable
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('等级')"
prop=
"level"
>
<dict-selector
clearable
:disabled=
"showViewTime"
:type=
"DICT_TYPE.MEMBERSHIP_LEVELS"
v-model=
"queryParams.level"
>
</dict-selector>
...
...
@@ -27,10 +27,14 @@
</el-col>
</el-form-item>
<el-form-item
:label=
"$t('等级有效期')"
style=
"width: 30%;"
prop=
"validityPeriod"
>
<el-input
v-model=
"queryParams.validityPeriod"
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
></el-input>
<el-input
v-model=
"queryParams.validityPeriod"
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
>
<span
slot=
"append"
>
{{
$t
(
'
天
'
)
}}
</span>
</el-input>
</el-form-item>
<el-form-item
:label=
"$t('积分累计周期')"
style=
"width: 30%;"
prop=
"accumulationPeriod"
>
<el-input
v-model.number=
"queryParams.accumulationPeriod"
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
></el-input>
<el-input
v-model.number=
"queryParams.accumulationPeriod"
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
>
<span
slot=
"append"
>
{{
$t
(
'
天
'
)
}}
</span>
</el-input>
</el-form-item>
<el-form-item
:label=
"$t('积分开始累计日期')"
style=
"width: 30%;"
prop=
"startDate"
>
<el-date-picker
type=
"date"
placeholder=
"选择日期"
v-model=
"queryParams.startDate"
style=
"width: 100%;"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
...
...
@@ -48,10 +52,12 @@
<image-upload
v-model=
"queryParams.icon"
:fileType=
"['png', 'jpg', 'jpeg']"
:limit=
"1"
/>
</el-form-item>
<el-form-item
:label=
"$t('等级说明')"
style=
"width: 30%;"
prop=
"description"
>
<el-input
type=
"text"
v-model=
"queryParams.description"
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
></el-input>
<el-input
type=
"textarea"
v-model=
"queryParams.description"
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
></el-input>
<span
style=
"color: red;"
>
注:用于客户积分日志显示,请规范填写
</span>
</el-form-item>
<el-form-item
:label=
"$t('匹配顺序')"
style=
"width: 30%;"
prop=
"sort"
>
<el-input
v-model.number=
"queryParams.sort"
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
></el-input>
<span
style=
"color: red;"
>
注:设置相同等级,匹配的优先级
</span>
</el-form-item>
<!-- 编辑相关内容 -->
<div
v-if=
"showViewTime"
>
...
...
@@ -179,7 +185,8 @@ export default {
{
required
:
true
,
message
:
this
.
$t
(
"
请输入名称
"
),
trigger
:
"
blur
"
trigger
:
"
blur
"
,
max
:
50
}
],
level
:
[
...
...
@@ -244,16 +251,10 @@ export default {
{
required
:
true
,
message
:
this
.
$t
(
"
请输入等级
"
),
trigger
:
"
blur
"
}
],
icon
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
请选择图标
"
),
trigger
:
"
blur
"
trigger
:
"
blur
"
,
max
:
200
}
]
,
]
}
}
},
...
...
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