k94314517
2024-09-30 af3434a79c2a096105668273cfa27c09eacf6ff1
admin/src/views/statistics/platformRecord.vue
@@ -24,6 +24,9 @@
<script>
import Pagination from '@/components/common/Pagination'
import QueryForm from '@/components/common/QueryForm'
import dayjs from 'dayjs'
import duration from 'dayjs/plugin/duration'
dayjs.extend(duration);
import { platformJobPage, getPlatformGroupList } from '@/api'
export default {
  components: {
@@ -52,6 +55,7 @@
            filed: 'platformGroupId',
            type: 'select',
            label: '月台组',
            placeholder: '全部月台组',
            options: []
          },
          {
@@ -89,6 +93,7 @@
            label: i.name
          }
        })
        // this.queryFormConfig.formItems[1].options.unshift({ value: '', label: '全部月台组' })
      })
    },
    getList(page) {
@@ -109,6 +114,7 @@
        this.list.forEach(item => {
          item.inTypeTemp = item.inType == 0 ? '整托盘' : '件烟'
          item.taskOrigin = 'WMS获取'
          item.workTime = dayjs.duration(item.workTime, 'seconds').format('H时m分s秒');
        })
        this.pagination.total = res.total || 0
      }, () => {