Browse Source

init

newStyle
lancer 3 years ago
parent
commit
59fd582771
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/page/check/chose.vue
  2. +2
    -2
      src/page/wel.vue

+ 2
- 2
src/page/check/chose.vue View File

@@ -353,12 +353,12 @@ export default {
} }
}, },
chose(item) { chose(item) {
// console.log(item);
console.log(item);
if(item.lockFlag!=0){ if(item.lockFlag!=0){
this.$message.warning('您已经被禁用') this.$message.warning('您已经被禁用')
return return
} }
if(item.residueTime!=0){
if(item.residueTime<=0){
this.$message.warning('您已过期') this.$message.warning('您已过期')
return return
} }


+ 2
- 2
src/page/wel.vue View File

@@ -259,10 +259,10 @@
<div class="you"> <div class="you">
<div class="title" style="cursor: pointer;"> <div class="title" style="cursor: pointer;">


<el-badge :value="equNum" class="item" style=" margin-right: 10px;">
<el-badge :value="equNum" class="item" style=" margin-right: 10px;" :hidden="equNum==0?true:false">
<div class="text1" @click="tabclick('1')" :class="{ colostyle: classatec == 1 }">离线工牌</div> <div class="text1" @click="tabclick('1')" :class="{ colostyle: classatec == 1 }">离线工牌</div>
</el-badge> </el-badge>
<el-badge :value="equNum1" class="item">
<el-badge :value="equNum1" class="item" :hidden="equNum1==0?true:false">
<div class="text1" @click="tabclick('0')" :class="{ colostyle: classatec == 0 }">低电工牌</div> <div class="text1" @click="tabclick('0')" :class="{ colostyle: classatec == 0 }">低电工牌</div>
</el-badge> </el-badge>




Loading…
Cancel
Save