|
|
@ -8,6 +8,7 @@ |
|
|
|
<uni-swipe-action ref="swipeAction"> |
|
|
|
<uni-swipe-action-item @click="swipeClick($event,item)" |
|
|
|
:right-options="item.scaned?scanOptions:detailOptions"> |
|
|
|
{{item.scaned}} |
|
|
|
<recommendBatch :detail="item" ></recommendBatch> |
|
|
|
</uni-swipe-action-item> |
|
|
|
</uni-swipe-action> |
|
|
@ -36,7 +37,8 @@ |
|
|
|
|
|
|
|
import { |
|
|
|
getRemoveOption, |
|
|
|
getEditRemoveOption |
|
|
|
getEditRemoveOption, |
|
|
|
getDetailEditRemoveOption, |
|
|
|
} from '@/common/array.js'; |
|
|
|
|
|
|
|
export default { |
|
|
@ -86,7 +88,7 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
mounted() { |
|
|
|
|
|
|
|
this.scanOptions = getDetailEditRemoveOption(); |
|
|
|
this.removeOptions = getRemoveOption(); |
|
|
|
this.editAndRemoveOptions = getEditRemoveOption() |
|
|
|
}, |
|
|
|