Browse Source

增加二手商品订单消息类型

pengyh 1 năm trước cách đây
mục cha
commit
0e432589d4
1 tập tin đã thay đổi với 7 bổ sung5 xóa
  1. 7 5
      src/layout/components/Navbar.vue

+ 7 - 5
src/layout/components/Navbar.vue

@@ -64,7 +64,7 @@
             <el-radio-group size="small" v-model="messageType" @change="getList">
               <el-badge :is-dot="isDot1" class="item">
                 <el-radio-button
-                  :label="['WBI', 'WBK', 'CRE_ORDER', 'SEND_MALL', 'RP_MALL', 'CR_SALES', 'ENGIN_PAY_ORDER']">系统消息</el-radio-button>
+                  :label="['WBI', 'WBK', 'CRE_ORDER', 'SEND_MALL', 'RP_MALL', 'CR_SALES', 'ENGIN_PAY_ORDER','CR_ES_SALES']">系统消息</el-radio-button>
               </el-badge>
               <el-badge :is-dot="isDot2" class="item">
                 <el-radio-button :label="['NOTICE']">平台公告</el-radio-button>
@@ -218,7 +218,7 @@ export default {
       isShow: false,
       isOpen: true,
       checked: false,
-      messageType: ['WBI', 'WBK', 'CRE_ORDER', 'SEND_MALL', 'RP_MALL', 'CR_SALES', 'ENGIN_PAY_ORDER'],
+      messageType: ['WBI', 'WBK', 'CRE_ORDER', 'SEND_MALL', 'RP_MALL', 'CR_SALES', 'ENGIN_PAY_ORDER','CR_ES_SALES'],
       messageData: [],
       dateType: '',
       readFlag: '',
@@ -273,7 +273,8 @@ export default {
           SEND_MALL: '商城订单发货',
           RP_MALL: '商城订单维权',
           CR_SALES: '订单支付成功',
-		  ENGIN_PAY_ORDER: '工程收款单'
+		  ENGIN_PAY_ORDER: '工程收款单',
+		  CR_ES_SALES: '二手商品订单'
         }
         return MAP[val]
       }
@@ -288,7 +289,8 @@ export default {
           SEND_MALL: 'order_detail',
           RP_MALL: 'order_refund_detail',
           CR_SALES: (paidType == 'M' ? 'auxiliarySalesOrder' : paidType == 'P' ? 'attachmentSalesOrder' : paidType == 'YB' ? 'orderSettleManag' : paidType == 'MALL' ? 'order_detail' : ''),
-		  ENGIN_PAY_ORDER: 'projectCollectionManagement'
+		  ENGIN_PAY_ORDER: 'projectCollectionManagement',
+		  CR_ES_SALES: 'orderManagement'
         }
         return MAP[val]
       }
@@ -376,7 +378,7 @@ export default {
               message: that.$createElement(
                 'div',
                 {
-                  style: 'cursor: pointer;',
+                  style: 'cursor: pointer;text-align: left;',
                   on: {
                     click: that.toDetail.bind(
                       that,