|
|
@ -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, |
|
|
|