// 搜索配置
const searchModelJson = [

]
// 页面操作按钮配置
const fucDataJson = [{
		name: '导出',
		type: 'danger',
		icon: 'el-icon-position'
	},

]
// 表头配置
const tableColumnJson = [
	{
		label: '模块',
		prop: 'Module',
		tooltip: true,
	},
	{
		label: '动作',
		prop: 'action',
		tooltip: true,
	},
	{
		label: '操作人员',
		prop: 'userID',
		tooltip: true,
	},
	{
		label: '内容',
		prop: 'message',
		tooltip: true,
	},
	{
		label: '日志类型',
		prop: 'typeName',
		tooltip: true
	},
	{
		label: '操作时间',
		prop: 'createDatetime',
		tooltip: true
	}

]
// 详情页面结构JSON
const formRow = [{
		elCol: [{
				label: '选择人员',
				prop: 'archivesNo',
				tag: 'elInput',
			},
			{
				label: '登录账号',
				prop: 'villageId',
				tag: 'elInput',
			},
		]
	},{
		elCol: [{
				label: '密码',
				prop: 'archivesNo',
				tag: 'elInput',
				show:false
			},
			{
				label: '登录账号',
				prop: 'villageId',
				tag: 'elInput',
			},
		]
	},
]
const roleOptions = [{
		label: '超级管理员',
		value: 1
	},
	{
		label: '业务员',
		value: 2
	},
	{
		label: '管理员',
		value: 3
	},
	{
		label: '开发成员',
		value: 4
	},
	{
		label: '项目经理',
		value: 5
	},
	{
		label: '实施人员',
		value: 6
	},
	{
		label: '财务',
		value: 7
	},
	{
		label: '总经理',
		value: 8
	},
	{
		label: '副总',
		value: 9
	}
]
const rules = {
	villageId: [{
		required: true,
		message: '请选择村/社区名称',
		trigger: 'change'
	}],
	registerTime: [{
		required: true,
		message: '请选择登记时间',
		trigger: 'change'
	}],
};
// 详情显示图片配置
const showImgJson = {
	span: 24,
	text: '现场照片',
	field: 'photoUrls',

};
export default {
	searchModelJson,
	fucDataJson,
	tableColumnJson,
	showImgJson,
	formRow,
	rules
}
