pengyh пре 1 година
родитељ
комит
4f81fcecd8
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      src/layout/components/Navbar.vue

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

@@ -299,7 +299,7 @@ export default {
 				WBK: 'applicationWithoutFee',
 				CRE_ORDER: 'workOrderPool',
 				SEND_MALL: 'order_list',
-				RP_MALL: 'order_refund',
+				RP_MALL: 'order_pr',
 				CR_SALES: (paidType=='M'?'auxiliarySalesOrder':paidType=='P'?'attachmentSalesOrder':paidType=='YB'?'orderSettleManag':paidType=='MALL'?'order_list':'')
 			}
 			return MAP[val]
@@ -399,7 +399,7 @@ export default {
 							that.$createElement(
 								"span",
 								{
-									style: 'color: #409EFF;',
+									style: 'color: #409EFF;margin-left: 10px;',
 								},
 								item.adminNoticeType=='NOTICE'?item.title:item.orderId
 							),
@@ -464,12 +464,11 @@ export default {
 		  }
 		}).then(res=>{
 			this.isOpen = res.data.isNotice=='YES'?true:false
+			clearInterval(this.timer)
 			if(res.data.isNotice=='YES'){
 				this.timer = setInterval(()=>{
 					this.getMessageTips()
 				},20000)
-			}else{
-				clearInterval(this.timer)
 			}
 		})
 	},
@@ -527,6 +526,7 @@ export default {
 		}).then(res=>{
 			this.getCount()
 			this.redDot()
+			this.listTotal = res.data.total
 			this.messageData = res.data.records
 		})
 	},
@@ -536,7 +536,7 @@ export default {
 		this.getList();
 	},
 	toDetail(type,paidType,orderId,id){
-		console.log(type,id)
+		console.log(this.typeFilter(type,paidType))
 		this.read(id)
 		this.$router.push({
 			name: this.typeFilter(type,paidType),