music-sheet-klx.tsx 23 KB

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