index.vue 1.43 KB
Newer Older
1 2 3 4 5
<template>
    <div class="eContainer">
      <el-form
        :model="model"
        ref="modelForm"
6
        label-width="120px"
7 8 9 10 11 12 13 14 15 16
        label-position="right"
        size="small"
      >
      <m-infsea :model="model"  />
      </el-form>
    </div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api";
wangren committed
17
import commonProcess from "~/mixin/commonProcess";
18 19 20 21 22 23 24 25 26 27 28 29 30
import ExamRule from "~/model/ExamRule"
import Infsea from "./Infsea"

export default {
  name: "exaRule",
  components: {
    "m-infsea": Infsea,
  },
  provide() {
    return {
      root: this,
    };
  },
wangren committed
31
  mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
  data() {
    return {
      model: new ExamRule().data,
    };
  },
  methods: {},
  created: async function () {
    // console.log("进入ditsel交易");
    // let rtnmsg = await Api.post("ditsel/init", { params: {} });
    // if (rtnmsg.respCode == SUCCESS) {
    //   //TODO 处理数据逻辑
    //   Utils.copyValueFromVO(this.model, rtnmsg.data);
    // } else {
    //   this.$notify.error({ title: "错误", message: "服务请求失败!" });
    // }
  },
};
</script>
<style>
    .infcpdTab .el-tabs__content {
        padding: 10px 0 10px 0;
    }

    .infcpdTab .infrow {
        padding: 0 10px 0 10px;
    }
    .m-table-search-form {
  position: flex;
  flex-direction: row;
}
.m-table-search-form .el-form-item__content {
  width: calc(100% - 110px);
}
</style>