Browse Source

新增添加运维人员

aqm-ops-supervision-platform
wbc 4 days ago
parent
commit
4858252c07
  1. 22
      src/views/checkManage/plan/addModal.vue

22
src/views/checkManage/plan/addModal.vue

@ -33,6 +33,17 @@
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="[16, 16]">
<a-col :span="24">
<a-form-item label="运维人员" name="ioPerson">
<a-select
v-model:value="form.ioPerson"
:options="ioPersonOptions"
placeholder="请选择"
/>
</a-form-item>
</a-col>
</a-row>
</a-form>
</a-modal>
</template>
@ -51,6 +62,7 @@
planDate: '',
station: null,
monitorType: null,
ioPerson: null,
});
//
const monitorTypeOptions = [
@ -61,6 +73,14 @@
value: '半年度巡检',
},
];
const ioPersonOptions = [
{
value: '李华',
},
{
value: '李明',
},
];
const stationOptions = ref([]);
const showModal = async (type, id, projectId) => {
visible.value = true;
@ -115,6 +135,7 @@
planDate: [{ required: true, message: '请选择' }],
station: [{ required: true, message: '请选择' }],
monitorType: [{ required: true, message: '请选择' }],
ioPerson: [{ required: true, message: '请选择' }],
};
return {
visible,
@ -124,6 +145,7 @@
handleOk,
monitorTypeOptions,
stationOptions,
ioPersonOptions,
closeModal,
formRef,
rules,

Loading…
Cancel
Save