<template> <div class="eibs-tab"> <c-collapse v-model="activeNames"> <el-collapse-item title="备查" name="coninfp"> <m-coninfp :codes="codes" :model="model" /> </el-collapse-item> <el-collapse-item title="附言" name="doctre"> <m-doctre :codes="codes" :model="model" /> </el-collapse-item> </c-collapse> </div> </template> <script> import event from "../event"; import Doctre from "~/components/business/doctre/views"; import Coninfp from "~/components/business/coninfp/views"; export default { components: { "m-coninfp": Coninfp, "m-doctre": Doctre }, inject: ["root"], props: ["model", "codes"], mixins: [event], data() { return { activeNames: ["coninfp", "doctre"] }; }, methods: {}, created: function() {} }; </script> <style> </style>