export const YBTableHeader = [
	{ type: 'checkbox', width: 50, align: 'center' },
	{
		field: 'expiredStatusText',
		title: '状态',
		width: 60,
		align: 'center',
		slots: {
			default: ({ row }) => {
				return <span class={'overdue-status-' + row.expiredStatus} title={row.expiredStatusText}></span>;
			},
		},
	},
	{ field: 'no', title: '工单编码', width: 140 },
	{ field: 'isProvinceText', title: '省/市工单', width: 90 },
	{ field: 'reTransactNum', title: '重办次数', width: 90 },
	{
		field: 'isUrgentText',
		title: '是否紧急',
		width: 90,
		slots: {
			default: ({ row }) => {
				return <span class="color-danger font-bold">{row.isUrgentText}</span>;
			},
		},
	},
	{ field: 'isSecretText', title: '是否保密', width: 100 },
	{ field: 'currentStepName', title: '当前节点', width: 120 },
	{ field: 'actualStepAcceptText', title: '受理情况', width: 100 },
	{
		field: 'statusText',
		title: '工单状态',
		width: 110,
		slots: {
			default: 'statusText',
		},
	},
	{
		field: 'title',
		title: '工单标题',
		minWidth: 200,
		slots: { default: 'order_detail' },
	},
	{
		field: 'startTime',
		title: '受理时间',
		width: 160,
		sortable: true,
		formatter: 'formatDate',
	},
	{
		field: 'expiredTime',
		title: '工单期满时间',
		width: 160,
		sortable: true,
		formatter: 'formatDate',
	},
	{
		field: 'filedTime',
		title: '办结时间',
		width: 160,
		sortable: true,
		formatter: 'formatDate',
	},
	{ field: 'orgLevelOneName', title: '一级部门', width: 140 },
	{ field: 'actualHandleOrgName', title: '接办部门', width: 140 },
	{ field: 'acceptType', title: '受理类型', width: 110 },
	{ field: 'counterSignTypeText', title: '是否会签', width: 110 },
	{ field: 'sourceChannel', title: '来源渠道', width: 110 },
	{ field: 'hotspotSpliceName', title: '热点全称', width: 150 },
	{ field: 'hotspotName', title: '热点分类', width: 150 },
	{ field: 'acceptorName', title: '受理人', width: 120 },
	{ field: 'focusOnEventsName', title: '重点标记', width: 120 },
	{ field: 'sensitiveText', title: '敏感词', width: 150 },
	{ field: 'content', title: '受理内容', width: 200, visible: false },
	{ field: 'fileOpinion', title: '承办意见', width: 200, visible: false },
	{ title: '操作', width: 140, fixed: 'right', align: 'center', slots: { default: 'action' } },
];

export const ZGTableHeader = [
	{ type: 'checkbox', width: 50, align: 'center' },
	{
		field: 'expiredStatusText',
		title: '状态',
		width: 60,
		align: 'center',
		slots: {
			default: ({ row }) => {
				return <span class={'overdue-status-' + row.expiredStatus} title={row.expiredStatusText}></span>;
			},
		},
	},
	{ field: 'no', title: '工单编码', width: 140 },
	{ field: 'isProvinceText', title: '省/市工单', width: 90 },
	{ field: 'reTransactNum', title: '重办次数', width: 90 },
	{
		field: 'isUrgentText',
		title: '是否紧急',
		width: 90,
		slots: {
			default: ({ row }) => {
				return <span class="color-danger font-bold">{row.isUrgentText}</span>;
			},
		},
	},
	{ field: 'isSecretText', title: '是否保密', width: 100 },
	{ field: 'currentStepName', title: '当前节点', width: 120 },
	{ field: 'actualStepAcceptText', title: '受理情况', width: 100 },
	{
		field: 'statusText',
		title: '工单状态',
		width: 110,
		slots: {
			default: 'statusText',
		},
	},
	{
		field: 'title',
		title: '工单标题',
		minWidth: 200,
		slots: { default: 'order_detail' },
	},
	{
		field: 'startTime',
		title: '受理时间',
		width: 160,
		sortable: true,
		formatter: 'formatDate',
	},
	{
		field: 'expiredTime',
		title: '工单期满时间',
		width: 160,
		sortable: true,
		formatter: 'formatDate',
	},
	{
		field: 'filedTime',
		title: '办结时间',
		width: 160,
		sortable: true,
		formatter: 'formatDate',
	},
	{ field: 'orgLevelOneName', title: '一级部门', width: 140 },
	{ field: 'orgLevelTwoName', title: '二级部门', width: 140 },
	{ field: 'actualHandleOrgName', title: '接办部门', width: 140 },
	{ field: 'acceptType', title: '受理类型', width: 110 },
	{ field: 'counterSignTypeText', title: '是否会签', width: 110 },
	{ field: 'sourceChannel', title: '来源渠道', width: 110 },
	{ field: 'orderTag', title: '工单标签', width: 140 },
	{ field: 'allDurationHour', title: '办理时长(小时)', width: 150 },
	{ field: 'hotspotSpliceName', title: '热点全称', width: 150 },
	{ field: 'hotspotName', title: '热点分类', width: 150 },
	{ field: 'acceptorName', title: '受理人', width: 120 },
	{ field: 'sensitiveText', title: '敏感词', width: 150 },
	{ field: 'content', title: '受理内容', width: 200, visible: false },
	{ field: 'fileOpinion', title: '承办意见', width: 200, visible: false },
	{ field: 'seatEvaluateTxt', title: '坐席满意度', width: 150 },
	{ field: 'orgEvaluateValue', title: '部门满意度', width: 150 },
	{ title: '操作', width: 140, fixed: 'right', align: 'center', slots: { default: 'action' } },
];

