<template>
  <div>
    <importClue v-if="tool.checkAuth($route.name,'import')" @onSuccess="onSuccess"></importClue>
    <list ref="list">
      <template v-slot:detail="scope">
        <el-button v-if="tool.checkAuth($route.name,'update')" type="text" size="small" @click="$router.push({path:'/importClueDetail',query:{id:scope.data.data.sat_orderclueuploadbillid,rowindex:scope.data.data.rowindex}})">编 辑</el-button>
      </template>
    </list>
  </div>
</template>

<script>
import importClue from './modules/importClue.vue'
import list from './modules/list.vue'

export default {
  components:{
    importClue,
    list
  },
  methods:{
    onSuccess () {
      this.$refs['list'].listData()
    }
  }
}

</script>
<style>
</style>