style:任务管理表格样式

This commit is contained in:
zhangyc
2023-01-12 00:37:35 +08:00
parent 5544a0c356
commit e523529a4b
14 changed files with 136 additions and 162 deletions

View File

@@ -99,7 +99,7 @@
:columns="tablecolumns"
:data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false"
:scroll="{ x: 900 }"
:scroll="{ x: 1300 }"
:pagination="false"
:row-selection="{
selectedRowKeys: selectedRowKeys,
@@ -122,10 +122,11 @@
</div>
</div>
</div>
<!--
<div class="btnn">
<button class="btn1">取消</button>
<button class="btn2">确定</button>
</div>
</div>-->
</div>
</a-drawer>
@@ -204,11 +205,11 @@ export default {
value: "0",
label: "未开始",
},
{
id: 2,
value: "2",
label: "进行中",
},
// {
// id: 2,
// value: "2",
// label: "进行中",
// },
{
id: 3,
value: "1",
@@ -257,7 +258,7 @@ export default {
dataIndex: "studentName",
key: "studentName",
width: 50,
align: "left",
align: "center",
className: "h head",
customRender: (text) => {
return (
@@ -393,15 +394,15 @@ export default {
);
},
},
{
title: "操作",
dataIndex: "operation",
key: "operation",
width: 100,
align: "center",
ellipsis: true,
className: "h",
},
// {
// title: "操作",
// dataIndex: "operation",
// key: "operation",
// width: 100,
// align: "center",
// ellipsis: true,
// className: "h",
// },
],
exportHomeWorkV: false,
downloadUrl: null,
@@ -602,8 +603,8 @@ export default {
.then((res) => {
console.log("导出作业", JSON.parse(res.data).data);
if (JSON.parse(res.data).code === 200) {
message.destroy();
message.success("导出作业成功");
// message.destroy();
//message.success("导出作业成功");
state.exportHomeWorkV = true;
state.downloadUrl = JSON.parse(res.data).data;
}