|
@ -15,7 +15,7 @@ export const User = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '用户名称', |
|
|
label: '用户名称', |
|
|
field: 'username', |
|
|
field: 'userName', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -58,7 +58,8 @@ export const User = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
|
|
|
// 表单校验
|
|
|
// 表单校验
|
|
|
export const SupplierUserRules = reactive({ |
|
|
export const SupplierUserRules = reactive({ |
|
|
userId: [required], |
|
|
// userId: [required],
|
|
|
|
|
|
userName: [required], |
|
|
supplierCode: [required], |
|
|
supplierCode: [required], |
|
|
status: [required], |
|
|
status: [required], |
|
|
concurrencyStamp: [required], |
|
|
concurrencyStamp: [required], |
|
@ -75,11 +76,37 @@ export const SupplierUser = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '用户ID', |
|
|
label: '用户ID', |
|
|
field: 'userId', |
|
|
field: 'userId', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
isForm: false, |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
// tableForm:{
|
|
|
|
|
|
// isInpuFocusShow: true,
|
|
|
|
|
|
// searchListPlaceholder: '请选用户信息',
|
|
|
|
|
|
// searchField: 'username',
|
|
|
|
|
|
// searchTitle: '用户信息',
|
|
|
|
|
|
// searchAllSchemas: User.allSchemas,
|
|
|
|
|
|
// searchPage: UserApi.getUserPage
|
|
|
|
|
|
// },
|
|
|
|
|
|
// form: {
|
|
|
|
|
|
// // labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
// componentProps: {
|
|
|
|
|
|
// dialogWidth:'1025px',//搜索出来弹窗的宽度
|
|
|
|
|
|
// isSearchList: true,
|
|
|
|
|
|
// searchListPlaceholder: '请选用户信息',
|
|
|
|
|
|
// searchField: 'username',
|
|
|
|
|
|
// searchTitle: '用户信息',
|
|
|
|
|
|
// searchAllSchemas: User.allSchemas,
|
|
|
|
|
|
// searchPage: UserApi.getUserPage
|
|
|
|
|
|
// }
|
|
|
|
|
|
// }
|
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '用户账号', |
|
|
|
|
|
field: 'userName', |
|
|
|
|
|
sort: 'custom', |
|
|
tableForm:{ |
|
|
tableForm:{ |
|
|
isInpuFocusShow: true, |
|
|
isInpuFocusShow: true, |
|
|
searchListPlaceholder: '请选用户信息', |
|
|
searchListPlaceholder: '请选用户信息', |
|
|
searchField: 'id', |
|
|
searchField: 'username', |
|
|
searchTitle: '用户信息', |
|
|
searchTitle: '用户信息', |
|
|
searchAllSchemas: User.allSchemas, |
|
|
searchAllSchemas: User.allSchemas, |
|
|
searchPage: UserApi.getUserPage |
|
|
searchPage: UserApi.getUserPage |
|
@ -90,18 +117,13 @@ export const SupplierUser = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
dialogWidth:'1025px',//搜索出来弹窗的宽度
|
|
|
dialogWidth:'1025px',//搜索出来弹窗的宽度
|
|
|
isSearchList: true, |
|
|
isSearchList: true, |
|
|
searchListPlaceholder: '请选用户信息', |
|
|
searchListPlaceholder: '请选用户信息', |
|
|
searchField: 'id', |
|
|
searchField: 'username', |
|
|
searchTitle: '用户信息', |
|
|
searchTitle: '用户信息', |
|
|
searchAllSchemas: User.allSchemas, |
|
|
searchAllSchemas: User.allSchemas, |
|
|
searchPage: UserApi.getUserPage |
|
|
searchPage: UserApi.getUserPage |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
isSearch: true, |
|
|
label: '用户账号', |
|
|
|
|
|
field: 'userName', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '用户昵称', |
|
|
label: '用户昵称', |
|
|