Doctre.vue 4.51 KB
Newer Older
杜大兵 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 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 104 105 106 107 108
<template>
    <div class="eibs-tab">
        <c-row class="infrow" style="margin-top:20px;">
            <c-col :span="22" :offset="1">
                <span style="font-size:13px;font-family:'宋体';font-weight:bold">
                    Outgoing Correspondence,Attachmentd and other Documents
                </span>
            </c-col>
        </c-row>    
        <c-row>
            <c-col :span="16" :offset="1">
                <el-form-item label="" label-width="0px" prop="trnmod.trndoc.doctrestm">
                    <c-input  
                        type="textarea"
                        :rows="10"
                        v-model="model.trnmod.trndoc.doctrestm"  
                        placeholder="请输入Document tree"
                    ></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="4" :offset="1">
                <c-row>
                    <c-button size="small" type="primary"  @click="onTrndocButshw">
                        Show
                    </c-button>
                </c-row>
                <c-row class="bptbtn">
                    <c-button size="small" type="primary"  @click="onTrndocButadd">
                        Details
                    </c-button>
                </c-row>
                <c-row class="bptbtn">
                    <c-button size="small" type="primary"  @click="onTrndocButnew">
                        Add New
                    </c-button>
                </c-row>
                <c-row class="bptbtn">
                    <c-button size="small" type="primary"  @click="onTrndocButattto">
                        Attach to
                    </c-button>
                </c-row>
                <!--  -->
                <c-row class="bptbtn">
                    <c-button size="small" type="primary" icon="el-icon-delete"  @click="onTrndocButdel">
                        Delete
                    </c-button>
                </c-row>
            </c-col>
        </c-row>   
        <c-row>
            <c-col :span="6" :offset="2">
                <c-checkbox v-model="model.trnmod.trndoc.shwinc">
                    Show Incoming Messages
                </c-checkbox>
            </c-col>
                    
            <c-col :span="6" :offset="2">
                <c-checkbox v-model="model.trnmod.trndoc.shwout">
                    Show Outgoing Messages
                </c-checkbox>
            </c-col>
        </c-row> 
        <c-row>
            <!-- Connected Documents -->
            <c-col :span="16" :offset="1">
                <el-form-item label="" label-width="0px" prop="trnmod.trndoc.condocstm">
                    <c-input  
                        type="textarea"
                        :rows="10"
                        v-model="model.trnmod.trndoc.condocstm"  
                        placeholder="请输入Connected Documents"
                    ></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="4" :offset="1">
                <c-row>
                    <c-button size="small" type="primary"  @click="onTrndocButatt">
                        Attach
                    </c-button>
                </c-row>
                <c-row class="btni">
                    <c-button
                        size="small"
                        type="primary"
                        @click="onSeainf"
                    >
                        <span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
                    </c-button>
                </c-row>
            </c-col>
        </c-row>                               
       
        <c-col :span="12">
            <span  v-text="model.trnmod.trndoc.doclbl"   data-path=".trnmod.trndoc.doclbl" > </span>
        </c-col>
                    
       
        <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>          
       
  </div>
</template>
<script>
import Api from "~/service/Api"
wangren committed
109
import commonProcess from "~/mixin/commonProcess";
杜大兵 committed
110 111 112 113 114 115
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bptcan/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
116
    mixins: [commonProcess],
杜大兵 committed
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
    data(){
        return {

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

    }
}
</script>
<style>
    .bptbtn{
        margin-top:10px
    }
    .btni{
        margin-top:130px
    }
</style>