var vm = null;
export const sendThis = ( _this )=> {
    vm = _this;
}
export var option = {
	height: 'auto',
	calcHeight: 32,
	selection: false,
	index: true,
	indexLabel: '序号',
	indexWidth: 60,
	menu:true,
	menuFixed: true,
	menuWidth: 300,
	border: true,
	searchMenuSpan:6,
	viewBtn: false,
	searchMenuPosition: "left",
	searchGutter:20,
	labelWidth: 98,
	dialogWidth: '700',
	gutter:10,
	column: [{
			label: '姓名',
			prop: 'name',
			minWidth: 120,
			search: true,
			searchLabelWidth: 88,
			rules: [{
				required: true,
				message: '请输入',
				trigger: 'blur',
			}],
		},
		{
			label: '手机号',
			prop: 'mobile',
			minWidth: 120,
			rules: [{
				required: true,
				message: '请输入',
				trigger: 'blur',
			}],
		},
		{
			label: '登录账号',
			prop: 'loginName',
			autocomplete:'new-password',
			rules: [{
				required: true,
				message: '请输入',
				trigger: 'blur',
			}],
		},
		{
			label: '登录密码',
			prop: 'password',
			autocomplete:'new-password',
			type:'password',
			hide:true,
			editDisplay: false,
			viewDisplay: false,
			rules: [{
				required: true,
				message: '请输入',
				trigger: 'blur',
			}],
		},
		{
			label: '登录密码',
			prop: 'password',
			type:'password',
			autocomplete:'new-password',
			hide:true,
			addDisplay: false,
			viewDisplay: false,
			rules: [{
				required: false,
				message: '请输入',
				trigger: 'blur',
			}],
		},
		{
			label: '入职时间',
			prop: 'hiredate',
			minWidth: 100,
			type: 'date',
			gridRow: true,
			format: 'YYYY-MM-DD',
			valueFormat: 'YYYY-MM-DD',
			rules: [{
				required: false,
				message: '请选择',
				trigger: 'click',
			}],
		},
		{
			label: '状态',
			prop: 'isDeleted',
			minWidth: 90,
			search: true,
			type: 'radio',
			span: 24,
			value:0,
			dicData: [{
				label: '启用',
				value: 0
			},
			// {
			// 	label: '删除',
			// 	value: '1',
			// },{
			// 		label: '审核',
			// 		value: '2',
			// 	},
				{
					label: '禁用',
					value: 3,
				},
			]
		},
		{
			label: '创建时间',
			prop: 'createTime',
			minWidth: 120,
			display:false
		},
	],
}
