<!--
 * @Author: yangchunlong 292345300@qq.com
 * @Date: 2023-04-17 11:55:16
 * @LastEditors: yangchunlong 292345300@qq.com
 * @LastEditTime: 2023-04-17 12:04:26
 * @FilePath: \ops_admin_vite\src\views\examine\mange\StatusDialog\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
	<div>
		<div class="sale-page-table-body">
			<el-table
				:data="tableInfo"
				:header-cell-class-name="headerRigthMethod"
				border
				class="table-box"
				height="300"
				id="tableInfo-table1"
			>
				<el-table-column label="序号" prop="date" width="50">
					<template #default="scope">
						<span>{{ scope.$index + 1 }}</span>
					</template>
				</el-table-column>
				<el-table-column
					label="审批流编码"
					prop="billNo"
					width="200"
				></el-table-column>
				<el-table-column label="指令" prop="a" width="110">
					<template #default>
						<span>
							{{ actionType }}
						</span>
					</template>
				</el-table-column>
				<el-table-column label="结果" width="80">
					<template #default="scope">
						<span :style="{ 'txt-Red': scope.row.isSuccess }">{{
							scope.row.isSuccess ? '成功' : '失败'
						}}</span>
					</template>
				</el-table-column>
				<el-table-column label="信息" prop="msg">
					<template #default="scope">
						<span class="txt-Red">{{ scope.row.msg }}</span>
					</template>
				</el-table-column>
			</el-table>
		</div>
	</div>
</template>

<script setup>
const props = defineExpose({
	actionType: {
		type: String,
	},
});
</script>

<style lang="scss" scoped></style>
