Compare commits
4 Commits
main
...
22a49b1d65
| Author | SHA1 | Date | |
|---|---|---|---|
| 22a49b1d65 | |||
| e522bf59a6 | |||
| 04e69632f9 | |||
| f8c38c5936 |
@@ -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 />
|
||||
|
||||
@@ -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}` })
|
||||
|
||||
@@ -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,//时间格式化
|
||||
|
||||
@@ -173,6 +173,8 @@ const handleAudit = async (task, pass) => {
|
||||
getDetail()
|
||||
}
|
||||
|
||||
|
||||
|
||||
const printPage = async () => {
|
||||
|
||||
const { href } = router.resolve({ name: 'BpmProcessInstanceInfo',
|
||||
|
||||
@@ -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的事件动作
|
||||
|
||||
Reference in New Issue
Block a user