|
|
@ -56,7 +56,7 @@ |
|
|
|
import { columns, searchFormSchema } from './design.data'; |
|
|
|
import { columns, searchFormSchema } from './design.data'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useRouter } from 'vue-router'; |
|
|
|
import { useRouter } from 'vue-router'; |
|
|
|
import { openWindow } from '/@/utils/index'; |
|
|
|
import { openWindow } from '/@/utils'; |
|
|
|
|
|
|
|
|
|
|
|
interface TableState { |
|
|
|
interface TableState { |
|
|
|
single: boolean; |
|
|
|
single: boolean; |
|
|
@ -113,7 +113,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
function handleDesign(record: Recordable) { |
|
|
|
function handleDesign(record: Recordable) { |
|
|
|
push({ path: '/report/edit', query: { |
|
|
|
push({ path: '/report/edit', query: { |
|
|
|
meta: '_y', |
|
|
|
_meta: 'y', |
|
|
|
title: '编辑报表', |
|
|
|
title: '编辑报表', |
|
|
|
frameSrc: `https://192.168.3.10/ureport/designer?_u=kicc-${record.name}` |
|
|
|
frameSrc: `https://192.168.3.10/ureport/designer?_u=kicc-${record.name}` |
|
|
|
}}); |
|
|
|
}}); |
|
|
@ -121,7 +121,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
function handlePreview(record: Recordable) { |
|
|
|
function handlePreview(record: Recordable) { |
|
|
|
push({ path: '/report/preview', query: { |
|
|
|
push({ path: '/report/preview', query: { |
|
|
|
meta: '_y', |
|
|
|
_meta: 'y', |
|
|
|
title: '预览报表', |
|
|
|
title: '预览报表', |
|
|
|
frameSrc: `https://192.168.3.10/ureport/preview?_u=kicc-${record.name}` |
|
|
|
frameSrc: `https://192.168.3.10/ureport/preview?_u=kicc-${record.name}` |
|
|
|
}}); |
|
|
|
}}); |
|
|
|