Sndp.vue 3.78 KB
Newer Older
jianglong 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
<template>
<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="">
                <!-- S0000008 : Output Dir -->
                <c-col :span="20">
                    <c-form-item label="输出目录" prop="bopcfg.outdir">
                        <c-input v-model="model.bopcfg.outdir" maxlength="90" :placeholder="$t('other.please_enter')+'Output Dir'"></c-input>
                    </c-form-item>
                </c-col>

                <c-col :span="4">
                    <c-checkbox v-model="model.genptybas">生成单位信息</c-checkbox>
                </c-col>

            </c-col>
            <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="onSndbut">生成</el-button>

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

        </el-row>
    </el-form>

    <c-col :span="24" style="">
        <div style="border-bottom: 10px solid rgb(232, 232, 232)">
        </div>
    </c-col>

    <el-row>
        <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>
    </el-row>

    <c-col :span="24" style="text-align: right;height:36.8px position: absolute;
    bottom: 0px;
    right: 50%;">
        <c-button size="small" type="primary" @click="onExtbut">
            退出
        </c-button>
    </c-col>
</div>
</template>

<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bopsnd/Event"
jianglong committed
70
import Utils from "~/utils";
jianglong committed
71 72 73 74 75 76 77 78 79 80 81 82

export default {
    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},
jianglong committed
83 84 85 86
                    '0 1 "申报编号" 180 ',
                    '1 2 "临时编号" 180',
                    //'2 3 "收付汇日期" 100',
                    {index:2,position:3,width:150,pattern:'date',label:'收付汇日期'},
jianglong committed
87 88 89 90
                    //'3 4 "数据类型" 120',
                    {index:3,position:4,width:150,pattern:'code',label:'数据类型',code:this.codes.tranboptyp},
                    //'4 5 "申报类型" 250',
                    {index:4,position:5,width:250,pattern:'code',label:'申报类型',code:this.codes.boptyp},
jianglong committed
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
                    '5 6 "状态" 80',
                ],
                data: [],
            },
        }
    },
    methods: {
        ...Event
    },
    created: function () {

    }
}
</script>

<style>

</style>