export const LZTableHeader = [
	{ type: 'checkbox', width: 50, align: 'center' },
	{
		field: 'expiredStatusText',
		title: '状态',
		width: 60,
		align: 'center',
		slots: {
			default: ({ row }) => {
				return <span class={'overdue-status-' + row.expiredStatus} title={row.expiredStatusText}></span>;
			},
		},
	},
	{
		field: 'statusText',
		title: '工单状态',
		width: 110,
		slots: {
			default: 'statusText',
		},
	},
	{
		field: 'isUrgentText',
		title: '是否紧急',
		width: 90,
		slots: {
			default: ({ row }) => {
				return <span class="color-danger font-bold">{row.isUrgentText}</span>;
			},
		},
	},
	{ field: 'remainingTime', title: '剩余办理时间', width: 110 },
	{ field: 'sourceChannel', title: '来源渠道', width: 110 },
	{ field: 'isProvinceText', title: '省/市工单', width: 90 },
	{ field: 'no', title: '工单编码', width: 140 },
	{
		field: 'title',
		title: '工单标题',
		minWidth: 200,
		slots: { default: 'order_detail' },
	},
	{
		field: 'startTime',
		title: '受理时间',
		width: 160,
		sortable: true,
		formatter: 'formatDate',
	},
	{ field: 'acceptorName', title: '受理人', width: 120 },
	{ field: 'currentStepName', title: '当前节点', width: 120 },
	{ field: 'acceptType', title: '受理类型', width: 110 },
	{ field: 'actualStepAcceptText', title: '受理情况', width: 100 },
	{
		field: 'expiredTime',
		title: '期满时间',
		width: 160,
		sortable: true,
		formatter: 'formatDate',
	},
	{
		field: 'filedTime',
		title: '办结时间',
		width: 160,
		sortable: true,
		formatter: 'formatDate',
	},
	{ field: 'orgLevelOneName', title: '一级部门', width: 140 },
	{ field: 'orgLevelTwoName', title: '二级部门', width: 140 },
	{ field: 'actualHandleOrgName', title: '接办部门', width: 140 },
	{ field: 'reTransactNum', title: '重办次数', width: 90 },
	{ field: 'isSecretText', title: '是否保密', width: 100 },
	{ field: 'counterSignTypeText', title: '是否会签', width: 110 },
	{ field: 'orderTag', title: '工单标签', width: 140 },
	{ field: 'allDurationHour', title: '办理时长(小时)', width: 150 },
	{ field: 'hotspotSpliceName', title: '热点全称', width: 150 },
	{ field: 'hotspotName', title: '热点分类', width: 150 },
	{ field: 'sensitiveText', title: '敏感词', width: 150 },
	{ field: 'content', title: '受理内容', width: 200, visible: false },
	{ field: 'fileOpinion', title: '承办意见', width: 200, visible: false },
	{ field: 'seatEvaluateTxt', title: '坐席满意度', width: 150 },
	{ field: 'orgEvaluateValue', title: '部门满意度', width: 150 },
	{ title: '操作', width: 140, fixed: 'right', align: 'center', slots: { default: 'action' } },
];
