Bladeren bron

orderList

hebinlong 4 jaren geleden
bovenliggende
commit
3c9d49d39f
1 gewijzigde bestanden met toevoegingen van 301 en 149 verwijderingen
  1. 301 149
      src/views/orderList/index.vue

+ 301 - 149
src/views/orderList/index.vue

@@ -48,134 +48,145 @@
     <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="200" 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="应用ID" width="200" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.row.extorderId }}</span>
+          <span>{{ scope.row.appId }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="订单类型" width="200" align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.row.orderType }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="产品ID" width="160" align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.row.productId }}</span>
         </template>
       </el-table-column>
 
-      <el-table-column label="手机号码" width="200" align="center">
+      <el-table-column label="手机号码" width="160" align="center">
         <template slot-scope="scope">
           <span>{{ scope.row.usedMobile }}</span>
         </template>
       </el-table-column>
 
-      <el-table-column
-        label="开始时间"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+      <el-table-column label="运营商" width="160" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.row.applyDateStart }}</span>
+          <span>{{ scope.row.mobileOperator }}</span>
         </template>
       </el-table-column>
 
-      <el-table-column
-        label="时间结束"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+      <el-table-column label="归属地" width="160" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.row.applyDateEnd }}</span>
-        </template> </el-table-column><el-table-column
-        label="客户名称"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+          <span>{{ scope.row.mobileHome }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="发送日期" width="160" align="center" prop="createTime">
         <template slot-scope="scope">
-          <span>{{ scope.row.enterpriseIdDesc }}</span>
-        </template> </el-table-column><el-table-column
-        label="通道名称"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+          <span>{{ scope.row.limitedDate }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="回调日期" width="160" align="center" prop="createTime">
         <template slot-scope="scope">
-          <span>{{ scope.row.channelIdDesc }}</span>
-        </template> </el-table-column><el-table-column
-        label="订单状态"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+          <span>{{ scope.row.lastModifyDate }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="订单状态" width="160" align="center">
         <template slot-scope="scope">
           <span>{{ scope.row.status }}</span>
-        </template> </el-table-column><el-table-column
-        label="运营商"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+        </template>
+      </el-table-column>
+
+      <el-table-column label="订单状态中文" width="160" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.row.mobileOperator }}</span>
-        </template> </el-table-column><el-table-column
-        label="面额"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+          <span>{{ scope.row.statusDesc }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="用时" width="160" align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.row.usedTime }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="回调状态" width="160" align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.row.dealFlag }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="回调状态中文" width="160" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.row.flowAmount }}</span>
+          <span>{{ scope.row.dealFlagDesc }}</span>
         </template>
       </el-table-column>
-      <el-table-column
-        label="面额"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+
+      <el-table-column label="通道" width="160" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.row.flowAmount }}</span>
-        </template> </el-table-column><el-table-column
-        label="回调时间开始范围"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+          <span>{{ scope.row.channelName }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="通道订单" width="160" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.row.checkTimeStart }}</span>
-        </template> </el-table-column><el-table-column
-        label="回调时间结束范围"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+          <span>{{ scope.row.gwSeqNo }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="错误原因" width="160" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.row.checkTimeEnd }}</span>
-        </template> </el-table-column><el-table-column
-        label="回调状态"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+          <span>{{ scope.row.gwStatus }}</span>
+        </template>
+      </el-table-column>
+
+      <el-table-column label="错误代码" width="160" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.row.dealFlag }}</span>
-        </template> </el-table-column><el-table-column
-        label="归属地"
-        width="160"
-        align="center"
-        prop="createTime"
-      >
+          <span>{{ scope.row.gwErrorCode }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="客服单号" width="160" align="center">
         <template slot-scope="scope">
-          <span>{{ scope.row.mobileHome }}</span>
+          <span>{{ scope.row.extorderId }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="属性1" width="160" align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.row.attr1 }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="运营商价格" width="160" align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.row.operatorBalancePrice }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="客户价格" width="160" align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.row.price }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="充值面额" width="160" align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.row.faceValue }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="合作伙伴面额" width="160" align="center">
+        <template slot-scope="scope">
+          <span>{{ scope.row.partnerBalancePrice }}</span>
         </template>
       </el-table-column>
 
-      <el-table-column
-        label="操作"
-        fixed="right"
-        min-width="150"
-        align="center"
-      >
+      <el-table-column label="操作" fixed="right" min-width="150" align="center">
         <template slot-scope="scope">
           <el-button
             type="text"
