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
15da5767
Commit
15da5767
authored
Jan 04, 2025
by
Smile
Committed by
wux
Jan 09, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【后台-等级设置-新增/修改】“名称”、“等级说明”输入需要修改。 去掉不能输入空格限制,改为去除前后空格
parent
7493035e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
index.vue
src/views/ecw/memberManagement/operatingLevel/index.vue
+5
-2
No files found.
src/views/ecw/memberManagement/operatingLevel/index.vue
View file @
15da5767
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<dict-selector
clearable
:disabled=
"true"
:type=
"DICT_TYPE.ENABLE_STATUS"
v-model=
"queryParams.status"
formatter=
"number"
>
</dict-selector>
<dict-selector
clearable
:disabled=
"true"
:type=
"DICT_TYPE.ENABLE_STATUS"
v-model=
"queryParams.status"
formatter=
"number"
>
</dict-selector>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('名称')"
prop=
"name"
>
<el-form-item
:label=
"$t('名称')"
prop=
"name"
>
<el-input
v-model=
"queryParams.name"
style=
"width: 50%;"
clearable
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'
')"
></el-input>
<el-input
v-model=
"queryParams.name"
style=
"width: 50%;"
clearable
@
blur=
"trimParams('name
')"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('等级')"
prop=
"level"
>
<el-form-item
:label=
"$t('等级')"
prop=
"level"
>
<dict-selector
clearable
:disabled=
"showViewTime"
:type=
"DICT_TYPE.MEMBERSHIP_LEVELS"
v-model=
"queryParams.level"
>
</dict-selector>
<dict-selector
clearable
:disabled=
"showViewTime"
:type=
"DICT_TYPE.MEMBERSHIP_LEVELS"
v-model=
"queryParams.level"
>
</dict-selector>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<image-upload
v-model=
"queryParams.icon"
:fileType=
"['png', 'jpg', 'jpeg']"
:limit=
"1"
/>
<image-upload
v-model=
"queryParams.icon"
:fileType=
"['png', 'jpg', 'jpeg']"
:limit=
"1"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('等级说明')"
style=
"width: 30%;"
prop=
"description"
>
<el-form-item
:label=
"$t('等级说明')"
style=
"width: 30%;"
prop=
"description"
>
<el-input
type=
"textarea"
autosize
:autosize=
"
{ minRows: 2, maxRows: 4}" v-model="queryParams.description"
onkeyup="this.value=this.value.replace(/(^\s*)|(\s*$)/g,'
')">
</el-input>
<el-input
type=
"textarea"
autosize
:autosize=
"
{ minRows: 2, maxRows: 4}" v-model="queryParams.description"
@blur="trimParams('description
')">
</el-input>
<span
style=
"color: red;"
>
注:用于客户积分日志显示,请规范填写
</span>
<span
style=
"color: red;"
>
注:用于客户积分日志显示,请规范填写
</span>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('匹配顺序')"
style=
"width: 30%;"
prop=
"sort"
>
<el-form-item
:label=
"$t('匹配顺序')"
style=
"width: 30%;"
prop=
"sort"
>
...
@@ -277,6 +277,9 @@ export default {
...
@@ -277,6 +277,9 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
trimParams
(
val
)
{
this
.
queryParams
[
val
]
=
this
.
queryParams
[
val
].
trim
();
},
validatePositiveInteger
(
rule
,
value
,
callback
)
{
validatePositiveInteger
(
rule
,
value
,
callback
)
{
if
(
!
value
)
{
if
(
!
value
)
{
return
callback
(
new
Error
(
this
.
$t
(
"
请输入整数
"
)));
return
callback
(
new
Error
(
this
.
$t
(
"
请输入整数
"
)));
...
...
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