2023年6月13日 修复听课详细记录导出来源不存在的问题

This commit is contained in:
bai 2023-06-13 00:10:36 +08:00
parent f78cdad80d
commit 89046ea62f
2 changed files with 11 additions and 5 deletions

View File

@ -77,10 +77,10 @@ export const columns: BasicColumn[] = [
slots: { customRender: 'openDcwj' }, slots: { customRender: 'openDcwj' },
}, },
{ {
title: '评课标准', title: '数据来源',
align: "center", align: "center",
dataIndex: 'bz', dataIndex: 'source',
slots: { customRender: 'openDcwj' }, slots: { customRender: 'openDcwjOrSourceName' },
}, },
]; ];

View File

@ -68,6 +68,12 @@
<template #openDcwj="{ text ,record}"> <template #openDcwj="{ text ,record}">
<span @click="openDcwjxx(record)">{{text}}</span> <span @click="openDcwjxx(record)">{{text}}</span>
</template> </template>
<template #openDcwjOrSourceName="{ text ,record}">
<span @click="openDcwjxx(record)" v-if="text == 0">门户添加</span>
<span @click="openDcwjxx(record)" v-else-if="text == 1">老系统</span>
<span @click="openDcwjxx(record)" v-else-if="text == 2">政务大厅</span>
<span @click="openDcwjxx(record)" v-else-if="text == 3">后台导入</span>
</template>
</BasicTable> </BasicTable>
<!-- 表单区域 --> <!-- 表单区域 -->