Browse Source

订单定义

lk 5 years ago
parent
commit
5dd43e7ca2
55 changed files with 625 additions and 35 deletions
  1. 8 0
      dist/200.html
  2. 5 0
      dist/_nuxt/2a739cb094aaf9bcd294.js
  3. 1 0
      dist/_nuxt/53a80d5d7707a2229751.js
  4. 1 0
      dist/_nuxt/85111e3c787eb253c3fc.css
  5. 5 1
      dist/_nuxt/e6d6eea35c69aaec577d.js
  6. 8 0
      dist/index.html
  7. 8 0
      dist/login/index.html
  8. 8 0
      dist/main/404/index.html
  9. 8 0
      dist/main/artificial_order/index.html
  10. 8 0
      dist/main/artificial_orders/index.html
  11. 8 0
      dist/main/balance_change/index.html
  12. 8 0
      dist/main/cancel_account/index.html
  13. 8 0
      dist/main/cats/index.html
  14. 8 0
      dist/main/cert_check/index.html
  15. 8 0
      dist/main/cert_edit/index.html
  16. 8 0
      dist/main/cert_pro/index.html
  17. 8 0
      dist/main/chat_users/index.html
  18. 8 0
      dist/main/cloud_balance/index.html
  19. 8 0
      dist/main/cloud_developer/index.html
  20. 8 0
      dist/main/cloud_job/index.html
  21. 8 0
      dist/main/dev_check/index.html
  22. 8 0
      dist/main/dev_check_detail/index.html
  23. 8 0
      dist/main/dev_show/index.html
  24. 8 0
      dist/main/gongmall/index.html
  25. 8 0
      dist/main/group_list/index.html
  26. 8 0
      dist/main/index.html
  27. 8 0
      dist/main/jishuquan/index.html
  28. 8 0
      dist/main/job/index.html
  29. 8 0
      dist/main/jobs/index.html
  30. 8 0
      dist/main/jobs_publish_company/index.html
  31. 8 0
      dist/main/kaifawu_contact/index.html
  32. 8 0
      dist/main/orders/index.html
  33. 8 0
      dist/main/orders_detail/index.html
  34. 8 0
      dist/main/orders_frozen/index.html
  35. 8 0
      dist/main/outsource_bill/index.html
  36. 8 0
      dist/main/persona/index.html
  37. 8 0
      dist/main/present_job_apply/index.html
  38. 8 0
      dist/main/publish_present/index.html
  39. 8 0
      dist/main/qingtuanbao/index.html
  40. 8 0
      dist/main/solution/index.html
  41. 8 0
      dist/main/solution_detail/index.html
  42. 8 0
      dist/main/user_bills/index.html
  43. 8 0
      dist/main/user_credit_item/index.html
  44. 8 0
      dist/main/user_credit_list/index.html
  45. 8 0
      dist/main/user_credit_setting/index.html
  46. 8 0
      dist/main/vip_manager/index.html
  47. 8 0
      dist/main/vip_order/index.html
  48. 8 0
      dist/main/vip_setting/index.html
  49. 8 0
      dist/main/wage_details/index.html
  50. 8 0
      dist/main/wage_settlement/index.html
  51. 8 0
      dist/main/wait_expend/index.html
  52. 8 0
      dist/main/withdraw/index.html
  53. 8 0
      dist/main/work_bill/index.html
  54. 3 0
      pages/main/index/kaifawu_contact.vue
  55. 218 34
      pages/main/index/orders.vue

File diff suppressed because it is too large
+ 8 - 0
dist/200.html


File diff suppressed because it is too large
+ 5 - 0
dist/_nuxt/2a739cb094aaf9bcd294.js


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/53a80d5d7707a2229751.js


+ 1 - 0
dist/_nuxt/85111e3c787eb253c3fc.css

@@ -0,0 +1 @@
+.table[data-v-785f6148]{height:calc(100% - 60px)}.img[data-v-785f6148]{width:100%;height:auto}

