
<template>
  <div>
    <basicLayout 
      ref="basicLayout" 
      formPath="projectChange/rival" 
      tableName="rivalTable" 
      idName="sa_competitorid" 
      :apiId="{query:20221027165402,del:''}"
      :options="options"
      @listCreate="list">
      <template v-slot:tbList="scope">
        <div>
          {{scope.data.column.data[scope.data.column.columnname] || scope.data.column.columnname == 'operation' ? scope.data.column.data[[scope.data.column.columnname]] : '--'}}
        </div>
      </template>
      <template v-slot:tbOpreation="scope">
        <!-- <delete-btn 
          ref="del" 
          :id="scope.data.data.sa_competitorid" 
          @deleteCreate="$refs.del.param.content.deletereason='无'" 
          @deleteSuccess="$refs.basicLayout.listData()" 
          nameId="20221018164202" 
          nameKey="sa_competitorids" 
        ></delete-btn> -->
        <!-- <el-button size="mini" type="text" class="inline-16" @click="$router.push({path:'/rivalDetail',query:{id:scope.data.data.sa_competitorid,rowindex:scope.data.data.rowindex}})">详 情</el-button> -->
      </template>
    </basicLayout>
  </div>
</template>

<script>
export default {
  data () {
    return {
      options:[],
    }
  },
  provide () {
    return {

    }
  },
  components:{},
  methods:{
    list (param) {
      param.content.sa_projectid = this.$route.query.id
    },
  },
  created() {

  }
}

</script>
<style scoped>
/* /deep/.el-table__cell .cell {
  display: flex;
  justify-content: s;
} */
</style>