Compare commits

...

4 Commits

Author SHA1 Message Date
22a49b1d65 feat(document): 添加工作档案标签页
- 在TabsCardDocument组件中新增工作档案标签页配置
- 设置标签页名称为'工作档案'
- 配置标签页对应表单ID为'1966386366515343361'
- 设置计算高度为200像素- 固定搜索条件file_main_type为5
2025-10-20 10:53:20 +08:00
e522bf59a6 增加自定义导出 2025-10-17 16:56:39 +08:00
04e69632f9 推送测试 2025-10-17 11:37:34 +08:00
f8c38c5936 审批info增加滚动条 2025-10-17 11:05:44 +08:00
5 changed files with 18 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ watch(
</script>
<template>
<ConfigGlobal :size="currentSize">
<div class="h-100% w-100%" :class="greyMode ? `${prefixCls}-grey-mode` : ''">
<div class="h-100% w-100%" style="overflow-y: auto;" :class="greyMode ? `${prefixCls}-grey-mode` : ''">
<RouterView />
</div>
<routerSearch />

View File

@@ -1,5 +1,6 @@
import request from '@/config/axios'
import { encryptAES } from '@/components/LowDesign/src/utils/aes'
import download from '@/utils/download'
//获取表单开发列表
export const getDbList = (data) => {
@@ -158,6 +159,11 @@ export const exportExcelData = (tableId, data) => {
return request.download({ url: `/jeelowcode/excel/exportExcel/${tableId}`, method: 'POST', data })
}
//导出Excel表数据
export const exportExcelDataCustom = (explain,tableId, data) => {
return request.download({ url: `/jeelowcode/excel/exportExcelCustom/${tableId}`, method: 'POST', data }).then((data) => download.excel(data, explain, 'xlsx'))
}
//下载导入模板
export const downloadImportTemplate = (tableId) => {
return request.download({ url: `/jeelowcode/excel/exportExcelTemplate/${tableId}` })

View File

@@ -7,6 +7,7 @@ import { encryptAES, decryptAES } from '@/components/LowDesign/src/utils/aes'
import { useUserStoreWithOut } from '@/store/modules/user'
import { useI18n } from '@/hooks/web/useI18n';
import router from '@/router/index'
import {exportExcelDataCustom} from '@/api/design/table'
const message = useMessage() // 消息弹窗
@@ -18,6 +19,7 @@ export default {
* @param options 请求配置 如:{ params:{ text:'测试' } }
*/
requestApi: (Method, url, options) => callApiFun(Method, url, options),
exportExcelCustom: (tableId, data) => exportExcelDataCustom(tableId, data),
cloneDeep, //深拷贝
listToTree,//列表转树结构
formatDate,//时间格式化

View File

@@ -173,6 +173,8 @@ const handleAudit = async (task, pass) => {
getDetail()
}
const printPage = async () => {
const { href } = router.resolve({ name: 'BpmProcessInstanceInfo',

View File

@@ -61,6 +61,13 @@ const tabsPaneList = ref([
calcHeight: 200,
fixedSearch: {file_main_type: 4}
},
{
label: '工作档案',
name: 'workArchive',
formId: '1966386366515343361',
calcHeight: 200,
fixedSearch: {file_main_type: 5}
},
])
// 定义点击tab的事件动作