#
zhou zhou
9 小时以前 333a93571452073a9e628c6256044d345099aa50
rsf-design/src/views/manager/task/taskTable.columns.js
@@ -2,8 +2,17 @@
import ArtButtonMore from '@/components/core/forms/art-button-more/index.vue'
import { getTaskActionList } from './taskPage.helpers'
export function createTaskTableColumns(handleActionClick) {
export function createTaskTableColumns({ handleActionClick, createExpandContent }) {
  return [
    ...(createExpandContent
      ? [
          {
            type: 'expand',
            width: 56,
            formatter: (row) => createExpandContent(row)
          }
        ]
      : []),
    {
      prop: 'taskCode',
      label: '任务号',