File diff suppressed because it is too large
+ 5 - 1
dist/_nuxt/e6d6eea35c69aaec577d.js


File diff suppressed because it is too large
+ 8 - 0
dist/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/login/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/404/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/artificial_order/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/artificial_orders/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/balance_change/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/cancel_account/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/cats/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/cert_check/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/cert_edit/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/cert_pro/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/chat_users/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/cloud_balance/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/cloud_developer/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/cloud_job/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/dev_check/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/dev_check_detail/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/dev_show/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/gongmall/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/group_list/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/jishuquan/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/job/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/jobs/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/jobs_publish_company/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/kaifawu_contact/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/orders/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/orders_detail/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/orders_frozen/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/outsource_bill/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/persona/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/present_job_apply/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/publish_present/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/qingtuanbao/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/solution/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/solution_detail/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/user_bills/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/user_credit_item/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/user_credit_list/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/user_credit_setting/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/vip_manager/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/vip_order/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/vip_setting/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/wage_details/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/wage_settlement/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/wait_expend/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/withdraw/index.html


File diff suppressed because it is too large
+ 8 - 0
dist/main/work_bill/index.html


+ 3 - 0
pages/main/index/kaifawu_contact.vue

@@ -24,6 +24,9 @@
         <el-table-column prop="name" label="姓名"></el-table-column>
         <el-table-column prop="mobile" label="手机号"></el-table-column>
         <el-table-column prop="contactCreatedAtFormat" label="创建时间"></el-table-column>
+        <el-table-column prop="channel" label="渠道">
+          <template slot-scope="scope">{{scope.row.channel}} {{scope.row.channelVersion}}</template>
+        </el-table-column>
         <el-table-column prop="platformContactNote" label="联系备注"></el-table-column>
         <el-table-column prop="platformContactAtFormat" label="联系时间"></el-table-column>
         <el-table-column prop="platformContact" label="当前状态">

+ 218 - 34
pages/main/index/orders.vue

@@ -101,12 +101,12 @@
             <el-tab-pane label="全部" name="all">
               <div class="inlineb tab-item">
                 <div class="text-title">收入</div>
-                <div class="text-num green">+ {{totalSuccess}}元</div>
+                <div class="text-num red">+ {{totalSuccess}}元</div>
                 <div class="count">共{{incomeCount}}笔</div>
               </div>
               <div class="inlineb tab-item">
                 <div class="text-title">支出</div>
-                <div class="text-num orange">- {{paySuccess}}元</div>
+                <div class="text-num green">- {{paySuccess}}元</div>
                 <div class="count">共{{outcomeCount}}笔</div>
               </div>
               <div class="inlineb tab-item">
@@ -124,14 +124,14 @@
             <el-tab-pane label="平台收入" name="income">
               <div class="inlineb tab-item">
                 <div class="text-title">收入</div>
-                <div class="text-num green">+ {{totalSuccess}}元</div>
+                <div class="text-num red">+ {{totalSuccess}}元</div>
                 <div class="count">共{{incomeCount}}笔</div>
               </div>
             </el-tab-pane>
             <el-tab-pane label="平台支出" name="outcome">
               <div class="inlineb tab-item">
                 <div class="text-title">支出</div>
-                <div class="text-num orange">- {{paySuccess}}元</div>
+                <div class="text-num green">- {{paySuccess}}元</div>
                 <div class="count">共{{outcomeCount}}笔</div>
               </div>
             </el-tab-pane>
@@ -171,49 +171,230 @@
         </el-table-column>
         <el-table-column label="实际金额">
           <template slot-scope="scope">
+<!--            技术信用-->
             <div
-              v-if="scope.row.order_type!=6 && scope.row.channel != 'balance' && scope.row.channel != 'admin_confirm' && (scope.row.channel!='qingtuanbao')"
+              v-if="scope.row.product_type == 13"
             >
+              <!--退款-->
               <span
