Stpp.vue 2.47 KB
Newer Older
fukai committed
1 2
<template>
  <div class="eibs-tab">
zenghuan committed
3
    <el-row style="background-color: white;width :100%;height:100px;padding-top: 30px;">
zenghuan committed
4 5 6
      <c-col :span="24">
        <c-col :span="8">
          <el-form-item label="报文标准" prop="" style="width: 100%">
7
            <c-select v-model="model.msgp.typ" style="width: 100%" dbCode="MSGTP3"/>
zenghuan committed
8 9 10 11 12 13 14
          </el-form-item>
        </c-col>
      </c-col>
    </el-row>

    <el-row style="height:9000px;margin-top: 20px;">
      <div style="height: 100%">
ZcyJames committed
15 16
        <iframe v-if="model.msgp.typ === 'sf2'" src="http://192.168.0.114:8080/swifteditor" width="100%"></iframe>
        <iframe v-else-if="model.msgp.typ === 'iso'" src="http://192.168.0.114:8080/swiftiso-editor" width="100%"></iframe>
zenghuan committed
17 18 19
      </div>
    </el-row>

fukai committed
20 21 22
  </div>
</template>
<script>
zenghuan committed
23
import event from "../event";
fukai committed
24 25

export default {
zenghuan committed
26
  inject: ["root"],
27
  props: ["model", "codes"],
zenghuan committed
28
  mixins: [event],
29
  data() {
zenghuan committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
    return {
      activeTab: 'fb',
      load: false,
      subtypCodes: [],
      multipleSelection: [],
      stmData: {
        columns: [],
        data: [],
      },
      pagination: {
        pageNum: 1,
        pageSize: 10,
        total: 0,
      },
    };
  },
  computed: {
    isFoldDisable: function () {
      return this.multipleSelection.length == 0;
    },
    isRoutingDisable: function () {
      return this.multipleSelection.length == 0;
    }
53
  },
zenghuan committed
54 55 56 57 58 59 60 61 62
  methods: {},
  mounted: function () {
  },
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
  height: 100% !important;
}
fukai committed
63

zenghuan committed
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
.eibs-tabs /deep/ {
  .m-table-search {
    padding: 20px 0px 10px 0px;
  }
}

.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;
84
  }
fukai committed
85 86
}

zenghuan committed
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
.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;
}
zenghuan committed
133

zenghuan committed
134
iframe {
zenghuan committed
135 136
  height: 900px;
}
fukai committed
137
</style>