|
@@ -118,10 +118,13 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
|
|
|
},
|
|
|
form: {
|
|
|
component: { placeholder: '请填写密码' },
|
|
|
- rules: [{ required: true, message: '请填写密码' }],
|
|
|
+
|
|
|
},
|
|
|
+ addForm:{
|
|
|
+ component:{placeholder: '请填写密码'} ,
|
|
|
+ rules: [{ required: true, message: '请填写密码' }],},
|
|
|
editForm:{
|
|
|
- show:false,
|
|
|
+ show:true,
|
|
|
},
|
|
|
viewForm:{
|
|
|
show:false,
|
|
@@ -181,12 +184,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
|
|
|
user_type:{
|
|
|
title: '用户类型',
|
|
|
type: 'dict-select',
|
|
|
+ search: {
|
|
|
+ show: true,
|
|
|
+ },
|
|
|
column: {
|
|
|
minWidth: 120,
|
|
|
},
|
|
|
dict: dict({
|
|
|
data: [
|
|
|
- { label: '学生', value: 0 },
|
|
|
+ /* { label: '学生', value: 0 }, */
|
|
|
{ label: '教师', value: 1 },
|
|
|
{ label: '校外团体', value: 2 },
|
|
|
{ label: '学院领导', value: 3 },
|
|
@@ -194,8 +200,8 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
|
|
|
}),
|
|
|
form: {
|
|
|
value:1,
|
|
|
- component: { placeholder: '请填写租户' },
|
|
|
- rules: [{ required: false, message: '请填写租户' }],
|
|
|
+ component: { placeholder: '请选择用户类型' },
|
|
|
+ rules: [{ required: false, message: '请选择用户类型' }],
|
|
|
},
|
|
|
},
|
|
|
organization:{
|
|
@@ -236,6 +242,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
|
|
|
minWidth: 120,
|
|
|
},
|
|
|
form: {
|
|
|
+ show:false,
|
|
|
component: { placeholder: '请填写年级' },
|
|
|
rules: [{ required: false, message: '请填写年级' }],
|
|
|
},
|
|
@@ -251,6 +258,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
|
|
|
minWidth: 120,
|
|
|
},
|
|
|
form: {
|
|
|
+ show: false,
|
|
|
component: { placeholder: '请填写班级' },
|
|
|
rules: [{ required: false, message: '请填写班级' }],
|
|
|
},
|