@@ -209,11 +209,17 @@
xl: 5,
xxl: 5,
},
+ componentProps: {
+ maxLength: 100,
+ },
{
field: 'userName',
label: t('routes.corporation.enterpriseId'),
component: 'Input',
colProps: {
xl: 12,
xxl: 8,
@@ -108,6 +108,9 @@
label: t('routes.corporation.phone'),
span: 6,
@@ -163,6 +163,9 @@
label: '手机号(用户名)',
labelWidth: 160,
span: 12,
@@ -113,6 +113,9 @@
],
};
@@ -142,6 +142,9 @@ weixinOpenid: "oeADe5U9uLeMYsNigq98zdu8J96A"
field: 'username',
label: '会员名称',
@@ -198,6 +198,9 @@
field: 'orderSn',
label: '订单号',
@@ -15,6 +15,7 @@ export const searchForm: Partial<FormProps> = {
componentProps: {
placeholder: '请输入商品名称',
xl: 6,
@@ -27,6 +28,7 @@ export const searchForm: Partial<FormProps> = {
placeholder: '请输入直播间名称',
@@ -59,6 +59,9 @@
label: '直播间图片',
component: 'Upload',
required: true,
+ itemProps: {
+ validateTrigger: 'blur',
api: uploadLiveApi,
maxSize: 5,
@@ -78,7 +81,7 @@
field: 'isShow',
component: 'RadioGroup',
- label: t('routes.scenes.livestream'),
+ label: '是否显示在小程序',
defaultValue: 0,
@@ -98,11 +101,11 @@
];
const [registerForm, { validate, resetFields, setFieldsValue }] = useForm({
- labelWidth: 120,
+ labelWidth: 150,
schemas,
showActionButtonGroup: false,
actionColOptions: {
- span: 24,
+ span: 20,
});
@@ -176,11 +176,17 @@
sm: 12,
xs: 24,
field: 'sceneName',
label: t('routes.scenes.sceneName'),
lg: 6,
@@ -193,6 +199,9 @@
field: 'childName',
label: t('routes.scenes.childName'),
@@ -160,7 +160,9 @@
label: t('routes.scenes.anchorRoom'),
-
@@ -133,6 +133,9 @@
field: 'staffName',
+ maxLength: 15,
@@ -50,12 +50,18 @@ export const searchFormSchema: FormSchema[] = [
label: '用户名',
colProps: { span: 8 },
field: 'nickName',
label: '昵称',
@@ -44,12 +44,16 @@ export const searchFormSchema: FormSchema[] = [
label: '部门名称',
field: 'status',
label: '状态',
component: 'Select',
options: [
{ label: '启用', value: '0' },
{ label: '停用', value: '1' },
@@ -113,6 +113,9 @@ export const searchFormSchema: FormSchema[] = [
field: 'name',
label: '菜单名称',
@@ -53,13 +53,13 @@
showTableSetting: true,
bordered: true,
showIndexColumn: false,
- actionColumn: {
- width: 80,
- title: '操作',
- dataIndex: 'action',
- slots: { customRender: 'action' },
- fixed: undefined,
- },
+ // actionColumn: {
+ // width: 80,
+ // title: '操作',
+ // dataIndex: 'action',
+ // slots: { customRender: 'action' },
+ // fixed: undefined,
+ // },
function handleCreate() {
@@ -80,6 +80,9 @@ export const searchFormSchema: FormSchema[] = [
field: 'roleName',
label: '角色名称',
// {