Browse Source

列表调整

master
wbc 2 months ago
parent
commit
a894c750f3
  1. 47
      src/views/projectBoard/unfinishNode/index.vue

47
src/views/projectBoard/unfinishNode/index.vue

@ -9,7 +9,7 @@
> >
</div> </div>
<div> <div>
<a-table :dataSource="dataSource" :columns="columns" bordered :loading="tableLoading"> <a-table :dataSource="dataSource" :columns="columns" bordered :loading="tableLoading" :pagination="false">
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column && record && column.dataIndex === 'reformName'"> <template v-if="column && record && column.dataIndex === 'reformName'">
{{ getReformName(record.reformName)}} {{ getReformName(record.reformName)}}
@ -29,48 +29,7 @@
import { queryBoardInfo, batchdownloadPeriodicallabFiles } from './api'; import { queryBoardInfo, batchdownloadPeriodicallabFiles } from './api';
import { onMounted, ref } from 'vue'; import { onMounted, ref } from 'vue';
const tableLoading = ref(false) const tableLoading = ref(false)
const dataSource = ref([ const dataSource = ref([]);
{
reformName:'1',
superLeader:'1',
projectName:'kjskjd',
currentStage:'gghf',
totalPercent:'fsdf',
superiorFundPayRate:'fdsfsdf',
},
{
reformName:'1',
superLeader:'1',
projectName:'kjskjd',
currentStage:'gghf',
totalPercent:'fsdf',
superiorFundPayRate:'fdsfsdf',
},
{
reformName:'2',
superLeader:'1',
projectName:'kjskjd',
currentStage:'gghf',
totalPercent:'fsdf',
superiorFundPayRate:'fdsfsdf',
},
{
reformName:'2',
superLeader:'1',
projectName:'kjskjd',
currentStage:'gghf',
totalPercent:'fsdf',
superiorFundPayRate:'fdsfsdf',
},
{
reformName:'3',
superLeader:'1',
projectName:'kjskjd',
currentStage:'gghf',
totalPercent:'fsdf',
superiorFundPayRate:'fdsfsdf',
},
]);
const columns = [ const columns = [
{ {
title: '湖州市公立医院改革与高质量发展示范项目各任务信息化项目建设推进晾晒表', title: '湖州市公立医院改革与高质量发展示范项目各任务信息化项目建设推进晾晒表',
@ -125,7 +84,7 @@
const res = await queryBoardInfo(); const res = await queryBoardInfo();
tableLoading.value = false tableLoading.value = false
console.log(res); console.log(res);
dataSource.value = res.records; dataSource.value = res;
}; };
function handleBatchdownload() { function handleBatchdownload() {
batchdownloadPeriodicallabFiles(); batchdownloadPeriodicallabFiles();

Loading…
Cancel
Save