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