mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 16:26:45 +08:00
style
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user