linwenxin 1 год назад
Родитель
Сommit
35f2fd66a4
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/views/workOrder/orderHome/index.vue

+ 3 - 3
src/views/workOrder/orderHome/index.vue

@@ -5,7 +5,7 @@
 			<i class="el-icon-refresh-left" style="color: #1d82ff;"></i>
 		</div>
 		<div class="container_top">
-			<div class="tab" v-for="(item,index) in tabs" :key='index' @click="openOrder(item.type)">
+			<div class="tab" v-for="(item,index) in tabs" :key='index' @click="openOrder(item.type, item.title)">
 				<el-image class="img" :src="item.url" fit="fit"></el-image>
 				<div class="text">
 					<div class="title">{{item.title}}</div>
@@ -108,7 +108,7 @@
 				this.$echarts.init(this.$refs.chart3).dispose()
 				this.getCount()
 			},
-			openOrder(type){
+			openOrder(type, name){
 				if(!type){
 					this.$router.push({
 						name: "workOrderPool",
@@ -125,7 +125,7 @@
 					this.$router.push({
 						name: 'workOrderPool',
 						params: {
-							pageName: '-',
+							pageName: name||'-',
 							pageType: 'orderStatus',
 							pageCode: type,
 						},