index.vue 940 Bytes
Newer Older
zenghuan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<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";
21
import Msgrtm from "../model";
zenghuan committed
22 23 24 25
import event from "../event"
import Schpnl from "./Schpnl.vue"

export default {
李少勇 committed
26
  name: "Msgrtm",
zenghuan committed
27 28 29 30 31 32 33 34
  components:{
    "m-schpnl" : Schpnl,
  },
  provide() {
    return {
      root: this
    }
  },
35
  mixins: [event],
zenghuan committed
36 37 38
  data(){
    return {
      tabVal: "schpnl",
39 40
      trnName: "msgrtm",
      model: new Msgrtm().data,
zenghuan committed
41 42 43 44 45 46 47 48 49 50 51
      rules: null,
      codes:{...CodeTable},
    };
  },
  methods:{},
  created:async function() {},
};
</script>
<style scoped>

</style>