This commit is contained in:
heqinghang
2022-03-22 17:50:56 +08:00
parent 1589bb4c82
commit 95dc8075eb
5 changed files with 40 additions and 30 deletions

View File

@ -60,7 +60,7 @@ export class ParterChannelSalesEditComponent implements OnInit {
ui: {
widget: 'autocomplete',
placeholder:'请选择',
asyncData: () => this.service.request(this.service.$api_fuzzyQuery).pipe(
asyncData: (input:string) => this.service.request(this.service.$api_fuzzyQuery,{name:input}).pipe(
map((res: any) => {
console.log('111',res)
return [];
@ -81,7 +81,7 @@ export class ParterChannelSalesEditComponent implements OnInit {
default: '0',
},
roleIds: {
title: '角色',
title: '',
type: 'string',
ui: {
widget: 'select',
@ -89,6 +89,7 @@ export class ParterChannelSalesEditComponent implements OnInit {
mode: 'multiple',
maxMultipleCount: 5,
asyncData: () => {
return this.service.request(this.service.$api_getAppRoleList).pipe(
map((res: any) => {
return res

View File

@ -64,27 +64,27 @@ export class ParterChannelSalesListComponent implements OnInit {
this.columns = [
{
title: '销售渠道姓名',
index: 'name1'
index: 'name'
},
{
title: '手机号',
index: 'name1'
index: 'telephone'
},
{
title: '所属组织',
index: 'name1'
index: 'organLable'
},
{
title: '职级',
index: 'name1'
index: 'station'
},
{
title: '等级',
index: 'name1'
index: 'postLevel'
},
{
title: '省市',
index: 'name1'
index: 'residencePlace'
},
{
title: '邀请码',