mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
style:任务管理表格样式
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user