Compare commits

..

No commits in common. "a60a8ad4246bf41c10219aa46366284cfe94f36d" and "e876d947e50da10063e76eae1b5332d31bd4b620" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
</a-descriptions-item>
<a-descriptions-item label="图斑数量" :span="2">{{taskInfo.tubanNum}}</a-descriptions-item>
<a-descriptions-item label="任务进度" :span="2">
<a-tag color="green" v-if="taskInfo.isComplate"></a-tag>
<a-tag color="green" v-if="taskInfo.isCompleted"></a-tag>
<a-tag color="red" v-else></a-tag>
</a-descriptions-item>
<a-descriptions-item label="备注/说明" :span="6">{{taskInfo.remark}}</a-descriptions-item>

View File

@ -25,7 +25,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'status',
width: 80,
customRender: ({ record }) => {
const enable = record.isComplate;
const enable = record.isCompleted;
const color = enable ? 'green' : 'red';
const text = enable ? '已完成' : '未完成';
return h(Tag, { color: color }, () => text);