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' },
},
{
title: '评课标准',
title: '数据来源',
align: "center",
dataIndex: 'bz',
slots: { customRender: 'openDcwj' },
dataIndex: 'source',
slots: { customRender: 'openDcwjOrSourceName' },
},
];

View File

@ -68,6 +68,12 @@
<template #openDcwj="{ text ,record}">
<span @click="openDcwjxx(record)">{{text}}</span>
</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>
<!-- 表单区域 -->
@ -83,8 +89,8 @@
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './pkmxb.api';
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import { dateFormat } from '/@/utils/common/compUtils';
import viewModalPage from '/@/views/site/tingKeZuJi/components/viewModal.vue';
import { getSysConfig } from '/@/views/site/utils/index';
import viewModalPage from '/@/views/site/tingKeZuJi/components/viewModal.vue';
import { getSysConfig } from '/@/views/site/utils/index';
const queryParam = ref<any>({});
const toggleSearchStatus = ref<boolean>(false);