<template>
  <div class="eibs-tab">
      <c-row class="infrow" style="margin-top:50px;">
            <c-col :span="24" :offset="1">
                <c-row>
                    <c-col :span="24">
                        Outgoing Correspondence,Attachmentd and other Documents
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="15" :offset="1">
                <c-row>
                    <c-col :span="22">
                        <el-form-item label="" prop="trnmod.trndoc.doctrestm" label-width="0px">
                            <c-input type="textarea" :rows="10" v-model="model.trnmod.trndoc.doctrestm"  placeholder="请输入Document tree"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="5" :offset="1" >
                <c-row>
                    <c-col :span="20">
                        <c-button size="small" type="primary"  @click="onTrndocButshw">
                            Show
                        </c-button>
                    </c-col>
                    <c-col :span="20" style="margin-top:10px;">
                        <c-button size="small" type="primary"  @click="onTrndocButadd">
                            Details
                        </c-button>
                    </c-col>
                                
                    <c-col :span="20" style="margin-top:10px;">
                        <c-button size="small" type="primary"  @click="onTrndocButnew">
                            Add New
                        </c-button>
                    </c-col>

                    <c-col :span="20" style="margin-top:10px;">
                        <c-button size="small" type="primary"  @click="onTrndocButattto">
                            Attach to
                        </c-button>
                    </c-col>
                                
                    <c-col :span="20" style="margin-top:10px;">
                        <c-button size="small"  icon="el-icon-delete" @click="onTrndocButdel">
                            Delete
                        </c-button>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>            

        <c-row class="infrow">   
            <c-col :span="7" :offset="1">
                <c-row>
                    <c-col :span="12">
                        <c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="7" :offset="1">
                <c-row>
                    <c-col :span="12">
                        <c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
                    </c-col>    
                </c-row>
            </c-col>
            <c-col :span="5" :offset="1">
                <c-row>
                    <c-col :span="12">
                    </c-col>    
                </c-row>
            </c-col>
        </c-row>
        
        <!-- <c-row class="infrow">
            <c-col :span="15" :offset="1">
                <c-row>
                    <c-col :span="22">
                        <el-form-item label="" prop="trnmod.trndoc.condocstm" label-width="0px">
                            <c-input type="textarea" :rows="4" v-model="model.trnmod.trndoc.condocstm"  placeholder="请输入Connected Documents"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="5" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <c-button size="small" type="primary"  @click="onTrndocButatt">
                            Attach
                        </c-button>
                    </c-col>
                    <c-col :span="20">
                        <el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf" label-width="0px" style="margin-top:10px;">
                            <c-input v-model="model.trnmod.trndoc.rcvatt.seainf"  placeholder="请输入"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row> -->


        <!-- <c-col :span="2" :offset="1">
            <c-row>
                <c-col :span="12">
                    <span  v-text="model.trnmod.trndoc.doclbl"   data-path=".trnmod.trndoc.doclbl" >doclbl</span>
                </c-col>
            </c-row>
        </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letcan/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>