<template>
  <ele-modal
    width="960px"
    :maxable="true"
    :visible="visible"
    :close-on-click-modal="true"
    title="派单"
    @update:visible="updateVisible"
  >
    <ele-pro-table
      ref="table"
      :columns="columns"
      :toolbar="false"
      :datasource="datasource"
      :needPage="false"
      cache-key="dTrackTable3"
    >
      <!-- 表头工具栏 -->

      <!-- 操作列 -->
      <template v-slot:action="{ row }">
        <!-- <el-link type="primary" :underline="false" @click="SendOrders(row)">
          派单
        </el-link>
        <el-link
          type="primary"
          :underline="false"
          icon="el-icon-view"
          @click="btnView(row)"
        >
          查看详情
        </el-link> -->
      </template>
    </ele-pro-table>
  </ele-modal>
</template>

<script>
  export default {
    props: {
      visible: {
        typeof: Boolean,
        default: false
      },
      title: {
        typeof: String,
        default: '派单'
        // require: true
      },
      width: {
        typeof: String,
        default: '960px'
      }
    },
    data() {
      return {
        columns: []
      };
    },
    methods: {
      updateVisible(value) {
        this.$emit('update:visible', value);
      },
      datasource() {
        return {
          list: []
        };
      }
    }
  };
</script>

<style></style>
