From fe2076854a4997b11d759b8bcdbf1171bfbcec6f Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Wed, 31 Jan 2024 16:56:28 +0800
Subject: [PATCH] 公司管理样式修改
---
src/views/property/components/propertyEdit.vue | 2 +-
src/views/property/companyManage.vue | 27 ++++++++++++++++++++++++---
2 files changed, 25 insertions(+), 4 deletions(-)
diff --git a/src/views/property/companyManage.vue b/src/views/property/companyManage.vue
index a08767c..7cbf8a6 100644
--- a/src/views/property/companyManage.vue
+++ b/src/views/property/companyManage.vue
@@ -28,8 +28,8 @@
</div>
<div class="topic-options" v-if="item.choicesType == 3">
- <div v-for="(item1, index1) in item.subjectOptionList" :key="index1" style="display: flex;">
- <div>{{ item1.optionName }}:</div>
+ <div class="input-num-item" v-for="(item1, index1) in item.subjectOptionList" :key="index1">
+ <div class="num-name">{{ item1.optionName }}:</div>
<el-input-number v-model="item1.numbers" @change="handleChange" :min="0" :max="25"
:label="item1.optionName"></el-input-number>
</div>
@@ -37,7 +37,9 @@
</div>
</div>
- <el-button @click="handleSubmit">提交</el-button>
+ </div>
+ <div class="submit-btn">
+ <el-button type="primary" @click="handleSubmit">保存</el-button>
</div>
</basic-container>
</template>
@@ -232,10 +234,29 @@
}
.topic-options {
+ display: flex;
+
.el-radio {
margin-bottom: 10px;
}
+
+ .input-num-item {
+ display: flex;
+ margin-right: 20px;
+
+ .num-name {
+ display: flex;
+ align-items: center;
+ margin-right: 6px;
+ }
+ }
}
}
}
+
+.submit-btn {
+ display: flex;
+ justify-content: center;
+ margin-bottom: 30px;
+}
</style>
\ No newline at end of file
diff --git a/src/views/property/components/propertyEdit.vue b/src/views/property/components/propertyEdit.vue
index 85e0c4f..cdd9f0e 100644
--- a/src/views/property/components/propertyEdit.vue
+++ b/src/views/property/components/propertyEdit.vue
@@ -30,7 +30,7 @@
<div v-if="item.choicesType == 0">
<div v-for="(item1, index1) in item.subjectOptionList" :key="index1">
- <el-radio v-model="item.chooseId" :label="item1.id">{{ item1.optionName }}</el-radio>
+ <el-radio v-model="item1.ids" :label="item1.id">{{ item1.optionName }}</el-radio>
</div>
</div>
--
Gitblit v1.9.3