Commit eda17e82 authored by zhengke's avatar zhengke

修改

parent 44facacf
......@@ -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)=>{
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment