Doctre.vue 5.3 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
潘际乾 committed
3
    <!-- <c-col :span="11">
liushikai committed
4 5 6 7 8 9
      <el-form-item label="File Receiver">
        <c-input
          v-model="model.trnmod.trndoc.filrecv"
          placeholder="请输入File Receiver"
        ></c-input>
      </el-form-item>
潘际乾 committed
10
    </c-col>
liushikai committed
11

潘际乾 committed
12
    <c-col :span="11" :offset="1">
liushikai committed
13 14 15 16 17 18
      <el-form-item label="Document tree">
        <c-input
          v-model="model.trnmod.trndoc.doctrestm"
          placeholder="请输入Document tree"
        ></c-input>
      </el-form-item>
潘际乾 committed
19
    </c-col> -->
liushikai committed
20

潘际乾 committed
21
    <c-col :span="24">
liushikai committed
22 23 24 25 26
      <el-form-item
        label="Outgoing Correspondence,Attachments and other Documents"
        label-width="400px"
      >
      </el-form-item>
潘际乾 committed
27
    </c-col>
liushikai committed
28

潘际乾 committed
29
    <c-col :span="24">
liushikai committed
30
      <!-- ========================左====================== -->
潘际乾 committed
31 32
      <c-col :span="14">
        <c-col :span="24">
liushikai committed
33
          <div style="height: 300px; width: 100%;border:1px #ebeef5 solid">
liushikai committed
34 35 36 37 38 39
            <el-tree
              :data="data"
              :props="defaultProps"
              @node-click="handleNodeClick"
            ></el-tree>
          </div>
潘际乾 committed
40
        </c-col>
liushikai committed
41

潘际乾 committed
42 43
        <c-col :span="24" style="margin-top:10px">
          <c-col :span="4">
liushikai committed
44 45
            <el-form-item label="Connected Ducuments" v-show="isShow1 || isShow2"></el-form-item>
            <el-form-item label="" v-show="!(isShow1 || isShow2)"></el-form-item>
潘际乾 committed
46 47
          </c-col>
          <c-col :span="8">
liushikai committed
48 49 50 51
            <el-form-item label="">
              <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox>
            </el-form-item>
            <!-- <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox> -->
潘际乾 committed
52 53
          </c-col>
          <c-col :span="8" :offset="2">
liushikai committed
54 55 56 57
            <el-form-item label="">
              <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox>
            </el-form-item>
            <!-- <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> -->
潘际乾 committed
58 59 60
          </c-col>
        </c-col>
        <c-col :span="22" :offset="1">
liushikai committed
61 62 63 64 65 66 67 68 69 70 71 72 73
          <c-table
            :border="true"
            :list="data1"
            style="width:80%,text-align:center"
            v-show="isShow1 || isShow2"
          >
            <el-table-column label="Type" width="auto"></el-table-column>
            <el-table-column label="Document" width="auto"></el-table-column>
            <el-table-column label="Cre.TRN" width="auto"></el-table-column>
            <el-table-column label="Date" width="auto"></el-table-column>
            <el-table-column label="" width="auto"></el-table-column>
            <el-table-column label="" width="auto"></el-table-column>
          </c-table>
潘际乾 committed
74 75
        </c-col>
      </c-col>
liushikai committed
76 77

      <!-- ==============右============= -->
潘际乾 committed
78 79
      <c-col :span="6" :offset="1">
        <c-col :span="24">
liushikai committed
80 81 82
          <c-button size="small" type="primary" @click="onTrndocButshw">
            Show
          </c-button>
潘际乾 committed
83
        </c-col>
liushikai committed
84

潘际乾 committed
85
        <c-col :span="24" style="margin-top: 15px">
liushikai committed
86
          <c-button size="small" type="primary" @click="onTrndocButadd">
liushikai committed
87
            详情
liushikai committed
88
          </c-button>
潘际乾 committed
89
        </c-col>
liushikai committed
90

潘际乾 committed
91
        <c-col :span="24" style="margin-top: 40px">
liushikai committed
92 93 94
          <c-button size="small" type="primary" @click="onTrndocButnew">
            Add New
          </c-button>
潘际乾 committed
95
        </c-col>
liushikai committed
96

潘际乾 committed
97
        <c-col :span="24" style="margin-top: 15px">
liushikai committed
98
          <c-button size="small" type="primary" @click="onTrndocButattto">
99
            Attach to
liushikai committed
100
          </c-button>
潘际乾 committed
101
        </c-col>
liushikai committed
102

潘际乾 committed
103
        <c-col :span="24" style="margin-top: 15px">
liushikai committed
104
          <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
105
            Delete
liushikai committed
106
          </c-button>
潘际乾 committed
107 108
        </c-col>
        <c-col :span="24" style="margin-top: 80px">
liushikai committed
109
          <c-button size="small" type="primary" @click="onTrndocButatt">
110
            Attach
liushikai committed
111
          </c-button>
潘际乾 committed
112 113
        </c-col>
        <c-col :span="24" style="margin-top: 150px">
liushikai committed
114 115 116
          <c-button size="small" type="primary" @click="onTrndocButatt">
            i
          </c-button>
潘际乾 committed
117 118 119 120
        </c-col>
      </c-col>
    </c-col>
    <!-- <c-col :span="12">
liushikai committed
121 122 123 124 125
      <span
        v-text="model.trnmod.trndoc.doclbl"
        data-path=".trnmod.trndoc.doclbl"
      >
      </span>
潘际乾 committed
126
    </c-col> -->
liushikai committed
127

潘际乾 committed
128
    <!-- <c-col :span="11" style="margin-top: 20px">
liushikai committed
129 130 131 132 133 134
      <el-form-item label="Connected Documents">
        <c-input
          v-model="model.trnmod.trndoc.condocstm"
          placeholder="请输入Connected Documents"
        ></c-input>
      </el-form-item>
潘际乾 committed
135
    </c-col> -->
liushikai committed
136

潘际乾 committed
137
    <!-- <c-col :span="11" :offset="1" style="margin-top: 20px">
liushikai committed
138 139 140 141 142 143
      <el-form-item label="">
        <c-input
          v-model="model.trnmod.trndoc.rcvatt.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
潘际乾 committed
144
    </c-col> -->
145 146 147
  </div>
</template>
<script>
liushikai committed
148
import Api from "~/service/Api";
149
import CommonProcess from "~/mixin/CommonProcess";
liushikai committed
150 151
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
152 153

export default {
154
  inject: ['root'],
liushikai committed
155
  props: ["model", "codes"],
156
  mixins: [CommonProcess],
liushikai committed
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
  data() {
    return {
      data1:[],
      isShow1: false,
      isShow2: false,
      data: [
        {
          label: "Internal",
          children: [{ label: "'Free Message' via Letter" }],
        },
      ],
    };
  },
  methods: { ...Event,
  handleNodeClick(){} ,
  defaultProps(){}
  },
  created: function () {},
};
176 177 178
</script>
<style>
</style>