Showing
1 changed file
with
2 additions
and
1 deletions
| ... | ... | @@ -12,10 +12,10 @@ |
| 12 | 12 | <p style="display: none">{{ field }}</p> |
| 13 | 13 | <p>{{ orgFunc(model['organizationId']) }}</p> |
| 14 | 14 | <a-select |
| 15 | + style="top: -13px" | |
| 15 | 16 | placeholder="请选择告警联系人" |
| 16 | 17 | mode="multiple" |
| 17 | 18 | v-model:value="model[field]" |
| 18 | - style="width: 418px; margin-top: -5px" | |
| 19 | 19 | :options="alarmContactOptions.map((item) => ({ value: item.value, label: item.label }))" |
| 20 | 20 | > |
| 21 | 21 | <template #dropdownRender="{ menuNode: menu }"> |
| ... | ... | @@ -65,6 +65,7 @@ |
| 65 | 65 | () => orgId.value, |
| 66 | 66 | async (newValue: string) => { |
| 67 | 67 | if (newValue) { |
| 68 | + setFieldsValue({ alarmContactId: [] }); | |
| 68 | 69 | //获取告警联系人 |
| 69 | 70 | const res = await byOrgIdGetAlarmContact(newValue); |
| 70 | 71 | if (res) { | ... | ... |