<template>
  <div class="eibs-tab">
    <el-row>
      <c-col :span="24">
        <c-button size="small" type="primary" @click="onTrndocButshw">
          Show
        </c-button>
        <c-button size="small" type="primary" @click="onTrndocButadd">
          Details
        </c-button>
        <c-button size="small" type="primary" @click="onTrndocButnew">
          Add New
        </c-button>
        <c-button size="small" type="primary" @click="onTrndocButattto">
          Attach to
        </c-button>
        <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
          Delete
        </c-button>
      </c-col>
      <!-- <c-col :span="1">
        <c-button size="small" type="primary" @click="onTrndocButshw">
          Show
        </c-button>
      </c-col>

      <c-col :span="1" :offset="4">
        <c-button size="small" type="primary" @click="onTrndocButadd">
          Details
        </c-button>
      </c-col>

      <c-col :span="1" :offset="4">
        <c-button size="small" type="primary" @click="onTrndocButnew">
          Add New
        </c-button>
      </c-col>

      <c-col :span="1" :offset="4">
        <c-button size="small" type="primary" @click="onTrndocButattto">
          Attach to
        </c-button>
      </c-col>

      <c-col :span="1" :offset="4">
        <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
          Delete
        </c-button>
      </c-col> -->
    </el-row>
    <el-row style="margin-top:10px">
      <c-col :span="12">
        <el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
          <c-input
            v-model="model.trnmod.trndoc.filrecv"
            placeholder="请输入File Receiver"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
          <c-input
            v-model="model.trnmod.trndoc.doctrestm"
            placeholder="请输入Document tree"
          ></c-input>
        </el-form-item>
      </c-col>
    </el-row>
    <el-row style="margin-top:10px">
      <c-col :span="6">
        <span
          v-text="model.trnmod.trndoc.doclbl"
          data-path=".trnmod.trndoc.doclbl"
        >
        </span>
      </c-col>

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

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

      <c-col :span="6">
        <c-button size="small" type="primary" @click="onTrndocButatt">
          Attach
        </c-button>
      </c-col>
    </el-row>
    <el-row style="margin-top:10px">
      <c-col :span="12">
        <el-form-item
          label="Connected Documents"
          prop="trnmod.trndoc.condocstm"
          v-if="false"
        >
          <c-input
            v-model="model.trnmod.trndoc.condocstm"
            placeholder="请输入Connected Documents"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="6" :offset="18">
        <!-- <el-form-item label="" label-width="0">
          prop="trnmod.trndoc.rcvatt.seainf"
          <c-input
          v-model="model.trnmod.trndoc.rcvatt.seainf"
          placeholder="请输入"
        ></c-input>
        </el-form-item> -->
        <c-button size="mini" type="primary" icon="el-icon-search"></c-button>
      </c-col>
    </el-row>
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtcan/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>
