Compare commits

...

2 Commits

Author SHA1 Message Date
徐景良 a60a8ad424 tMerge branch 'main' of http://123.132.248.154:10000/gitY/TianWangHuiYan 2024-11-21 09:54:24 +08:00
徐景良 6b79af6e13 merge: 2024-11-21 09:54:18 +08:00
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.isCompleted"></a-tag>
<a-tag color="green" v-if="taskInfo.isComplate"></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.isCompleted;
const enable = record.isComplate;
const color = enable ? 'green' : 'red';
const text = enable ? '已完成' : '未完成';
return h(Tag, { color: color }, () => text);