| | |
| | | <a-radio :value="item.value" style="margin-right: 10px">{{ |
| | | item.name |
| | | }}</a-radio> |
| | | <!-- <template #content> |
| | | <p style="max-width: 300px">{{ item.parser_config_str }}</p> |
| | | </template> --> |
| | | |
| | | <template #content> |
| | | <p>{{ item.parser_config_str }}</p> |
| | | </template> |
| | |
| | | getParseMethodsListApi, |
| | | getSessionDetailsApi, |
| | | uploadWithoutKb, |
| | | uploadAndParse, |
| | | } from '@/api/session'; |
| | | |
| | | const visible = ref(false); |
| | |
| | | formData.append('parser_id', parser_id.value); |
| | | } |
| | | } |
| | | console.log(formData, 'formData'); |
| | | // uploadAndParse(formData).then((res) => { |
| | | // debugger; |
| | | // onFileSelectedLoading.value = false; |
| | | // if (res.code == 200) { |
| | | // cancel(); |
| | | // // uploaditemList.value = []; |
| | | // emit('selectFileCallback', uploaditemList.value); |
| | | // Message.success('上传成功'); |
| | | // } else { |
| | | // Message.error('上传失败'); |
| | | // } |
| | | // }); |
| | | uploadWithoutKb(formData).then((res) => { |
| | | onFileSelectedLoading.value = false; |
| | | if (res.code == 200) { |