流程模版

szh-new
lijingjia 4 months ago
parent d88f1b0150
commit 0125acec4d

@ -1,7 +1,5 @@
<template> <template>
<el-config-provider namespace="el" :locale="zhCn"> <FlowDesign :process="process" :fields="fields" />
<FlowDesign :process="process" :fields="fields" />
</el-config-provider>
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">

@ -121,7 +121,8 @@
display: flex; display: flex;
flex-direction: row; flex-direction: row;
min-height: 100%; min-height: 100%;
min-width: 100%; width: 100%;
overflow: auto;
// overflow: scroll; // overflow: scroll;
.zoom { .zoom {

@ -259,8 +259,11 @@ export const basicInfoFormSchema: FormSchema[] = [
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
}, },
onChange: async (e, obj) => { onChange: async (e, obj) => {
if (obj) { if (e && obj) {
formModel.sourceCode = obj.label formModel.sourceCode = obj.sourceCode
}
if (!e && !obj) {
formModel.sourceCode = null
} }
if (e) { if (e) {
if (formActionType) { if (formActionType) {

Loading…
Cancel
Save