!86 feat(inspectTask): 台账列表新增业务状态列
* Merge branch 'master' of gitee.com:sz_30/supervision-vue into feature/… * feat(inspectTask): 台账列表新增业务状态列 * feat(feedback): 反馈信息弹窗标题增加已完成条数统计
This commit is contained in:
@@ -49,9 +49,15 @@
|
||||
const loading = ref(false);
|
||||
const feedbackTableData = ref<Recordable[]>([]);
|
||||
|
||||
const completedCount = computed(() =>
|
||||
feedbackTableData.value.filter((item) => item.bpmStatus_dictText === '已完成').length
|
||||
);
|
||||
|
||||
const title = computed(() => {
|
||||
const count = loading.value ? '加载中' : `${feedbackTableData.value.length} 条`;
|
||||
return `办理情况(${count})`;
|
||||
if (loading.value) return '反馈信息(加载中)';
|
||||
const total = feedbackTableData.value.length;
|
||||
const done = completedCount.value;
|
||||
return `反馈信息(共 ${total} 条,已完成 ${done} 条)`;
|
||||
});
|
||||
|
||||
const columns: BasicColumn[] = [
|
||||
|
||||
Reference in New Issue
Block a user