|  |  |  | 
|---|
|  |  |  | <ProFormSelect | 
|---|
|  |  |  | placeholder="请选择电子签通道" | 
|---|
|  |  |  | v-model="form.access" | 
|---|
|  |  |  | :value-enum="EnumElectronSignAccessText" | 
|---|
|  |  |  | :value-enum="enabledElectronSignSettings" | 
|---|
|  |  |  | enum-value-key="access" | 
|---|
|  |  |  | enum-label-key="accessName" | 
|---|
|  |  |  | ></ProFormSelect> | 
|---|
|  |  |  | </ProFormItemV2> | 
|---|
|  |  |  | <ProFormItemV2 label="业务编码:" prop="code" :check-rules="[{ message: '请输入业务编码' }]"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <ProFormText | 
|---|
|  |  |  | placeholder="请输入模板名称" | 
|---|
|  |  |  | v-model.trim="form.name" | 
|---|
|  |  |  | :maxlength="15" | 
|---|
|  |  |  | :maxlength="32" | 
|---|
|  |  |  | :disabled="form.isEnterpriseUserCreated" | 
|---|
|  |  |  | ></ProFormText> | 
|---|
|  |  |  | </ProFormItemV2> | 
|---|
|  |  |  | 
|---|
|  |  |  | file: UploadUserFile[]; | 
|---|
|  |  |  | access: EnumElectronSignAccess; | 
|---|
|  |  |  | isEnterpriseUserCreated: boolean; | 
|---|
|  |  |  | enterpriseId: string; | 
|---|
|  |  |  | }; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const form = defineModel<Form>('form'); | 
|---|
|  |  |  | 
|---|
|  |  |  | (e: 'onCancel'): void; | 
|---|
|  |  |  | }>(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const { enabledElectronSignSettings } = useEnabledElectronSignSettings({ | 
|---|
|  |  |  | enterpriseId: computed(() => form.value.enterpriseId), | 
|---|
|  |  |  | all: true, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const dialogForm = ref<FormInstance>(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | function onDialogClose() { | 
|---|