测评显示样式

This commit is contained in:
zhangsir
2024-04-09 09:18:58 +08:00
parent fcac1572ed
commit 3f00b2330b

View File

@@ -860,6 +860,7 @@ import {timeoutUpload} from "@/api/configPublic";
key: "id",
className: "h",
ellipsis: true,
align: "center",
width: 100,
},
{
@@ -868,6 +869,7 @@ import {timeoutUpload} from "@/api/configPublic";
key: "evaluationName",
className: "h",
ellipsis: true,
align: "center",
width: 100,
},
{
@@ -876,6 +878,7 @@ import {timeoutUpload} from "@/api/configPublic";
key: "remarks",
className: "h",
ellipsis: true,
align: "center",
width: 100,
},
{
@@ -892,6 +895,7 @@ import {timeoutUpload} from "@/api/configPublic";
dataIndex: "uploadTime",
key: "uploadTime",
className: "h",
align: "center",
ellipsis: true,
width: 100,
}
@@ -902,6 +906,7 @@ import {timeoutUpload} from "@/api/configPublic";
dataIndex: "name",
key: "name",
className: "h",
align: "center",
ellipsis: true,
width: 100,
},
@@ -911,6 +916,7 @@ import {timeoutUpload} from "@/api/configPublic";
key: "workNum",
className: "h",
ellipsis: true,
align: "center",
width: 100,
},
{
@@ -919,6 +925,7 @@ import {timeoutUpload} from "@/api/configPublic";
key: "organizationalDepartment",
className: "h",
ellipsis: true,
align: "center",
width: 150,
customRender: ({ text }) => {
return text ? text : "";
@@ -929,6 +936,7 @@ import {timeoutUpload} from "@/api/configPublic";
dataIndex: "createTime",
key: "createTime",
className: "h",
align: "center",
ellipsis: true,
width: 200,
},
@@ -937,6 +945,7 @@ import {timeoutUpload} from "@/api/configPublic";
dataIndex: "permission",
key: "permission",
className: "h",
align: "center",
ellipsis: true,
width: 200,
customRender: ({ text }) => {
@@ -976,6 +985,7 @@ import {timeoutUpload} from "@/api/configPublic";
key: "status",
className: "h",
ellipsis: true,
align: "center",
width: 100,
customRender: (value) =>{
if(value.record.status == 0){
@@ -1002,6 +1012,7 @@ import {timeoutUpload} from "@/api/configPublic";
key: "realName",
className: "h",
ellipsis: true,
align: "center",
width: 50,
},
{
@@ -1010,6 +1021,7 @@ import {timeoutUpload} from "@/api/configPublic";
key: "departId",
className: "h",
ellipsis: true,
align: "center",
width: 100,
},
{
@@ -1018,6 +1030,7 @@ import {timeoutUpload} from "@/api/configPublic";
key: "departName",
className: "h",
ellipsis: true,
align: "center",
width: 100,
},
{
@@ -1026,6 +1039,7 @@ import {timeoutUpload} from "@/api/configPublic";
key: "addTime",
className: "h",
ellipsis: true,
align: "center",
width: 100,
},
{
@@ -1277,7 +1291,8 @@ import {timeoutUpload} from "@/api/configPublic";
}
const isJpgOrPng =
file.type === "application/x-zip-compressed" ||
file.type === "application/pdf"
file.type === "application/pdf" ||
file.type === "application/zip"
if (!isJpgOrPng) {
message.error("仅支持zip、pdf格式!");
return false;