数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
2.3 KiB

2 years ago
<!--
@ 作者: 鲁智强
@ 时间: 2023-08-15 11:34:38
@ 备注:
-->
<template>
<el-dialog :model-value="true" :title="title" @close="handleClose">
<el-table
ref="multipleTableRef"
:data="studentInfoad"
border
style="width: 100%"
stripe
>
<el-table-column prop="asd" label="考试得分" />
<el-table-column prop="name" label="考试次数" />
<el-table-column prop="sex" label="状态" width="300"/>
<el-table-column prop="zxc" label="查看详情">
<el-button class="new_btn" type="primary"
>下载</el-button>
</el-table-column>
</el-table>
</el-dialog>
</template>
<script lang="ts">
import { reactive, toRefs, ref, onMounted} from "vue";
import { Delete, Download, Plus, ZoomIn } from "@element-plus/icons-vue";
import { ElMessage,UploadProps} from "element-plus";
import "quill/dist/quill.snow.css";
import type { UploadFile } from 'element-plus'
interface FormInfo {
id: string;
age: string;
name: string;
sex: string;
ccc: string;
ade: string;
}
export default {
components: {
},
props: {
title: {
type: String,
default: "",
},
dialogShow: {
type: Boolean,
default: false,
},
rowInfo: {
type: Object as () => FormInfo,
default() {
return {};
},
},
arrayNum: {
type: Number,
default: 0,
},
},
const emits ['image-uploaded', 'update:diaiopShow', 'editRow', 'addRow']
const data =reactive({
2 years ago
studentInfoad:[{
asd:"456",
name:"张三",
sex:"及格",
}],
})
const method = reactive({
// 关闭弹窗
handleClose() {
emit("update:diaiopShow", false);
},
});
return {
...toRefs(data),
...method,
};
},
</script>
<style scoped>
.avatar-uploader .avatar {
display: block;
width: 178px;
height: 178px;
}
</style>
<style lang="scss">
.avatar-uploader .el-upload {
position: relative;
overflow: hidden;
cursor: pointer;
border: 1px dashed var(--el-border-color);
border-radius: 6px;
transition: var(--el-transition-duration-fast);
}
.avatar-uploader .el-upload:hover {
border-color: var(--el-color-primary);
}
.el-icon.avatar-uploader-icon {
width: 178px;
height: 178px;
font-size: 28px;
color: #8c939d;
text-align: center;
}
.el-dialog{
width:1200px;
}
</style>