This commit is contained in:
zhangyc
2023-01-11 10:14:27 +08:00
parent f15e726cc7
commit 0cd2efad61
12 changed files with 1409 additions and 1338 deletions

View File

@@ -4,7 +4,7 @@
:visible="TMvisible"
class="drawerStyle ProjectExamManage"
placement="right"
width="60%"
width="80%"
@after-visible-change="afterVisibleChange"
>
<div class="drawerMain">
@@ -23,7 +23,7 @@
<div class="name">姓名</div>
<a-input
v-model:value="name"
style="width: 270px; height: 40px; border-radius: 8px"
style="width: 200px; height: 40px; border-radius: 8px"
placeholder="请输入姓名"
/>
</div>
@@ -32,7 +32,7 @@
<div class="select">
<a-select
v-model:value="projectName"
style="width: 270px"
style="width: 170px"
placeholder="请选择"
:options="projectNameList"
@change="selectProjectName"
@@ -155,7 +155,7 @@ export default {
const state = reactive({
name: "",
open: false,
projectName: "",
projectName: undefined,
projectNameList: [
{
id: 1,
@@ -185,7 +185,7 @@ export default {
title: "工号",
dataIndex: "studentCode",
key: "studentCode",
width: 50,
width: 60,
align: "center",
className: "h head",
customRender: (text) => {
@@ -217,6 +217,7 @@ export default {
key: "studentDepartName",
width: 60,
align: "center",
ellipsis: true,
className: "h",
customRender: (text) => {
return (
@@ -232,7 +233,8 @@ export default {
key: "studentJobName",
width: 60,
align: "center",
className: "h",
ellipsis: true,
className: "h",
customRender: (text) => {
return (
<div class="racona">
@@ -247,7 +249,8 @@ export default {
key: "testNumber",
width: 60,
align: "center",
className: "h",
ellipsis: true,
className: "h",
customRender: (text) => {
return (
<div class="racona">
@@ -262,6 +265,7 @@ export default {
key: "score",
width: 60,
align: "center",
ellipsis: true,
className: "h",
customRender: (text) => {
return (
@@ -278,6 +282,7 @@ export default {
key: "finishedTime",
width: 60,
align: "center",
ellipsis: true,
className: "h",
customRender: (text) => {
return (
@@ -293,6 +298,7 @@ export default {
key: "status",
width: 60,
align: "center",
ellipsis: true,
className: "h",
customRender: (text) => {
console.log(text.record.status);
@@ -310,7 +316,7 @@ export default {
const closeDrawer = () => {
ctx.emit("update:TMvisible", false);
state.name = "";
state.projectName = "";
state.projectName = undefined;
state.selectedRowKeys = [];
state.currentPage = 1;
state.tabledata = [];
@@ -395,7 +401,7 @@ export default {
state.loadingData = true;
state.currentPage = 1;
state.name = '';
state.projectName = '';
state.projectName = undefined;
getData();
}