| | |
| | | <img class="imgicon" :src="`${baseUrl}/后台-算法仓库/${item.dictValue}.png`" alt="" /> |
| | | <div>{{ item.dictValue }}</div> |
| | | <div |
| | | :class="item.dictValue === '病虫害识别' ? 'stopStatus' : 'normalStatus'" |
| | | :class="item.dictValue === '病虫害' ? 'stopStatus' : 'normalStatus'" |
| | | @click="jumpDatail(item)" |
| | | > |
| | | {{ item.dictValue === '病虫害识别' ? '停用状态' : '正常状态' }} |
| | | {{ item.dictValue === '病虫害' ? '停用状态' : '正常状态' }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | }); |
| | | }; |
| | | const jumpDatail = val => { |
| | | if (val.dictValue === '病虫害识别') { |
| | | if (val.dictValue === '病虫害') { |
| | | showDetail.value = false; |
| | | } else { |
| | | showDetail.value = true; |