<template>
  <div class="eContainer">
    <el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
       
       <m-infsea :model="model" :codes="codes" ref="infsea"/>
       <!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
           <el-tab-pane label="资产信息查询" name="infsea">
                <m-infsea :model="model" :codes="codes"/>
           </el-tab-pane>
       </c-tabs> -->
    </el-form>
  </div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/AssetInfo/Check"
import Default from "~/model/AssetInfo/Default"
import Pattern from "~/model/AssetInfo/Pattern"
import Infsea from "./Infsea"
import AssetInfo from "~/model/AssetInfo"

import Ccvpan from "~/views/Public/Ccvpan"
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
//import Doctre from "~/views/Public/Doctre"
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";


export default {
    components:{
        "m-infsea" : Infsea,
         "m-ccvpan" : Ccvpan,
        "m-setpan" : Setpan,
        "m-glepan" : Glepan,
        "m-engp":Engp,
        "m-coninfp" : Coninfp,
        "m-docpan" : Docpan,

    },
    provide() {
        return {
            root: this
        }
    },
    mixins: [commonProcess],    // 里面包含了Default、Check等的公共处理
    data(){
        return {
            tabVal: "infsea",
            trnName: "assetInfo",
            model: new AssetInfo().data,
            checkRules: Check,
            defaultRules: Default,
            pattern: Pattern,
            rules: null,
             codes:{},
        }
    },
    methods:{
        tabClick(){
        }
    },
    created:async function(){
        // console.log("进入assetInfo交易");
        // let rtnmsg = await this.init({})
        // if(rtnmsg.respCode == SUCCESS)
        // {
        //    //TODO 处理数据逻辑

        // }
        // else
        // {
        //     this.$notify.error({title: '错误',message: '服务请求失败！'});
        // }
    }
}
</script>
<style>

</style>
