|
|
@ -17,6 +17,7 @@ import { |
|
|
FormPageList, |
|
|
FormPageList, |
|
|
FormPageConfig, |
|
|
FormPageConfig, |
|
|
viewPageType, |
|
|
viewPageType, |
|
|
|
|
|
tableButton, |
|
|
} from "@/api/DesignForm/tableButton"; |
|
|
} from "@/api/DesignForm/tableButton"; |
|
|
import { |
|
|
import { |
|
|
inputUnit, |
|
|
inputUnit, |
|
|
@ -56,12 +57,15 @@ import AKSelect from "@/components/DesignForm/public/form/select.vue"; |
|
|
import ContainerPath from "@/views/sysworkflow/lowcodepage/appPage/appPageForm/echatesUnit/container.vue"; |
|
|
import ContainerPath from "@/views/sysworkflow/lowcodepage/appPage/appPageForm/echatesUnit/container.vue"; |
|
|
import exportPanel from "../exportPanel.vue"; |
|
|
import exportPanel from "../exportPanel.vue"; |
|
|
import importPanel from "../importPanel.vue"; |
|
|
import importPanel from "../importPanel.vue"; |
|
|
|
|
|
import { EpPropMergeType } from "element-plus/es/utils"; |
|
|
|
|
|
import { RendererNode, RendererElement } from "vue"; |
|
|
|
|
|
import { echatsViews } from "@/api/DesignForm/types"; |
|
|
|
|
|
|
|
|
const props = withDefaults( |
|
|
const props = withDefaults( |
|
|
defineProps<{ |
|
|
defineProps<{ |
|
|
data: FormPageList; |
|
|
data: FormPageList; |
|
|
searchData?: attrButton[]; |
|
|
searchData?: attrButton[]; |
|
|
config: FormPageConfig; |
|
|
config?: FormPageConfig|any; |
|
|
formId?: string; |
|
|
formId?: string; |
|
|
beforeRequest?: (params: any, rout: any) => any; |
|
|
beforeRequest?: (params: any, rout: any) => any; |
|
|
afterResponse?: (result: any) => any | string; |
|
|
afterResponse?: (result: any) => any | string; |
|
|
@ -79,7 +83,7 @@ const props = withDefaults( |
|
|
signCode?: string; |
|
|
signCode?: string; |
|
|
pickAppMenu?: any; |
|
|
pickAppMenu?: any; |
|
|
versiontitle?: string; |
|
|
versiontitle?: string; |
|
|
viewPage?: viewPageType; |
|
|
viewPage?: viewPageType|any; |
|
|
formBasicConfig?: any; |
|
|
formBasicConfig?: any; |
|
|
fieldsDetailList?: any; |
|
|
fieldsDetailList?: any; |
|
|
orgAndManTree?: any; |
|
|
orgAndManTree?: any; |
|
|
@ -1512,7 +1516,7 @@ const confirmEvent = (val: any) => { |
|
|
id: [val.masters_key], |
|
|
id: [val.masters_key], |
|
|
isTrue: 2, |
|
|
isTrue: 2, |
|
|
}; |
|
|
}; |
|
|
softDeletion(sendData).then((data) => { |
|
|
softDeletion(sendData).then((data: { mag: EpPropMergeType<(new (...args: any[]) => string|globalThis.VNode<RendererNode, RendererElement, { [key: string]: any; }>)|(() => string|globalThis.VNode<RendererNode, RendererElement, { [key: string]: any; }>)|((new (...args: any[]) => string|globalThis.VNode<RendererNode, RendererElement, { [key: string]: any; }>)|(() => string|globalThis.VNode<RendererNode, RendererElement, { [key: string]: any; }>))[], unknown, unknown>|undefined; }) => { |
|
|
// console.log('cancel!',data) |
|
|
// console.log('cancel!',data) |
|
|
ElNotification({ |
|
|
ElNotification({ |
|
|
title: "系统提示!", |
|
|
title: "系统提示!", |
|
|
@ -1709,10 +1713,10 @@ const tabsView = (val: any, types: number) => { |
|
|
const writeListTitle = (val: any, viewConfig: any) => { |
|
|
const writeListTitle = (val: any, viewConfig: any) => { |
|
|
// console.log("判断是否有标题--1-->",val) |
|
|
// console.log("判断是否有标题--1-->",val) |
|
|
// console.log("判断是否有标题--2-->",viewConfig) |
|
|
// console.log("判断是否有标题--2-->",viewConfig) |
|
|
var titleAry = []; |
|
|
var titleAry: any[] = []; |
|
|
if (viewConfig.form && viewConfig.form.title) { |
|
|
if (viewConfig.form && viewConfig.form.title) { |
|
|
if (viewConfig.form.title.length > 0) { |
|
|
if (viewConfig.form.title.length > 0) { |
|
|
viewConfig.form.title.forEach((item, index) => { |
|
|
viewConfig.form.title.forEach((item: string|number, index: any) => { |
|
|
// console.log("判断是否有标题--"+index+"-->",val[item]) |
|
|
// console.log("判断是否有标题--"+index+"-->",val[item]) |
|
|
if (val[item]) { |
|
|
if (val[item]) { |
|
|
titleAry.push(val[item]); |
|
|
titleAry.push(val[item]); |
|
|
|