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
92d0fc06
Commit
92d0fc06
authored
Sep 17, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改分配
parent
7f960797
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
my-customer-app.js
src/api/my-customer-app.js
+1
-2
customer-assign.vue
src/components/app/my-customer/customer-assign.vue
+4
-4
app-list.vue
src/views/app-controls/app-list.vue
+10
-1
No files found.
src/api/my-customer-app.js
View file @
92d0fc06
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 09:29:13
* @LastEditors: 无尘
* @LastEditTime: 2020-09-1
6 15:29:1
0
* @LastEditTime: 2020-09-1
7 09:49:0
0
*/
import
getFetch
from
'./get-fetch.js'
;
...
...
@@ -53,7 +53,6 @@ let api = {
// 设置顾客资料数据
url
:
'/member/switch-setting'
,
method
:
'post'
,
useFormData
:
true
,
useIntercept
:
false
},
// 人群场景
...
...
src/components/app/my-customer/customer-assign.vue
View file @
92d0fc06
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-09-17 09:
22:30
* @LastEditTime: 2020-09-17 09:
31:41
-->
<!--
<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>
...
...
@@ -167,7 +167,7 @@ export default {
}
}
else
{
that
.
clerkOptions
.
forEach
((
ele
,
index
)
=>
{
ele
.
disabled
=
!
ele
.
bindFlag
?
true
:
false
;
ele
.
disabled
=
!
ele
.
status
?
true
:
false
;
});
}
});
...
...
@@ -293,8 +293,8 @@ export default {
if
(
res
.
code
==
'0000'
)
{
res
.
result
.
forEach
(
ele
=>
{
ele
.
memberCount
=
1
;
ele
.
disabled
=
ele
.
bindFlag
?
false
:
true
;
// 未绑定的禁止选择
if
(
!
ele
.
bindFlag
)
{
ele
.
disabled
=
ele
.
status
?
false
:
true
;
// 未绑定的禁止选择
if
(
!
ele
.
status
)
{
that
.
unbindFlag
=
true
;
// 存在未绑定禁止全选
}
});
...
...
src/views/app-controls/app-list.vue
View file @
92d0fc06
...
...
@@ -6,6 +6,7 @@
<el-dropdown
class=
"app-item-menu"
>
<i
class=
"iconfont icongengduo1 menu-icon"
></i>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
@
click
.
native=
"toAppBack(el)"
>
进入
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"toAppDetail(el)"
>
应用详情
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
...
...
@@ -45,6 +46,14 @@ export default {
this
.
appList
=
res
.
result
||
[];
});
},
/**
* @description: 进入后台
* @param {Object} appData
* @author: 无尘
*/
toAppBack
(
appData
)
{
this
.
$router
.
push
(
`
${
appData
.
menuUrl
}
`
);
},
toAppDetail
(
appData
)
{
const
{
applicationId
}
=
appData
||
{};
this
.
$router
.
push
(
`/app-detail?appId=
${
applicationId
}
`
);
...
...
@@ -80,7 +89,7 @@ export default {
margin-right
:
20px
;
margin-bottom
:
20px
;
padding
:
10px
;
width
:
1
72
px
;
width
:
1
85
px
;
height
:
67px
;
background
:
#FFFFFF
;
border-radius
:
4px
;
...
...
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