|
@@ -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,
|
|
|
},
|