<template>
    <div class="eibs-tab">
        <el-col :span="19">
            <el-col>
                <el-form-item label="File Receiver">
                    <c-input
                        type="textarea"
                        v-model="model.trnmod.trndoc.filrecv"
                        placeholder="请输入File Receiver"
                        :rows="10"
                    ></c-input>
                </el-form-item>
            </el-col>

            <el-col>
                <el-form-item label="Document tree">
                    <c-input
                        type="textarea"
                        :rows="10"
                        v-model="model.trnmod.trndoc.doctrestm"
                        placeholder="请输入Document tree"
                    ></c-input>
                </el-form-item> </el-col
        ></el-col>
        <el-col :offset="1" :span="4">
            <el-col>
                <c-button size="small" type="primary" @click="onTrndocButshw">
                    Show
                </c-button>
            </el-col>

            <el-col>
                <c-button size="small" type="primary" @click="onTrndocButadd">
                    Details
                </c-button>
            </el-col>

            <el-col>
                <c-button size="small" type="primary" @click="onTrndocButnew" >
                    Add New
                </c-button>
            </el-col>

            <el-col>
                <c-button size="small" type="primary" @click="onTrndocButattto" disabled>
                    Attach to
                </c-button>
            </el-col>

            <el-col>
                <c-button type="primary" size="small" @click="onTrndocButdel" disabled>
                    Delete
                </c-button>
            </el-col>
            <el-col>
                <c-button size="small" type="primary" @click="onTrndocButatt" disabled>
                    Attach
                </c-button>
            </el-col>
        </el-col>

        <el-col :span="12">
            <span
                v-text="model.trnmod.trndoc.doclbl"
                data-path=".trnmod.trndoc.doclbl"
            >
            </span>
        </el-col>

        <el-col :offset="8" :span="4">
            <c-checkbox v-model="model.trnmod.trndoc.shwinc"
                >Show Incoming Messages</c-checkbox
            >
        </el-col>

        <el-col :span="4">
            <c-checkbox v-model="model.trnmod.trndoc.shwout"
                >Show Outgoing Messages</c-checkbox
            >
        </el-col>

        <!-- <el-col :span="12">
            <el-form-item label="Connected Documents">
                <c-input
                    v-model="model.trnmod.trndoc.condocstm"
                    placeholder="请输入Connected Documents"
                ></c-input>
            </el-form-item>
        </el-col>

        <el-col :span="12">
            <el-form-item label="">
                <c-input
                    v-model="model.trnmod.trndoc.rcvatt.seainf"
                    placeholder="请输入"
                ></c-input>
            </el-form-item>
        </el-col> -->
    </div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";

export default {
    props: ["model", "codes"],
    data() {
        return {};
    },
    methods: { ...Event },
    created: function () {},
};
</script>
<style>
.el-col button {
    margin: 20px;
}
</style>
