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
36e29fc8
Commit
36e29fc8
authored
Nov 12, 2021
by
chenyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: update
parent
ee461ea5
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
103 additions
and
82 deletions
+103
-82
allCustomersList.vue
src/components/allCustomers/allCustomersList.vue
+1
-0
gradeDialog.vue
src/components/allCustomers/components/gradeDialog.vue
+4
-3
integralDialog.vue
src/components/allCustomers/components/integralDialog.vue
+1
-0
mainstoreDialog.vue
src/components/allCustomers/components/mainstoreDialog.vue
+3
-2
substoreDialog.vue
src/components/allCustomers/components/substoreDialog.vue
+40
-61
customerDetail.vue
src/components/allCustomers/customerDetail.vue
+10
-0
index.js
src/components/allCustomers/index.js
+1
-1
info.js
src/components/allCustomers/info.js
+20
-0
index.js
src/router/index.js
+23
-15
No files found.
src/components/allCustomers/allCustomersList.vue
View file @
36e29fc8
...
...
@@ -415,6 +415,7 @@ export default { ...action };
// 去除dailog-footer上边框
.
customer
-
dailog
.
el
-
dialog__footer
{
padding
-
top
:
0
;
padding
-
bottom
:
20
px
;
border
-
top
:
none
!
important
;
}
.
customer
-
dailog
.
el
-
dialog__body
{
...
...
src/components/allCustomers/components/gradeDialog.vue
View file @
36e29fc8
...
...
@@ -3,6 +3,7 @@
<el-dialog
title=
"批量修改等级"
custom-class=
"customer-dailog"
:visible
.
sync=
"dialogVisible"
:close-on-click-modal=
"false"
@
close=
"cancel"
width=
"600px"
>
<div
class=
"checkedCustomers"
>
当前选中
<span
class=
"num"
>
{{
multipleList
.
length
}}
</span>
位客户
</div>
...
...
@@ -11,7 +12,7 @@
:rules=
"rules"
label-width=
"133px"
>
<el-form-item
v-if=
"showEditClique"
label=
"等级类型"
label=
"等级类型
:
"
prop=
"gradeType"
>
<el-radio
v-model=
"form.isClique"
:label=
"1"
...
...
@@ -20,7 +21,7 @@
:label=
"0"
@
change=
"form.gradeId = ''"
>
商户等级
</el-radio>
</el-form-item>
<el-form-item
label=
"调整后等级"
<el-form-item
label=
"调整后等级
:
"
prop=
"gradeId"
>
<el-select
v-model=
"form.gradeId"
placeholder=
"请选择"
...
...
@@ -31,7 +32,7 @@
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"原因备注"
<el-form-item
label=
"原因备注
:
"
prop=
"remark"
>
<el-input
type=
"text"
maxlength=
"20"
...
...
src/components/allCustomers/components/integralDialog.vue
View file @
36e29fc8
...
...
@@ -3,6 +3,7 @@
<el-dialog
title=
"批量调整积分"
custom-class=
"customer-dailog"
:visible
.
sync=
"dialogVisible"
:close-on-click-modal=
"false"
@
close=
"cancel"
width=
"600px"
>
<div
class=
"checkedCustomers"
>
当前选中
<span
class=
"num"
>
{{
multipleList
.
length
}}
</span>
位客户
</div>
...
...
src/components/allCustomers/components/mainstoreDialog.vue
View file @
36e29fc8
...
...
@@ -3,6 +3,7 @@
<el-dialog
title=
"批量修改服务门店"
custom-class=
"customer-dailog"
:visible
.
sync=
"dialogVisible"
:close-on-click-modal=
"false"
@
close=
"cancel"
width=
"600px"
>
<div
class=
"checkedCustomers"
>
当前选中
<span
class=
"num"
>
{{
multipleList
.
length
}}
</span>
位客户
</div>
...
...
@@ -10,7 +11,7 @@
:model=
"form"
:rules=
"rules"
label-width=
"133px"
>
<el-form-item
label=
"服务门店"
<el-form-item
label=
"服务门店
:
"
prop=
"mainStoreId"
>
<el-select
style=
"width: 382px"
v-model=
"form.mainStoreId"
...
...
@@ -26,7 +27,7 @@
:value=
"item.storeId"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"原因备注"
<el-form-item
label=
"原因备注
:
"
prop=
"remark"
>
<el-input
type=
"text"
maxlength=
"20"
...
...
src/components/allCustomers/components/substoreDialog.vue
View file @
36e29fc8
...
...
@@ -3,6 +3,7 @@
<el-dialog
title=
"批量修改协管门店"
custom-class=
"customer-dailog"
:visible
.
sync=
"dialogVisible"
:close-on-click-modal=
"false"
@
close=
"cancel"
width=
"600px"
>
<div
class=
"checkedCustomers"
>
当前选中
<span
class=
"num"
>
{{
multipleList
.
length
}}
</span>
位客户
</div>
...
...
@@ -10,42 +11,44 @@
:model=
"form"
:rules=
"rules"
label-width=
"133px"
>
<el-form-item
label=
"协管门店"
<el-form-item
label=
"协管门店
:
"
prop=
"fromSubStoreIds"
>
<el-select
v-model=
"form.subOptType"
class=
"prefix-select"
>
<el-option
label=
"增加"
:value=
"1"
></el-option>
<el-option
label=
"减少"
:value=
"2"
></el-option>
</el-select
><el-select
v-model=
"form.fromSubStoreIds"
filterable
remote
multiple
class=
"fromSubStoreIds-select"
:remote-method=
"getSubStoreList"
placeholder=
"请输入关键字搜索门店"
v-select-loadmore=
"getOnlineStore"
@
visible-change=
"(flag) => flag ? getSubStoreList() : ''"
>
<el-option
v-for=
"item in subStoreList"
:key=
"item.storeId"
:label=
"item.storeName"
:value=
"item.storeId"
></el-option>
<el-option
class=
"loadmore-loading"
v-if=
"loading"
>
<i
class=
"loading-icon"
v-loading=
"true"
></i>
加载中...
</el-option>
</el-select>
<el-form-item
prop=
"subOptType"
style=
"margin-bottom:12px;"
>
<el-radio-group
v-model=
"form.subOptType"
>
<el-radio
:label=
"1"
>
增加
</el-radio>
<el-radio
:label=
"2"
>
减少
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
prop=
"fromSubStoreIds"
>
<el-select
v-model=
"form.fromSubStoreIds"
filterable
remote
multiple
class=
"fromSubStoreIds-select"
style=
"width:384px;"
:remote-method=
"getSubStoreList"
placeholder=
"请输入请输入门店名称/门店code"
v-select-loadmore=
"getOnlineStore"
@
visible-change=
"(flag) => flag ? getSubStoreList() : ''"
>
<el-option
v-for=
"item in subStoreList"
:key=
"item.storeId"
:label=
"item.storeName"
:value=
"item.storeId"
></el-option>
<el-option
class=
"loadmore-loading"
v-if=
"loading"
>
<i
class=
"loading-icon"
v-loading=
"true"
></i>
加载中...
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"原因备注"
<el-form-item
label=
"原因备注
:
"
prop=
"remark"
>
<el-input
type=
"text"
maxlength=
"20"
show-word-limit
v-model=
"form.remark"
style=
"width:
400
px;"
></el-input>
style=
"width:
386
px;"
></el-input>
</el-form-item>
</el-form>
<span
slot=
"footer"
...
...
@@ -115,13 +118,14 @@ export default {
{
required
:
true
,
message
:
"请输入原因备注"
,
trigger
:
"change"
}
]
},
pageParam
:{
pageParam
:
{
loading
:
false
,
searchName
:
''
,
currentPage
:
1
,
pageSize
:
20
,
totalPage
:
0
searchName
:
''
,
currentPage
:
1
,
pageSize
:
20
,
totalPage
:
1
},
subStoreList
:
[],
btnLoading
:
false
,
};
},
...
...
@@ -167,8 +171,8 @@ export default {
memberIdsArr
.
push
(
item
.
memberId
);
});
// 批量修改积分
doFetch
(
url
.
update
Grad
e
,
Object
.
assign
({},
this
.
form
,
{
fromSubStoreIds
:
this
.
form
.
fromSubStoreIds
.
join
(
","
),
doFetch
(
url
.
update
Stor
e
,
Object
.
assign
({},
this
.
form
,
{
fromSubStoreIds
:
this
.
form
.
fromSubStoreIds
.
join
(
","
),
memberIds
:
this
.
selectAll
==
true
?
"-1"
:
memberIdsArr
.
join
(
","
),
isCurrent
:
this
.
selectAll
==
true
?
2
:
this
.
multipleList
.
length
==
this
.
pageSize
?
1
:
0
,
memberSearchParamStr
:
this
.
selectAll
==
true
?
(
this
.
memberSearchStr
?
this
.
memberSearchStr
:
"-1"
)
:
""
,
...
...
@@ -222,31 +226,6 @@ export default {
color
:
#909399
;
line-height
:
17px
;
}
.prefix-select.el-select
{
display
:
inline-block
;
width
:
98px
;
/deep/.el-input__inner
{
border-right
:
none
;
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
&:hover{
border-color
:
#dcdfe6
;
}
}
/
deep
/
.el-input.el-input--suffix.is-focus
{
.el-input__inner
{
border-color
:
#dcdfe6
;
}
}
}
.fromSubStoreIds-select.el-select
{
display
:
inline-block
;
width
:
286px
;
/deep/.el-input__inner
{
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
}
}
}
</
style
>
<
style
lang=
"less"
>
...
...
src/components/allCustomers/customerDetail.vue
0 → 100644
View file @
36e29fc8
<
template
>
<div
class=
"wechat-details"
>
<v-nav
:navpath=
"navpath"
></v-nav>
</div>
</
template
>
<
script
>
import
action
from
'./info.js'
;
export
default
{
...
action
};
</
script
>
\ No newline at end of file
src/components/allCustomers/index.js
View file @
36e29fc8
...
...
@@ -382,7 +382,7 @@ export default {
},
linkDetail
(
memberId
)
{
this
.
$router
.
push
({
path
:
"/
wechatTotal
Detail"
,
path
:
"/
customer
Detail"
,
query
:
{
memberId
:
memberId
}
});
},
...
...
src/components/allCustomers/info.js
0 → 100644
View file @
36e29fc8
import
nav
from
"../../common/navbar/navbar.vue"
;
export
default
{
name
:
"customersDetail"
,
data
()
{
return
{
navpath
:
[
{
name
:
"首页"
,
path
:
""
},
{
name
:
"客户列表"
,
path
:
"/allCustomers"
},
{
name
:
"客户详情"
,
path
:
""
}
]
};
},
created
()
{
this
.
$store
.
commit
(
"mutations-slide"
,
false
);
},
components
:
{
"v-nav"
:
nav
}
};
src/router/index.js
View file @
36e29fc8
...
...
@@ -49,14 +49,22 @@ export const constantRouterMap = [
keepAlive
:
true
}
},
// {
// path: "/wechattotal",
// component: _import("wechatmembers", "wechat-total"),
// meta: {
// title: "微信总量",
// keepAlive: true
// }
// },
{
path
:
"/customerDetail"
,
component
:
_import
(
"allCustomers"
,
"customerDetail"
),
meta
:
{
title
:
"客户详情"
,
keepAlive
:
true
}
},
{
path
:
"/wechattotal"
,
component
:
_import
(
"wechatmembers"
,
"wechat-total"
),
meta
:
{
title
:
"微信总量"
,
keepAlive
:
true
}
},
// {
// path: "/wechatmembers",
// component: _import("wechatmembers", "wechatmembers"),
...
...
@@ -210,13 +218,13 @@ export const constantRouterMap = [
// channel:'wxMember'
// }
// },
//
{
//
path: "/wechatTotalDetail",
//
component: _import("wechatmembers", "wechatTotalDetail"),
//
meta: {
//
title: "微信总量-详情"
//
}
//
},
{
path
:
"/wechatTotalDetail"
,
component
:
_import
(
"wechatmembers"
,
"wechatTotalDetail"
),
meta
:
{
title
:
"微信总量-详情"
}
},
{
path
:
"/integralDataPage"
,
component
:
_import
(
"wechatmembers"
,
"integralDataPage"
),
...
...
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