dialog的:on-close换成@close

dev
LiuJiaNan 2024-03-21 11:49:21 +08:00
parent ea9800791a
commit 82f7c1709b
16 changed files with 16 additions and 16 deletions

View File

@ -3,7 +3,7 @@
v-model="visible"
:append-to-body="true"
:title="type === 'edit' ? '修改' : '新增'"
:on-close="fnClose"
@close="fnClose"
>
<el-form ref="formRef" :model="form" :rules="rules" label-width="220px">
<el-form-item label="日期" prop="DATE">

View File

@ -3,7 +3,7 @@
v-model="visible"
:append-to-body="true"
:title="type === 'edit' ? '修改' : '新增'"
:on-close="fnClose"
@close="fnClose"
>
<el-form ref="formRef" :model="form" :rules="rules" label-width="120px">
<el-form-item label="姓名" prop="NAME">

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" title="导出" :on-close="fnClose">
<el-dialog v-model="visible" title="导出" @close="fnClose">
<el-checkbox
v-model="checkAll"
:indeterminate="isIndeterminate"

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" title="检查照片" :on-close="fnClose">
<el-dialog v-model="visible" title="检查照片" @close="fnClose">
<el-form ref="formRef" :model="form" label-width="100px">
<el-row>
<el-col v-if="writeresults" :span="24">

View File

@ -2,8 +2,8 @@
<el-dialog
v-model="visible"
:title="type === 'add' ? '添加隐患' : '修改隐患'"
:on-close="fnClose"
width="1200"
@close="fnClose"
>
<layout-hidden-add
ref="hiddenAddRef"

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" title="导出" :on-close="fnClose">
<el-dialog v-model="visible" title="导出" @close="fnClose">
<el-checkbox
v-model="checkAll"
:indeterminate="isIndeterminate"

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" :title="title" :on-close="fnClose">
<el-dialog v-model="visible" :title="title" @close="fnClose">
<el-form ref="formRef" :model="form" label-width="110px">
<el-form-item label="标题" prop="biaoti">
<el-input v-model="form.biaoti" maxlength="31" />

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" title="导出" :on-close="fnClose">
<el-dialog v-model="visible" title="导出" @close="fnClose">
<el-checkbox
v-model="checkAll"
:indeterminate="isIndeterminate"

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" title="导出" :on-close="fnClose">
<el-dialog v-model="visible" title="导出" @close="fnClose">
<el-checkbox
v-model="checkAll"
:indeterminate="isIndeterminate"

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" title="导出" :on-close="fnClose">
<el-dialog v-model="visible" title="导出" @close="fnClose">
<el-checkbox
v-model="checkAll"
:indeterminate="isIndeterminate"

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" title="导出" :on-close="fnClose">
<el-dialog v-model="visible" title="导出" @close="fnClose">
<el-checkbox
v-model="checkAll"
:indeterminate="isIndeterminate"

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" title="导出" :on-close="fnClose">
<el-dialog v-model="visible" title="导出" @close="fnClose">
<el-checkbox
v-model="checkAll"
:indeterminate="isIndeterminate"

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" title="配置" :on-close="fnClose">
<el-dialog v-model="visible" title="配置" @close="fnClose">
<layout-table
ref="tableRef"
v-model:pagination="pagination"

View File

@ -2,7 +2,7 @@
<el-dialog
v-model="visible"
:title="type === 'add' ? '新增' : '修改'"
:on-close="fnClose"
@close="fnClose"
>
<el-form ref="formRef" :model="form" :rules="rules" label-width="80px">
<el-form-item label="文件名" prop="NAME">

View File

@ -2,7 +2,7 @@
<el-dialog
v-model="visible"
:title="type === 'add' ? '新增' : '修改'"
:on-close="fnClose"
@close="fnClose"
>
<el-form ref="formRef" :model="form" :rules="rules" label-width="170">
<el-form-item :label="labelName" prop="REMARKS">

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-model="visible" title="选择课件" width="90%" :on-close="fnClose">
<el-dialog v-model="visible" title="选择课件" width="90%" @close="fnClose">
<el-row :gutter="24">
<el-col :span="type === 'multiple' ? 16 : 24">
<el-form