vue

<template>
  <div>
    <basicLayout 
      ref="basicLayout" 
      formPath="publicManage"
      tableName="publicManageTable" 
      idName="sa_customerpoolid" 
      :apiId="{query:20221009100702,del:20221009100602}"
      :options="options">
      <template v-slot:tbList="scope">
        <div v-if="scope.data.column.columnname == 'isused'">{{ scope.data.column.data[scope.data.column.columnname] == 0 ? '否' : '是'}}</div>
        <div v-else-if="scope.data.column.columnname == 'freeget'">{{ scope.data.column.data[scope.data.column.columnname] == 0 ? '否' : '是'}}</div>
        <div v-else-if="scope.data.column.columnname == 'isdefault'">{{ scope.data.column.data[scope.data.column.columnname] == 0 ? '否' : '是'}}</div>
        <div v-else>{{scope.data.column.data[[scope.data.column.columnname]]}}</div>
      </template>
      <template v-slot:tbOpreation="scope">
<!--        <delete-btn class="inline-16" @deleteSuccess="$refs.basicLayout.listData()" :id="scope.data.data.sa_customerpoolid" nameId="20221009100602" nameKey="sa_customerpoolids" />-->
        <delBtn class="inline-16" :data="scope.data.data" @delSuccess="$refs.basicLayout.listData()"  ></delBtn>
        <editTemp class="inline-16" :data="scope.data.data" @onSuccess="$refs.basicLayout.listData()"></editTemp>
      </template>
    </basicLayout>
  </div>
</template>

<script>
import editTemp from '@/Form/publicManage/edit.vue'
import delBtn from './modules/delBtn'
export default {
  data () {
    return {
      options:[],
      people:'',
    }
  },
  provide () {
    return {
    }
  },
  components:{
    editTemp,
    delBtn
  },
  methods:{
    async getPeople () {
      let res = await this.$api.requested({
        "id": 20221021093202,
        "content": {
            "pageNumber": 1,
            "pageSize": 9999999,
            "where": {
                "condition": ""
            }
        },
      })
      this.people = res.data
    },
    
  },
  created() {
    this.getPeople()
  }
}

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