Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
member
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
member
member
Commits
e4103170
Commit
e4103170
authored
Oct 09, 2022
by
huaying
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/9月基础迭代' into dev
# Conflicts: # src/components/axios/url.js
parents
9c0f514b
0e92ad78
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
index.js
src/components/allCustomers/index.js
+17
-1
order-table.vue
src/components/allCustomers/order-list/order-table.vue
+4
-1
url.js
src/components/axios/url.js
+2
-1
No files found.
src/components/allCustomers/index.js
View file @
e4103170
...
...
@@ -48,6 +48,7 @@ export default {
searchAble
:
false
,
multipleAble
:
true
},
isShowClique
:
''
,
importList
:[
{
importType
:
18
,
...
...
@@ -250,6 +251,7 @@ export default {
}
},
created
()
{
this
.
getcliqueMemberRelation
();
this
.
$store
.
commit
(
"mutations-slide"
,
true
);
this
.
initialize
();
this
.
getGradeList
();
...
...
@@ -263,7 +265,12 @@ export default {
mounted
()
{
this
.
importList
=
this
.
importList
.
map
((
item
,
index
)
=>
{
if
(
this
.
getCodeAuth
(
item
.
btnCode
)){
return
item
;
console
.
log
(
typeof
this
.
isShowClique
,
'this.isShowClique'
);
if
(
item
.
btnCode
==
'importMember'
&&
this
.
isShowClique
==
1
)
{
return
{};
}
else
{
return
item
;
}
}
else
{
return
{};
}
...
...
@@ -284,6 +291,15 @@ export default {
},
beforUpdate
()
{},
methods
:
{
getcliqueMemberRelation
()
{
doFetchGet
(
url
.
cliqueMemberRelation
,
{}).
then
((
res
)
=>
{
console
.
log
(
res
,
'res'
);
let
{
errorCode
,
result
}
=
res
.
data
;
if
(
errorCode
==
0
){
this
.
isShowClique
=
result
;
}
})
},
onSelectTreeChange
(
data
)
{
this
.
customerType
=
data
;
},
...
...
src/components/allCustomers/order-list/order-table.vue
View file @
e4103170
<
template
>
<div>
<div
v-loading=
"loadings"
>
<div
class=
"search-bar"
>
<el-input
v-model=
"params.orderNumber"
@
change=
"onSearch"
prefix-icon=
"el-icon-search"
clearable
placeholder=
"请输入订单/退款/退换单号"
style=
"width: 260px"
></el-input>
<el-select
v-model=
"params.orderType"
@
change=
"onSearch"
clearable
placeholder=
"全部订单类型"
style=
"margin-left: 10px;width: 160px"
>
...
...
@@ -257,6 +257,7 @@ export default {
dateRange
:
[],
total
:
0
}
,
loadings
:
false
,
tableData
:
[
//
{
// orderNumber: '单号(订单/退款单)',
...
...
@@ -375,6 +376,7 @@ export default {
return result;
}
,
getTableData() {
this.loadings = true;
const { memberId, pageSize, currentPage, orderType, channelType, dateRange, orderNumber
}
= this.params;
const params = { memberId, pageSize, currentPage, orderType, channelType, orderNumber
}
;
if (Array.isArray(dateRange) && dateRange.length > 0) {
...
...
@@ -391,6 +393,7 @@ export default {
return el;
}
);
this.params.total = page.totalCount;
this.loadings = false;
}
);
}
,
onSearch() {
...
...
src/components/axios/url.js
View file @
e4103170
...
...
@@ -124,7 +124,8 @@ const urlConfig = {
batchUpdateFrozen
:
"/api-member/members-batch-update-frozen"
,
getExceptionList
:
'/api-member/list-exception-member'
,
getErpIntegral
:
'/api-member/member-erp-integral'
getErpIntegral
:
'/api-member/member-erp-integral'
,
cliqueMemberRelation
:
'/api-member/clique-member-relation'
,
//判断是否有展示会员导入的权限 1不可,2,null可
}
const
defaultUrl
=
Object
.
assign
({},
urlConfig
);
...
...
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