Bläddra i källkod

添加关键字搜索

yangg 1 dag sedan
förälder
incheckning
71541cc968

+ 34 - 10
src/views/system/borrow/crud.tsx

@@ -136,23 +136,34 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						},
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				application_no: { 
 					search: { show: true },
 					title: '借用单编号',
 					column: { minWidth: 140 } ,
 					form:{
-					component: { placeholder: '' },
+					component: { placeholder: '请输入借用单编号' },
 					search:{
-						component: { placeholder: '' },
+						component: { placeholder: '请输入借用单编号' },
 						rules: [{ required: true, message: '' }],
 					}
 				}},
 				borrower_type_label: { title: '借用人角色', column: { minWidth: 120,sortable: true } },
 				borrow_type_label: { search: { show: false },title: '借用性质', column: { minWidth: 100 } },
-				"borrower_info.user_code":{title:"学号/工号",search:{
+				"borrower_info.user_code":{
+					title:"学号/工号",
+					search:{
 					show:true,		
 				},column: { minWidth: 100 },form:{
-					component: { placeholder: '' },
+					component: { placeholder: '请输入学号/工号' },
 				}},
 				"borrower_info.name": {
 					title: '借用人',
@@ -163,14 +174,27 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						show:true,
 						minWidth: 100,
 					},  form:{
-						component: { placeholder: '' },
+						component: { placeholder: '请输入借用人' },
 					}
 				},
-				external_borrower_name: { title: '借用人', column: { show:false, minWidth: 100 } },
+				external_borrower_name: { 
+					title: '借用人', 
+					
+					column: { show:false, minWidth: 100 }, 
+					form:{
+					component: { 
+						placeholder: '请输入借用人',
+						search:{
+						component: { placeholder: '请输入借用人' },
+						
+					}
+					 },
+				}
+			},
 				emergency_phone: { 
 					title: '联系方式',	
 					search:{show:true}, column: { minWidth: 120 },  form:{
-					component: { placeholder: '' },
+					component: { placeholder: '请输入联系方式' },
 				}
 			    },
 				team_type_label: { title: '个人/团队', column: { minWidth: 80 } },
@@ -282,7 +306,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						minWidth: 100,
 					},  form:{
 						show:false,
-						component: { placeholder: '' },
+						component: { placeholder: '请输入设备编号' },
 					}
 				},
 				abnormal_status: {
@@ -304,7 +328,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						minWidth: 100,
 					},  form:{
 						show:false,
-						component: { placeholder: '' },
+						component: { placeholder: '请选择设备编号' },
 					}
 				},
 				status: {
@@ -331,7 +355,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						minWidth: 100,
 					},  form:{
 						show:false,
-						component: { placeholder: '' },
+						component: { placeholder: '请选择当前状态' },
 					}
 				},
 

+ 9 - 0
src/views/system/borrowingnotice/crud.tsx

@@ -76,6 +76,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				title: {
 					title: '标题',
 					search: {

+ 9 - 0
src/views/system/company/crud.tsx

@@ -169,6 +169,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				schema_name: {
 					title: '商户标识',
 					type: 'input',

+ 9 - 0
src/views/system/contract/crud.tsx

@@ -105,6 +105,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 					form: { show: false },
 					column: { type: 'index', align: 'center', width: '70px', columnSetDisabled: true },
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				contract_no: {
 					title: '合约编号',
 					search: { show: true },

+ 9 - 0
src/views/system/deviceclass/crud.tsx

@@ -80,6 +80,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				code:{
 					title:'分类编码',
 					type:'input',

+ 9 - 0
src/views/system/devicedamage/crud.tsx

@@ -109,6 +109,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				damage_no: {
 					title: '编号',
 					search: {

+ 9 - 0
src/views/system/devicelabel/crud.tsx

@@ -74,6 +74,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						width: '70px',
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
+				},
+					search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
 				},
 				name: {
 					title: '标签名称',

+ 9 - 0
src/views/system/devicemaintenance/crud.tsx

@@ -91,6 +91,15 @@ export const createCrudOptions = function ({ crudExpose,  dialogId,
 						width: '70px',
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
+				},
+					search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
 				},
 				damage_no: {
 					title: '编号',

+ 9 - 0
src/views/system/devicemanual/crud.tsx

@@ -85,6 +85,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						width: '70px',
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
+				},
+					search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
 				},
 				device:{
 					title: '设备id',

+ 9 - 0
src/views/system/devicepreserve/crud.tsx

@@ -80,6 +80,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						width: '70px',
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
+				},
+					search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
 				},
 				record_no: {
 					title: '编码',

+ 9 - 0
src/views/system/devicepreserveplan/crud.tsx

@@ -79,6 +79,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						width: '70px',
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
+				},
+					search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
 				},
 				plan_code: {
 					title: '计划编码',

+ 9 - 0
src/views/system/downloadCenter/crud.tsx

@@ -117,6 +117,15 @@ export const createCrudOptions = function ({ crudExpose }: { crudExpose: CrudExp
                         columnSetDisabled: true, //禁止在列设置中选择
                     },
                 },
+                search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
                 task_name: {
                     title: '任务名',
                     type: 'text',

+ 9 - 0
src/views/system/messageCenter/crud.tsx

@@ -135,6 +135,15 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
 						},
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				title: {
 					title: '标题',
 					search: {

+ 9 - 0
src/views/system/noticelist/crud.tsx

@@ -75,6 +75,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				title: {
 					title: '公告标题',
 					search: {

+ 9 - 0
src/views/system/storelist/crud.tsx

@@ -58,6 +58,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				code:{
 					title: '仓库编码',
 					type: 'input',

+ 9 - 0
src/views/system/studentInfo/crud.tsx

@@ -74,6 +74,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						width: '70px',
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
+				},
+					search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
 				},
 				user_code:{
 					title:'学号',

+ 9 - 0
src/views/system/suppliermanage/crud.tsx

@@ -79,6 +79,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						},
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				code: {
 					title: '供应商编号',
 					search: { show: true },

+ 9 - 0
src/views/system/teacherInfor/crud.tsx

@@ -66,6 +66,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						columnSetDisabled: true, //禁止在列设置中选择
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				user_code:{
 					title:'工号',
 					type:'input',

+ 9 - 0
src/views/system/testings/curd.tsx

@@ -88,6 +88,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 						},
 					},
 				},
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				name: { title: '流程名称',type:'input', column: { minWidth: 140 }, search: { show: true} , form:{
 					component: { placeholder: '请输入设备编号' },
 				}},

+ 9 - 1
src/views/system/timetablemanage/crud.tsx

@@ -50,7 +50,15 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 				show: true,
 			},		
 			columns: {
-
+				search:{
+					title: '关键字搜索',
+					search: { show: true,type: 'input', },
+					type: 'input',
+					form: {
+						component: { placeholder: '请输入' },
+						show:false},
+					column: {show:false}
+				},
 				classroom:{
 					title:'教室',
 					type:'input',