|
|
@ -27,6 +27,10 @@ |
|
|
|
v-model:currentPage="tableObject.currentPage" |
|
|
|
v-model:sort="tableObject.sort" |
|
|
|
> |
|
|
|
|
|
|
|
<template #qty="{row}"> |
|
|
|
<span :class="{'red-text':row.qty<0}">{{ row.qty}}</span> |
|
|
|
</template> |
|
|
|
<template #status="{row}"> |
|
|
|
<span>{{ row.status==0?'未执行':row.status==1?'成功':'失败'}}</span> |
|
|
|
</template> |
|
|
@ -258,3 +262,10 @@ onMounted(async () => { |
|
|
|
}) |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
.red-text{ |
|
|
|
color:var(--el-color-danger); |
|
|
|
font-weight:700; |
|
|
|
} |
|
|
|
</style> |
|
|
|