index2.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. <template>
  2. <ContentWrap>
  3. <!-- 搜索工作栏 -->
  4. <el-form
  5. class="-mb-15px"
  6. :model="queryParams"
  7. ref="queryFormRef"
  8. :inline="true"
  9. label-width="68px"
  10. >
  11. <el-form-item label="名称" prop="name">
  12. <el-input v-model="queryParams.name" placeholder="请输入名称" clearable @keyup.enter="handleQuery" class="!w-180px" />
  13. </el-form-item>
  14. <el-form-item>
  15. <el-button @click="handleQuery('search')"><Icon icon="ep:search" /> 搜索</el-button>
  16. <el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
  17. <el-button type="primary" plain @click="handleAdd">
  18. <Icon icon="ep:plus" class="mr-5px" /> 新增人才
  19. </el-button>
  20. </el-form-item>
  21. </el-form>
  22. </ContentWrap>
  23. <!-- 列表 -->
  24. <ContentWrap>
  25. <el-table v-loading="loading" :data="list" :stripe="true">
  26. <el-table-column label="中文名称" align="center" prop="name_zh" fixed="left" />
  27. <el-table-column label="英文名称" align="center" prop="name_en" />
  28. <el-table-column label="职位" align="center" prop="title_zh" />
  29. <el-table-column label="酒店/公司" align="center" prop="hotel_zh" />
  30. <el-table-column label="手机号码" align="center" prop="mobile" />
  31. <el-table-column label="固定电话" align="center" prop="phone" />
  32. <el-table-column label="状态" align="center" prop="status" width="80">
  33. <template #default="scope">
  34. <el-tag type="success" v-if="scope.row.status === 'active'">已启用</el-tag>
  35. <el-tag type="danger" v-else>已禁用</el-tag>
  36. </template>
  37. </el-table-column>
  38. <el-table-column label="创建日期" align="center" prop="created_at" :formatter="dateFormatter" />
  39. <el-table-column label="操作" align="center" fixed="right" min-width="110">
  40. <template #default="scope">
  41. <el-button link type="primary" @click="handleEdit(scope.row)">编辑</el-button>
  42. <el-button link type="danger" @click="handleDelete(scope.row.id)">删除</el-button>
  43. <el-button link :type="scope.row.status === 'active' ? 'warning': 'success'" @click="handleDisable(scope.row)">
  44. {{ scope.row.status === 'active' ? '禁用' : '启用'}}
  45. </el-button>
  46. </template>
  47. </el-table-column>
  48. </el-table>
  49. <!-- 选择来源 -->
  50. <Dialog title="新增" v-model="openSelect" width="500" @close="openSelect = false">
  51. <el-radio-group v-model="radioValue" size="large" class="radioBox">
  52. <el-radio
  53. v-for="item in radioList"
  54. :key="item.value"
  55. :value="item.value"
  56. >
  57. {{ item.label }}
  58. </el-radio>
  59. </el-radio-group>
  60. <template #footer>
  61. <el-button type="primary" @click="handleSelect">确 认</el-button>
  62. <el-button @click="openSelect = false">取 消</el-button>
  63. </template>
  64. </Dialog>
  65. <!-- 人员搜索 -->
  66. <Dialog :title="radioObject.menduner" v-model="openSearch" width="1200" @close="openSearch = false">
  67. <Search @detail="handleDetail" />
  68. </Dialog>
  69. <!-- 解析文件上传 -->
  70. <Dialog :title="radioObject[radioValue]" v-model="dialog_upload" :width="DialogWidth" @close="handleCancel">
  71. <div>
  72. <!-- 门墩儿人才库 -->
  73. <!-- <template v-if="radioValue === 'menduner'">
  74. </template> -->
  75. <!-- 简历解析 -->
  76. <template v-if="radioValue === 'file'">
  77. <el-upload
  78. ref="uploadRef"
  79. v-model:file-list="fileList"
  80. :action="uploadUrl"
  81. :auto-upload="false"
  82. :data="data"
  83. :limit="1"
  84. :on-change="handleChange"
  85. :on-error="submitFormError"
  86. :on-exceed="handleExceed"
  87. :on-success="submitFormSuccess"
  88. :http-request="httpRequest"
  89. accept=".pdf, doc, .docx"
  90. drag
  91. class="flex-1"
  92. >
  93. <i class="el-icon-upload"></i>
  94. <div class="el-upload__text">上传附件, 将文件拖到此处,或 <em>点击上传</em></div>
  95. <template #tip>
  96. <div class="el-upload__tip color-red">
  97. 提示:仅允许导入 pdf、doc、docx 格式文件!
  98. </div>
  99. </template>
  100. </el-upload>
  101. </template>
  102. <!-- 名片解析 -->
  103. <template v-if="radioValue === 'card'">
  104. <UploadImg
  105. v-model="cardImgUrl"
  106. :limit="1"
  107. :uploadSuccessTip="false"
  108. @handle-change="cardUploadChange"
  109. height="150px" width="150px" style="margin: 20px auto; width: 150px;"
  110. >
  111. <template #tip>{{ cardImgUrl ? '' : '请上传名片' }}</template>
  112. </UploadImg>
  113. </template>
  114. <!-- 网页解析 -->
  115. <!-- <template v-if="radioValue === 'web'"></template> -->
  116. </div>
  117. <template #footer>
  118. <el-button @click="handleAnalysis" type="success" :disabled="analysisLoading" :loading="analysisLoading">解 析</el-button>
  119. <el-button @click="handleCancel">取 消</el-button>
  120. </template>
  121. </Dialog>
  122. <!-- 解析回显 -->
  123. <Dialog :title="radioObject[radioValue]" v-model="dialog_analysisInfo" width="90%">
  124. <div class="analysisInfoBox">
  125. <div class="analysisFile">
  126. <!-- 门墩儿人才库 -->
  127. <template v-if="radioValue === 'menduner'">
  128. <el-tabs v-model="activeName" type="border-card">
  129. <el-tab-pane label="基本信息" name="info">
  130. <el-card shadow="never" class="m-b-20px">
  131. <!-- <template #header>
  132. <CardTitle title="人才详情" />
  133. </template> -->
  134. <Info :id="id" :user-id="userId" />
  135. <expExtend :user-id="userId" />
  136. </el-card>
  137. </el-tab-pane>
  138. <el-tab-pane label="附件简历" name="Attachment">
  139. <Attachment showPreview :user-id="userId" />
  140. </el-tab-pane>
  141. </el-tabs>
  142. </template>
  143. <!-- 简历解析 -->
  144. <template v-if="radioValue === 'file'">
  145. <div v-if="fileUrl" style="position: relative;">
  146. <div class="text-right m-b-10px">
  147. <el-button v-if="!isEdit" @click="handleText">查看文本信息</el-button>
  148. <el-button type="primary" @click="handleResetUpload">重新上传简历</el-button>
  149. </div>
  150. <IFrame :src="fileUrl" />
  151. <el-drawer
  152. v-model="drawer"
  153. modal-class="drawer"
  154. size="75%"
  155. direction="ltr"
  156. title="简历解析(可复制文本使用)"
  157. >
  158. <p v-for="(text, index) in resumeTxt" :key="text + index">{{ text }}</p>
  159. </el-drawer>
  160. </div>
  161. <el-upload
  162. v-else
  163. ref="uploadRef"
  164. v-model:file-list="fileList"
  165. :action="uploadUrl"
  166. :auto-upload="false"
  167. :data="data"
  168. :limit="1"
  169. :on-change="handleChange"
  170. :on-error="submitFormError"
  171. :on-exceed="handleExceed"
  172. :on-success="submitFormSuccess"
  173. :http-request="httpRequest"
  174. accept=".pdf, doc, .docx"
  175. drag
  176. class="flex-1"
  177. >
  178. <i class="el-icon-upload"></i>
  179. <div class="el-upload__text">上传附件, 将文件拖到此处,或 <em>点击上传</em></div>
  180. <template #tip>
  181. <div class="el-upload__tip color-red">
  182. 提示:仅允许导入 pdf、doc、docx 格式文件!
  183. </div>
  184. </template>
  185. </el-upload>
  186. </template>
  187. <!-- 名片解析 -->
  188. <template v-if="radioValue === 'card'">
  189. <div class="image">
  190. <el-image v-if="cardImgUrl" class="!w-100%" :src="cardImgUrl" />
  191. <div v-else>
  192. <UploadImg
  193. v-model="cardImgUrl"
  194. :limit="1"
  195. :uploadSuccessTip="false"
  196. drag
  197. buttonUpload
  198. @handle-change="cardUploadChange"
  199. height="32px" width="104px"
  200. style="margin: 0 auto; width: 104px;margin-top: 40%;"
  201. >
  202. <template #tip>{{ cardImgUrl ? '' : '请上传名片' }}</template>
  203. </UploadImg>
  204. </div>
  205. </div>
  206. </template>
  207. <!-- 网页解析 -->
  208. <template v-if="radioValue === 'web'">
  209. <webAnalysis v-if="showWebAnalysis" @analysis="val => formData = val" />
  210. </template>
  211. </div>
  212. <FormPage ref="FormPageRef" :analysisType="analysisType" :itemData="formData" />
  213. </div>
  214. <template #footer>
  215. <el-button @click="handleSave" type="success" :disabled="analysisLoading">保 存</el-button>
  216. <el-button @click="dialog_analysisInfo = false">取 消</el-button>
  217. </template>
  218. </Dialog>
  219. </ContentWrap>
  220. <MergeForm ref="mergeFormRef" @refresh="getList" />
  221. </template>
  222. <script setup>
  223. defineOptions({ name: 'TalentMapStoreIndex' })
  224. import { dateFormatter } from '@/utils/formatTime'
  225. import { talentLabelingApi } from '@/api/menduner/system/talentMap/labeling'
  226. import { TalentMap } from '@/api/menduner/system/talentMap'
  227. import { Delete, Plus } from '@element-plus/icons-vue'
  228. import MergeForm from '@/views/menduner/system/talentMap/components/merge.vue'
  229. import FormPage from '@/views/menduner/system/talentMap/components/FormPage.vue'
  230. // import uploadDialog from './components/uploadDialog.vue'
  231. import { timesTampChange, timestampToAge } from '@/utils/transform/date'
  232. import Search from './components/search.vue'
  233. import webAnalysis from './components/webAnalysis.vue'
  234. import { useUpload } from '@/components/UploadFile/src/useUpload'
  235. import { commonApi } from '@/api/menduner/common'
  236. import { Base64 } from 'js-base64'
  237. import Info from '@/views/menduner/system/person/details/components/info.vue'
  238. import expExtend from '@/views/menduner/system/person/details/components/expExtend.vue'
  239. import Attachment from '@/views/menduner/system/person/details/components/attachment.vue'
  240. const baseUrl = import.meta.env.VITE_PREVIEW_URL
  241. const { uploadUrl, httpRequest } = useUpload()
  242. const message = useMessage() // 消息弹窗
  243. const { t } = useI18n() // 国际化
  244. const loading = ref(false) // 列表的加载中
  245. const list = ref([]) // 列表的数据
  246. const total = ref(0) // 列表的总页数
  247. const queryParams = reactive({
  248. name: undefined
  249. })
  250. const queryFormRef = ref() // 搜索的表单
  251. const dialog_upload = ref(false)
  252. /** 查询列表 */
  253. const getList = async () => {
  254. loading.value = true
  255. try {
  256. list.value = []
  257. const data = await talentLabelingApi.getCardList()
  258. list.value = data ? data.reverse() : []
  259. } finally {
  260. loading.value = false
  261. }
  262. }
  263. /** 搜索按钮操作 */
  264. const handleQuery = (type) => {
  265. if (type !== 'reset') {
  266. message.warning('搜索正在建设中...')
  267. return
  268. }
  269. getList()
  270. }
  271. /** 重置按钮操作 */
  272. const resetQuery = () => {
  273. queryFormRef.value.resetFields()
  274. handleQuery('reset')
  275. }
  276. /** 删除按钮操作 */
  277. const handleDelete = async (id) => {
  278. try {
  279. // 删除的二次确认
  280. await message.delConfirm()
  281. // 发起删除
  282. await talentLabelingApi.deleteBusinessCard(id)
  283. message.success(t('common.delSuccess'))
  284. // 刷新列表
  285. setTimeout(async () => {
  286. await getList()
  287. }, 0)
  288. } catch {}
  289. }
  290. /** 编辑 */
  291. const { push } = useRouter()
  292. const handleEdit = async (item) => {
  293. analysisType.value = 'edit'
  294. formData.value = item
  295. radioValue.value = item.type || 'card' // menduner
  296. try {
  297. if (radioValue.value === 'card') {
  298. if (!item?.image_path) {
  299. cardUploadRow.value = null
  300. cardImgUrl.value = null
  301. dialog_analysisInfo.value = true
  302. return
  303. }
  304. const data = await talentLabelingApi.getBusinessCardImage(item.image_path)
  305. cardUploadRow.value = data?.type ? new File([data], item.image_path, { type: data.type }) : null
  306. cardImgUrl.value = data?.type ? URL.createObjectURL(data) : null
  307. }
  308. } catch (error) {
  309. console.log('打印->getBusinessCardImage', error)
  310. } finally {
  311. dialog_analysisInfo.value = true
  312. }
  313. }
  314. /** 禁用按钮操作 */
  315. const handleDisable = async (item) => {
  316. if (!item?.id) return message.warning('操作失败,请稍后再试')
  317. try {
  318. // 禁用的二次确认
  319. const status = item.status === 'active' ? 'inactive' : 'active'
  320. const text = status === 'inactive' ? '禁用' : '启用'
  321. await message.delConfirm(`是否${text}该名片?`)
  322. // 发起禁用
  323. await talentLabelingApi.updateBusinessCardStatus({
  324. status,
  325. }, item.id)
  326. message.success(`${text}成功`)
  327. // 刷新列表
  328. await getList()
  329. } catch {}
  330. }
  331. // 更新
  332. const activeName = ref('info')
  333. const dialog_analysisInfo = ref(false)
  334. const formLoading = ref(false)
  335. const analysisType = ref('')
  336. const FormPageRef = ref(null)
  337. const mergeFormRef = ref() // 合并表单 Ref
  338. const handleSave = async () => {
  339. const params = { ...FormPageRef.value.formQuery, type: radioValue.value }
  340. if (!params.name_zh) return message.warning('请填写姓名!')
  341. // 数组转为字符串保存
  342. if (Array.isArray(params?.mobile)) {
  343. params.mobile = params.mobile.filter(i => Boolean(i)).map(j => String(j).replace(/,|,/g, '')).join(',');
  344. }
  345. console.log(params, 'handleSubmit')
  346. try {
  347. formLoading.value = true
  348. let result = {}
  349. if (analysisType.value === 'create') {
  350. if (cardFileQuery.value) {
  351. cardFileQuery.value.append('card_data', JSON.stringify(params)) // 名片
  352. result = await talentLabelingApi.createBusinessCard(cardFileQuery.value)
  353. } else {
  354. // 结构化数据源 不传递文件
  355. result = await talentLabelingApi.createBusinessCardPost(params)
  356. }
  357. message.success('新增成功')
  358. dialog_analysisInfo.value = false
  359. // 刷新列表
  360. getList()
  361. if (result.code === 202 || result.message.includes('疑似重复')) {
  362. if (!result.data?.main_card?.id) return
  363. await message.confirm('发现与当前名片的疑似重复数据,去处理')
  364. mergeFormRef.value.open(result.data?.main_card?.id)
  365. }
  366. } else {
  367. await talentLabelingApi.updateBusinessCard(params, formData.value.id)
  368. message.success('更新成功')
  369. dialog_analysisInfo.value = false
  370. // 刷新列表
  371. getList()
  372. }
  373. } catch (error) {
  374. console.log('更新失败', error)
  375. } finally {
  376. cardFileQuery.value = null
  377. formLoading.value = false
  378. openSearch.value = false
  379. }
  380. }
  381. // 解析中
  382. const analysisLoading = ref(false)
  383. const formData = ref({})
  384. const handleAnalysis = async () => {
  385. // 开始解析
  386. analysisLoading.value = true
  387. cardFileQuery.value = null
  388. formData.value = null
  389. const type = radioValue.value
  390. try {
  391. // if (type === 'menduner') { // 门墩儿人才库
  392. // } else
  393. if (type === 'file') { // 简历解析
  394. if (!fileUrl.value) return message.warning('获取文件失败,请重新上传!')
  395. const data = await commonApi.resumeParser({ fileUrl: fileUrl.value })
  396. resumeAnalysisToForm(data) // 简历解析
  397. } else if (type === 'card') { // 名片解析
  398. if (!cardImgUrl.value) {
  399. message.warning('请先上传名片!')
  400. return
  401. }
  402. cardFileQuery.value = new FormData()
  403. cardFileQuery.value.append('image', cardUploadRow.value)
  404. message.warning('正在解析...')
  405. const index = createAnalysisNum.value
  406. const res = await talentLabelingApi.businessCardParse(cardFileQuery.value)
  407. if (index !== createAnalysisNum.value || !dialog_upload.value) return // 不是最新的名片解析数据(用户在解析完成前已重新上传)或用户已取消解析
  408. formData.value = res?.data || res
  409. message.success('名片解析成功')
  410. }
  411. // else if (type === 'web') {}
  412. dialog_upload.value = false
  413. dialog_analysisInfo.value = true
  414. } catch (error) {
  415. console.log('解析失败', error)
  416. cardFileQuery.value = null
  417. } finally {
  418. analysisLoading.value = false
  419. }
  420. }
  421. // 简历解析
  422. const fileUrl = ref('') // https://minio.menduner.com/dev/person/229988673960153088/attachment/ee3eb21f45e13ede3557a03d18585ed80c5b4212ac5634e3436e309afaa8fe6a.pdf
  423. const uploadRef = ref()
  424. const fileList = ref([])
  425. const data = ref({ path: '' })
  426. // 文件上传
  427. const handleChange = async (file) => {
  428. data.value.path = file.name
  429. unref(uploadRef)?.submit()
  430. if (!fileList.value.length) return
  431. const url = fileList.value[0].response.data
  432. fileUrl.value = !url.includes('.pdf') ? `${baseUrl}/onlinePreview?url=${encodeURIComponent(Base64.encode(url))}` : url
  433. if (dialog_analysisInfo.value) {
  434. if (FormPageRef.value?.changeLoading) FormPageRef.value.changeLoading(true)
  435. message.warning('正在解析...')
  436. const data = await commonApi.resumeParser({ fileUrl: fileUrl.value })
  437. resumeAnalysisToForm(data) // 简历解析
  438. if (FormPageRef.value?.changeLoading) FormPageRef.value.changeLoading(false)
  439. }
  440. }
  441. const submitFormError = () => {
  442. message.error('上传失败,请您重新上传!')
  443. }
  444. const handleExceed = () => {
  445. message.error('最多只能上传一个文件!')
  446. }
  447. const submitFormSuccess = (e) => {
  448. // 清理
  449. // unref(uploadRef)?.clearFiles()
  450. }
  451. const drawer = ref(false)
  452. const resumeTxt = ref([])
  453. // 查看文本信息
  454. const handleText = () => {
  455. drawer.value = true
  456. }
  457. // 重新上传简历
  458. const handleResetUpload = async () => {
  459. await message.confirm('是否确定重新上传简历?确定后将清空当前信息')
  460. fileUrl.value = ''
  461. data.value.path = ''
  462. fileList.value = []
  463. resumeAnalysisToForm('reset') // 简历解析
  464. }
  465. // 简历解析数据解构赋值
  466. const resumeAnalysisToForm = (data) => {
  467. if (data === 'reset') {
  468. // 重置表单
  469. resumeTxt.value = ''
  470. if (FormPageRef.value?.resetFormData) FormPageRef.value.resetFormData()
  471. }
  472. formData.value = {
  473. name_zh: data?.person?.name || '',
  474. email: data?.person?.email || '',
  475. mobile: data?.person?.phone || '',
  476. birthday: data?.person?.birthday ? timesTampChange(data.person.birthday, 'Y-M-D') : '',
  477. age: data?.person?.birthday ? timestampToAge(data.person.birthday) : null,
  478. career_path: data?.workList ? data.workList.map(e => {
  479. return {
  480. hotel_zh: e?.enterpriseName || null,
  481. title_zh: e?.positionName || null,
  482. date: e?.startTime ? timesTampChange(e.startTime, 'Y-M-D') : null
  483. }
  484. }) : null,
  485. created_at: data?.person?.createTime ? timesTampChange(data.person.createTime, 'Y-M-D') : null,
  486. updated_at: data?.person?.updateTime ? timesTampChange(data.person.updateTime, 'Y-M-D') : null,
  487. }
  488. resumeTxt.value = data?.resume?.rawText?.split('\n') || ''
  489. if (FormPageRef.value?.setFormData) FormPageRef.value.setFormData(formData.value)
  490. }
  491. // 名片解析
  492. const createAnalysisNum = ref(0)
  493. const cardFileQuery = ref(null)
  494. const cardUploadRow = ref(null)
  495. const cardImgUrl = ref(null)
  496. const cardUploadChange = (raw) => {
  497. cardUploadRow.value = raw
  498. }
  499. // 人员搜索
  500. const openSearch = ref(false)
  501. const id = ref(null)
  502. const userId = ref(null)
  503. const handleDetail = async ({id: use_id, userId: use_userId}) => {
  504. if (!use_userId || !use_userId) return message.warning('请先选择人才!')
  505. id.value = use_id; userId.value = use_userId
  506. try {
  507. const data = await TalentMap.getTalentMapDetail(use_userId)
  508. // 去除id
  509. resumeAnalysisToForm(data) // 简历解析
  510. dialog_analysisInfo.value = true
  511. // message.success(`操作成功`)
  512. } catch {}
  513. }
  514. const DialogWidth = ref('500')
  515. const showWebAnalysis = ref(false)
  516. // 选择解析方式
  517. const handleSelect = () => {
  518. openSelect.value = false
  519. formData.value = null
  520. showWebAnalysis.value = false
  521. const type = radioValue.value
  522. if (type === 'card') {
  523. createAnalysisNum.value++
  524. }
  525. if (type === 'menduner') {
  526. openSearch.value = true
  527. return
  528. }
  529. if (type === 'web') {
  530. showWebAnalysis.value = true
  531. dialog_analysisInfo.value = true
  532. return
  533. }
  534. dialog_upload.value = true
  535. }
  536. // 关闭上传弹窗
  537. const handleCancel = () => {
  538. dialog_upload.value = false
  539. analysisLoading.value = false
  540. }
  541. const openSelect = ref(false)
  542. const radioObject = { card: '名片解析', file: '简历解析', web: '网页解析', menduner: '门墩儿招聘' }
  543. const radioList = ref(Object.keys(radioObject).map(key => ({ value: key, label: radioObject[key]}) ))
  544. const defaultValue = radioList.value[0].value // 默认选中
  545. const radioValue = ref(defaultValue)
  546. // 新增解析
  547. const handleAdd = () => {
  548. cardUploadRow.value = null
  549. cardImgUrl.value = null
  550. analysisLoading.value = false
  551. analysisType.value = 'create'
  552. radioValue.value = defaultValue // 重置解析类型
  553. //
  554. openSelect.value = true
  555. }
  556. /** 初始化 **/
  557. onMounted(() => {
  558. getList()
  559. })
  560. </script>
  561. <style lang="scss" scoped>
  562. .analysisInfoBox {
  563. display: flex;
  564. .analysisFile {
  565. width: 50%;
  566. max-height: 70vh;
  567. padding-right: 12px;
  568. overflow: auto;
  569. }
  570. }
  571. .radioBox {
  572. margin: 40px 0;
  573. }
  574. :deep(.drawer) {
  575. position: absolute;
  576. .el-drawer {
  577. background-color: aliceblue;
  578. }
  579. }
  580. </style>