<template>
  <div>
    <basicLayout 
      style="padding-top:0 !important"
      ref="basicLayout" 
      :oldFormPath="{
        add:'HDrpManagement/prodectFileData/modules',
        edit:'HDrpManagement/prodectFileData/modules',
      }"
      tableName="prodectFileTable" 
      idName="plm_technicalinfoid" 
      :apiId="{query:20220926095803,del:20220926095903}" 
      :options="options">
      <template #custom >
      </template>
      <template v-slot:tbList="scope">
        <div>
          {{scope.data.column.data[scope.data.column.columnname]}}
        </div>
      </template>
      <template v-slot:tbOpreation="scope">
        <edit v-if="tool.checkAuth($route.name,'update')"  :data="scope.data.data"   :type="'text'" @updateSuccess="$refs.basicLayout.listData()"></edit>
        <darwerPanel :id="scope.data.data.plm_technicalinfoid" title="关 联 商 品" :detailPath="{path:'/relation'}" class="inline-24"/>
        <file_del v-if="tool.checkAuth($route.name,'delete')" :data="scope.data.data" :type="'text'" @deleteSuccess="$refs.basicLayout.listData()"></file_del>
          
      </template>
    </basicLayout>
  </div>
</template>

<script>
import edit from './modules/edit'
import file_del from './modules/fileDel'
import relation from "./modules/relation"
import darwerPanel from '@/HManagement/archives_sc/components/Rpanel'
export default {
  components:{edit,file_del,relation,darwerPanel},
  name: "index",
  data() {
    return {
      options:[],
    }
  },
  created () {
  },
  methods: {
  },
  mounted () {
  }
}
</script>

<style scoped>

</style>