Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
horse
Project
Project
Details
Activity
Releases
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
向伟
horse
Commits
eda17e82
Commit
eda17e82
authored
Nov 16, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
44facacf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
customerModule.ts
src/module/customer/customerModule.ts
+17
-1
customer.vue
src/pages/customerManage/customer.vue
+5
-0
No files found.
src/module/customer/customerModule.ts
View file @
eda17e82
...
...
@@ -127,6 +127,7 @@ const CustomerModule = () => {
Q_Friends
:
''
,
//好友关系 多选逗号分隔、
Q_AddWay
:
''
,
//获取来源 多选英文逗号分隔
EmpId
:
0
,
//员工id
DeptId
:
0
,
//部门id
CustomerType
:
0
,
//类型1微信用户 2企业微信用户
SelectList
:
[],
//自定义查询
OrderBy
:
1
,
//排序
...
...
@@ -228,8 +229,23 @@ const CustomerModule = () => {
getCustomerList
(
msg
)
}
const
getChild
=
(
deptArray
:
any
)
=>
{
console
.
log
(
'getChild'
,
deptArray
)
//数据处理 获取夏利是 1-2 前面代表部门还是人员 后面是原生ID
if
(
deptArray
.
_value
){
const
Type
=
deptArray
.
_value
.
split
(
'-'
)[
0
];
const
MyId
=
deptArray
.
_value
.
split
(
'-'
)[
1
]
//1部门
if
(
Type
==
1
){
msg
.
DeptId
=
MyId
}
//2人员
if
(
Type
==
2
){
msg
.
EmpId
=
MyId
}
}
else
{
msg
.
DeptId
=
0
;
msg
.
EmpId
=
0
;
}
getCustomerList
(
msg
)
}
const
getCkedFriend
=
(
e
:
any
)
=>
{
const
Ids
=
e
.
map
((
x
:
any
)
=>
{
...
...
src/pages/customerManage/customer.vue
View file @
eda17e82
...
...
@@ -195,6 +195,11 @@
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-LableList=
"props"
>
<q-td
auto-width
:props=
"props"
>
<q-chip
v-for=
"(item,index) in props.row.LableList"
>
{{
item
}}
</q-chip>
</q-td>
</
template
>
<
template
v-slot:bottom
>
<q-pagination
class=
"full-width justify-end"
...
...
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