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
138c23cf
Commit
138c23cf
authored
Sep 19, 2024
by
chenwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改修复优化问题24-9/19
parent
cb5a7436
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
72 additions
and
14 deletions
+72
-14
index.vue
...cw/memberManagement/addIntegrationRuleOperation/index.vue
+5
-4
index.vue
src/views/ecw/memberManagement/exchangeRecord/index.vue
+26
-2
chooseGift.vue
...agement/exchangeRecordOperation/components/chooseGift.vue
+1
-1
index.vue
...ws/ecw/memberManagement/exchangeRecordOperation/index.vue
+4
-2
index.vue
src/views/ecw/memberManagement/integralRecord/index.vue
+22
-0
index.vue
src/views/ecw/memberManagement/memberPointsSummary/index.vue
+7
-2
memberDetails.vue
src/views/member/user/memberDetails.vue
+7
-3
No files found.
src/views/ecw/memberManagement/addIntegrationRuleOperation/index.vue
View file @
138c23cf
...
...
@@ -420,7 +420,7 @@
</el-form-item>
<el-form-item
:label=
"$t('创建时间')"
>
<el-date-picker
type=
"date"
type=
"date
time
"
:placeholder=
"$t('选择创建时间')"
v-model=
"queryParams.createTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
...
...
@@ -429,6 +429,7 @@
</el-form-item>
<el-form-item
:label=
"$t('最后更新人')"
>
<el-input
v-model.number=
"queryParams.updater"
:placeholder=
"$t('请输入最后更新人')"
clearable
...
...
@@ -437,7 +438,7 @@
</el-form-item>
<el-form-item
:label=
"$t('最后更新时间')"
>
<el-date-picker
type=
"date"
type=
"date
time
"
:placeholder=
"$t('选择最后更新时间')"
v-model=
"queryParams.updateTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
...
...
@@ -1053,8 +1054,8 @@ export default {
}
);
params
.
createTime
=
parseTime
(
res
.
data
.
createTime
);
params
.
updateTime
=
parseTime
(
res
.
data
.
updateTime
);
params
.
createTime
=
parseTime
(
res
.
data
.
createTime
,
'
{y}-{m}-{d} {h}:{i}:{s}
'
);
params
.
updateTime
=
parseTime
(
res
.
data
.
updateTime
,
'
{y}-{m}-{d} {h}:{i}:{s}
'
);
if
(
isNumber
(
res
.
data
.
extraOrderV
?.
firstOrder
))
{
params
.
extraOrderV
.
firstOrder
=
...
...
src/views/ecw/memberManagement/exchangeRecord/index.vue
View file @
138c23cf
...
...
@@ -28,6 +28,16 @@
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('会员编号')"
>
<el-input
v-model.trim=
"queryParams.memberCode"
style=
"width: 300px"
:placeholder=
"$t('请输入会员编号')"
clearable
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('领取方式')"
>
<dict-selector
v-model=
"queryParams.redeemType"
...
...
@@ -179,8 +189,16 @@
width=
"140"
:label=
"$t('兑换记录ID')"
align=
"center"
prop=
"redemptionNumber"
/>
>
<template
#default
="
{ row }">
<el-button
size=
"mini"
type=
"text"
@
click=
"handleViewRecord(row )"
>
{{
row
.
redemptionNumber
}}
</el-button
>
</
template
>
</el-table-column>
<el-table-column
width=
"140"
:label=
"$t('礼品ID')"
...
...
@@ -494,6 +512,7 @@ export default {
queryParams
:
{
rewardTitle
:
""
,
memberName
:
""
,
// 会员昵称
memberCode
:
""
,
//会员编号
redeemType
:
""
,
// 兑换方式
status
:
""
,
rewardCount
:
""
,
...
...
@@ -527,6 +546,9 @@ export default {
},
},
created
()
{
if
(
this
.
$route
.
query
.
memberCode
){
this
.
queryParams
.
memberCode
=
this
.
$route
.
query
.
memberCode
}
this
.
getNodeListAPI
();
this
.
handleQuery
();
},
...
...
@@ -766,6 +788,7 @@ export default {
city
:
null
,
endTime
:
null
,
holdScore
:
null
,
memberCode
:
''
,
holdScoreOperate
:
null
,
key
:
null
,
redemptionNumber
:
null
,
...
...
@@ -808,6 +831,7 @@ export default {
country
:
null
,
city
:
null
,
endTime
:
null
,
memberCode
:
''
,
holdScore
:
null
,
holdScoreOperate
:
null
,
key
:
null
,
...
...
src/views/ecw/memberManagement/exchangeRecordOperation/components/chooseGift.vue
View file @
138c23cf
...
...
@@ -153,7 +153,7 @@
></el-table-column>
<el-table-column
:label=
"$t('礼品名称')"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"handleView(scope.row)"
>
{{
<el-button
type=
"text"
>
{{
isChinese
?
scope
.
row
.
titleZh
:
scope
.
row
.
titleEn
}}
</el-button>
</
template
>
...
...
src/views/ecw/memberManagement/exchangeRecordOperation/index.vue
View file @
138c23cf
...
...
@@ -360,7 +360,7 @@ import {
verifyRedeem
,
}
from
"
@/api/ecw/memberManagement
"
;
import
{
memberUserGet
}
from
"
@/api/member/user
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
"
@/utils/dict
"
;
export
default
{
name
:
"
exchangeRecordOperation
"
,
components
:
{
...
...
@@ -549,6 +549,7 @@ export default {
getDetails
()
{
memberUserGet
({
id
:
this
.
$route
.
query
.
memberId
}).
then
((
r
)
=>
{
// this.details = r.data;
this
.
isChinese
?
(
this
.
queryParamsList
[
0
].
memberName
=
r
.
data
.
nickname
)
:
(
this
.
queryParamsList
[
0
].
memberName
=
r
.
data
.
englishName
);
...
...
@@ -571,6 +572,7 @@ export default {
if
(
this
.
isChinese
)
{
this
.
queryParamsList
[
0
].
memberName
=
data
.
memberNameZh
;
this
.
queryParamsList
[
0
].
rewardName
=
data
.
rewardTitleZh
;
}
else
{
this
.
queryParamsList
[
0
].
memberName
=
data
.
memberNameEn
;
this
.
queryParamsList
[
0
].
rewardName
=
data
.
rewardTitleEn
;
...
...
@@ -666,7 +668,7 @@ export default {
},
onGetSelectRewardsInfo
(
item
)
{
this
.
queryParamsList
[
0
].
rewardId
=
item
.
id
;
this
.
queryParamsList
[
0
]
;
this
.
queryParamsList
[
0
]
.
redeemType
=
item
.
pickMethod
.
split
(
"
,
"
)[
0
]
if
(
this
.
isChinese
)
{
this
.
queryParamsList
[
0
].
rewardName
=
item
.
titleZh
;
}
else
{
...
...
src/views/ecw/memberManagement/integralRecord/index.vue
View file @
138c23cf
...
...
@@ -174,6 +174,12 @@
{{
parseTime
(
row
.
createTime
)
||
"
/
"
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('积分到期时间')"
align=
"center"
>
<
template
v-slot=
"{ row }"
>
{{
parseTime
(
row
.
expireTime
)
||
"
/
"
}}
</
template
>
</el-table-column>
<el-table-column
width=
"300"
:label=
"$t('详细信息')"
align=
"center"
>
<
template
v-slot=
"{ row }"
>
<!-- 人工操作-->
...
...
@@ -258,6 +264,9 @@ import { queryMemberScoreRecord } from "@/api/ecw/memberManagement";
export
default
{
name
:
"
EcwMembermanagementIntegralrecord
"
,
props
:{
memberCode
:[
String
,
Number
],
}
,
data
()
{
return
{
dateRangeCreateTime
:
[],
...
...
@@ -285,7 +294,20 @@ export default {
return
this
.
$i18n
.
locale
===
"
zh_CN
"
;
}
,
}
,
watch
:{
memberCode
:{
handler
:
function
(
newVal
,
oldVal
)
{
if
(
newVal
){
this
.
queryParams
.
memberId
=
newVal
}
}
,
immediate
:
true
,
}
,
}
,
created
()
{
if
(
this
.
$route
.
query
.
memberCode
){
this
.
queryParams
.
key
=
this
.
$route
.
query
.
memberCode
}
this
.
handleQuery
();
}
,
activated
()
{
...
...
src/views/ecw/memberManagement/memberPointsSummary/index.vue
View file @
138c23cf
...
...
@@ -149,7 +149,10 @@
<
template
#default
="{
row
}"
>
<el-button
type=
"text"
@
click=
"$router.push('/memberManagement/integralRecord')"
@
click=
"$router.push(
{path:'/memberManagement/integralRecord',
query: {memberCode:row.memberCode}
})"
>
{{
row
.
holdScore
}}
</el-button
>
</
template
>
...
...
@@ -158,7 +161,9 @@
<
template
#default
="{
row
}"
>
<el-button
type=
"text"
@
click=
"$router.push('/memberManagement/exchangeRecord')"
@
click=
"$router.push(
{path:'/memberManagement/exchangeRecord',
query: {memberCode:row.memberCode}
})"
>
{{
row
.
usedScore
}}
</el-button
>
</
template
>
...
...
src/views/member/user/memberDetails.vue
View file @
138c23cf
...
...
@@ -237,7 +237,10 @@
</el-menu>
<div
class=
"table-container"
>
<div
class=
"reward"
v-show=
"activeIndex == 'reward'"
>
<el-form
<!-- 积分记录 -->
<IntegralRecord
:memberCode=
"$route.params.id"
></IntegralRecord>
<!--
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
...
...
@@ -334,7 +337,7 @@
:page.sync=
"queryParams.pageNo"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"handleQueryPagination"
/>
/>
-->
</div>
<div
class=
"exchange"
v-show=
"activeIndex != 'reward'"
>
<el-form
...
...
@@ -868,9 +871,10 @@ import {
}
from
"
@/api/ecw/memberManagement
"
;
import
{
getNodeList
,
getRewardsDetails
}
from
'
@/api/ecw/giftManagement
'
import
OperatingGift
from
'
@/views/ecw/giftManagement/components/operatingGift.vue
'
import
IntegralRecord
from
"
@/views/ecw/memberManagement/integralRecord
"
export
default
{
name
:
"
memberDetails
"
,
components
:
{
ImageUpload
,
FileUpload
,
OperatingGift
},
components
:
{
ImageUpload
,
FileUpload
,
OperatingGift
,
IntegralRecord
},
data
()
{
return
{
// 网点
...
...
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