Explorar o código

02/24 10:50

111
261568008@qq.com %!s(int64=5) %!d(string=hai) anos
pai
achega
8a65545b9b

+ 3 - 0
src/utils/searchArray.js

@@ -51,6 +51,9 @@ const orderStatus = [
   { value: "SMALL_CLASS_TO_BUY", label: "VIP购买" },
   { value: "SPORADIC", label: "零星收费" },
   { value: "LUCK", label: "福袋活动" },
+  { value: "PRACTICE", label: "网管课" },
+  { value: "PRACTICE_GROUP_BUY", label: "付费网管课" }, 
+  
 ]
 
 // 交易状态

+ 4 - 2
src/utils/vueFilter.js

@@ -189,7 +189,6 @@ Vue.filter('workType', value => {
   }
   return template[value]
 })
-
 // 交易类型
 Vue.filter('orderType', value => {
   let template = {
@@ -198,7 +197,10 @@ Vue.filter('orderType', value => {
     OTHER: "其他",
     SMALL_CLASS_TO_BUY: "VIP购买",
     SPORADIC: '零星收费',
-    LUCK: "福袋活动"
+    LUCK: "福袋活动",
+    PRACTICE:'网管课',
+    PRACTICE_GROUP_BUY:'网管课购买'
+
   }
   return template[value]
 })

+ 3 - 1
src/views/businessManager/orderManager/income.vue

@@ -77,12 +77,14 @@
                            prop="orderNo"
                            label="订单号">
           </el-table-column>
-          <el-table-column align='center' width="180px"
+          <el-table-column align='center' 
                            prop="createTime"
                            label="订单日期">
           </el-table-column>
           <el-table-column align='center'
+       width="100px"
                            label="交易类型">
+                           
             <template slot-scope="scope">
               {{ scope.row.type | orderType }}
             </template>

+ 4 - 2
src/views/businessManager/orderManager/incomeOne.vue

@@ -86,6 +86,7 @@
                            label="订单日期">
           </el-table-column>
           <el-table-column align='center'
+           width="100px"
                            label="交易类型">
             <template slot-scope="scope">
               {{ scope.row.type | orderType }}
@@ -110,6 +111,7 @@
             </template>
           </el-table-column>
           <el-table-column align='center'
+           fixed="right"
                            prop="paymentChannel"
                            label="交易方式">
             <template slot-scope="scope">
@@ -155,7 +157,7 @@ import {
 // import store from '@/store'
 import {
   orderStatus,
-  dealStatus
+  dealStatus,
 } from '@/utils/searchArray'
 import axios from 'axios'
 import qs from 'qs'
@@ -166,7 +168,7 @@ export default {
   components: {
     pagination
   },
-  name: 'incomeOne',
+  name: 'incomeOne', 
   data () {
     return {
       orderStatus: orderStatus,

+ 1 - 0
src/views/businessManager/orderManager/incomeTwo.vue

@@ -86,6 +86,7 @@
                            label="订单日期">
           </el-table-column>
           <el-table-column align='center'
+          width="100px"
                            label="交易类型">
             <template slot-scope="scope">
               {{ scope.row.type | orderType }}