| | |
| | | <template> |
| | | <ProDialog title="签约" v-model="visible" @close="onDialogClose" destroy-on-close draggable> |
| | | <ProForm :model="form" ref="dialogForm" label-width="100px"> |
| | | <ProFormItemV2 label="请选择模板:" prop="url" :check-rules="[{ message: '请选择模板' }]"> |
| | | <ProFormSelect v-model="form.url" :valueEnum="enterpriseContractTemplateSelect"> |
| | | <ProFormItemV2 |
| | | label="请选择模板:" |
| | | prop="contractTemplateId" |
| | | :check-rules="[{ message: '请选择模板' }]" |
| | | > |
| | | <ProFormSelect |
| | | v-model="form.contractTemplateId" |
| | | :valueEnum="enterpriseContractTemplateSelect" |
| | | > |
| | | </ProFormSelect> |
| | | </ProFormItemV2> |
| | | </ProForm> |
| | |
| | | |
| | | type Form = { |
| | | title?: string; |
| | | url: UploadUserFile[]; |
| | | id?: string; |
| | | contractTemplateId?: string; |
| | | }; |
| | | |
| | | const visible = defineModel({ type: Boolean }); |