Rcvp.vue 3.09 KB
Newer Older
jianglong committed
1
<template>
jianglong committed
2 3 4 5 6 7 8 9 10 11 12 13
<div class="eibs-tab">

    <el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small">
        <!--line1-->
        <el-row>
            <c-col :span="24" style="">

                <c-col :span="24">
                    <el-form-item label="输入目录" prop="bopcfg.indir" style="width: 100%">
                        <c-input v-model="model.bopcfg.indir" maxlength="22" placeholder="请输入目录"></c-input>
                    </el-form-item>
                </c-col>
jianglong committed
14
            </c-col>
jianglong committed
15 16 17 18 19 20 21 22 23 24 25 26 27

            <c-col :span="24" style="text-align: right;height:36.8px">
                <el-button type="primary" icon="el-icon-search" size="small" @click="onSerbut">查询</el-button>
                <el-button size="small" @click="onRcvbut">收到</el-button>

                <el-button type="small" @click="onFtpbut">FTP获取
                </el-button>
            </c-col>

        </el-row>

    </el-form>
    <!-- </template>
jianglong committed
28 29 30
    </c-list-search> -->

    <c-col :span="24" style="">
jianglong committed
31 32
        <div style="border-bottom: 10px solid rgb(232, 232, 232)">
        </div>
jianglong committed
33 34 35
    </c-col>

    <el-row>
jianglong committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
        <c-col :span="24" style="">
            <c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%" :showButtonFlg="true">
                <el-table-column fixed="right" prop="op" label="操作" width="200px">
                    <template slot="header">
                        <c-col :span="11" style="text-align:left"><span>操作</span></c-col>
                        <!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
                    </template>
                    <template slot-scope="scope">
                        <c-button style="margin-left: 0" size="small" @click="onBopcfgLogbut(scope.$index,scope.row)">
                            日志
                        </c-button>

                    </template>
                </el-table-column>
            </c-istream-table>
        </c-col>
jianglong committed
52 53
    </el-row>

jianglong committed
54
</div>
jianglong committed
55
</template>
jianglong committed
56

jianglong committed
57 58 59 60 61 62 63
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Boprcv/Event";

export default {
jianglong committed
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
    inject: ["root"],
    props: ["model", "codes"],
    mixins: [commonProcess],
    data() {
        return {
            searchToggle: false,
            stmData: {
                columns: [
                    //{index:3,position:3,width:110,pattern:'date',label:'日期'},
                    //{index:4,position:4,width:100,pattern:'code',label:'状态',code:this.codes.relstaEN},
                    '0 1 "文件名称" 500 ',
                    '1 2 "文件类型" 700'
                ],
                data: [],
            },
        };
jianglong committed
80
    },
jianglong committed
81 82
    methods: {
        ...Event,
jianglong committed
83

jianglong committed
84 85 86 87
    },
    created: function () {
        this.model.bopcfg.indir = "/sstf/data/wsbdata/";
    },
jianglong committed
88 89 90

};
</script>
jianglong committed
91

jianglong committed
92
<style scoped>
jianglong committed
93 94
.eibs-tab>>>.m-table-search {
    border-bottom: 0;
jianglong committed
95
}
jianglong committed
96 97 98

.eibs-tab>>>.m-table-search-operation-top {
    width: calc(95.833333% + 9px);
jianglong committed
99 100
}
</style>