index.vue 990 Bytes
Newer Older
WF1020 committed
1 2
<template>
  <div class="eContainer-search">
WF1020 committed
3 4 5 6 7 8 9 10 11 12 13 14
    <el-form
      :model="model"
      :rules="rules"
      ref="modelForm"
      tokenKey="modelForm"
      label-width="120px"
      size="small"
      :validate-on-rule-change="false"
    >
      <c-content>
        <m-menu :model="model" :codes="codes" ref="菜单" />
      </c-content>
WF1020 committed
15 16 17 18
    </el-form>
  </div>
</template>
<script>
WF1020 committed
19 20 21 22
import CodeTable from "~/config/CodeTable";
import event from "../event";
import Menu from "./Menu";
import Sptsel from "../model";
WF1020 committed
23
export default {
WF1020 committed
24
  name: "Sptsel",
WF1020 committed
25
  components: {
WF1020 committed
26
    "m-menu": Menu,
WF1020 committed
27 28 29 30 31 32
  },
  provide() {
    return {
      root: this,
    };
  },
WF1020 committed
33
  mixins: [event],
WF1020 committed
34 35 36
  computed: {},
  data() {
    return {
WF1020 committed
37 38
      tabVal: "menu",
      trnName: "sptsel",
WF1020 committed
39 40 41 42 43 44 45 46 47 48 49 50 51 52
      model: new Sptsel().data,
      rules: null,
      codes: {
        flt: CodeTable.flt,
        dflg: CodeTable.dflg,
        sptrelstatus: CodeTable.sptrelstatus,
      },
    };
  },
  methods: {},
};
</script>
<style>
</style>