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
21d16e8f
Commit
21d16e8f
authored
Aug 28, 2024
by
chenwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
member system status control
parent
9337fa34
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
506 additions
and
496 deletions
+506
-496
memberManagement.js
src/api/ecw/memberManagement.js
+147
-130
en_US.json
src/i18n/languages/en_US.json
+3
-2
index.vue
src/views/ecw/giftManagement/index.vue
+157
-180
index.vue
src/views/ecw/memberManagement/integrationRule/index.vue
+199
-184
No files found.
src/api/ecw/memberManagement.js
View file @
21d16e8f
import
request
from
"
@/utils/request
"
;
//操作积分
import
request
from
'
@/utils/request
'
//
操作积分
export
function
operateMemberScore
(
data
)
{
return
request
({
url
:
"
/member/user-score/operate
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/member/user-score/operate
'
,
method
:
'
post
'
,
data
:
data
})
}
//积分记录分页
//
积分记录分页
export
function
queryMemberScoreRecord
(
data
)
{
return
request
({
url
:
"
/member/user-score-log/page
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/member/user-score-log/page
'
,
method
:
'
post
'
,
data
:
data
})
}
//兑换记录分页
//
兑换记录分页
export
function
queryMemberExchangeRecord
(
data
)
{
return
request
({
url
:
"
/reward/redeem/record/page
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/reward/redeem/record/page
'
,
method
:
'
post
'
,
data
:
data
})
}
//批量核销按钮
//
批量核销按钮
export
function
batchVerifyAPI
(
data
)
{
return
request
({
url
:
"
/reward/redeem/record/batch/verify
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/reward/redeem/record/batch/verify
'
,
method
:
'
post
'
,
data
:
data
})
}
//兑换记录导出
//
兑换记录导出
export
function
batchRecordExport
(
data
)
{
return
request
({
url
:
"
/reward/redeem/record/export
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/reward/redeem/record/export
'
,
method
:
'
post
'
,
data
:
data
})
}
//兑换记录导入
//
兑换记录导入
export
function
batchRecordImport
(
data
)
{
return
request
({
url
:
"
/reward/redeem/record/import
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/reward/redeem/record/import
'
,
method
:
'
post
'
,
data
:
data
})
}
//兑换记录导入模板下载
//
兑换记录导入模板下载
export
function
batchRecordImportTemplate
()
{
return
request
({
url
:
"
/reward/redeem/record/import/template
"
,
method
:
"
post
"
,
responseType
:
"
blob
"
,
})
;
url
:
'
/reward/redeem/record/import/template
'
,
method
:
'
post
'
,
responseType
:
'
blob
'
})
}
//撤销 操作
//
撤销 操作
export
function
rewardCancelQuery
(
data
)
{
return
request
({
url
:
"
/reward/redeem/record/cancel
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/reward/redeem/record/cancel
'
,
method
:
'
post
'
,
data
:
data
})
}
//获取记录详情
//
获取记录详情
export
function
getRewardDetailQuery
(
data
)
{
return
request
({
url
:
"
/reward/redeem/record/detail
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/reward/redeem/record/detail
'
,
method
:
'
post
'
,
data
:
data
})
}
//更新兑换记录
//
更新兑换记录
export
function
updatedRewardsDetails
(
data
)
{
return
request
({
url
:
"
/reward/redeem/record/update
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/reward/redeem/record/update
'
,
method
:
'
post
'
,
data
:
data
})
}
//核销回退
//
核销回退
export
function
verifyRollback
(
data
)
{
return
request
({
url
:
"
/reward/redeem/record/verify-back
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/reward/redeem/record/verify-back
'
,
method
:
'
post
'
,
data
:
data
})
}
//核销 操作
//
核销 操作
export
function
verifyRedeem
(
data
)
{
return
request
({
url
:
"
/reward/redeem/record/verify
"
,
method
:
"
post
"
,
data
:
data
,
})
;
url
:
'
/reward/redeem/record/verify
'
,
method
:
'
post
'
,
data
:
data
})
}
//获取积分规则记录
//
获取积分规则记录
export
function
getScoreRecordList
(
data
)
{
return
request
({
url
:
"
/member/score-rule/page
"
,
method
:
"
post
"
,
url
:
'
/member/score-rule/page
'
,
method
:
'
post
'
,
params
:
{
page
:
data
.
page
,
rows
:
data
.
rows
,
rows
:
data
.
rows
},
data
,
})
;
data
})
}
//会员积分等级列表
//
会员积分等级列表
export
function
getMemberLevelList
(
data
)
{
return
request
({
url
:
"
/member/user-level/page
"
,
method
:
"
post
"
,
data
,
})
;
url
:
'
/member/user-level/page
'
,
method
:
'
post
'
,
data
})
}
//新增会员等级设置
//
新增会员等级设置
export
function
addNewMemberLevel
(
data
)
{
return
request
({
url
:
"
/member/user-level/add
"
,
method
:
"
post
"
,
data
,
})
;
url
:
'
/member/user-level/add
'
,
method
:
'
post
'
,
data
})
}
//删除会员等级
//
删除会员等级
export
function
delMemberLevel
(
data
)
{
return
request
({
url
:
"
/member/user-level/delete
"
,
method
:
"
post
"
,
data
,
})
;
url
:
'
/member/user-level/delete
'
,
method
:
'
post
'
,
data
})
}
//edit member level
//
edit member level
export
function
editMemberLevel
(
data
)
{
return
request
({
url
:
"
/member/user-level/update
"
,
method
:
"
post
"
,
data
,
})
;
url
:
'
/member/user-level/update
'
,
method
:
'
post
'
,
data
})
}
//获得目的国、目的城市、目的仓列表
//
获得目的国、目的城市、目的仓列表
export
function
getRegionTreeList
()
{
return
request
({
url
:
"
/member/score-rule/warehouse-tree-region-list
"
,
method
:
"
get
"
,
})
;
url
:
'
/member/score-rule/warehouse-tree-region-list
'
,
method
:
'
get
'
})
}
//获取渠道列表
//
获取渠道列表
export
function
getChannelList
()
{
return
request
({
url
:
"
/ecw/channel/list-all-simple
"
,
method
:
"
get
"
,
})
;
url
:
'
/ecw/channel/list-all-simple
'
,
method
:
'
get
'
})
}
//积分规则创建
//
积分规则创建
export
function
createIntegralRule
(
data
)
{
return
request
({
url
:
"
/member/score-rule/create
"
,
method
:
"
post
"
,
data
,
})
;
url
:
'
/member/score-rule/create
'
,
method
:
'
post
'
,
data
})
}
//启用关闭 积分规则
//
启用关闭 积分规则
export
function
integralRuleStatus
(
data
)
{
return
request
({
url
:
"
/member/score-rule/status
"
,
method
:
"
post
"
,
data
,
})
;
url
:
'
/member/score-rule/status
'
,
method
:
'
post
'
,
data
})
}
//复制积分规则
//
复制积分规则
export
function
integralRuleCopy
(
data
)
{
return
request
({
url
:
"
/member/score-rule/copy
"
,
method
:
"
post
"
,
data
,
})
;
url
:
'
/member/score-rule/copy
'
,
method
:
'
post
'
,
data
})
}
//延期积分规则
//
延期积分规则
export
function
integralRuleDelay
(
data
)
{
return
request
({
url
:
"
/member/score-rule/delay
"
,
method
:
"
post
"
,
data
,
})
;
url
:
'
/member/score-rule/delay
'
,
method
:
'
post
'
,
data
})
}
//删除积分规则
//
删除积分规则
export
function
integralRuleDelete
(
data
)
{
return
request
({
url
:
"
/member/score-rule/delete
"
,
method
:
"
post
"
,
data
,
})
;
url
:
'
/member/score-rule/delete
'
,
method
:
'
post
'
,
data
})
}
//获取积分规则详情
//
获取积分规则详情
export
function
integralRuleDetails
(
data
)
{
return
request
({
url
:
"
/member/score-rule/get
"
,
method
:
"
post
"
,
data
,
})
;
url
:
'
/member/score-rule/get
'
,
method
:
'
post
'
,
data
})
}
//编辑积分规则
//
编辑积分规则
export
function
integralRuleUpdated
(
data
)
{
return
request
({
url
:
"
/member/score-rule/update
"
,
method
:
"
post
"
,
data
,
});
url
:
'
/member/score-rule/update
'
,
method
:
'
post
'
,
data
})
}
// 获取会员功能开关
export
function
switchRuleGet
()
{
return
request
({
url
:
'
/member/score-rule/switch/get
'
,
method
:
'
get
'
})
}
// 设置会员工能开关
export
function
switchRuleSet
(
data
)
{
return
request
({
url
:
'
/member/score-rule/switch/set
'
,
method
:
'
post
'
,
data
})
}
src/i18n/languages/en_US.json
View file @
21d16e8f
...
...
@@ -4689,6 +4689,7 @@
"发货评估"
:
"Delivery evaluation"
,
"财务资料"
:
"Finance Information"
,
"特殊设置"
:
"Special setting"
,
"已卸柜/已到仓时间"
:
"Unloaded/arrived Time"
"已卸柜/已到仓时间"
:
"Unloaded/arrived Time"
,
"开启会员积分系统"
:
"Enable member points system"
,
"是否确认{val}会员积分系统"
:
"Confirm whether to {val} the member points system"
}
src/views/ecw/giftManagement/index.vue
View file @
21d16e8f
This diff is collapsed.
Click to expand it.
src/views/ecw/memberManagement/integrationRule/index.vue
View file @
21d16e8f
This diff is collapsed.
Click to expand it.
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