hebinlong пре 4 година
родитељ
комит
708bf9c219
1 измењених фајлова са 26 додато и 222 уклоњено
  1. 26 222
      src/views/orderList/Distribute.vue

+ 26 - 222
src/views/orderList/Distribute.vue

@@ -6,49 +6,43 @@
       <el-table v-loading="loading" :data="tableData" border style="width: 100%">
         <el-table-column type="selection" />
 
-        <el-table-column label="订单号" width="200" align="center">
+        <el-table-column label="订单号" width="100" align="center">
           <template slot-scope="scope">
             <span>{{ scope.row.orderId }}</span>
           </template>
         </el-table-column>
 
-        <el-table-column label="分发订单号" width="200" align="center">
+        <el-table-column label="分发订单号" width="100" align="center">
           <template slot-scope="scope">
             <span>{{ scope.row.recId }}</span>
           </template>
         </el-table-column>
 
-        <el-table-column label="手机号" width="200" align="center">
+        <el-table-column label="手机号" width="100" align="center">
           <template slot-scope="scope">
             <span>{{ scope.row.mobileNo }}</span>
           </template>
         </el-table-column>
 
-        <el-table-column label="流量产品包(参照运营商规格)" width="200" align="center">
+        <el-table-column label="流量包ID号" width="100" 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">
+        <el-table-column label="面额" width="50" align="center">
           <template slot-scope="scope">
             <span>{{ scope.row.flowAmount }}</span>
           </template>
         </el-table-column>
 
-        <el-table-column label="下发次数" width="200" align="center">
+        <el-table-column label="通道名称" width="200" align="center">
           <template slot-scope="scope">
-            <span>{{ scope.row.sendCount }}</span>
+            <span>{{ scope.row.channelName }}</span>
           </template>
         </el-table-column>
 
-        <el-table-column label="创建日期" width="200" align="center">
+        <el-table-column label="创建时间" width="200" align="center">
           <template slot-scope="scope">
             <span>{{ scope.row.createDate }}</span>
           </template>
@@ -60,13 +54,16 @@
           </template>
         </el-table-column>
 
-        <el-table-column label="发送状态:0-待发 1-已发 2-成功 3-重发 4-失败" width="200" align="center">
+        <el-table-column label="发送状态" width="200" align="center">
           <template slot-scope="scope">
-            <span>{{ scope.row.sendStatus }}</span>
+            <!-- #发送状态:1、成功2、失败3、已发 -->
+            <span v-if="scope.row.sendStatus==1">成功</span>
+            <span v-if="scope.row.sendStatus==2">失败</span>
+            <span v-if="scope.row.sendStatus==3">已发</span>
           </template>
         </el-table-column>
 
-        <el-table-column label="网关订单号(供应商订单号" width="200" align="center">
+        <el-table-column label="供应商订单号" width="200" align="center">
           <template slot-scope="scope">
             <span>{{ scope.row.gwSeqNo }}</span>
           </template>
@@ -108,7 +105,7 @@
           </template>
         </el-table-column>
 
-        <el-table-column label="运营商结算价格 导数据注意转换" width="200" align="center">
+        <el-table-column label="运营商结算价格" width="200" align="center">
           <template slot-scope="scope">
             <span>{{ scope.row.operatorBalancePrice }}</span>
           </template>
@@ -120,6 +117,12 @@
           </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.customerProducts }}</span>
@@ -158,113 +161,13 @@ export default {
           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: '????',
+          packageId: 'YDHF100',
+          fossPackageId: '????',
           flowAmount: 100,
-          sendCount: 5,
+          channelName: 'test',
           createDate: '2021-05-17 00:00:00',
           modifyDate: '2021-05-17 00:00:00',
-          sendStatus: 0,
+          sendStatus: 1,
           gwSeqNo: '123456789',
           gwStatus: 'PASS',
           gwErrorCode: '???',
@@ -272,108 +175,9 @@ export default {
           mobileHome: '四川',
           appId: '123',
           lastCallbackMsg: 'CALL OK',
-          operatorBalancePprice: 100.55,
+          operatorBalancePrice: 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',