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
2493c951
Commit
2493c951
authored
Sep 03, 2024
by
chenwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/099_customer_filter' into 'dev'
会员详情跳转逻辑 See merge request
!23
parents
bceb5671
ff4def43
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
112 additions
and
19 deletions
+112
-19
index.vue
src/views/ecw/giftManagement/bulkExchange/index.vue
+33
-6
index.vue
src/views/ecw/memberManagement/exchangeRecord/index.vue
+1
-1
index.vue
...ws/ecw/memberManagement/exchangeRecordOperation/index.vue
+14
-0
index.vue
src/views/ecw/memberManagement/integralRecord/index.vue
+1
-1
memberDetails.vue
src/views/member/user/memberDetails.vue
+63
-11
No files found.
src/views/ecw/giftManagement/bulkExchange/index.vue
View file @
2493c951
...
...
@@ -134,10 +134,18 @@
>
</dict-selector>
</el-form-item>
<el-form-item
:label=
"$t('费用')"
required
>
<el-form-item
:label=
"$t('费用')"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"12"
>
<el-form-item
prop=
"expenses"
>
<el-form-item
prop=
"expenses"
:rules=
"rules.expenses"
v-show=
"item.currency"
>
<el-input
v-model=
"item.expenses"
:placeholder=
"$t('请输入数字')"
clearable
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
/>
</el-form-item>
<el-form-item
v-show=
"!item.currency"
>
<el-input
v-model=
"item.expenses"
:placeholder=
"$t('请输入数字')"
...
...
@@ -147,8 +155,28 @@
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
prop=
"currency"
>
<div>
<el-form-item
prop=
"currency"
:rules=
"rules.currency"
v-show=
"item.expenses"
>
<el-select
clearable
v-model=
"item.currency"
:placeholder=
"$t('请选择币种')"
>
<el-option
v-for=
"nodeItem in currencyList"
:key=
"nodeItem.id"
:label=
"
isChinese
? nodeItem.titleZh
: nodeItem.titleEn
"
:value=
"nodeItem.id"
/>
</el-select>
</el-form-item>
<el-form-item
v-show=
"!item.expenses"
>
<el-select
clearable
v-model=
"item.currency"
:placeholder=
"$t('请选择币种')"
>
...
...
@@ -164,10 +192,11 @@
/>
</el-select>
</el-form-item>
</div>
</el-col>
</el-row>
</el-form-item>
<el-form-item
:label=
"$t('收件人姓名')"
prop=
"recipientName"
<el-form-item
:label=
"$t('收件人姓名')"
><el-input
:placeholder=
"$t('请输入收件人姓名')"
clearable
...
...
@@ -177,7 +206,6 @@
</el-form-item>
<el-form-item
:label=
"$t('收件人电话')"
prop=
"recipientPhoneNum"
>
<el-input
:placeholder=
"$t('请输入收件人电话')"
...
...
@@ -188,7 +216,6 @@
</el-form-item>
<el-form-item
:label=
"$t('收件人地址')"
prop=
"recipientAddress"
v-if=
"item.redeemType != '1'"
>
<el-input
...
...
src/views/ecw/memberManagement/exchangeRecord/index.vue
View file @
2493c951
...
...
@@ -165,7 +165,7 @@
width=
"140"
:label=
"$t('兑换记录ID')"
align=
"center"
prop=
"
id
"
prop=
"
redemptionNumber
"
/>
<el-table-column
width=
"140"
...
...
src/views/ecw/memberManagement/exchangeRecordOperation/index.vue
View file @
2493c951
...
...
@@ -147,6 +147,7 @@
<el-select
v-model=
"item.currency"
:disabled=
"veriftyDisable"
clearable
:placeholder=
"$t('请选择币种')"
>
<el-option
...
...
@@ -387,6 +388,15 @@ export default {
return
callback
();
}
};
var
expensesValidate
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
queryParamsList
[
0
].
currency
&&
!
value
)
{
return
callback
(
new
Error
(
this
.
$t
(
"
请输入
"
))
);
}
else
{
return
callback
();
}
};
return
{
env
:
process
.
env
.
NODE_ENV
,
// 是否显示弹出层
...
...
@@ -462,6 +472,10 @@ export default {
message
:
this
.
$t
(
"
请输入整数或保留小数点后两位
"
),
trigger
:
"
blur
"
,
},
{
validator
:
expensesValidate
,
trigger
:
"
change
"
,
}
],
currency
:
[
{
...
...
src/views/ecw/memberManagement/integralRecord/index.vue
View file @
2493c951
...
...
@@ -193,7 +193,7 @@
},
})
"
>
{{
`${$t("兑换记录ID")
}
:${row.extParamJson.rede
emId
}
`
}}
<
/el-butto
n
>
{{
`${$t("兑换记录ID")
}
:${row.extParamJson.rede
mptionNumber
}
`
}}
<
/el-butto
n
>
<!--
系统过期
sourceType
=
3
不展示
-->
<
span
v
-
if
=
"
row.sourceType == '3'
"
>
-<
/span
>
...
...
src/views/member/user/memberDetails.vue
View file @
2493c951
...
...
@@ -236,7 +236,7 @@
<el-menu-item
index=
"exchange"
>
{{
$t
(
"
兑换记录
"
)
}}
</el-menu-item>
</el-menu>
<div
class=
"table-container"
>
<div
class=
"reward"
v-
if
=
"activeIndex == 'reward'"
>
<div
class=
"reward"
v-
show
=
"activeIndex == 'reward'"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
...
...
@@ -336,7 +336,7 @@
@
pagination=
"handleQueryPagination"
/>
</div>
<div
class=
"exchange"
v-
else
>
<div
class=
"exchange"
v-
show=
"activeIndex != 'reward'"
>
<el-form
:model=
"queryParamsRecord"
ref=
"queryForm"
...
...
@@ -395,17 +395,32 @@
:data=
"memberRecordList"
>
<el-table-column
width=
"140"
:label=
"$t('兑换记录ID')"
width=
"160"
align=
"center"
prop=
"id"
></el-table-column>
>
<
template
#default
="{
row
}"
>
<el-button
type=
"text"
@
click=
"handleViewRecord(scope.row)"
>
{{
row
.
redemptionNumber
}}
</el-button>
</
template
>
</el-table-column>
<el-table-column
width=
"140"
:label=
"$t('礼品ID')"
align=
"center"
prop=
"rewardCode"
></el-table-column>
>
<
template
#default
="{
row
}"
>
<el-button
type=
"text"
@
click=
"
handleShowRewardsDetail(row)
"
>
{{
row
.
rewardCode
}}
</el-button>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('礼品名称')"
align=
"center"
...
...
@@ -418,8 +433,8 @@
></el-table-column>
<el-table-column
:label=
"$t('兑换时间')"
align=
"center"
>
<
template
v-slot=
"{ row }"
>
{{
parseTime
(
row
.
redemptionTime
)
||
"
/
"
}}
</
template
>
{{
parseTime
(
row
.
redemptionTime
)
||
"
/
"
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('兑换积分')"
...
...
@@ -818,6 +833,14 @@
</el-tabs>
</div>
</el-dialog>
<!-- 查看 礼品 -->
<operating-gift
ref=
"operatingGift"
:title=
"operatingPagetitle"
:rewards-details=
"rewardsItem"
:show.sync=
"dialogVisible"
:node-list=
"nodeList"
/>
</div>
</template>
<
script
>
...
...
@@ -843,12 +866,15 @@ import {
queryMemberScoreRecord
,
queryMemberExchangeRecord
,
}
from
"
@/api/ecw/memberManagement
"
;
import
{
getNodeList
,
getRewardsDetails
}
from
'
@/api/ecw/giftManagement
'
import
OperatingGift
from
'
@/views/ecw/giftManagement/components/operatingGift.vue
'
export
default
{
name
:
"
memberDetails
"
,
components
:
{
ImageUpload
,
FileUpload
},
components
:
{
ImageUpload
,
FileUpload
,
OperatingGift
},
data
()
{
return
{
// 网点
nodeList
:
[],
//兑换记录:
dateRangeCreateTimeRecord
:
[],
memberRecordList
:
[],
...
...
@@ -1006,6 +1032,10 @@ export default {
row
:
10
,
userId
:
undefined
,
},
loading
:
true
,
dialogVisible
:
false
,
operatingPagetitle
:
''
,
rewardsItem
:
{},
attestationShow
:
false
,
modifyLicense
:
false
,
modifyIdCard
:
true
,
//修改身份证
...
...
@@ -1021,6 +1051,7 @@ export default {
this
.
getDetails
();
this
.
handleQuery
();
this
.
handleQueryRecord
();
this
.
getNodeListAPI
();
},
computed
:
{
isChinese
()
{
...
...
@@ -1037,6 +1068,27 @@ export default {
});
},
methods
:
{
handleViewRecord
(
row
)
{
this
.
$router
.
push
({
path
:
'
/memberManagement/exchangeRecordOperation
'
,
query
:
{
exchangeRewardID
:
row
.
id
,
pageStatus
:
'
view
'
}
})
},
getNodeListAPI
()
{
getNodeList
().
then
((
res
)
=>
{
this
.
nodeList
=
res
.
data
})
},
handleShowRewardsDetail
(
row
){
let
params
=
{
id
:
row
.
rewardId
};
getRewardsDetails
(
params
).
then
((
res
)
=>
{
this
.
dialogVisible
=
true
this
.
operatingPagetitle
=
'
1
'
this
.
rewardsItem
=
res
.
data
;
});
},
handleExchangeRedeemType
(
id
)
{
return
this
.
getDictDatas
(
DICT_TYPE
.
WAY_OF_RECEIVING
).
filter
(
(
item
)
=>
item
.
value
==
id
...
...
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