|
@@ -1,7 +1,11 @@
|
|
<template>
|
|
<template>
|
|
<div class="tabForm">
|
|
<div class="tabForm">
|
|
<div class="tabForm_header">
|
|
<div class="tabForm_header">
|
|
- <div class="imge_tab"><img src="../../../assets/images/pic_sy_ytj.png" alt="" v-if="imgShoew"></div>
|
|
|
|
|
|
+ <div class="imge_tab">
|
|
|
|
+ <img src="../../../assets/images/pic_sy_ytj.png" alt="" v-if="imgShoew == 2" >
|
|
|
|
+ <img src="../../../assets/images/pic_sy_shz.png" alt="" v-if="imgShoew == 4" >
|
|
|
|
+ <img src="../../../assets/images/pic_sy_ybh.png" alt="" v-if="imgShoew == 3" >
|
|
|
|
+ </div>
|
|
<div class="table_headerBtun" v-if="queryData.buttonList">
|
|
<div class="table_headerBtun" v-if="queryData.buttonList">
|
|
<el-button type="primary" size="small" plain @click="handleQuery(item)" v-for="(item,index) in queryData.buttonList.split('')" :key="index">{{item | btnConversion}}</el-button>
|
|
<el-button type="primary" size="small" plain @click="handleQuery(item)" v-for="(item,index) in queryData.buttonList.split('')" :key="index">{{item | btnConversion}}</el-button>
|
|
<el-button type="primary" size="small" plain @click="handleQuery('sx')">刷新</el-button>
|
|
<el-button type="primary" size="small" plain @click="handleQuery('sx')">刷新</el-button>
|
|
@@ -153,7 +157,7 @@
|
|
table:'',
|
|
table:'',
|
|
idList:[]
|
|
idList:[]
|
|
},
|
|
},
|
|
- imgShoew:false
|
|
|
|
|
|
+ imgShoew:1
|
|
};
|
|
};
|
|
},
|
|
},
|
|
filters:{
|
|
filters:{
|
|
@@ -242,15 +246,8 @@
|
|
// 图片的显示隐藏
|
|
// 图片的显示隐藏
|
|
if(this.queryData.showData.length !==0){
|
|
if(this.queryData.showData.length !==0){
|
|
this.queryData.showData.filter(route => {
|
|
this.queryData.showData.filter(route => {
|
|
- if(route.hrChildren.length !== 0){
|
|
|
|
- if(route.hrChildren[0].readonly !== null){
|
|
|
|
- if(route.hrChildren[0].readonly == true){
|
|
|
|
- this.imgShoew = true
|
|
|
|
- }else{
|
|
|
|
- this.imgShoew = false
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+ if(route.cssClass !== null){
|
|
|
|
+ this.imgShoew = route.cssClass
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|