<template> <div class="eContainer"> <el-form :model="model" ref="modelForm" label-width="120px" label-position="right" size="small" > <m-infsea :model="model" /> </el-form> </div> </template> <script> import Utils from "~/utils/index"; import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; import ExamRule from "~/model/ExamRule" import Infsea from "./Infsea" export default { name: "exaRule", components: { "m-infsea": Infsea, }, provide() { return { root: this, }; }, mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 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>