music-sheet-kt.tsx 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. import { defineComponent, onMounted, reactive, ref } from 'vue'
  2. import SaveForm from '@components/save-form'
  3. import {
  4. DataTableRowKey,
  5. NButton,
  6. NCascader,
  7. NDataTable,
  8. NDatePicker,
  9. NDescriptions,
  10. NDescriptionsItem,
  11. NFormItem,
  12. NImage,
  13. NInput,
  14. NModal,
  15. NSelect,
  16. NSpace,
  17. NTag,
  18. useDialog,
  19. useMessage
  20. } from 'naive-ui'
  21. import Pagination from '@components/pagination'
  22. import TheTooltip from '@components/TheTooltip'
  23. import AddMusic from '@views/music-library/project-music-sheet/module/kt/addMusic'
  24. import UpdateMusic from '@views/music-library/project-music-sheet/module/kt/updateMusic'
  25. import {
  26. musicSheetApplicationExtendCategoryList,
  27. musicSheetApplicationExtendDel,
  28. musicSheetApplicationExtendStatus,
  29. musicSheetApplicationOwnerList,
  30. musicSheetPageByApplication,
  31. musicSheetRemove
  32. } from '@views/music-library/api'
  33. import { getMapValueByKey, getSelectDataFromObj } from '@/utils/objectUtil'
  34. import {appKey, musicSheetAudioType, musicSheetPaymentType, musicSheetSourceType, musicSheetType} from '@/utils/constant'
  35. import { sysApplicationPage } from '@views/menu-manage/api'
  36. import { musicSheetApplicationExtendSubjectList } from '@views/system-manage/api'
  37. import { filterTimes } from '@/utils/dateUtil'
  38. import deepClone from '@/utils/deep.clone'
  39. import {copyText, getOwnerName} from '@views/music-library/musicUtil'
  40. import MusicPreView from '@views/music-library/music-sheet/modal/musicPreView'
  41. export default defineComponent({
  42. name: 'project-music-sheet-KT',
  43. props: {
  44. appKey: {
  45. type: String,
  46. default: 'KT'
  47. }
  48. },
  49. setup(props) {
  50. const dialog = useDialog()
  51. const message = useMessage()
  52. const state = reactive({
  53. loading: false,
  54. appId: null as any,
  55. pagination: {
  56. page: 1,
  57. rows: 10,
  58. pageTotal: 0
  59. },
  60. searchForm: {
  61. keyword: null,
  62. musicSheetType: null, //曲目类型(SINGLE:单曲 CONCERT:合奏)
  63. subjectId: null, //声部ID
  64. subjectIds: null, //曲目声部ID集合
  65. musicCategoryIds: null, //曲目分类ID
  66. status: null, //曲目状态(0:停用,1:启用)
  67. sourceType: null, //来源类型/作者属性(PLATFORM: 平台; ORG: 机构; PERSON: 个人)
  68. paymentType: null, //收费类型(FREE:免费;VIP:会员;CHARGE:单曲收费)
  69. userId: null, //所属人
  70. musicCategoryId: null, //曲目分类ID
  71. times: null, // 上传时间
  72. // startTime: null, //上传时间(年月日)
  73. // endTime: null, //上传时间(年月日)
  74. audioType: null, //音频类型(HOMEMODE: 自制 COMMON: 普通)
  75. exquisiteFlag: null, //精品标志
  76. topFlag: null, //是否置顶(0:否;1:是)
  77. availableType: null, //可用途径 ORG 机构 PLATFORM 平台
  78. appAuditFlag: null, //是否审核版本
  79. detailFlag: null, //是否查询详情
  80. applicationId: null, //所属人项目ID
  81. extendApplicationId: null //所属人项目ID
  82. },
  83. subjectList: [],
  84. dataList: [] as any[],
  85. musicSheetCategories: [],
  86. showAddDialog: false,
  87. showEditDialog: false,
  88. userIdDisable: true,
  89. userIdData: [] as any,
  90. updateRow: {} as any, // 修改选择的行
  91. applicationId: null, //应用ID
  92. musicPreview: false,
  93. musicScore: null as any,
  94. useProjectData: [] as any // 适用项目行数据
  95. })
  96. onMounted(async () => {
  97. state.loading = true
  98. // 加载声部
  99. try {
  100. // 获取应用APP信息
  101. const appRes = await sysApplicationPage({ page: 1, rows: 1, appKey: props.appKey })
  102. const appTempList = appRes.data.rows || []
  103. if (!appTempList || appTempList.length == 0) {
  104. state.loading = false
  105. message.error('加载项目信息失败')
  106. return
  107. }
  108. state.appId = appTempList[0].id
  109. state.applicationId = appTempList[0].id
  110. const { data } = await musicSheetApplicationExtendSubjectList({
  111. applicationId: state.applicationId
  112. })
  113. const tempList = data || []
  114. tempList.forEach((item: any) => {
  115. item.label = item.subjectName
  116. item.value = item.subjectId
  117. })
  118. state.subjectList = tempList
  119. //加载曲目分类列表
  120. const categoryRes = await musicSheetApplicationExtendCategoryList({
  121. applicationIds: state.appId
  122. })
  123. if (categoryRes.data && categoryRes.data.length > 0) {
  124. state.musicSheetCategories = categoryRes.data[0].musicSheetCategories
  125. }
  126. } catch {}
  127. // 加载表格数据
  128. initUseAppList()
  129. getList()
  130. })
  131. const initUseAppList = async () => {
  132. try {
  133. const appKeys = Object.keys(appKey)
  134. const { data } = await sysApplicationPage({ page: 1, rows: 999 })
  135. const tempList = data.rows || []
  136. state.useProjectData = []
  137. const filter = tempList.filter((next: any) => {
  138. return appKeys.includes(next.appKey)
  139. })
  140. filter.forEach((item: any) => {
  141. state.useProjectData.push({
  142. ...item,
  143. label: item.appName,
  144. value: item.id
  145. })
  146. })
  147. } catch {}
  148. }
  149. const saveForm = ref()
  150. const onSearch = () => {
  151. saveForm.value?.submit()
  152. }
  153. const onBtnReset = () => {
  154. saveForm.value?.reset()
  155. }
  156. const onSubmit = () => {
  157. state.pagination.page = 1
  158. getList()
  159. }
  160. const checkedRowKeysRef = ref<DataTableRowKey[]>([])
  161. const handleCheck = (rowKeys: DataTableRowKey[]) => {
  162. checkedRowKeysRef.value = rowKeys
  163. }
  164. const getList = async () => {
  165. state.loading = true
  166. try {
  167. const sourceType = state.searchForm.sourceType
  168. const { data } = await musicSheetPageByApplication({
  169. ...state.pagination,
  170. ...state.searchForm,
  171. userId: sourceType && sourceType === 'PERSON' ? state.searchForm.userId : null,
  172. organizationRoleId: sourceType && sourceType === 'ORG' ? state.searchForm.userId : null,
  173. ...filterTimes(state.searchForm.times, ['startTime', 'endTime']),
  174. applicationId: state.applicationId
  175. })
  176. state.pagination.pageTotal = Number(data.total)
  177. state.dataList = data.rows || []
  178. } catch {}
  179. state.loading = false
  180. }
  181. const onChangeStatus = (row: any) => {
  182. const statusStr = row.status ? '停用' : '启用'
  183. dialog.warning({
  184. title: '提示',
  185. content: `是否${statusStr}?`,
  186. positiveText: '确定',
  187. negativeText: '取消',
  188. onPositiveClick: async () => {
  189. try {
  190. await musicSheetApplicationExtendStatus({
  191. ids: row.applicationExtendId,
  192. status: !row.status
  193. })
  194. getList()
  195. message.success(`${statusStr}成功`)
  196. } catch {}
  197. }
  198. })
  199. }
  200. const onBatchChangeStatus = (status: boolean) => {
  201. const length = checkedRowKeysRef.value.length
  202. if (length == 0) {
  203. message.warning('未选择数据')
  204. }
  205. const statusStr = !status ? '停用' : '启用'
  206. dialog.warning({
  207. title: '提示',
  208. content: `是否${statusStr}` + length + `条数据?`,
  209. positiveText: '确定',
  210. negativeText: '取消',
  211. onPositiveClick: async () => {
  212. try {
  213. await musicSheetApplicationExtendStatus({
  214. ids: checkedRowKeysRef.value.join(','),
  215. status: status
  216. })
  217. getList()
  218. message.success(`${statusStr}成功`)
  219. } catch {}
  220. }
  221. })
  222. }
  223. const updateUserIdData = async (sourceType: any) => {
  224. if (!state.searchForm.extendApplicationId) {
  225. return
  226. }
  227. state.userIdData = []
  228. state.searchForm.userId = null
  229. if (sourceType && sourceType !== 'PLATFORM') {
  230. const { data } = await musicSheetApplicationOwnerList({
  231. page: 1,
  232. rows: 9999,
  233. sourceType: sourceType,
  234. applicationId: state.searchForm.extendApplicationId
  235. })
  236. const temp = data.rows || []
  237. temp.forEach((next: any) => {
  238. state.userIdData.push({
  239. ...next,
  240. label: sourceType === 'PERSON' ? next.userName : next.organizationRole,
  241. value: sourceType === 'PERSON' ? next.userId : next.organizationRoleId
  242. })
  243. })
  244. }
  245. }
  246. const onRmove = (row: any): void => {
  247. dialog.warning({
  248. title: '提示',
  249. content: `删除曲目,是否继续?`,
  250. positiveText: '确定',
  251. negativeText: '取消',
  252. onPositiveClick: async () => {
  253. try {
  254. await musicSheetApplicationExtendDel(row.applicationExtendId)
  255. getList()
  256. message.success('删除成功')
  257. } catch {}
  258. }
  259. })
  260. }
  261. const columns = (): any => {
  262. return [
  263. {
  264. type: 'selection'
  265. },
  266. {
  267. title: '曲目名称',
  268. key: 'id',
  269. render: (row: any) => (
  270. <>
  271. <NDescriptions labelPlacement="left" column={1}>
  272. <NDescriptionsItem label="曲目名称">
  273. <TheTooltip content={row.name} />{' '}
  274. </NDescriptionsItem>
  275. <NDescriptionsItem label="曲目编号">
  276. <div onDblclick={() => {
  277. copyText(message,row.id)
  278. }}>
  279. <TheTooltip content={row.id}/>
  280. </div>
  281. </NDescriptionsItem>
  282. </NDescriptions>
  283. </>
  284. )
  285. },
  286. {
  287. title: '封面图',
  288. key: 'musicCover',
  289. render(row: any): JSX.Element {
  290. return <NImage width={60} height={60} src={row.musicCover} />
  291. }
  292. },
  293. {
  294. title: '曲目信息',
  295. key: 'musicSheetCategoriesName',
  296. render: (row: any) => (
  297. <>
  298. <NDescriptions labelPlacement="left" column={1}>
  299. <NDescriptionsItem label="曲目来源">
  300. {getMapValueByKey(row.sourceType, new Map(Object.entries(musicSheetSourceType)))}
  301. </NDescriptionsItem>
  302. <NDescriptionsItem label="多声轨渲染">
  303. {getMapValueByKey(row.musicSheetType, new Map(Object.entries(musicSheetType)))}
  304. </NDescriptionsItem>
  305. <NDescriptionsItem label="所属人">
  306. <TheTooltip content={getOwnerName(row.musicSheetExtend, row.sourceType)} />
  307. </NDescriptionsItem>
  308. <NDescriptionsItem label="可用声部">
  309. <TheTooltip content={row.subjectNames} />
  310. </NDescriptionsItem>
  311. </NDescriptions>
  312. </>
  313. )
  314. },
  315. {
  316. title: '伴奏类型',
  317. key: 'audioType',
  318. render: (row: any) => {
  319. return (
  320. <div>
  321. {getMapValueByKey(row.audioType, new Map(Object.entries(musicSheetAudioType)))}
  322. </div>
  323. )
  324. }
  325. },
  326. // {
  327. // title: '可用声部',
  328. // key: 'subjectNames',
  329. // render: (row: any) => {
  330. // return <TheTooltip content={row.subjectNames}/>
  331. // }
  332. // },
  333. {
  334. title: '乐谱教材',
  335. key: 'musicSheetCategoryName'
  336. },
  337. // {
  338. // title: '可用途径',
  339. // key: 'availableType',
  340. // render: (row: any) => {
  341. // return <div>{getMapValueByKey(row.availableType, new Map(Object.entries(musicSheetAvailableType)))}</div>
  342. // }
  343. // },
  344. {
  345. title: '收费方式',
  346. key: 'paymentType',
  347. render: (row: any) => {
  348. return <div>{getMapValueByKey(row.paymentType, new Map(Object.entries(musicSheetPaymentType)))}</div>
  349. }
  350. },
  351. {
  352. title: '上传人',
  353. minWidth: '150px',
  354. key: 'composer',
  355. render(row: any) {
  356. return (
  357. <NDescriptions labelPlacement="left" column={1}>
  358. <NDescriptionsItem label="上传人">{row.createByName}</NDescriptionsItem>
  359. <NDescriptionsItem label="上传时间">{row.createTime}</NDescriptionsItem>
  360. </NDescriptions>
  361. )
  362. }
  363. },
  364. {
  365. title: '状态',
  366. key: 'status',
  367. render(row: any) {
  368. return (
  369. <NTag type={row.status ? 'primary' : 'default'}>{row.status ? '启用' : '停用'}</NTag>
  370. )
  371. }
  372. },
  373. {
  374. title: '操作',
  375. key: 'operation',
  376. fixed: 'right',
  377. render(row: any) {
  378. return (
  379. <NSpace>
  380. <NButton
  381. type="primary"
  382. size="small"
  383. text
  384. onClick={() => {
  385. state.musicPreview = true
  386. state.musicScore = row
  387. }}
  388. >
  389. 预览
  390. </NButton>
  391. <NButton
  392. type="primary"
  393. size="small"
  394. text
  395. v-auth="musicSheetApplicationExtend/status1751235210464198657"
  396. onClick={() => onChangeStatus(row)}
  397. >
  398. {row.status ? '停用' : '启用'}
  399. </NButton>
  400. <NButton
  401. type="primary"
  402. size="small"
  403. text
  404. v-auth="musicSheetApplicationExtend/update1751230252163530754"
  405. onClick={() => {
  406. state.showEditDialog = true
  407. state.updateRow = row
  408. }}
  409. >
  410. 修改
  411. </NButton>
  412. <NButton
  413. type="primary"
  414. size="small"
  415. text
  416. disabled={!!row.status}
  417. onClick={() => onRmove(row)}
  418. v-auth="musicSheetApplicationExtend/del1770696070576254977"
  419. >
  420. 删除
  421. </NButton>
  422. </NSpace>
  423. )
  424. }
  425. }
  426. ]
  427. }
  428. return () => {
  429. return (
  430. <div class="system-menu-container">
  431. <SaveForm
  432. ref={saveForm}
  433. model={state.searchForm}
  434. onSubmit={onSubmit}
  435. saveKey="music-sheet-kt"
  436. onSetModel={(val: any) => (state.searchForm = val)}
  437. >
  438. <NFormItem label="关键词" path="keyword">
  439. <NInput
  440. placeholder="请输入曲目名称/编号"
  441. v-model:value={state.searchForm.keyword}
  442. clearable
  443. />
  444. </NFormItem>
  445. <NFormItem label="曲目来源" path="sourceType">
  446. <NSelect
  447. placeholder="请选择曲目来源"
  448. v-model:value={state.searchForm.sourceType}
  449. options={getSelectDataFromObj(musicSheetSourceType)}
  450. onUpdateValue={async (value: any) => {
  451. state.userIdData = []
  452. state.searchForm.userId = null
  453. if (value && value !== 'PLATFORM') {
  454. await updateUserIdData(value)
  455. state.userIdDisable = !state.searchForm.extendApplicationId
  456. } else {
  457. state.userIdDisable = true
  458. }
  459. }}
  460. clearable
  461. />
  462. </NFormItem>
  463. <NFormItem label="所属项目" path="applicationId">
  464. <NSelect
  465. placeholder="请选择所属项目"
  466. v-model:value={state.searchForm.extendApplicationId}
  467. options={state.useProjectData}
  468. clearable
  469. onUpdateValue={async (value: any) => {
  470. state.searchForm.extendApplicationId = value
  471. if (value) {
  472. await updateUserIdData(state.searchForm.sourceType)
  473. state.userIdDisable = !(
  474. state.searchForm.sourceType && state.searchForm.sourceType !== 'PLATFORM'
  475. )
  476. } else {
  477. state.searchForm.userId = null
  478. state.userIdDisable = true
  479. state.userIdData = []
  480. }
  481. }}
  482. />
  483. </NFormItem>
  484. <NFormItem label="所属人" path="userId">
  485. <NSelect
  486. filterable={true}
  487. placeholder="请选择所属人"
  488. disabled={state.userIdDisable}
  489. v-model:value={state.searchForm.userId}
  490. options={state.userIdData}
  491. clearable
  492. ></NSelect>
  493. </NFormItem>
  494. <NFormItem label="多声轨渲染" path="subjectType">
  495. <NSelect
  496. placeholder="请选择多声轨渲染"
  497. v-model:value={state.searchForm.musicSheetType}
  498. options={getSelectDataFromObj(musicSheetType)}
  499. clearable
  500. />
  501. </NFormItem>
  502. <NFormItem label="伴奏类型" path="audioType">
  503. <NSelect
  504. placeholder="请选择伴奏类型"
  505. v-model:value={state.searchForm.audioType}
  506. options={getSelectDataFromObj(musicSheetAudioType)}
  507. clearable
  508. />
  509. </NFormItem>
  510. <NFormItem label="可用声部" path="subjectId">
  511. <NSelect
  512. placeholder="请选择可用声部"
  513. v-model:value={state.searchForm.subjectId}
  514. options={state.subjectList}
  515. clearable
  516. />
  517. </NFormItem>
  518. <NFormItem label="乐谱教材" path="musicCategoryId">
  519. <NCascader
  520. valueField="id"
  521. labelField="name"
  522. children-field="children"
  523. placeholder="请选择乐谱教材"
  524. v-model:value={state.searchForm.musicCategoryId}
  525. options={state.musicSheetCategories}
  526. clearable
  527. />
  528. </NFormItem>
  529. {/*<NFormItem*/}
  530. {/* label="可用途径"*/}
  531. {/* path="availableType"*/}
  532. {/*>*/}
  533. {/* <NSelect*/}
  534. {/* placeholder="请选择可用途径"*/}
  535. {/* v-model:value={state.searchForm.availableType}*/}
  536. {/* options={getSelectDataFromObj(musicSheetAvailableType)}*/}
  537. {/* clearable*/}
  538. {/* >*/}
  539. {/* </NSelect>*/}
  540. {/*</NFormItem>*/}
  541. <NFormItem label="收费方式" path="paymentType">
  542. <NSelect
  543. v-model:value={state.searchForm.paymentType}
  544. placeholder="请选择收费方式"
  545. options={
  546. [
  547. {
  548. label: '免费',
  549. value: 'FREE'
  550. },
  551. {
  552. label: '会员',
  553. value: 'VIP'
  554. }
  555. ] as any
  556. }
  557. clearable
  558. />
  559. </NFormItem>
  560. <NFormItem label="状态" path="status">
  561. <NSelect
  562. v-model:value={state.searchForm.status}
  563. placeholder="请选择状态"
  564. options={
  565. [
  566. {
  567. label: '启用',
  568. value: true
  569. },
  570. {
  571. label: '停用',
  572. value: false
  573. }
  574. ] as any
  575. }
  576. clearable
  577. />
  578. </NFormItem>
  579. <NFormItem label="上传时间" path="authorFrom">
  580. <NDatePicker
  581. v-model:value={state.searchForm.times}
  582. type="daterange"
  583. clearable
  584. value-format="yyyy.MM.dd"
  585. startPlaceholder="开始时间"
  586. endPlaceholder="结束时间"
  587. />
  588. </NFormItem>
  589. <NFormItem>
  590. <NSpace>
  591. <NButton type="primary" onClick={onSearch}>
  592. 搜索
  593. </NButton>
  594. <NButton type="default" onClick={onBtnReset}>
  595. 重置
  596. </NButton>
  597. </NSpace>
  598. </NFormItem>
  599. </SaveForm>
  600. <div class={['section-container']}>
  601. <NSpace style={{ paddingBottom: '12px' }}>
  602. <NButton
  603. type="primary"
  604. v-auth="musicSheetApplicationExtend/saveBatch1751234344277508097"
  605. onClick={() => {
  606. state.showAddDialog = true
  607. }}
  608. >
  609. 添加曲目
  610. </NButton>
  611. <NButton
  612. disabled={checkedRowKeysRef.value.length == 0}
  613. v-auth="musicSheetApplicationExtend/status1751235210464198657"
  614. onClick={() => {
  615. onBatchChangeStatus(false)
  616. }}
  617. >
  618. 批量停用
  619. </NButton>
  620. <NButton
  621. disabled={checkedRowKeysRef.value.length == 0}
  622. v-auth="musicSheetApplicationExtend/status1751235210464198657"
  623. onClick={() => {
  624. onBatchChangeStatus(true)
  625. }}
  626. >
  627. 批量启用
  628. </NButton>
  629. </NSpace>
  630. <NDataTable
  631. loading={state.loading}
  632. columns={columns()}
  633. data={state.dataList}
  634. rowKey={(row: any) => row.applicationExtendId}
  635. onUpdateCheckedRowKeys={handleCheck}
  636. scrollX={'1400'}
  637. ></NDataTable>
  638. <Pagination
  639. v-model:page={state.pagination.page}
  640. v-model:pageSize={state.pagination.rows}
  641. v-model:pageTotal={state.pagination.pageTotal}
  642. onList={getList}
  643. sync
  644. saveKey="music-sheet-kt"
  645. ></Pagination>
  646. </div>
  647. <NModal
  648. v-model:show={state.showAddDialog}
  649. preset="dialog"
  650. showIcon={false}
  651. title={'添加曲目'}
  652. style={{ width: '1300px' }}
  653. >
  654. <AddMusic
  655. onClose={() => (state.showAddDialog = false)}
  656. onGetList={() => {
  657. state.pagination.page = 1
  658. getList()
  659. }}
  660. subjectList={state.subjectList}
  661. appId={state.appId}
  662. musicSheetCategories={state.musicSheetCategories}
  663. />
  664. </NModal>
  665. <NModal
  666. v-model:show={state.showEditDialog}
  667. preset="dialog"
  668. showIcon={false}
  669. title={'修改曲目'}
  670. style={{ width: '500px' }}
  671. >
  672. <UpdateMusic
  673. onClose={() => (state.showEditDialog = false)}
  674. onGetList={() => {
  675. state.pagination.page = 1
  676. getList()
  677. }}
  678. rowData={state.updateRow}
  679. appId={state.appId}
  680. musicSheetCategories={state.musicSheetCategories}
  681. />
  682. </NModal>
  683. <NModal
  684. blockScroll={true}
  685. v-model:show={state.musicPreview}
  686. preset="dialog"
  687. showIcon={false}
  688. title={'曲目预览'}
  689. style={{ width: 'auto' }}
  690. >
  691. <MusicPreView item={state.musicScore} />
  692. </NModal>
  693. </div>
  694. )
  695. }
  696. }
  697. })