From cdf41a67ad32382247318ea67f9a56cbd36dfaa8 Mon Sep 17 00:00:00 2001
From: zenglf <18502938215@163.com>
Date: 星期三, 06 九月 2023 14:57:57 +0800
Subject: [PATCH] 设备台账子表宽度调整
---
src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue | 30 ++++++++++++------------------
1 files changed, 12 insertions(+), 18 deletions(-)
diff --git a/src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue b/src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue
index 1ad133f..c559867 100644
--- a/src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue
+++ b/src/views/eam/modules/equipmentCategory/EquipmentCategoryModel.vue
@@ -46,7 +46,7 @@
</a-row>-->
<a-row :gutter="24">
- <a-col :span="24">
+ <a-col :span="12">
<a-form-item
label="璁惧鍒嗙被缂栧彿"
:labelCol="labelCol"
@@ -60,9 +60,7 @@
/>
</a-form-item>
</a-col>
- </a-row>
- <a-row :gutter="24" v-if="parentId!='-1'">
- <a-col :span="24">
+ <a-col :span="12" v-if="parentId!='-1'">
<a-form-item
label="璁惧鍒嗙被鍚嶇О"
:labelCol="labelCol"
@@ -76,9 +74,7 @@
/>
</a-form-item>
</a-col>
- </a-row>
- <a-row :gutter="24" v-if="parentId=='-1'">
- <a-col :span="24">
+ <a-col :span="12" v-if="parentId=='-1'">
<a-form-item
label="璁惧鍒嗙被鍚嶇О"
:labelCol="labelCol"
@@ -95,9 +91,8 @@
</a-form-item>
</a-col>
</a-row>
-
- <a-row :gutter="24">
- <a-col :span="24">
+ <a-row :gutter="24">
+ <a-col :span="12">
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
@@ -113,9 +108,7 @@
/>
</a-form-item>
</a-col>
- </a-row>
- <a-row :gutter="24">
- <a-col :span="24">
+ <a-col :span="12">
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
@@ -132,8 +125,8 @@
</a-form-item>
</a-col>
</a-row>
- <a-row :gutter="24">
- <a-col :span="24">
+ <a-row :gutter="24">
+ <a-col :span="12">
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
@@ -148,7 +141,6 @@
</a-form-item>
</a-col>
</a-row>
-
</a-form>
<a-divider v-if="title!='鏂板'" orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 閫夋嫨瀛愯澶囧垎绫讳娇鍏惰窡闅忕埗璁惧鍒嗙被灞炴�� </a-divider>
<a-tabs
@@ -247,10 +239,10 @@
parentId: '',
model: {},
labelCol: {
- span:3
+ span:7
},
wrapperCol: {
- span:21
+ span:17
},
confirmLoading: false,
form: this.$form.createForm(this),
@@ -405,6 +397,7 @@
close() {
this.$emit('close');
this.visible = false;
+ this.onClearSelected();
},
onSelectChange(selectedRowKeys, selectionRows) {
this.selectedRowKeys = selectedRowKeys;
@@ -470,6 +463,7 @@
that.confirmLoading = false;
that.$bus.$emit('loadData')
that.close();
+ that.onClearSelected();
})
}
})
--
Gitblit v1.9.3