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-form-item>
</a-col> </a-col>
</a-row> </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-form>
</a-modal> </a-modal>
</template> </template>
@ -51,6 +62,7 @@
planDate: '', planDate: '',
station: null, station: null,
monitorType: null, monitorType: null,
ioPerson: null,
}); });
// //
const monitorTypeOptions = [ const monitorTypeOptions = [
@ -61,6 +73,14 @@
value: '半年度巡检', value: '半年度巡检',
}, },
]; ];
const ioPersonOptions = [
{
value: '李华',
},
{
value: '李明',
},
];
const stationOptions = ref([]); const stationOptions = ref([]);
const showModal = async (type, id, projectId) => { const showModal = async (type, id, projectId) => {
visible.value = true; visible.value = true;
@ -115,6 +135,7 @@
planDate: [{ required: true, message: '请选择' }], planDate: [{ required: true, message: '请选择' }],
station: [{ required: true, message: '请选择' }], station: [{ required: true, message: '请选择' }],
monitorType: [{ required: true, message: '请选择' }], monitorType: [{ required: true, message: '请选择' }],
ioPerson: [{ required: true, message: '请选择' }],
}; };
return { return {
visible, visible,
@ -124,6 +145,7 @@
handleOk, handleOk,
monitorTypeOptions, monitorTypeOptions,
stationOptions, stationOptions,
ioPersonOptions,
closeModal, closeModal,
formRef, formRef,
rules, rules,

Loading…
Cancel
Save