Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
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
office
haoban-4
Commits
ac62b13c
Commit
ac62b13c
authored
Dec 22, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 更新loading
parent
e6d23581
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
customer-assign.vue
src/views/apps/customer-app/customer-assign.vue
+6
-4
No files found.
src/views/apps/customer-app/customer-assign.vue
View file @
ac62b13c
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-12-2
1 10:17:1
3
* @LastEditTime: 2020-12-2
2 15:52:5
3
-->
<
template
>
<div
class=
"customer-assign-wrap"
>
...
...
@@ -13,13 +13,13 @@
<el-tab-pane
label=
"分配策略"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"顾客列表"
name=
"second"
></el-tab-pane>
</el-tabs>
<div
v-if=
"activeName == 'first'"
class=
"customer-assign-set"
>
<div
v-if=
"activeName == 'first'"
class=
"customer-assign-set"
v-loading=
"loadingSet"
>
<div
class=
"m-b-10"
>
<el-checkbox
v-model=
"customerSetData.unbindClerkDisMemberFlag"
>
解绑导购code,顾客自动分配给店长
</el-checkbox>
<div
class=
"font-12 color-909399 set-tip-item"
>
注:保存勾选项后,解绑当前导购code,该导购cede名下的顾客会分配到店长,在移动端可重新分配顾客
</div>
</div>
<div
class=
"m-t-46 p-l-20"
>
<el-button
type=
"primary"
:loading=
"loadingSet"
@
click=
"submitSet"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"submitSet"
>
保存
</el-button>
</div>
</div>
<div
v-if=
"activeName == 'second'"
class=
"list-body flex"
>
...
...
@@ -267,6 +267,7 @@ export default {
*/
getSetData
()
{
const
that
=
this
;
that
.
loadingSet
=
true
;
const
para
=
{
wxEnterpriseId
:
that
.
wxEnterpriseId
,
enterpriseId
:
that
.
brandId
,
...
...
@@ -274,6 +275,7 @@ export default {
};
getCustomerSet
(
para
,
{
headers
:
{
sign
:
that
.
brandId
}
})
.
then
(
res
=>
{
that
.
loadingSet
=
false
;
if
(
res
.
result
&&
!!
res
.
result
.
length
)
{
res
.
result
.
forEach
(
ele
=>
{
that
.
customerSetData
[
ele
.
switchCode
]
=
ele
.
switchFlag
==
1
?
true
:
false
;
...
...
@@ -285,7 +287,7 @@ export default {
}
})
.
catch
(
function
(
error
)
{
that
.
loadingSet
=
false
;
});
},
/**
...
...
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