-                v-if="parseInt(scope.row.real_amount)>=0"
-                class="green"
-              >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
-              <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>
-            </div>
-            <div v-else-if="scope.row.channel=='qingtuanbao' && scope.row.order_type==5">
-              <span
-                v-if="parseInt(scope.row.real_amount)>=0"
-              >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
+                v-if="scope.row.order_type == 8"
+              >{{(scope.row.real_amount/100).toFixed(2)}}
+              </span>
+              <template  v-else-if="scope.row.order_type == 4">
+                <!--如果不是余额购买-->
+                <span v-if="scope.row.channel != 'balance'" class="red">
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+                <span v-else>
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              </template>
               <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
             </div>
-            <div v-else-if="scope.row.channel=='qingtuanbao' && scope.row.order_type!=5">
-              <span
-                v-if="parseInt(scope.row.real_amount)>=0"
-                class="green"
-              >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
-              <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>
+<!--            提现-->
+            <div v-else-if="scope.row.product_type == 200">
+                <span  class="green">
+                  {{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
             </div>
-            <div v-else-if="scope.row.channel =='admin_confirm'">
+<!--            充值-->
+            <div v-else-if="scope.row.product_type == 3">
               <div v-if="scope.row.operator_uid==41266">
-                <span
-                  v-if="parseInt(scope.row.real_amount)>=0"
-                >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
-                <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
+                +{{(scope.row.real_amount/100).toFixed(2)}}
               </div>
               <div v-else>
-                <span
-                  v-if="parseInt(scope.row.real_amount)>=0"
-                  class="green"
-                >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
-                <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>
+                <span class="red">+{{(scope.row.real_amount/100).toFixed(2)}}</span>
               </div>
             </div>
-            <div v-else>
-              <span
-                v-if="parseInt(scope.row.real_amount)>=0"
-              >+{{(scope.row.real_amount/100).toFixed(2)}}</span>
+<!--            扣款-->
+            <div v-else-if="scope.row.product_type == 300">
+              <div v-if="scope.row.operator_uid==41266">
+                +{{(scope.row.real_amount/100).toFixed(2)}}
+              </div>
+              <div v-else>
+                <span class="red">+{{(scope.row.real_amount/100).toFixed(2)}}</span>
+              </div>
+            </div>
+<!--            云端意向金-->
+            <div v-else-if="scope.row.product_type == 8">
+              <!--如果不是余额购买-->
+              <span v-if="scope.row.channel != 'balance'" class="red">
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              <span v-else>
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+            </div>
+<!--            雇佣-->
+            <div v-else-if="scope.row.product_type == 4">
+              <!--退款-->
+              <span v-if="scope.row.order_type == 8" >{{(scope.row.real_amount/100).toFixed(2)}}</span>
+              <!--结薪-->
+              <span v-if="scope.row.order_type == 5" >{{(scope.row.real_amount/100).toFixed(2)}}</span>
+              <template  v-else-if="scope.row.order_type == 4 || scope.row.order_type == 1">
+                <!--如果不是余额购买-->
+                <span v-if="scope.row.channel != 'balance'" class="red">
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+                <span v-else>
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              </template>
+              <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
+            </div>
+<!--            云端押金-->
+            <div v-else-if="scope.row.product_type == 400">
+              <!--退款-->
+              <span v-if="scope.row.order_type == 8" >{{(scope.row.real_amount/100).toFixed(2)}}</span>
+              <template  v-else-if="scope.row.order_type == 1">
+                <!--如果不是余额购买-->
+                <span v-if="scope.row.channel != 'balance'" class="red">
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+                <span v-else>
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              </template>
+              <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
+            </div>
+<!--            云端工作-->
+            <div v-else-if="scope.row.product_type == 400">
+              <!--退款-->
+              <span v-if="scope.row.order_type == 8" >{{(scope.row.real_amount/100).toFixed(2)}}</span>
+              <!--结薪-->
+              <template  v-else-if="scope.row.order_type == 5">
+                <!--如果不是余额购买-->
+                <span v-if="scope.row.channel != 'balance'" class="green">
+                  {{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+                <span v-else>
+                  {{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              </template>
+              <!--托管-->
+              <template  v-else-if="scope.row.order_type == 1">
+                <!--如果不是余额购买-->
+                <span v-if="scope.row.channel != 'balance'" class="green">
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+                <span v-else>
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              </template>
+              <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
+            </div>
+<!--            整包-->
+            <div v-else-if="scope.row.product_type == 2">
+              <!--退款-->
+              <span v-if="scope.row.order_type == 8" >{{(scope.row.real_amount/100).toFixed(2)}}</span>
+              <!--结薪-->
+              <template  v-else-if="scope.row.order_type == 5">
+                <!--如果不是余额购买-->
+                <span v-if="scope.row.channel != 'balance'" class="green">
+                  {{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+                <span v-else>
+                  {{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              </template>
+              <!--托管-->
+              <template  v-else-if="scope.row.order_type == 1">
+                <!--如果不是余额购买-->
+                <span v-if="scope.row.channel != 'balance'" class="red">
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+                <span v-else>
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              </template>
+              <!--解冻-->
+              <template  v-else-if="scope.row.order_type == 7">
+                <!--如果不是余额购买-->
+                <span v-if="scope.row.channel != 'balance'" class="green">
+                  {{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+                <span v-else>
+                  {{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              </template>
               <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>
             </div>
+<!--            查看机会-->
+            <div v-else-if="scope.row.product_type == 1">
+              <!--如果不是余额购买-->
+              <span v-if="scope.row.channel != 'balance'" class="red">
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              <span v-else>
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+            </div>
+<!--            其他-->
+            <div v-else>
+              <!--如果不是余额购买-->
+              <span v-if="scope.row.channel != 'balance'" class="red">
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+              <span v-else>
+                  +{{(scope.row.real_amount/100).toFixed(2)}}
+                </span>
+            </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--            <div-->
+<!--              v-if="scope.row.order_type!=6 && scope.row.channel != 'balance' && scope.row.channel != 'admin_confirm' && (scope.row.channel!='qingtuanbao')"-->
+<!--            >-->
+<!--              <span-->
+<!--                v-if="parseInt(scope.row.real_amount)>=0"-->
+<!--                class="green"-->
+<!--              >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--              <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--            </div>-->
+<!--            <div v-else-if="scope.row.channel=='qingtuanbao' && scope.row.order_type==5">-->
+<!--              <span-->
+<!--                v-if="parseInt(scope.row.real_amount)>=0"-->
+<!--              >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--              <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--            </div>-->
+<!--            <div v-else-if="scope.row.channel=='qingtuanbao' && scope.row.order_type!=5">-->
+<!--              <span-->
+<!--                v-if="parseInt(scope.row.real_amount)>=0"-->
+<!--                class="green"-->
+<!--              >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--              <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--            </div>-->
+<!--            <div v-else-if="scope.row.channel =='admin_confirm'">-->
+<!--              <div v-if="scope.row.operator_uid==41266">-->
+<!--                <span-->
+<!--                  v-if="parseInt(scope.row.real_amount)>=0"-->
+<!--                >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--                <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--              </div>-->
+<!--              <div v-else>-->
+<!--                <span-->
+<!--                  v-if="parseInt(scope.row.real_amount)>=0"-->
+<!--                  class="green"-->
+<!--                >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--                <span v-else class="orange">{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--              </div>-->
+<!--            </div>-->
+<!--            <div v-else>-->
+<!--              <span-->
+<!--                v-if="parseInt(scope.row.real_amount)>=0"-->
+<!--              >+{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--              <span v-else>{{(scope.row.real_amount/100).toFixed(2)}}</span>-->
+<!--            </div>-->
           </template>
         </el-table-column>
         <el-table-column prop="channel_name" label="支付方式"></el-table-column>
@@ -936,6 +1117,9 @@ export default {
 .orange {
   color: rgba(255, 152, 0, 1);
 }
+.red{
+  color: rgb(255, 2, 30);
+}
 .state-success {
   display: inline-block;
   padding: 0px 8px;