@@ -199,66 +210,207 @@ export default {
     return {
       Name: '',
       tableData: [
-        { orderId: '1618675202869450462',
-          userName: 'test',
-          extorderId: 'CD2104253953427952',
-          usedMobile: '18820454014',
-          applyDateStart: '2021-04-26 00:00:00',
-          applyDateEnd: '2021-04-26 23:59:59',
-          enterpriseIdDesc: '山东茶蛋信息技术有限公司',
-          channelIdDesc: 'BF移动',
-          status: '充值成功',
+        {
+          orderId: '1215451',
+          appId: '15484',
+          orderType: '话费',
+          productId: '1215',
+          usedMobile: '135158',
+          mobileOperator: '移动',
+          mobileHome: '四川',
+          limitedDate: '2021-05-14 13:08:00',
+          lastModifyDate: '2021-05-14 13:08:00',
+          status: 1,
+          statusDesc: 'PASS',
+          usedTime: '999',
+          dealFlag: 1,
+          dealFlagDesc: 'PASS',
+          channelName: 'TEST',
+          gwSeqNo: 'a',
+          gwStatus: 'ERROR',
+          gwErrorCode: 1,
+          extorderId: '2358954',
+          attr1: 'attr',
+          operatorBalancePrice: 10.23,
+          price: 10.99,
+          faceValue: 10,
+          partnerBalancePrice: 10.00
+        }, {
+          orderId: '1215451',
+          appId: '15484',
+          orderType: '话费',
+          productId: '1215',
+          usedMobile: '135158',
+          mobileOperator: '移动',
+          mobileHome: '四川',
+          limitedDate: '2021-05-14 13:08:00',
+          lastModifyDate: '2021-05-14 13:08:00',
+          status: 1,
+          statusDesc: 'PASS',
+          usedTime: '999',
+          dealFlag: 1,
+          dealFlagDesc: 'PASS',
+          channelName: 'TEST',
+          gwSeqNo: 'a',
+          gwStatus: 'ERROR',
+          gwErrorCode: 1,
+          extorderId: '2358954',
+          attr1: 'attr',
+          operatorBalancePrice: 10.23,
+          price: 10.99,
+          faceValue: 10,
+          partnerBalancePrice: 10.00
+        }, {
+          orderId: '1215451',
+          appId: '15484',
+          orderType: '话费',
+          productId: '1215',
+          usedMobile: '135158',
+          mobileOperator: '移动',
+          mobileHome: '四川',
+          limitedDate: '2021-05-14 13:08:00',
+          lastModifyDate: '2021-05-14 13:08:00',
+          status: 1,
+          statusDesc: 'PASS',
+          usedTime: '999',
+          dealFlag: 1,
+          dealFlagDesc: 'PASS',
+          channelName: 'TEST',
+          gwSeqNo: 'a',
+          gwStatus: 'ERROR',
+          gwErrorCode: 1,
+          extorderId: '2358954',
+          attr1: 'attr',
+          operatorBalancePrice: 10.23,
+          price: 10.99,
+          faceValue: 10,
+          partnerBalancePrice: 10.00
+        }, {
+          orderId: '1215451',
+          appId: '15484',
+          orderType: '话费',
+          productId: '1215',
+          usedMobile: '135158',
+          mobileOperator: '移动',
+          mobileHome: '四川',
+          limitedDate: '2021-05-14 13:08:00',
+          lastModifyDate: '2021-05-14 13:08:00',
+          status: 1,
+          statusDesc: 'PASS',
+          usedTime: '999',
+          dealFlag: 1,
+          dealFlagDesc: 'PASS',
+          channelName: 'TEST',
+          gwSeqNo: 'a',
+          gwStatus: 'ERROR',
+          gwErrorCode: 1,
+          extorderId: '2358954',
+          attr1: 'attr',
+          operatorBalancePrice: 10.23,
+          price: 10.99,
+          faceValue: 10,
+          partnerBalancePrice: 10.00
+        }, {
+          orderId: '1215451',
+          appId: '15484',
+          orderType: '话费',
+          productId: '1215',
+          usedMobile: '135158',
           mobileOperator: '移动',
-          flowAmount: '10',
-          checkTimeStart: '2021-04-25 00:39:53',
-          checkTimeEnd: '2021-04-25 23:39:53',
-          dealFlag: '已回调',
-          mobileHome: '广东-茂名-移动' },
-        { orderId: '1618675202869450462',
-          userName: 'test',
-          extorderId: 'CD2104253953427952',
-          usedMobile: '18820454014',
-          applyDateStart: '2021-04-26 00:00:00',
-          applyDateEnd: '2021-04-26 23:59:59',
-          enterpriseIdDesc: '山东茶蛋信息技术有限公司',
-          channelIdDesc: 'BF移动',
-          status: '充值成功',
+          mobileHome: '四川',
+          limitedDate: '2021-05-14 13:08:00',
+          lastModifyDate: '2021-05-14 13:08:00',
+          status: 1,
+          statusDesc: 'PASS',
+          usedTime: '999',
+          dealFlag: 1,
+          dealFlagDesc: 'PASS',
+          channelName: 'TEST',
+          gwSeqNo: 'a',
+          gwStatus: 'ERROR',
+          gwErrorCode: 1,
+          extorderId: '2358954',
+          attr1: 'attr',
+          operatorBalancePrice: 10.23,
+          price: 10.99,
+          faceValue: 10,
+          partnerBalancePrice: 10.00
+        }, {
+          orderId: '1215451',
+          appId: '15484',
+          orderType: '话费',
+          productId: '1215',
+          usedMobile: '135158',
           mobileOperator: '移动',
-          flowAmount: '10',
-          checkTimeStart: '2021-04-25 00:39:53',
-          checkTimeEnd: '2021-04-25 23:39:53',
-          dealFlag: '已回调',
-          mobileHome: '广东-茂名-移动' },
-        { orderId: '1618675202869450462',
-          userName: 'test',
-          extorderId: 'CD2104253953427952',
-          usedMobile: '18820454014',
-          applyDateStart: '2021-04-26 00:00:00',
-          applyDateEnd: '2021-04-26 23:59:59',
-          enterpriseIdDesc: '山东茶蛋信息技术有限公司',
-          channelIdDesc: 'BF移动',
-          status: '充值成功',
+          mobileHome: '四川',
+          limitedDate: '2021-05-14 13:08:00',
+          lastModifyDate: '2021-05-14 13:08:00',
+          status: 1,
+          statusDesc: 'PASS',
+          usedTime: '999',
+          dealFlag: 1,
+          dealFlagDesc: 'PASS',
+          channelName: 'TEST',
+          gwSeqNo: 'a',
+          gwStatus: 'ERROR',
+          gwErrorCode: 1,
+          extorderId: '2358954',
+          attr1: 'attr',
+          operatorBalancePrice: 10.23,
+          price: 10.99,
+          faceValue: 10,
+          partnerBalancePrice: 10.00
+        }, {
+          orderId: '1215451',
+          appId: '15484',
+          orderType: '话费',
+          productId: '1215',
+          usedMobile: '135158',
           mobileOperator: '移动',
-          flowAmount: '10',
-          checkTimeStart: '2021-04-25 00:39:53',
-          checkTimeEnd: '2021-04-25 23:39:53',
-          dealFlag: '已回调',
-          mobileHome: '广东-茂名-移动' },
-        { orderId: '1618675202869450462',
-          userName: 'test',
-          extorderId: 'CD2104253953427952',
-          usedMobile: '18820454014',
-          applyDateStart: '2021-04-26 00:00:00',
-          applyDateEnd: '2021-04-26 23:59:59',
-          enterpriseIdDesc: '山东茶蛋信息技术有限公司',
-          channelIdDesc: 'BF移动',
-          status: '充值成功',
+          mobileHome: '四川',
+          limitedDate: '2021-05-14 13:08:00',
+          lastModifyDate: '2021-05-14 13:08:00',
+          status: 1,
+          statusDesc: 'PASS',
+          usedTime: '999',
+          dealFlag: 1,
+          dealFlagDesc: 'PASS',
+          channelName: 'TEST',
+          gwSeqNo: 'a',
+          gwStatus: 'ERROR',
+          gwErrorCode: 1,
+          extorderId: '2358954',
+          attr1: 'attr',
+          operatorBalancePrice: 10.23,
+          price: 10.99,
+          faceValue: 10,
+          partnerBalancePrice: 10.00
+        }, {
+          orderId: '1215451',
+          appId: '15484',
+          orderType: '话费',
+          productId: '1215',
+          usedMobile: '135158',
           mobileOperator: '移动',
-          flowAmount: '10',
-          checkTimeStart: '2021-04-25 00:39:53',
-          checkTimeEnd: '2021-04-25 23:39:53',
-          dealFlag: '已回调',
-          mobileHome: '广东-茂名-移动' }
+          mobileHome: '四川',
+          limitedDate: '2021-05-14 13:08:00',
+          lastModifyDate: '2021-05-14 13:08:00',
+          status: 1,
+          statusDesc: 'PASS',
+          usedTime: '999',
+          dealFlag: 1,
+          dealFlagDesc: 'PASS',
+          channelName: 'TEST',
+          gwSeqNo: 'a',
+          gwStatus: 'ERROR',
+          gwErrorCode: 1,
+          extorderId: '2358954',
+          attr1: 'attr',
+          operatorBalancePrice: 10.23,
+          price: 10.99,
+          faceValue: 10,
+          partnerBalancePrice: 10.00
+        }
       ]
     }
   }