|
|
@@ -0,0 +1,92 @@
|
|
|
+<template>
|
|
|
+ <CommonTable ref="commonTableRef" :tableOptions="tableConfig"> </CommonTable>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup lang="jsx">
|
|
|
+ import { ref } from 'vue';
|
|
|
+ import { useRouter } from 'vue-router';
|
|
|
+ import { TABLE_ID_CONST } from '/@/constants/support/table-id-const';
|
|
|
+ import useDict from '/@/utils/dict-util';
|
|
|
+ await useDict.init(['MATE_DELIVERY_STATUS']);
|
|
|
+
|
|
|
+ const commonTableRef = ref(null);
|
|
|
+ const tableConfig = ref({
|
|
|
+ url: '/supports/delivery/day/report/summary/list',
|
|
|
+ // 设置网络请求方式为GET
|
|
|
+ requestMethod: 'GET',
|
|
|
+ tableId: TABLE_ID_CONST.TEAMWORK.PROJECT_MANAGE.Task_LIST,
|
|
|
+ tableAttrs: {},
|
|
|
+ showIndexColumn: true,
|
|
|
+ search: [
|
|
|
+ {
|
|
|
+ label: '提报日期',
|
|
|
+ field: 'submitDate',
|
|
|
+ type: 'date',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ columns: [
|
|
|
+ {
|
|
|
+ title: '提报日期',
|
|
|
+ dataIndex: 'submitDate',
|
|
|
+ align: 'center',
|
|
|
+ width: '90px',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '总工时',
|
|
|
+ dataIndex: 'totalWorkDays',
|
|
|
+ align: 'center',
|
|
|
+ width: '90px',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '任务类工时',
|
|
|
+ dataIndex: 'normalSubmitDays',
|
|
|
+ align: 'center',
|
|
|
+ width: '130px',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '非任务类工时',
|
|
|
+ dataIndex: 'abnormalSubmitDays',
|
|
|
+ align: 'center',
|
|
|
+ width: '130px',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '驻场人数',
|
|
|
+ dataIndex: 'siteCount',
|
|
|
+ align: 'center',
|
|
|
+ width: '170px',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '提报人数',
|
|
|
+ dataIndex: 'submitCount',
|
|
|
+ align: 'center',
|
|
|
+ width: '170px',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '需提报人数 ',
|
|
|
+ dataIndex: 'requireSubmitCount',
|
|
|
+ align: 'center',
|
|
|
+ width: '170px',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ beforeFetch({ params }) {
|
|
|
+ return {
|
|
|
+ ...params,
|
|
|
+ };
|
|
|
+ },
|
|
|
+ // afterFetch({ data }) {},
|
|
|
+ });
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+ ::v-deep .ant-float-btn-description {
|
|
|
+ font-size: 18px !important;
|
|
|
+ }
|
|
|
+ :deep(.ant-progress-inner) {
|
|
|
+ width: 27px !important;
|
|
|
+ height: 27px !important;
|
|
|
+ font-size: 11px !important;
|
|
|
+ }
|
|
|
+ :deep(.ant-table-column[data-key='index']) {
|
|
|
+ width: 60px !important;
|
|
|
+ }
|
|
|
+</style>
|