刷新刷新

This commit is contained in:
zxy 2026-01-15 09:57:30 +08:00
parent ac0035172c
commit ee04fad814
2 changed files with 9 additions and 3 deletions

View File

@ -5,7 +5,7 @@ spring:
name: mes-server name: mes-server
profiles: profiles:
active: pro active: local
main: main:
@ -68,6 +68,7 @@ flowable:
mybatis-plus: mybatis-plus:
configuration: configuration:
map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。 map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config: global-config:
db-config: db-config:
id-type: NONE # “智能”模式,基于 IdTypeEnvironmentPostProcessor + 数据源的类型,自动适配成 AUTO、INPUT 模式。 id-type: NONE # “智能”模式,基于 IdTypeEnvironmentPostProcessor + 数据源的类型,自动适配成 AUTO、INPUT 模式。

View File

@ -1,5 +1,5 @@
<template> <template>
<Dialog :title="dialogTitle" v-model="dialogVisible"> <Dialog :title="dialogTitle" v-model="dialogVisible" @close="emits">
<el-form <el-form
ref="formRef" ref="formRef"
:model="formData" :model="formData"
@ -19,7 +19,7 @@
</el-form> </el-form>
<template #footer> <template #footer>
<el-button @click="submitForm" type="primary" :disabled="formLoading"> </el-button> <el-button @click="submitForm" type="primary" :disabled="formLoading"> </el-button>
<el-button @click="dialogVisible = false"> </el-button> <el-button @click="emits"> </el-button>
</template> </template>
</Dialog> </Dialog>
</template> </template>
@ -70,6 +70,11 @@ const open = async (type: string, id?: number) => {
} }
} }
} }
const emits = async () => {
dialogVisible.value = false
emit('success')
}
defineExpose({ open }) // open defineExpose({ open }) // open
/** 提交表单 */ /** 提交表单 */