<template> <div class="eContainer-search"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false" > <c-content> <m-schpnl :model="model" :codes="codes" ref="schpnl"/> </c-content> </el-form> </div> </template> <script> import CodeTable from "~/config/CodeTable"; import Sndsel from "../model"; import event from "../event" import Schpnl from "./Schpnl.vue" export default { name: "Sndsel", components:{ "m-schpnl" : Schpnl, }, provide() { return { root: this } }, mixins: [event], // 里面包含了Default、Check等的公共处理 data(){ return { tabVal: "schpnl", trnName: "sndsel", model: new Sndsel().data, rules: null, codes:{...CodeTable}, }; }, methods:{}, created:async function() {}, }; </script> <style scoped> </style>