index.vue 919 Bytes
Newer Older
fukai committed
1
<template>
2 3
  <div class="eContainer-search">
    <el-form
李少勇 committed
4 5 6 7 8 9 10
      :model="model"
      :rules="rules"
      ref="modelForm"
      label-width="120px"
      label-position="right"
      size="small"
      :validate-on-rule-change="false"
11 12 13 14
    >
      <c-content>
        <m-mainp :model="model" :codes="codes" ref="mainp"/>
      </c-content>
fukai committed
15 16 17 18
    </el-form>
  </div>
</template>
<script>
19 20 21 22 23

import CodeTable from "~/config/CodeTable";
import Msgsep from "../model";
import event from "../event"
import Mainp from "./Mainp.vue"
fukai committed
24 25

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

</style>