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
bddc52e6
Commit
bddc52e6
authored
Sep 17, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改分配
parent
d62eff55
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
customer-assign.vue
src/components/app/my-customer/customer-assign.vue
+2
-2
org-tree.vue
src/components/app/my-customer/org-tree.vue
+2
-1
customer-assign.vue
src/views/apps/customer-app/customer-assign.vue
+2
-2
No files found.
src/components/app/my-customer/customer-assign.vue
View file @
bddc52e6
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-09-
09 15:01:23
* @LastEditTime: 2020-09-
17 09:22:30
-->
-->
<!--
<!--
<customer-assign v-if="assignShow" :brand-id="brandId" :customer-assign-total="customerAssignTotal" :clerk-id="clerkId" :search-params="searchInput" :choose-all="selectRadio" :depart-obj="departObj" :multiple-data="multipleSelection" @closeText="closeText" @submitText="submitText"></customer-assign>
<customer-assign v-if="assignShow" :brand-id="brandId" :customer-assign-total="customerAssignTotal" :clerk-id="clerkId" :search-params="searchInput" :choose-all="selectRadio" :depart-obj="departObj" :multiple-data="multipleSelection" @closeText="closeText" @submitText="submitText"></customer-assign>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<el-checkbox-group
v-model=
"checkedClerks"
@
change=
"handleCheckedChange"
>
<el-checkbox-group
v-model=
"checkedClerks"
@
change=
"handleCheckedChange"
>
<template
v-for=
"(item, index) in clerkOptions"
>
<template
v-for=
"(item, index) in clerkOptions"
>
<li
class=
"clerk-cell font-14 color-606266"
:key=
"index + 'clerk'"
>
<li
class=
"clerk-cell font-14 color-606266"
:key=
"index + 'clerk'"
>
<el-checkbox
:disabled=
"item.disabled"
:label=
"item.clerkId"
@
change=
"changeCell($event, item)"
>
{{
item
.
clerkName
}}
</el-checkbox><span
v-if=
"!item.
bindFlag
"
class=
"font-14 color-f56c6c p-l-20"
>
未关联企微用户
</span>
<el-checkbox
:disabled=
"item.disabled"
:label=
"item.clerkId"
@
change=
"changeCell($event, item)"
>
{{
item
.
clerkName
}}
</el-checkbox><span
v-if=
"!item.
status
"
class=
"font-14 color-f56c6c p-l-20"
>
未关联企微用户
</span>
<span
v-if=
"!checked && checkedClerks.includes(item.clerkId)"
class=
"p-l-20"
>
<span
v-if=
"!checked && checkedClerks.includes(item.clerkId)"
class=
"p-l-20"
>
分配会员
<span
class=
"color-303133"
>
{{
item
.
memberCount
}}
</span>
人
</span>
分配会员
<span
class=
"color-303133"
>
{{
item
.
memberCount
}}
</span>
人
</span>
<span
v-if=
"checked && checkedClerks.includes(item.clerkId)"
class=
"p-l-20 p-r-10"
>
分配会员
</span><el-input-number
v-if=
"checked && checkedClerks.includes(item.clerkId)"
class=
"w-100"
v-model=
"item.memberCount"
controls-position=
"right"
@
blur=
"blurNum($event, item)"
@
change=
"handleChange"
:step=
"1"
step-strictly
:min=
"1"
:max=
"999999999"
></el-input-number><span
v-if=
"checked && checkedClerks.includes(item.clerkId)"
class=
"p-l-10"
>
人
</span>
<span
v-if=
"checked && checkedClerks.includes(item.clerkId)"
class=
"p-l-20 p-r-10"
>
分配会员
</span><el-input-number
v-if=
"checked && checkedClerks.includes(item.clerkId)"
class=
"w-100"
v-model=
"item.memberCount"
controls-position=
"right"
@
blur=
"blurNum($event, item)"
@
change=
"handleChange"
:step=
"1"
step-strictly
:min=
"1"
:max=
"999999999"
></el-input-number><span
v-if=
"checked && checkedClerks.includes(item.clerkId)"
class=
"p-l-10"
>
人
</span>
...
...
src/components/app/my-customer/org-tree.vue
View file @
bddc52e6
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2020-08-14 16:51:07
* @Date: 2020-08-14 16:51:07
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-09-1
6 17:56:44
* @LastEditTime: 2020-09-1
7 09:18:05
-->
-->
<!--
<!--
<org-tree v-if="item.children.length" :item-data="item.children" @getSelectData="getSelectData"></org-tree>
<org-tree v-if="item.children.length" :item-data="item.children" @getSelectData="getSelectData"></org-tree>
...
@@ -126,6 +126,7 @@ export default {
...
@@ -126,6 +126,7 @@ export default {
}
}
&
.li-cell-active
{
&
.li-cell-active
{
background
:
rgba
(
47
,
84
,
235
,
0.05
);
background
:
rgba
(
47
,
84
,
235
,
0.05
);
color
:
#2f54eb
;
span
{
span
{
color
:
#2f54eb
;
color
:
#2f54eb
;
}
}
...
...
src/views/apps/customer-app/customer-assign.vue
View file @
bddc52e6
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2020-08-20 14:36:37
* @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-09-1
6 18:02:0
1
* @LastEditTime: 2020-09-1
7 09:18:4
1
-->
-->
<
template
>
<
template
>
<div
class=
"customer-assign-wrap"
>
<div
class=
"customer-assign-wrap"
>
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</div>
</div>
<div
class=
"table-top flex flex-space-between"
>
<div
class=
"table-top flex flex-space-between"
>
<div>
<div>
<el-input
placeholder=
"请输入姓名/昵称/会员卡号"
maxlength=
"50"
prefix-icon=
"el-icon-search"
v-model=
"searchInput"
class=
"w-264"
style=
"width: 26
4px;"
clearable
@
clear=
"clearSearch"
@
keyup
.
native=
"value => toInput(value, searchInput)"
>
</el-input><el-select
class=
"w-168 m-l-10"
v-model=
"clerkId"
placeholder=
""
@
change=
"changeCondition"
>
<el-input
placeholder=
"请输入姓名/昵称/会员卡号"
maxlength=
"50"
prefix-icon=
"el-icon-search"
v-model=
"searchInput"
style=
"width: 27
4px;"
clearable
@
clear=
"clearSearch"
@
keyup
.
native=
"value => toInput(value, searchInput)"
>
</el-input><el-select
class=
"w-168 m-l-10"
v-model=
"clerkId"
placeholder=
""
@
change=
"changeCondition"
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"全部"
value=
""
></el-option>
<!--
<el-option
label=
"无归属"
value=
"-1"
></el-option>
-->
<!--
<el-option
label=
"无归属"
value=
"-1"
></el-option>
-->
<el-option
v-for=
"item in clerkOptions"
:key=
"item.clerkId"
:label=
"item.clerkName"
:value=
"item.clerkId"
>
</el-option>
<el-option
v-for=
"item in clerkOptions"
:key=
"item.clerkId"
:label=
"item.clerkName"
:value=
"item.clerkId"
>
</el-option>
...
...
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