mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
讲师管理bug
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<a-tabs @change="change" v-model:activeKey="activeKey">
|
||||
<a-tab-pane key="1" tab="管理组织列表">
|
||||
<div style="margin-bottom: 30px">
|
||||
<a-table :columns="columns" :data-source="formData?.tableData" />
|
||||
<a-table :columns="columns" :data-source="formData?.tableData" :pagination="false"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 100px">
|
||||
<!-- <a-descriptions :column="2" bordered>
|
||||
@@ -60,7 +60,7 @@
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="2" tab="审批记录" force-render>
|
||||
<div style="margin-bottom: 20px">
|
||||
<a-table :columns="columnsThree" :data-source="formData?.tableDataTwo" >
|
||||
<a-table :columns="columnsThree" :data-source="formData?.tableDataTwo" :pagination="false">
|
||||
<template #action="{ record }">
|
||||
<div class="action">
|
||||
<div style="color: #1890ff;cursor: pointer;" class="btn" @click="lookList(record)">查看</div>
|
||||
@@ -69,7 +69,7 @@
|
||||
</a-table>
|
||||
</div>
|
||||
<div style="margin-bottom: 100px">
|
||||
<a-table v-if="threeList" :columns="columnsTwo" :data-source="formData?.tableDataTwo" />
|
||||
<a-table v-if="threeList" :columns="columnsTwo" :data-source="formData?.tableDataTwo" :pagination="false"/>
|
||||
</div>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
@@ -102,16 +102,19 @@ const columns = [
|
||||
title: '组织的名称',
|
||||
dataIndex: 'orgName',
|
||||
key: 'orgName',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '类型',
|
||||
dataIndex: 'age',
|
||||
key: 'age',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
dataIndex: 'address',
|
||||
key: 'address',
|
||||
align: 'center',
|
||||
},
|
||||
];
|
||||
const formData = ref({})
|
||||
@@ -120,26 +123,31 @@ const columnsTwo = [
|
||||
title: '层级审批人',
|
||||
dataIndex: 'name',
|
||||
key: 'name',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
dataIndex: 'age',
|
||||
key: 'age',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '审批人',
|
||||
dataIndex: 'address',
|
||||
key: 'age',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '审批时间',
|
||||
dataIndex: 'updateTime',
|
||||
key: 'updateTime',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '审批建议',
|
||||
dataIndex: 'address',
|
||||
key: 'age',
|
||||
align: 'center',
|
||||
},
|
||||
]
|
||||
const columnsThree = ref([
|
||||
@@ -147,21 +155,25 @@ const columnsThree = ref([
|
||||
title: '审批提交时间',
|
||||
dataIndex: 'name',
|
||||
key: 'name',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '审批状态',
|
||||
dataIndex: 'age',
|
||||
key: 'age',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '审批人',
|
||||
dataIndex: 'address',
|
||||
key: 'age',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
dataIndex: 'address',
|
||||
key:'age',
|
||||
align: 'center',
|
||||
slots: { customRender: "action" },
|
||||
}
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user