mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-08 18:36:46 +08:00
测评显示样式
This commit is contained in:
@@ -860,6 +860,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
key: "id",
|
key: "id",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
align: "center",
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -868,6 +869,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
key: "evaluationName",
|
key: "evaluationName",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
align: "center",
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -876,6 +878,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
key: "remarks",
|
key: "remarks",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
align: "center",
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -892,6 +895,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
dataIndex: "uploadTime",
|
dataIndex: "uploadTime",
|
||||||
key: "uploadTime",
|
key: "uploadTime",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 100,
|
width: 100,
|
||||||
}
|
}
|
||||||
@@ -902,6 +906,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
dataIndex: "name",
|
dataIndex: "name",
|
||||||
key: "name",
|
key: "name",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
@@ -911,6 +916,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
key: "workNum",
|
key: "workNum",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
align: "center",
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -919,6 +925,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
key: "organizationalDepartment",
|
key: "organizationalDepartment",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
align: "center",
|
||||||
width: 150,
|
width: 150,
|
||||||
customRender: ({ text }) => {
|
customRender: ({ text }) => {
|
||||||
return text ? text : "";
|
return text ? text : "";
|
||||||
@@ -929,6 +936,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
dataIndex: "createTime",
|
dataIndex: "createTime",
|
||||||
key: "createTime",
|
key: "createTime",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 200,
|
width: 200,
|
||||||
},
|
},
|
||||||
@@ -937,6 +945,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
dataIndex: "permission",
|
dataIndex: "permission",
|
||||||
key: "permission",
|
key: "permission",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 200,
|
width: 200,
|
||||||
customRender: ({ text }) => {
|
customRender: ({ text }) => {
|
||||||
@@ -976,6 +985,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
key: "status",
|
key: "status",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
align: "center",
|
||||||
width: 100,
|
width: 100,
|
||||||
customRender: (value) =>{
|
customRender: (value) =>{
|
||||||
if(value.record.status == 0){
|
if(value.record.status == 0){
|
||||||
@@ -1002,6 +1012,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
key: "realName",
|
key: "realName",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
align: "center",
|
||||||
width: 50,
|
width: 50,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1010,6 +1021,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
key: "departId",
|
key: "departId",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
align: "center",
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1018,6 +1030,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
key: "departName",
|
key: "departName",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
align: "center",
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1026,6 +1039,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
key: "addTime",
|
key: "addTime",
|
||||||
className: "h",
|
className: "h",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
align: "center",
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1277,7 +1291,8 @@ import {timeoutUpload} from "@/api/configPublic";
|
|||||||
}
|
}
|
||||||
const isJpgOrPng =
|
const isJpgOrPng =
|
||||||
file.type === "application/x-zip-compressed" ||
|
file.type === "application/x-zip-compressed" ||
|
||||||
file.type === "application/pdf"
|
file.type === "application/pdf" ||
|
||||||
|
file.type === "application/zip"
|
||||||
if (!isJpgOrPng) {
|
if (!isJpgOrPng) {
|
||||||
message.error("仅支持zip、pdf格式!");
|
message.error("仅支持zip、pdf格式!");
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user