Peninfp.vue 6.14 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 109 110 111 112 113 114
<template>
    <c-content class="eibs-tab" :height="200">
        <div class="infTopBtn">
            <c-button size="small" type="primary">toSearch</c-button>
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left" disabled></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right" disabled></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary" disabled>Use</c-button>
            <c-button size="small" type="primary" disabled>Loginfo</c-button>
            <c-button size="small" type="primary">Exit</c-button>
        </div>

        <c-row class="infrow" style="margin-top:50px;">
            <c-col :span="24" :offset="1">
                Pending Items
            </c-col>
        </c-row>
        <br>
        <c-row class="infrow">
            <c-col :span="4" :offset="1">
                <el-form-item label="" prop="infcon.sptinc" label-width="0">
                    <c-checkbox v-model="model.infcon.sptinc">Incoming</c-checkbox>
                </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" prop="infcon.sptreg" label-width="0">
                    <c-checkbox v-model="model.infcon.sptreg">Registered</c-checkbox>
                </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" prop="infcon.sptpen" label-width="0">
                    <c-checkbox v-model="model.infcon.sptpen">Pending</c-checkbox>
                </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" prop="infcon.sptcor" label-width="0">
                    <c-checkbox v-model="model.infcon.sptcor">Correction</c-checkbox>
                </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" prop="infcon.sptdel" label-width="0">
                    <c-checkbox v-model="model.infcon.sptdel">Deleted</c-checkbox>
                </el-form-item>
            </c-col>
        </c-row>
        <!-- stream for SPT to selected contract -->
         <c-row class="infrow" style="margin-top:20px;">
            <c-col :span="22" :offset="1">
                <c-istream-table :list="stmData.sptstmData" :columns="stmData.sptstmColumns">
                    <el-table-column prop="op" label="OP" width="100">
                        <template slot-scope="scope">
                            <a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
                        </template>
                    </el-table-column>
                </c-istream-table>
            </c-col>
        </c-row>

        <br />

        <c-row class="infrow" style="margin-top:20px;">
            <c-col :span="24" :offset="1">
                Diaries
            </c-col>
        </c-row>

        <br />

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="12">
                        <el-form-item label="Date from" label-width="100px" prop="infcon.diadatfrom">
                            <c-date-picker type="date" v-model="model.infcon.diadatfrom" style="width:100%"
                                placeholder="请选择Date from"></c-date-picker>
                        </el-form-item>
                    </c-col>
                    <c-col :span="8" :offset="1">
                        <el-form-item label="to" prop="infcon.diadatto" label-width="20px">
                            <c-date-picker type="date" v-model="model.infcon.diadatto" style="width:100%"
                                placeholder="请选择date till"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="10" :offset="1">
                <c-row>
                    <c-col :span="12">
                        <el-form-item label="Status" label-width="100px" prop="infcon.diasta">
                            <c-select v-model="model.infcon.diasta" style="width:100%" placeholder="请选择Status">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow" style="margin-top:20px;">
            <c-col :span="22" :offset="1">
                <c-istream-table :list="stmData.diastmData" :columns="stmData.diastmColumns">
                    <el-table-column prop="op" label="OP" width="100">
                        <template slot-scope="scope">
                            <a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
                        </template>
                    </el-table-column>
                </c-istream-table>
            </c-col>
        </c-row>
    </c-content>
</template>
<script>
import Api from "~/service/Api"
wangren committed
115
import commonProcess from "~/mixin/commonProcess";
杜大兵 committed
116 117 118 119 120 121
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infled/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
122
    mixins: [commonProcess],
杜大兵 committed
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
    data(){
      return {
            stmData: {
                sptstmColumns: [
                    "1 1 \"TRN\" 0 ",
                    "1 2 \"Reference\" 0 ",
                    "1 3 \"Name\" 0 ",
                    "1 4 \"Creation\" 0",
                    "1 5 \"Status\" 0",
                    "1 6 \"by\" 0",
                    "1 7 \"Info\" 0",
                    "1 8 \"Infotext\" 0",
                ],
                sptstmData: [

                ],
                diastmColumns: [
                    "1 1 \"Date\" 0 ",
                    "1 2 \"Reason\" 0 ",
                    "1 3 \"Description\" 0 ",
                    "1 4 \"Transaction\" 0",
                    "1 5 \"User\" 0",
                    "1 6 \"Group\" 0",
                    "1 7 \"Status\" 0",
                ],
                diastmData: [

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

    }
}
</script>
<style>

</style>