|
@@ -21,7 +21,7 @@ export default {
|
|
return {
|
|
return {
|
|
rules,
|
|
rules,
|
|
params,
|
|
params,
|
|
- width: "50%",
|
|
|
|
|
|
+ width: "400px",
|
|
title: "编 辑",
|
|
title: "编 辑",
|
|
visible: false,
|
|
visible: false,
|
|
FormColumns,
|
|
FormColumns,
|
|
@@ -95,11 +95,15 @@ export default {
|
|
>
|
|
>
|
|
{{ title }}
|
|
{{ title }}
|
|
<el-dialog
|
|
<el-dialog
|
|
|
|
+ v-loading="loading"
|
|
:width="width"
|
|
:width="width"
|
|
:visible.sync="visible"
|
|
:visible.sync="visible"
|
|
append-to-body
|
|
append-to-body
|
|
:show-close="false"
|
|
:show-close="false"
|
|
|
|
+ :close-on-click-modal="false"
|
|
|
|
+ :close-on-press-escape="false"
|
|
@open="beforeOpen"
|
|
@open="beforeOpen"
|
|
|
|
+ @close="close"
|
|
>
|
|
>
|
|
<template #title>
|
|
<template #title>
|
|
<el-row type="flex" justify="space-between">
|
|
<el-row type="flex" justify="space-between">
|
|
@@ -130,3 +134,9 @@ export default {
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|
|
|
|
+
|
|
|
|
+<style scoped>
|
|
|
|
+>>> .el-dialog__body {
|
|
|
|
+ padding: 5px 15px;
|
|
|
|
+}
|
|
|
|
+</style>
|