Commit e874b15a by Tianqing Liu

feat: 增加ageGroup字段

1 parent aa2eaaa6
......@@ -16,6 +16,12 @@
style="width: 100%;"
/>
</a-form-item>
<a-form-item label="年龄段">
<a-select v-model:value="formData.ageGroup">
<a-select-option :value="0">儿童</a-select-option>
<a-select-option :value="1">成人</a-select-option>
</a-select>
</a-form-item>
<a-form-item label="性别">
<a-select v-model:value="formData.gender">
<a-select-option :value="0"></a-select-option>
......@@ -51,6 +57,7 @@ export default {
return {
personUnid: '',
age: 1,
ageGroup: 1,
gender: 0,
type: 0,
countdate: '',
......@@ -67,6 +74,8 @@ export default {
formData.value.gender = data.perrsonList[0].gender
formData.value.type = data.perrsonList[0].person_type
formData.value.countdate = data.perrsonList[0].counttime
formData.value.ageGroup = data.perrsonList[0].childAdult || 1
}
isVisible.value = true;
};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!