Selmainp.vue 4.17 KB
Newer Older
fukai 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
<template>
  <div class="eibs-tab">
                              
       <c-col :span="24">
        <div class="e-table-wrapper">
            <el-table
                :data="model.fxdgrp.fxdlst"
                style="width: 100%"
                >
                <el-table-column
                  prop="credat"
                  label="导入日期"
                  sortable
                  width="100">
                </el-table-column>
                <el-table-column
                  prop="filtyp"
                  label="文件类型"
                  sortable
                  width="150">
                  <template slot-scope="scope">
                    <span>{{ this.codes.filtyp.find(item=>item.value==scope.row.filtyp).label }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="filnam"
                  label="文件名"
                  sortable
                  width="300">
                </el-table-column>
                <el-table-column
                  prop="filpth"
                  label="文件路径"
                  sortable
                  width="450">
                </el-table-column>
              </el-table>
              <el-pagination
                 layout="prev, pager, next"
40
                 :total="1">
fukai committed
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
              </el-pagination>
       </div>
       </c-col>
                 <!-- LT000023 : 导入起始日期: -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxdp.LT000023')" prop="fxdp.begdat">
            <c-date-picker type="date"  v-model="model.fxdp.begdat" style="width:100%"  :placeholder="$t('other.please_enter')+$t('fxdp.LT000023')"></c-date-picker>
        </el-form-item>
       </c-col>
                 <!-- LT000024 : 导入截止日期: -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxdp.LT000024')" prop="fxdp.enddat">
            <c-date-picker type="date"  v-model="model.fxdp.enddat" style="width:100%"  :placeholder="$t('other.please_enter')+$t('fxdp.LT000024')"></c-date-picker>
        </el-form-item>
       </c-col>
                 <!-- LT000003 : 文件类型: -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('fxdp.LT000003')" prop="fxdp.filtyp">
            <c-select v-model="model.fxdp.filtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxdp.LT000003')">
                <el-option
                  v-for="item in codes.filtyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value">
                </el-option>
              </c-select>
        </el-form-item>
       </c-col>
                 <!-- LT000004 : 文件名: -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('fxdp.LT000004')" prop="fxdp.filnam">
            <c-input  v-model="model.fxdp.filnam" maxlength="50"  :placeholder="$t('other.please_enter')+$t('fxdp.LT000004')"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onSel">
             {{$t('fxdp.BT000061')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onReset">
             {{$t('fxdp.BT000062')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onHtymodHty">
             {{$t('fxdp.BT000414')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onFxdpAdd">
             {{$t('fxdp.BT000031')}}
        </c-button>
       </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
109
import Event from "../model/Event"
fukai committed
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

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

    }
}
</script>
<style>

</style>