
<template>
  <div>
    <basicLayout 
      ref="list" 
      :oldFormPath="{
        add:'HDrpManagement/workBillModule/components'
      }"
      tableName="workBillModuleTable" 
      idName="sa_workorder_templateid" 
      :apiId="{query:20230207140603,del:20230207140803}"
      :options="options"
      :detailPath="{
        path:'/workBillModuleDetail'
      }">
      <div slot="custom" style="display:flex">
      </div>
      <template v-slot:tbList="scope">
        <div v-if="scope.data.column.columnname == 'isused'">
          <el-switch disabled :active-value="1" :inactive-value="0" v-model="scope.data.column.data.isused" size="small"></el-switch>
        </div>
        <div v-else>
          {{scope.data.column.data[[scope.data.column.columnname]]?scope.data.column.data[[scope.data.column.columnname]]:'--'}}
        </div>
      </template>
      <template v-slot:tbOpreation="scope">
        
      </template>
    </basicLayout>
  </div>
</template>

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

</script>
<style>
</style>