<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-mainpl :model="model" :codes="codes" ref="mainpl"/> </c-content> </el-form> </div> </template> <script> import CodeTable from "~/config/CodeTable"; import Cpssxf from "../model"; import event from "../event" import Mainplmgs from "./Mainmgs.vue" export default { name: "Cpswjz", components:{ "m-mainpl" : Mainplmgs, }, provide() { return { root: this } }, mixins: [event], // 里面包含了Default、Check等的公共处理 data(){ return { tabVal: "mainpl", trnName: "cpssxf", model: new Cpssxf().data, rules: null, codes:{...CodeTable}, }; }, methods:{}, created:async function() {}, }; </script> <style scoped> </style>