<template>
  <!-- 分发记录表 -->
  <div>

    <div class="DistributeTable">
      <el-table v-loading="loading" :data="tableData" border style="width: 100%">
        <el-table-column type="selection" />

        <el-table-column label="订单号" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.orderId }}</span>
          </template>
        </el-table-column>

        <el-table-column label="分发订单号" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.recId }}</span>
          </template>
        </el-table-column>

        <el-table-column label="手机号" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.mobileNo }}</span>
          </template>
        </el-table-column>

        <el-table-column label="流量产品包（参照运营商规格）" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.packageId }}</span>
          </template>
        </el-table-column>

        <el-table-column label="流量产品包（foss平台）" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.fossPackageId }}</span>
          </template>
        </el-table-column>

        <el-table-column label="流量大小（面额）导数据注意转换" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.flowAmount }}</span>
          </template>
        </el-table-column>

        <el-table-column label="下发次数" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.sendCount }}</span>
          </template>
        </el-table-column>

        <el-table-column label="创建日期" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.createDate }}</span>
          </template>
        </el-table-column>

        <el-table-column label="回调时间" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.modifyDate }}</span>
          </template>
        </el-table-column>

        <el-table-column label="发送状态：0-待发 1-已发 2-成功 3-重发 4-失败" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.sendStatus }}</span>
          </template>
        </el-table-column>

        <el-table-column label="网关订单号（供应商订单号）" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.gwSeqNo }}</span>
          </template>
        </el-table-column>

        <el-table-column label="网关状态" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.gwStatus }}</span>
          </template>
        </el-table-column>

        <el-table-column label="网关错误代码" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.gwErrorCode }}</span>
          </template>
        </el-table-column>

        <el-table-column label="网关错误信息" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.gwErrorMsg }}</span>
          </template>
        </el-table-column>

        <el-table-column label="归属地市" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.mobileHome }}</span>
          </template>
        </el-table-column>

        <el-table-column label="应用ID" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.appId }}</span>
          </template>
        </el-table-column>

        <el-table-column label="最后回调信息" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.lastCallbackMsg }}</span>
          </template>
        </el-table-column>

        <el-table-column label="运营商结算价格 导数据注意转换" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.operatorBalancePrice }}</span>
          </template>
        </el-table-column>

        <el-table-column label="通道组次数" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.batchCount }}</span>
          </template>
        </el-table-column>

        <el-table-column label="客户产品" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.customerProducts }}</span>
          </template>
        </el-table-column>

        <el-table-column label="通道产品" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.channelProducts }}</span>
          </template>
        </el-table-column>

        <el-table-column label="运营商订单号" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.operatorId }}</span>
          </template>
        </el-table-column>

        <el-table-column label="分发记录日志" width="200" align="center">
          <template slot-scope="scope">
            <span>{{ scope.row.recordLog }}</span>
          </template>
        </el-table-column>

      </el-table>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          recId: '123456789',
          orderId: '123456789',
          mobileNo: '123456789',
          packageNd: 'YDHF100',
          fossPackageNd: '????',
          flowAmount: 100,
          sendCount: 5,
          createDate: '2021-05-17 00:00:00',
          modifyDate: '2021-05-17 00:00:00',
          sendStatus: 0,
          gwSeqNo: '123456789',
          gwStatus: 'PASS',
          gwErrorCode: '???',
          gwErrorMsg: 'NOT FIND',
          mobileHome: '四川',
          appId: '123',
          lastCallbackMsg: 'CALL OK',
          operatorBalancePprice: 100.55,
          batchCount: 5,
          customerProducts: '???',
          channelProducts: '??',
          operatorId: '123456789',
          recordLog: 'SOURCE'
        },
        {
          recId: '123456789',
          orderId: '123456789',
          mobileNo: '123456789',
          packageNd: 'YDHF100',
          fossPackageNd: '????',
          flowAmount: 100,
          sendCount: 5,
          createDate: '2021-05-17 00:00:00',
          modifyDate: '2021-05-17 00:00:00',
          sendStatus: 0,
          gwSeqNo: '123456789',
          gwStatus: 'PASS',
          gwErrorCode: '???',
          gwErrorMsg: 'NOT FIND',
          mobileHome: '四川',
          appId: '123',
          lastCallbackMsg: 'CALL OK',
          operatorBalancePprice: 100.55,
          batchCount: 5,
          customerProducts: '???',
          channelProducts: '??',
          operatorId: '123456789',
          recordLog: 'SOURCE'
        },
        {
          recId: '123456789',
          orderId: '123456789',
          mobileNo: '123456789',
          packageNd: 'YDHF100',
          fossPackageNd: '????',
          flowAmount: 100,
          sendCount: 5,
          createDate: '2021-05-17 00:00:00',
          modifyDate: '2021-05-17 00:00:00',
          sendStatus: 0,
          gwSeqNo: '123456789',
          gwStatus: 'PASS',
          gwErrorCode: '???',
          gwErrorMsg: 'NOT FIND',
          mobileHome: '四川',
          appId: '123',
          lastCallbackMsg: 'CALL OK',
          operatorBalancePprice: 100.55,
          batchCount: 5,
          customerProducts: '???',
          channelProducts: '??',
          operatorId: '123456789',
          recordLog: 'SOURCE'
        },
        {
          recId: '123456789',
          orderId: '123456789',
          mobileNo: '123456789',
          packageNd: 'YDHF100',
          fossPackageNd: '????',
          flowAmount: 100,
          sendCount: 5,
          createDate: '2021-05-17 00:00:00',
          modifyDate: '2021-05-17 00:00:00',
          sendStatus: 0,
          gwSeqNo: '123456789',
          gwStatus: 'PASS',
          gwErrorCode: '???',
          gwErrorMsg: 'NOT FIND',
          mobileHome: '四川',
          appId: '123',
          lastCallbackMsg: 'CALL OK',
          operatorBalancePprice: 100.55,
          batchCount: 5,
          customerProducts: '???',
          channelProducts: '??',
          operatorId: '123456789',
          recordLog: 'SOURCE'
        },
        {
          recId: '123456789',
          orderId: '123456789',
          mobileNo: '123456789',
          packageNd: 'YDHF100',
          fossPackageNd: '????',
          flowAmount: 100,
          sendCount: 5,
          createDate: '2021-05-17 00:00:00',
          modifyDate: '2021-05-17 00:00:00',
          sendStatus: 0,
          gwSeqNo: '123456789',
          gwStatus: 'PASS',
          gwErrorCode: '???',
          gwErrorMsg: 'NOT FIND',
          mobileHome: '四川',
          appId: '123',
          lastCallbackMsg: 'CALL OK',
          operatorBalancePprice: 100.55,
          batchCount: 5,
          customerProducts: '???',
          channelProducts: '??',
          operatorId: '123456789',
          recordLog: 'SOURCE'
        },
        {
          recId: '123456789',
          orderId: '123456789',
          mobileNo: '123456789',
          packageNd: 'YDHF100',
          fossPackageNd: '????',
          flowAmount: 100,
          sendCount: 5,
          createDate: '2021-05-17 00:00:00',
          modifyDate: '2021-05-17 00:00:00',
          sendStatus: 0,
          gwSeqNo: '123456789',
          gwStatus: 'PASS',
          gwErrorCode: '???',
          gwErrorMsg: 'NOT FIND',
          mobileHome: '四川',
          appId: '123',
          lastCallbackMsg: 'CALL OK',
          operatorBalancePprice: 100.55,
          batchCount: 5,
          customerProducts: '???',
          channelProducts: '??',
          operatorId: '123456789',
          recordLog: 'SOURCE'
        },
        {
          recId: '123456789',
          orderId: '123456789',
          mobileNo: '123456789',
          packageNd: 'YDHF100',
          fossPackageNd: '????',
          flowAmount: 100,
          sendCount: 5,
          createDate: '2021-05-17 00:00:00',
          modifyDate: '2021-05-17 00:00:00',
          sendStatus: 0,
          gwSeqNo: '123456789',
          gwStatus: 'PASS',
          gwErrorCode: '???',
          gwErrorMsg: 'NOT FIND',
          mobileHome: '四川',
          appId: '123',
          lastCallbackMsg: 'CALL OK',
          operatorBalancePprice: 100.55,
          batchCount: 5,
          customerProducts: '???',
          channelProducts: '??',
          operatorId: '123456789',
          recordLog: 'SOURCE'
        },
        {
          recId: '123456789',
          orderId: '123456789',
          mobileNo: '123456789',
          packageNd: 'YDHF100',
          fossPackageNd: '????',
          flowAmount: 100,
          sendCount: 5,
          createDate: '2021-05-17 00:00:00',
          modifyDate: '2021-05-17 00:00:00',
          sendStatus: 0,
          gwSeqNo: '123456789',
          gwStatus: 'PASS',
          gwErrorCode: '???',
          gwErrorMsg: 'NOT FIND',
          mobileHome: '四川',
          appId: '123',
          lastCallbackMsg: 'CALL OK',
          operatorBalancePprice: 100.55,
          batchCount: 5,
          customerProducts: '???',
          channelProducts: '??',
          operatorId: '123456789',
          recordLog: 'SOURCE'
        },
        {
          recId: '123456789',
          orderId: '123456789',
          mobileNo: '123456789',
          packageNd: 'YDHF100',
          fossPackageNd: '????',
          flowAmount: 100,
          sendCount: 5,
          createDate: '2021-05-17 00:00:00',
          modifyDate: '2021-05-17 00:00:00',
          sendStatus: 0,
          gwSeqNo: '123456789',
          gwStatus: 'PASS',
          gwErrorCode: '???',
          gwErrorMsg: 'NOT FIND',
          mobileHome: '四川',
          appId: '123',
          lastCallbackMsg: 'CALL OK',
          operatorBalancePprice: 100.55,
          batchCount: 5,
          customerProducts: '???',
          channelProducts: '??',
          operatorId: '123456789',
          recordLog: 'SOURCE'
        }
      ]
    }
  }
}
</script>

<style>

</style>
