<template>
  <dialog-edit :visible.sync="dialogVisible"
               :title="$t('factoringBusinessInfo.review_detail')"
               :editModel="editModel"
               :form="form"
               :appendToBody="true"
              >
    <reviewDiv :list="father" :indexRow="indexRow"></reviewDiv>
  </dialog-edit>
</template>
<script>
import BaseEditPage from '@/pages/baseEditPage'
import { DialogEdit } from 'newepoch-components'
import reviewDiv from './components/reviewDiv'
export default {
  extends: new BaseEditPage(''),
  components: {
    DialogEdit,
    reviewDiv
  },
  props: {
    father: {
      type: Array,
      default () {
        return []
      }
    },
    indexRow: String
  },
  data () {
    return {
      list: [
        // {
        //   review_persons: '张三',
        //   if_feedback: '0',
        //   audit_date: 2209017600000,
        //   sourceData: [{
        //     file_name: '文件1',
        //     review_opinion: '意见1'
        //   }]
        // },
        // {
        //   review_persons: '李四',
        //   if_feedback: '1',
        //   audit_date: 1109017600000,
        //   sourceData: [{
        //     file_name: '文件2',
        //     review_opinion: '意见2'
        //   }]
        // }
      ]
    }
  },
  mounted () {
    // this.list = this.father;
  }
}
</script>
