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
cd985691
Commit
cd985691
authored
Feb 05, 2025
by
Smile
Committed by
wux
Feb 27, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
232 (生产)后台未翻译成英文的一些页面, 会员等级设置页面
parent
926e3c8c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
22 deletions
+45
-22
en_US.json
src/i18n/languages/en_US.json
+21
-0
index.vue
src/views/ecw/memberManagement/memberLevelSetting/index.vue
+2
-2
index.vue
src/views/ecw/memberManagement/operatingLevel/index.vue
+22
-20
No files found.
src/i18n/languages/en_US.json
View file @
cd985691
...
@@ -4653,6 +4653,27 @@
...
@@ -4653,6 +4653,27 @@
"请输入查找"
:
"Please enter to find "
,
"请输入查找"
:
"Please enter to find "
,
"删除规则"
:
"Delete Rules "
,
"删除规则"
:
"Delete Rules "
,
"积分范围"
:
"Integral Range "
,
"积分范围"
:
"Integral Range "
,
"等级有效期"
:
"Level Validity Period"
,
"积分累计周期"
:
"Integral Accumulation Period"
,
"积分累计开始日期"
:
"Accumulation Start Date"
,
"规则有效期"
:
"Rule Validity Period"
,
"等级说明"
:
"Level Description"
,
"匹配顺序"
:
"Matching Order"
,
"注:用于客户积分日志显示,请规范填写"
:
"Note: For display in the customer points log, please fill in according to the specified format."
,
"注:设置相同等级,匹配的优先级"
:
"Note: When setting identical user levels, specify the matching priority."
,
"必填,限制50字符"
:
"Required, limited to 50 characters"
,
"必填,限制200字符"
:
"Required, limited to 200 characters"
,
"请输入积分开始累计时间"
:
"Enter your scoring to begin time accumulation"
,
"请输入匹配顺序"
:
"Please enter the matching order"
,
"开始日期不能早于今天"
:
"Start date cannot be earlier than today"
,
"开始日期不能大于结束时间"
:
"The start date cannot be later than the end date"
,
"请先选择要删除的等级规则"
:
"Please select the level rule you want to delete first"
,
"是否确认启用此等级规则"
:
"Confirm enabling this level rule"
,
"是否确认停用此等级规则"
:
"Confirm disabling this level rule"
,
"更新"
:
"update"
,
"更新成功"
:
"Update successful"
,
"启用日期"
:
"Effective Date"
,
"是否确认重置此会员等级规则表单"
:
"Do you want to reset this level rule form?"
,
"记录ID"
:
"Exchange Record ID"
,
"记录ID"
:
"Exchange Record ID"
,
"核销回退"
:
"Write-off rollback "
,
"核销回退"
:
"Write-off rollback "
,
"请输入礼品积分"
:
"Please enter Gift points "
,
"请输入礼品积分"
:
"Please enter Gift points "
,
...
...
src/views/ecw/memberManagement/memberLevelSetting/index.vue
View file @
cd985691
...
@@ -276,7 +276,7 @@ export default {
...
@@ -276,7 +276,7 @@ export default {
this
.
handleQuery
()
this
.
handleQuery
()
})
})
}
else
{
}
else
{
this
.
$message
.
warning
(
this
.
$t
(
"
请先选择要删除的
会员等级
"
))
this
.
$message
.
warning
(
this
.
$t
(
"
请先选择要删除的
等级规则
"
))
}
}
},
},
handleNewScoreRule
()
{
handleNewScoreRule
()
{
...
@@ -302,7 +302,7 @@ export default {
...
@@ -302,7 +302,7 @@ export default {
// 停用按钮操作
// 停用按钮操作
handleCloseButton
(
row
)
{
handleCloseButton
(
row
)
{
this
.
$modal
this
.
$modal
.
confirm
(
this
.
$t
(
"
是否确认停用此
会员
等级规则
"
))
.
confirm
(
this
.
$t
(
"
是否确认停用此等级规则
"
))
.
then
(
function
()
{
.
then
(
function
()
{
return
memberLevelStatus
({
id
:
row
.
id
,
status
:
"
2
"
})
return
memberLevelStatus
({
id
:
row
.
id
,
status
:
"
2
"
})
})
})
...
...
src/views/ecw/memberManagement/operatingLevel/index.vue
View file @
cd985691
...
@@ -36,28 +36,28 @@
...
@@ -36,28 +36,28 @@
<span
slot=
"append"
>
{{
$t
(
'
天
'
)
}}
</span>
<span
slot=
"append"
>
{{
$t
(
'
天
'
)
}}
</span>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('积分
开始累计
日期')"
style=
"width: 30%;"
prop=
"startDate"
>
<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>
<el-date-picker
type=
"date"
:placeholder=
"$t('请选择日期')
"
v-model=
"queryParams.startDate"
style=
"width: 100%;"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('启用日期')"
style=
"width: 30%;"
v-if=
"titleShow"
prop=
"enableDate"
>
<el-form-item
:label=
"$t('启用日期')"
style=
"width: 30%;"
v-if=
"titleShow"
prop=
"enableDate"
>
<el-date-picker
type=
"datetime"
:disabled=
"true"
placeholder=
"选择日期
"
v-model=
"queryParams.enableDate"
style=
"width: 100%;"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"datetime"
:disabled=
"true"
:placeholder=
"$t('请选择日期')
"
v-model=
"queryParams.enableDate"
style=
"width: 100%;"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('等级
规则有效期-
开始日期')"
style=
"width: 30%;"
prop=
"startTime"
>
<el-form-item
:label=
"$t('等级
有效期')+'-'+$t('
开始日期')"
style=
"width: 30%;"
prop=
"startTime"
>
<el-date-picker
type=
"date"
placeholder=
"选择日期
"
v-model=
"queryParams.startTime"
style=
"width: 100%;"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"date"
:placeholder=
"$t('请选择日期')
"
v-model=
"queryParams.startTime"
style=
"width: 100%;"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('等级
规则有效期-
结束日期')"
style=
"width: 30%;"
prop=
"endTime"
>
<el-form-item
:label=
"$t('等级
有效期')+'-'+$t('
结束日期')"
style=
"width: 30%;"
prop=
"endTime"
>
<el-date-picker
type=
"date"
placeholder=
"选择日期
"
v-model=
"queryParams.endTime"
style=
"width: 100%;"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"date"
:placeholder=
"$t('请选择日期')
"
v-model=
"queryParams.endTime"
style=
"width: 100%;"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('
上传
图标')"
prop=
"icon"
>
<el-form-item
:label=
"$t('
选择
图标')"
prop=
"icon"
>
<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" @blur="trimParams('description')">
</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;"
>
{{
$t
(
'
注:用于客户积分日志显示,请规范填写
'
)
}}
</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"
>
<el-input
v-model.number=
"queryParams.sort"
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
></el-input>
<el-input
v-model.number=
"queryParams.sort"
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
></el-input>
<span
style=
"color: red;"
>
注:设置相同等级,匹配的优先级
</span>
<span
style=
"color: red;"
>
{{
$t
(
'
注:设置相同等级,匹配的优先级
'
)
}}
</span>
</el-form-item>
</el-form-item>
<!-- 编辑相关内容 -->
<!-- 编辑相关内容 -->
<div
v-if=
"showViewTime"
>
<div
v-if=
"showViewTime"
>
...
@@ -331,12 +331,13 @@ export default {
...
@@ -331,12 +331,13 @@ export default {
var
now
=
new
Date
();
var
now
=
new
Date
();
var
nowMidnight
=
new
Date
(
now
.
getFullYear
(),
now
.
getMonth
(),
now
.
getDate
());
var
nowMidnight
=
new
Date
(
now
.
getFullYear
(),
now
.
getMonth
(),
now
.
getDate
());
var
specificDate
=
new
Date
(
this
.
queryParams
.
startTime
);
var
specificDate
=
new
Date
(
this
.
queryParams
.
startTime
);
var
endDate
=
new
Date
(
this
.
queryParams
.
endTime
);
if
(
specificDate
<
nowMidnight
)
{
if
(
specificDate
<
nowMidnight
)
{
this
.
$modal
.
msgWarning
(
'
等级规则日期大于等于当前日期
'
)
this
.
$modal
.
msgWarning
(
this
.
$t
(
'
开始日期不能早于今天
'
)
)
return
false
return
false
}
}
if
(
this
.
queryParams
.
startTime
>
this
.
queryParams
.
endTim
e
)
{
if
(
specificDate
>
endDat
e
)
{
this
.
$modal
.
msgWarning
(
'
等级规则日期开始时间不能大于结束时间
'
)
this
.
$modal
.
msgWarning
(
this
.
$t
(
'
开始日期不能大于结束时间
'
)
)
return
false
return
false
}
}
this
.
$refs
[
"
queryForm
"
].
validate
((
valid
)
=>
{
this
.
$refs
[
"
queryForm
"
].
validate
((
valid
)
=>
{
...
@@ -360,12 +361,13 @@ export default {
...
@@ -360,12 +361,13 @@ export default {
var
now
=
new
Date
();
var
now
=
new
Date
();
var
nowMidnight
=
new
Date
(
now
.
getFullYear
(),
now
.
getMonth
(),
now
.
getDate
());
var
nowMidnight
=
new
Date
(
now
.
getFullYear
(),
now
.
getMonth
(),
now
.
getDate
());
var
specificDate
=
new
Date
(
this
.
queryParams
.
startTime
);
var
specificDate
=
new
Date
(
this
.
queryParams
.
startTime
);
var
endDate
=
new
Date
(
this
.
queryParams
.
endTime
);
if
(
specificDate
<
nowMidnight
)
{
if
(
specificDate
<
nowMidnight
)
{
this
.
$modal
.
msgWarning
(
'
等级规则日期大于等于当前日期
'
)
this
.
$modal
.
msgWarning
(
this
.
$t
(
'
开始日期不能早于今天
'
)
)
return
false
return
false
}
}
if
(
this
.
queryParams
.
startTime
>
this
.
queryParams
.
endTim
e
)
{
if
(
specificDate
>
endDat
e
)
{
this
.
$modal
.
msgWarning
(
'
等级规则日期开始时间不能大于结束时间
'
)
this
.
$modal
.
msgWarning
(
this
.
$t
(
'
开始日期不能大于结束时间
'
)
)
return
false
return
false
}
}
this
.
$refs
[
"
queryForm
"
].
validate
((
valid
)
=>
{
this
.
$refs
[
"
queryForm
"
].
validate
((
valid
)
=>
{
...
@@ -389,11 +391,11 @@ export default {
...
@@ -389,11 +391,11 @@ export default {
var
nowMidnight
=
new
Date
(
now
.
getFullYear
(),
now
.
getMonth
(),
now
.
getDate
());
var
nowMidnight
=
new
Date
(
now
.
getFullYear
(),
now
.
getMonth
(),
now
.
getDate
());
var
specificDate
=
new
Date
(
this
.
queryParams
.
startTime
);
var
specificDate
=
new
Date
(
this
.
queryParams
.
startTime
);
if
(
specificDate
<
nowMidnight
)
{
if
(
specificDate
<
nowMidnight
)
{
this
.
$modal
.
msgWarning
(
'
等级规则日期大于等于当前日期
'
)
this
.
$modal
.
msgWarning
(
'
开始日期不能早于今天
'
)
return
false
return
false
}
}
if
(
this
.
queryParams
.
startTime
>
this
.
queryParams
.
endTime
)
{
if
(
this
.
queryParams
.
startTime
>
this
.
queryParams
.
endTime
)
{
this
.
$modal
.
msgWarning
(
'
等级规则日期开始时间
不能大于结束时间
'
)
this
.
$modal
.
msgWarning
(
'
开始日期
不能大于结束时间
'
)
return
false
return
false
}
}
this
.
$refs
[
"
queryForm
"
].
validate
((
valid
)
=>
{
this
.
$refs
[
"
queryForm
"
].
validate
((
valid
)
=>
{
...
@@ -412,7 +414,7 @@ export default {
...
@@ -412,7 +414,7 @@ export default {
//返回按钮操作
//返回按钮操作
handleGoBack
()
{
handleGoBack
()
{
this
.
$modal
this
.
$modal
.
confirm
(
this
.
$t
(
"
是否确认返回
"
),
this
.
$t
(
"
提示
"
))
.
confirm
(
this
.
$t
(
"
确认返回吗?
"
),
this
.
$t
(
"
提示
"
))
.
then
(()
=>
{
.
then
(()
=>
{
// this.$router.go(-1);
// this.$router.go(-1);
this
.
$store
.
dispatch
(
"
tagsView/delCurrentView
"
)
this
.
$store
.
dispatch
(
"
tagsView/delCurrentView
"
)
...
@@ -445,7 +447,7 @@ export default {
...
@@ -445,7 +447,7 @@ export default {
sort
:
null
,
sort
:
null
,
dateRangeCreateTime
:
[]
dateRangeCreateTime
:
[]
}
}
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
重置
成功
"
))
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
操作
成功
"
))
})
})
.
catch
(()
=>
{})
.
catch
(()
=>
{})
},
},
...
...
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