Oftp13.vue 6.31 KB
Newer Older
fukai committed
1 2
<template>
  <div class="eibs-tab">
zenghuan committed
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
    <c-list-search @form-reset="handleReset" @form-search="handleSearch">
      <!-- 持续展示区 -->
      <template v-slot="searchSlot">
        <el-row>
          <c-col :span="24">
            <c-col :span="8">
              <el-form-item label="报文标准" prop="" style="width: 100%">
                <c-select v-model="model.oftp.rel.msgtyp" style="width: 100%" placeholder="请选择报文标准"
                  :code="codes.msgtyp" />
              </el-form-item>
            </c-col>
            <c-col :span="8">
              <el-form-item label="报文类型" prop="" style="width: 100%">
                <c-select v-model="model.oftp.rel.mty" style="width: 100%" placeholder="请选择报文类型" :code="codes.mty" />
              </el-form-item>
            </c-col>
            <c-col :span="8">
              <el-form-item label="发报行BIC" prop="" style="width: 100%">
                <c-input v-model="model.oftp.rel.sedbak" style="width: 100%" placeholder="请输入发报行BIC" />
              </el-form-item>
            </c-col>

          </c-col>
        </el-row>
        <!-- 可控展示区 -->
        <el-row v-show="searchSlot.searchToggle">
        </el-row>
      </template>
    </c-list-search>

    <el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
      <c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0" type="primary">{{
        $t('public.归档') }}
      </c-button>
      <c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium" style="margin-left: 20"
        type="primary">ReRouting
      </c-button>
      <c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
        {{ $t('public.导出Excel') }}
      </c-button>
    </el-col>

    <el-col :span="24" style="margin-top: 10px">
      <div style="height: 90%">
        <c-col :span="24">
          <el-tabs v-model="activeTab" class="y-tabs">
            <el-tab-pane label="待关联报文处理" name="fb">
              <el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
                @selection-change="handleSelectionChange" size="small" :border="true" height="calc(100vh - 480px)"
                :highlight-current-row="true">
                <el-table-column type="selection" width="55">
                </el-table-column>
                <el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
                  :min-width="item.width">
                </el-table-column>
              </el-table>

              <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
                :page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
                @current-change="handleCurrentChange">
              </el-pagination>
            </el-tab-pane>
          </el-tabs>
        </c-col>
李少勇 committed
67
      </div>
zenghuan committed
68
    </el-col>
fukai committed
69 70 71
  </div>
</template>
<script>
zenghuan committed
72
import event from "../event";
fukai committed
73 74

export default {
zenghuan committed
75
  inject: ["root"],
李少勇 committed
76
  props: ["model", "codes"],
zenghuan committed
77
  mixins: [event],
李少勇 committed
78 79
  data() {
    return {
zenghuan committed
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 115 116 117 118 119 120 121 122 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 163 164 165 166 167 168 169 170 171 172 173 174 175
      activeTab: 'fb',
      load: false,
      subtypCodes: [],
      multipleSelection: [],
      stmData: {
        columns: [
          {
            label: "报文种类",
            prop: "num",
            width: "120px"
          },
          {
            label: "收发时间",
            prop: "num",
            width: "120px"
          },
          {
            label: "G渠道",
            prop: "num",
            width: "120px"
          },
          {
            label: "记账类型",
            prop: "num",
            width: "120px"
          },
          {
            label: "收支",
            prop: "num",
            width: "120px"
          },
          {
            label: "金额",
            prop: "num",
            width: "120px"
          },
          {
            label: "20域编号",
            prop: "ownref",
            width: "120px"
          },
          {
            label: "21域编号",
            prop: "othref",
            width: "120px"
          },
          {
            label: "目标渠道",
            prop: "num",
            width: "120px"
          },
          {
            label: "源渠道",
            prop: "num",
            width: "120px"
          },
          {
            label: "发报行BIC",
            prop: "num",
            width: "120px"
          },
          {
            label: "收报行BIC",
            prop: "num",
            width: "120px"
          },
          {
            label: "账户行BIC",
            prop: "num",
            width: "120px"
          },
          {
            label: "勾销标识",
            prop: "num",
            width: "120px"
          },
          {
            label: "最后处理时间",
            prop: "num",
            width: "120px"
          }],
        data: [],
      },
      pagination: {
        pageNum: 1,
        pageSize: 10,
        total: 0,
      },
    };
  },
  computed: {
    isFoldDisable: function () {
      return this.multipleSelection.length == 0;
    },
    isRoutingDisable: function () {
      return this.multipleSelection.length == 0;
fukai committed
176
    }
李少勇 committed
177
  },
zenghuan committed
178 179 180 181 182 183 184 185 186 187
  methods: {
  },
  mounted: function () {
  },
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
  height: 100% !important;
}
李少勇 committed
188

zenghuan committed
189 190 191
.eibs-tabs /deep/ {
  .m-table-search {
    padding: 20px 0px 10px 0px;
李少勇 committed
192
  }
fukai committed
193
}
zenghuan committed
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258

.header-wrap {
  height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .title {
    font-size: 16px;
    color: #000;
  }

  .close-btn {
    padding: 3px;
    cursor: pointer;
  }
}

.m-list-btns {
  height: 300px;
  overflow: auto;
}

.medium_bcs {
  border-radius: 5px;
}

.m-table-search {
  padding: 20px 0px 10px 0px;
}

.pagination-box {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  background: #fff;
  margin-top: 5px;
}

.el-dialog__body {
  padding: 10px 5px 50px;
}

.m-table-search {
  padding: 20px 0px 10px 0px;
}

.btn-group-wrap {
  max-height: 200px;
  width: 100%;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn-item {
  margin-bottom: 10px;
  margin-right: 10px;
}
</style>