|
|
@@ -1,5 +1,12 @@ |
|
|
|
<template> |
|
|
|
<el-dialog class="super-flexible-dialog" :title="isDetail ? title.detail : !dataForm.id ? title.add : title.edit" :visible.sync="visible" @close="handleClose"> |
|
|
|
<el-dialog |
|
|
|
class="super-flexible-dialog" |
|
|
|
:title="isDetail ? title.detail : !dataForm.id ? title.add : title.edit" |
|
|
|
:visible.sync="visible" |
|
|
|
@close="handleClose" |
|
|
|
:distory-on-close="true" |
|
|
|
:close-on-click-modal="false" |
|
|
|
> |
|
|
|
<div style="max-height: 60vh; overflow-y: scroll; overflow-x: hidden;"> |
|
|
|
<el-form ref="dataForm" :model="dataForm" :rules="dataFormRules"> |
|
|
|
<!-- 如果需要更精细一点的布局,可以根据配置项实现地再复杂一点,但此处暂时全部采用一行两列布局 --> |
|
|
|