Smhinfp.vue 4.21 KB
Newer Older
cyy committed
1
<template>
cyy committed
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
  <c-content class="eibs-tab" :height="200">

        <div class="infTopBtn">
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary">Use</c-button>
            <c-button size="small" type="primary">Loginfo</c-button>
        </div>

        <c-row class="infrow" style="margin-top:50px;">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="14">
                        <el-form-item label="Type of Document" prop="infcon.smhcortyp">
                            <c-select v-model="model.infcon.smhcortyp" style="width:100%"
                                placeholder="请选择Type of Document" :code="codes.cortyp">
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="5" :offset="1">
                        <el-form-item label="" prop="infcon.chktrn" label-width="0">
                            <c-checkbox v-model="model.infcon.chktrn">Active only</c-checkbox>
                        </el-form-item>
                    </c-col>
                </c-row>
cyy committed
30
            </c-col>
cyy committed
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
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Direction" prop="infcon.smhdir">
                            <c-select v-model="model.infcon.smhdir" style="width:100%" placeholder="请选择Direction">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="11">
                        <el-form-item label="Created between " prop="infcon.smhdatfrom">
                            <c-date-picker type="date" v-model="model.infcon.smhdatfrom" style="width:100%"
                                placeholder="请选择Created between "></c-date-picker>
                        </el-form-item>
                    </c-col>
                    <c-col :span="8" :offset="1">
                        <el-form-item label="and" prop="infcon.smhdatto" label-width="40px">
                            <c-date-picker type="date" v-model="model.infcon.smhdatto" style="width:100%"
                                placeholder="请选择created till"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
cyy committed
59
            </c-col>
cyy committed
60
            <c-col :span="11" :offset="1">
cyy committed
61

cyy committed
62 63 64 65 66 67 68 69 70 71 72 73 74 75
            </c-col>
        </c-row>

        <c-row class="infrow" style="margin-top:20px;">
            <c-col :span="22" :offset="1">
                <c-istream-table :list="stmData.data" :columns="stmData.columns">
                    <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>
cyy committed
76

cyy committed
77
    </c-content>
cyy committed
78 79 80
</template>
<script>
import Api from "~/service/Api"
wangren committed
81
import commonProcess from "~/mixin/commonProcess";
cyy committed
82 83 84 85 86 87
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infbed/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
88
    mixins: [commonProcess],
cyy committed
89 90
    data(){
        return {
cyy committed
91 92 93 94 95 96 97 98 99
            stmData: {
                    columns: [
                        "1 1 \"Type\" 0 ",
                        "1 2 \"Document\" 0 ",
                        "1 3 \"Created\" 0 ",
                        "1 4 \"Direction\" 0 ",
                        "1 5 \"SMHINR\" 0 ",
                    ],
                    data: [
cyy committed
100

cyy committed
101 102
                    ]
                }
cyy committed
103 104 105 106 107 108 109 110 111 112 113
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>