|
@@ -41,8 +41,8 @@
|
|
|
<span class='name'>{{detail.sbjc}}</span>
|
|
|
</template>
|
|
|
<template #right-icon>
|
|
|
- <span class='wx' v-if='detail._type === "维修"'>维修</span>
|
|
|
- <span class='wb' v-else-if='detail._type === "维保"'>维保</span>
|
|
|
+ <span class='wx' v-if='detail.is_exception'>维修</span>
|
|
|
+ <span class='wb' v-else-if='detail.is_detecting'>维保</span>
|
|
|
<van-icon name='arrow' class='arrow-icon' />
|
|
|
</template>
|
|
|
</van-cell>
|
|
@@ -64,8 +64,8 @@
|
|
|
<span class='name'>{{detail.sbjc}}</span>
|
|
|
</template>
|
|
|
<template #right-icon>
|
|
|
- <span class='wx' v-if='detail._type === "维修"'>维修</span>
|
|
|
- <span class='wb' v-else-if='detail._type === "维保"'>维保</span>
|
|
|
+ <span class='wx' v-if='detail.is_exception'>维修</span>
|
|
|
+ <span class='wb' v-else-if='detail.is_detecting'>维保</span>
|
|
|
<van-icon name='arrow' class='arrow-icon' />
|
|
|
</template>
|
|
|
</van-cell>
|
|
@@ -358,7 +358,8 @@ export default {
|
|
|
*/
|
|
|
goToDetail(detail) {
|
|
|
const { assetid } = detail
|
|
|
- assetid && this.$router.push({ name: 'AssetDetail', query: { assetid } })
|
|
|
+ console.log(detail)
|
|
|
+ // assetid && this.$router.push({ name: 'AssetDetail', query: { assetid } })
|
|
|
},
|
|
|
onSearch() {
|
|
|
// 初始化数据,查询列表
|