index.vue 3.5 KB
Newer Older
liu committed
1 2
<template>
  <c-page title="通知公告">
liu committed
3 4
     <div class="eContainer" style="height:90%">
        <div style="padding:0 15px">  
liu committed
5 6 7 8
          <el-form 
               :model="model" 
               :rules="rules" 
               ref="modelForm" 
9
               label-width="120px" 
liu committed
10
               size="small" 
liu committed
11
               label-position="right" 
liu committed
12 13
               :validate-on-rule-change="false"
               >
liu committed
14
                <c-content> 
zhoutian committed
15
                    <m-infsea   :model="model" :rules="rules" :codes="codes" ref="infsea"/>
liu committed
16 17 18
                
                </c-content>
               <!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> -->
liu committed
19 20 21 22 23
               
                   
          
                    <!-- PD000001 --> 
                   
liu committed
24
                     <!-- <el-tab-pane  -->
liu committed
25
                       
liu committed
26 27
                         <!-- label="信息查询" name="infsea" -->
                          <!-- <c-content>
liu committed
28
                         <m-infsea :model="model" :codes="codes"/>
liu committed
29 30 31
                          </c-content> -->
                         
                    <!-- </el-tab-pane> -->
liu committed
32 33 34 35
          
                   
          
                    
liu committed
36
               <!-- </c-tabs> -->
liu committed
37
          </el-form>
liu committed
38
        </div>
liu committed
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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
          <!-- <c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
		</c-grid-ety-prompt-dialog> -->
     </div>
  </c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Notice from "~/model/Notice"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Notice/Check"
import Default from "~/model/Notice/Default"
import Pattern from "~/model/Notice/Pattern"

// import Publish from "./Publish";
// import Update from "./Update";
// import Display from "./Display";
import Infsea from "./Infsea";

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-publish":Publish,
        "m-ccvpan" : Ccvpan,
        "m-setpan" : Setpan,
        "m-glepan" : Glepan,
        "m-engp":Engp,
        "m-coninfp" : Coninfp,
        "m-docpan" : Docpan,
        // "m-update":Update,
        // "m-Display":Display,
        "m-infsea":Infsea,
       
        
        
        
     
    
    },
    provide() {
        return {
            root: this
        }
    },
    mixins: [commonProcess,commonFuncs],    // 里面包含了Default、Check等的公共处理
    data(){
        return {
            tabVal: "infsea",
            trnName: "notice",
            model: new Notice().data,
            checkRules: Check,
            defaultRules: Default,
            pattern: Pattern,
            rules: null,
            codes: {
            },
liu committed
104
            showPanel:false,
liu committed
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
        }
    },
    methods:{
        tabClick(){
        }
    },
    created:async function(){
        // console.log("进入notice交易");
        // let rtnmsg = await this.init({})
        // if(rtnmsg.respCode == SUCCESS)
        // {
        //    //TODO 处理数据逻辑

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

</style>