<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 event from "../event" import Fxpcetsel from "../model"; import Check from '../model/check' import Schpnl from "./Schpnl.vue" export default { name: "Fxpcetsel", components: { "m-schpnl": Schpnl, }, provide() { return { root: this } }, mixins: [event], // 里面包含了Default、Check等的公共处理 data() { return { tabVal: "schpnl", trnName: "fxpcetsel", model: new Fxpcetsel().data, rules: Check, codes: {...CodeTable}, }; }, methods: {}, created: async function () { }, }; </script> <style scoped> </style>