|
|
@ -1,25 +1,10 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="order-list"> |
|
|
|
|
|
<BasicTable @register="registerTable"> |
|
|
|
|
|
<template #action="{ record }"> |
|
|
|
|
|
<TableAction |
|
|
|
|
|
:actions="[ |
|
|
|
|
|
{ |
|
|
|
|
|
label: '详情', |
|
|
|
|
|
onClick: toDetail.bind(null, record), |
|
|
|
|
|
}, |
|
|
|
|
|
]" |
|
|
|
|
|
/> |
|
|
|
|
|
</template> |
|
|
|
|
|
</BasicTable> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<Card :borderd="false"> |
|
|
|
|
|
|
|
|
|
|
|
</Card> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script lang="ts"> |
|
|
|
|
|
export default { |
|
|
|
|
|
name: 'OrderList', |
|
|
|
|
|
} |
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
|
import moment from 'moment/moment' |
|
|
import moment from 'moment/moment' |
|
|
import { computed, ref } from 'vue' |
|
|
import { computed, ref } from 'vue' |
|
|
@ -68,8 +53,5 @@ |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
<style scoped lang="less"> |
|
|
<style scoped lang="less"> |
|
|
.order-list { |
|
|
|
|
|
width: 60vw; |
|
|
|
|
|
min-width: 900px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
</style> |