You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

764 lines
23 KiB

1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
  1. <script setup>
  2. // 这是退款明细页面
  3. import {computed, onMounted, ref} from 'vue'
  4. import {ElMessage} from 'element-plus'
  5. import moment from 'moment'
  6. import API from '@/util/http.js'
  7. import request from '@/util/http.js'
  8. import {reverseMarketMapping} from "@/utils/marketMap.js";
  9. import dayjs from "dayjs";
  10. const defaultTime = [
  11. new Date(2000, 1, 1, 0, 0, 0),
  12. new Date(2000, 2, 1,23 , 59, 59),
  13. ]
  14. // 精网号去空格
  15. const trimJwCode = () => {
  16. if (refundUser.value.jwcode) {
  17. // 去除所有空格,并尝试转换为整数
  18. const trimmed = refundUser.value.jwcode.toString().replace(/\s/g, '');
  19. const numeric = Number(trimmed);
  20. // 如果转换为数字成功,保存为数字,否则提示错误
  21. if (!isNaN(numeric)) {
  22. refundUser.value.jwcode = numeric;
  23. } else {
  24. ElMessage.error("精网号格式不正确,请输入数字");
  25. }
  26. }
  27. }
  28. // 变量
  29. //这是获取用户信息的接口
  30. // 标记当前激活的时间范围按钮
  31. const activeTimeRange = ref('')
  32. // 日期选择器变化时清除按钮激活状态
  33. const handleDatePickerChange = () => {
  34. activeTimeRange.value = ''
  35. }
  36. const adminData = ref({})
  37. const getAdminData = async function () {
  38. try {
  39. const result = await API({url: '/admin/userinfo', data: {}})
  40. adminData.value = result
  41. console.log('请求成功', result)
  42. console.log('用户信息', adminData.value)
  43. } catch (error) {
  44. console.log('请求失败', error)
  45. }
  46. }
  47. // 充值明细表格
  48. const tableData = ref([])
  49. // 搜索======================================
  50. // 搜索detail
  51. const refundUser = ref({
  52. market:""
  53. })
  54. // 搜索对象
  55. const getObj = ref({
  56. pageNum: 1,
  57. pageSize: 50
  58. })
  59. //分页总条目
  60. const total = ref(100)
  61. // 搜索对象时间
  62. const getTime = ref([])
  63. // 搜索地区列表
  64. const market = ref([])
  65. // 定义响应式变量存储金币合计数
  66. const permanentGolds = ref(0)
  67. const freeGolds = ref(0)
  68. const taskGolds = ref(0)
  69. // 计算总金币数
  70. const sumGolds = computed(() => permanentGolds.value + freeGolds.value + taskGolds.value)
  71. // 退款类型
  72. const refundType = ref([])
  73. //时间格式化
  74. const formatTime = (val) => val ? moment(val).format('YYYY-MM-DD HH:mm:ss') : ''
  75. // 获取退款类型
  76. const getRefundTypes = async function () {
  77. try {
  78. // 发送请求获取退款类型
  79. const result = await API({
  80. url: '/refund/refundType', //这里应该写上一个退款类型的接口
  81. data: {}
  82. })
  83. console.log('退款类型请求成功', result)
  84. // 检查返回的数据是否为数组
  85. if (Array.isArray(result.data)) {
  86. // 将字符串数组转换为 { value, label } 格式
  87. refundType.value = result.data.map(item => ({value: item, label: item}));
  88. } else {
  89. console.error('退款类型数据格式错误', result)
  90. ElMessage.error('退款类型数据格式错误,请联系管理员')
  91. }
  92. console.log('退款类型', refundType.value)
  93. } catch (error) {
  94. console.log('退款类型请求失败', error)
  95. }
  96. }
  97. // 搜索==============================================================
  98. // 搜索方法
  99. const getSelectBy = async function (val) {
  100. try {
  101. // 搜索参数页码赋值
  102. if (typeof val === 'number') {
  103. getObj.value.pageNum = val
  104. }
  105. // 搜索参数时间赋值
  106. if (getTime.value != null) {
  107. if (getTime.value.startTime != '' && getTime.value.endTime != '') {
  108. refundUser.value.startTime = formatTime(getTime.value[0])
  109. refundUser.value.endTime = formatTime(getTime.value[1])
  110. }
  111. } else {
  112. refundUser.value.startTime = ''
  113. refundUser.value.endTime = ''
  114. }
  115. // 添加排序字段和排序方式到请求参数
  116. refundUser.value.sortField = sortField.value
  117. refundUser.value.sortOrder = sortOrder.value
  118. console.log('搜索参数', getObj.value)
  119. // 发送POST请求
  120. if (refundUser.value.market === '9' || refundUser.value.market === '9999') {
  121. refundUser.value.market = '';
  122. }
  123. const result = await API({
  124. url: '/refund/selectBy',
  125. data: {
  126. ...getObj.value,
  127. refundUser: {...refundUser.value}
  128. }
  129. })
  130. // 复制一份 refundUser.value 并移除排序字段和排序方式
  131. const detailWithoutSort = {...refundUser.value}
  132. delete detailWithoutSort.sortField
  133. delete detailWithoutSort.sortOrder
  134. const resultTotalGold = await API({
  135. url: '/refund/statsGold',
  136. data: {
  137. ...detailWithoutSort
  138. }
  139. })
  140. // 将响应结果存储到响应式数据中
  141. console.log('resultTotalGold请求成功', resultTotalGold)
  142. // 检查响应的 code 是否为 200 且 data 存在
  143. if (resultTotalGold.code === 200 && resultTotalGold.data) {
  144. const data = resultTotalGold.data
  145. console.log('获取到的金币数据:', data)
  146. permanentGolds.value = (Number(data.permanentGolds) || 0)
  147. freeGolds.value = (Number(data.freeGolds) || 0)
  148. taskGolds.value = (Number(data.taskGolds) || 0)
  149. }
  150. // 存储表格数据
  151. tableData.value = result.data.list
  152. // 对表格中的金币数据除以 100
  153. tableData.value = tableData.value.map(item => ({
  154. ...item,
  155. sumGold: (Number(item.sumGold) || 0) / 100,
  156. permanentGold: (Number(item.permanentGold) || 0) / 100,
  157. freeGold: (Number(item.freeGold) || 0) / 100,
  158. taskGold: (Number(item.taskGold) || 0) / 100
  159. }))
  160. console.log('tableData', tableData.value)
  161. // 存储分页总数
  162. total.value = result.data.total
  163. console.log('total', total.value)
  164. // 调用分类的方法
  165. handleClick()
  166. } catch (error) {
  167. console.log('请求失败', error)
  168. // 在这里可以处理错误逻辑,比如显示错误提示等
  169. }
  170. }
  171. // 搜索
  172. const search = function () {
  173. getObj.value.pageNum = 1
  174. getSelectBy()
  175. }
  176. // 重置
  177. const reset = function () {
  178. refundUser.value = {market: ""}
  179. sortField.value = ''
  180. sortOrder.value = ''
  181. getTime.value = {}
  182. activeTimeRange.value = '' // 清除激活状态
  183. selectedMarketPath.value = []
  184. getSelectBy()
  185. }
  186. // 今天
  187. const getToday = function () {
  188. const today = dayjs()
  189. const startTime = today.startOf('day').format('YYYY-MM-DD HH:mm:ss')
  190. const endTime =today.endOf('day').format('YYYY-MM-DD HH:mm:ss')
  191. getTime.value = [startTime, endTime]
  192. console.log('getTime', getTime.value)
  193. activeTimeRange.value = 'today' // 标记当前激活状态
  194. getSelectBy()
  195. }
  196. // 昨天
  197. const getYesterday = function () {
  198. const today = dayjs()
  199. const startTime = today.subtract(1, 'day').startOf('day').format('YYYY-MM-DD HH:mm:ss')
  200. const endTime = today.subtract(1, 'day').endOf('day').format('YYYY-MM-DD HH:mm:ss')
  201. getTime.value = [startTime, endTime]
  202. console.log('getTime', getTime.value)
  203. activeTimeRange.value = 'yesterday' // 标记当前激活状态
  204. getSelectBy()
  205. }
  206. // 近7天
  207. const get7Days = function () {
  208. const today = dayjs()
  209. const startTime = today.subtract(6, 'day').startOf('day').format('YYYY-MM-DD HH:mm:ss')
  210. const endTime = today.add(1, 'day').endOf('day').format('YYYY-MM-DD HH:mm:ss')
  211. getTime.value = [startTime, endTime]
  212. console.log('getTime', getTime.value)
  213. activeTimeRange.value = '7days' // 标记当前激活状态
  214. getSelectBy()
  215. }
  216. //点击标签页
  217. // 设置tab.props.name默认为all
  218. const tabName = ref('all')
  219. const handleClick = function (tab, event) {
  220. if (tab.props.name === 'all') {
  221. adminAll()
  222. } else if (tab.props.name === 'wait') {
  223. adminWait()
  224. } else if (tab.props.name === 'pass') {
  225. adminPass()
  226. } else if (tab.props.name === 'reject') {
  227. adminReject()
  228. }
  229. }
  230. const delObj = ref({})
  231. const del = function (row) {
  232. delObj.value.detailId = row.detailId
  233. console.log('delObj', delObj.value)
  234. }
  235. // 删除按钮的气泡弹出框确认按钮
  236. const delConfirm = async function () {
  237. try {
  238. console.log('delObj', delObj.value)
  239. // 发送POST请求
  240. const result = await API({
  241. url: '/refund/softDelete?detailId=' + delObj.value.detailId,
  242. data: {}
  243. })
  244. // 将响应结果存储到响应式数据中
  245. console.log('请求成功', result)
  246. // 刷新表格数据
  247. getSelectBy()
  248. } catch (error) {
  249. console.log('请求失败', error)
  250. // 在这里可以处理错误逻辑,比如显示错误提示等
  251. }
  252. }
  253. // 查询商品的接口
  254. const goods = ref([])
  255. const getGoods = async function () {
  256. try {
  257. // 发送POST请求
  258. const result = await request({
  259. url: '/general/goods',
  260. data: {}
  261. })
  262. // 将响应结果存储到响应式数据中
  263. console.log('请求成功product', result)
  264. if (Array.isArray(result.data)) {
  265. // 过滤掉空字符串和 null 值
  266. const validGoods = result.data.filter(item => item && item.trim() !== '');
  267. // 直接使用后端返回的字符串作为 value 和 label
  268. goods.value = validGoods.map(item => ({
  269. value: item,
  270. label: item
  271. }));
  272. }
  273. } catch (error) {
  274. console.log('请求失败', error)
  275. // 在这里可以处理错误逻辑,比如显示错误提示等
  276. }
  277. }
  278. // 挂载
  279. onMounted(async function () {
  280. await getAdminData()
  281. await getSelectBy()
  282. await getMarket()
  283. await getRefundTypes()
  284. await getGoods()
  285. })
  286. // 新增排序字段和排序方式
  287. const sortField = ref('')
  288. const sortOrder = ref('')
  289. // 处理排序事件
  290. const handleSortChange = (column) => {
  291. console.log('排序字段:', column.prop)
  292. console.log('排序方式:', column.order)
  293. if (column.prop === 'permanentGold') {
  294. sortField.value = 'permanentGold'
  295. } else if (column.prop === 'taskGold') {
  296. sortField.value = 'taskGold'
  297. } else if (column.prop === 'freeGold') {
  298. sortField.value = 'freeGold'
  299. } else if (column.prop === 'createTime') {
  300. sortField.value = 'createTime'
  301. } else if (column.prop === 'auditTime') {
  302. sortField.value = 'auditTime'
  303. } else if (column.prop === 'sumGold') {
  304. sortField.value = 'sumGold'
  305. }
  306. sortOrder.value = column.order === 'ascending' ? 'ASC' : 'DESC'
  307. getSelectBy()
  308. }
  309. const handlePageSizeChange = function (val) {
  310. getObj.value.pageSize = val
  311. getSelectBy()
  312. }
  313. const handleCurrentChange = function (val) {
  314. getObj.value.pageNum = val
  315. getSelectBy()
  316. }
  317. const exportExcel = async function () {
  318. const params = {
  319. refundUser: {
  320. jwcode: refundUser.value.jwcode || '',
  321. refundModel: refundUser.value.refundModel || '',
  322. market: refundUser.value.market || "",
  323. startTime: refundUser.value.startTime || '',
  324. endTime: refundUser.value.endTime || '',
  325. goodsName: refundUser.value.goodsName || '',
  326. },
  327. page: getObj.pageNum,
  328. size: total.value
  329. }
  330. try {
  331. const res = await API({url: '/export/exportRefund', data: params})
  332. if (res.code === 200) {
  333. ElMessage.success('导出成功')
  334. } else {
  335. ElMessage.error(res.message || '导出失败,请稍后重试')
  336. }
  337. } catch (error) {
  338. console.log('请求失败', error)
  339. ElMessage.error('导出失败,请稍后重试')
  340. }
  341. }
  342. const exportListVisible = ref(false)
  343. // 打开导出列表弹窗
  344. const openExportList = () => {
  345. getExportList()
  346. exportListVisible.value = true
  347. }
  348. // 导出列表数据
  349. const exportList = ref([])
  350. // 导出列表加载状态
  351. const exportListLoading = ref(false)
  352. // 获取导出列表
  353. const getExportList = async () => {
  354. exportListLoading.value = true
  355. try {
  356. const result = await API({url: '/export/export'})
  357. if (result.code === 200) {
  358. const filteredData = result.data.filter(item => {
  359. return item.type === 3; //3表示金币退款列表
  360. });
  361. exportList.value = filteredData
  362. } else {
  363. ElMessage.error(result.msg || '获取导出列表失败')
  364. }
  365. } catch (error) {
  366. console.error('获取导出列表出错:', error)
  367. ElMessage.error('获取导出列表失败,请稍后重试')
  368. } finally {
  369. exportListLoading.value = false
  370. }
  371. }
  372. // 下载导出文件
  373. const downloadExportFile = (item) => {
  374. if (item.state === 2) {
  375. const link = document.createElement('a')
  376. link.href = item.url
  377. link.download = item.fileName
  378. link.click()
  379. } else {
  380. ElMessage.warning('文件还在导出中,请稍后再试')
  381. }
  382. }
  383. //根据状态返回对应的标签类型
  384. const getTagType = (state) => {
  385. switch (state) {
  386. case 0:
  387. return 'info';
  388. case 1:
  389. return 'primary';
  390. case 2:
  391. return 'success';
  392. case 3:
  393. return 'danger';
  394. default:
  395. return 'info';
  396. }
  397. }
  398. //根据状态返回对应的标签文案
  399. const getTagText = (state) => {
  400. switch (state) {
  401. case 0:
  402. return '待执行';
  403. case 1:
  404. return '执行中';
  405. case 2:
  406. return '执行完成';
  407. case 3:
  408. return '执行出错';
  409. default:
  410. return '未知状态';
  411. }
  412. }
  413. // 存储地区选择变化
  414. const selectedMarketPath = ref("")
  415. const handleMarketChange = (value) => {
  416. if (value && value.length > 0) {
  417. const lastValue = value[value.length - 1]
  418. refundUser.value.market = reverseMarketMapping[lastValue]
  419. } else {
  420. refundUser.value.market = ''
  421. }
  422. }
  423. // 获取地区,修改为级联下拉框
  424. const getMarket = async function () {
  425. try {
  426. // 发送POST请求
  427. const result = await API({
  428. url: '/market/selectMarket',
  429. });
  430. // 将响应结果存储到响应式数据中
  431. console.log('请求成功', result)
  432. // 递归转换树形结构为级联选择器需要的格式(跳过第一级节点)
  433. const transformTree = (nodes) => {
  434. // 直接处理第一级节点的子节点
  435. const allChildren = nodes.flatMap(node => node.children || []);
  436. return allChildren.map(child => {
  437. const grandchildren = child.children && child.children.length
  438. ? transformTree([child]) // 递归处理子节点
  439. : null;
  440. return {
  441. value: child.name,
  442. label: child.name,
  443. children: grandchildren
  444. };
  445. });
  446. };
  447. // 存储地区信息
  448. market.value = transformTree(result.data)
  449. console.log('转换后的地区树==============', market.value)
  450. } catch (error) {
  451. console.log('请求失败', error)
  452. }
  453. }
  454. </script>
  455. <template>
  456. <el-row>
  457. <el-col>
  458. <el-card style="margin-bottom: 20px;margin-top:10px">
  459. <el-row style="margin-bottom: 10px">
  460. <el-col :span="5">
  461. <div class="head-card-element">
  462. <el-text class="mx-1">精网号</el-text>
  463. <el-input
  464. v-model="refundUser.jwcode"
  465. placeholder="请输入精网号"
  466. style="width: 150px"
  467. clearable
  468. />
  469. </div>
  470. </el-col>
  471. <el-col :span="6">
  472. <div class="head-card-element">
  473. <el-text class="mx-1">商品名称</el-text>
  474. <el-select
  475. v-model="refundUser.goodsName"
  476. placeholder="请选择商品名称"
  477. style="width: 180px"
  478. clearable
  479. >
  480. <el-option
  481. v-for="item in goods"
  482. :key="item.value"
  483. :label="item.label"
  484. :value="item.value"
  485. />
  486. </el-select>
  487. </div>
  488. </el-col>
  489. <el-col :span="6">
  490. <el-text class="mx-1" size="large">所属地区</el-text>
  491. <el-cascader
  492. v-model="selectedMarketPath"
  493. :options="market"
  494. placeholder="请选择所属地区"
  495. clearable
  496. style="width:180px"
  497. @change="handleMarketChange"
  498. />
  499. </el-col>
  500. <el-col :span="6">
  501. <div class="head-card-element">
  502. <el-text class="mx-1">退款类型</el-text>
  503. <el-select
  504. v-model="refundUser.refundType"
  505. placeholder="请选择退款类型"
  506. style="width: 180px"
  507. clearable
  508. >
  509. <!-- todo 这需要改-->
  510. <el-option
  511. v-for="item in refundType"
  512. :key="item.value"
  513. :label="item.label"
  514. :value="item.value"
  515. />
  516. </el-select>
  517. </div>
  518. </el-col>
  519. </el-row>
  520. <el-row>
  521. <el-col :span="24">
  522. <div class="head-card-element">
  523. <el-text class="mx-1">退款时间</el-text>
  524. <el-date-picker v-model="getTime" type="datetimerange" range-separator="" start-placeholder="起始时间"
  525. end-placeholder="结束时间" style="width: 400px" @change="handleDatePickerChange" :default-time="defaultTime"/>
  526. <el-button @click="getToday()" style="margin-left: 10px"
  527. :type="activeTimeRange === 'today' ? 'primary' : ''">
  528. </el-button>
  529. <el-button @click="getYesterday()" style="margin-left: 10px"
  530. :type="activeTimeRange === 'yesterday' ? 'primary' : ''">
  531. </el-button>
  532. <el-button @click="get7Days()" style="margin-left: 10px"
  533. :type="activeTimeRange === '7days' ? 'primary' : ''"> 近7天
  534. </el-button>
  535. <el-button type="success" @click="reset()">重置</el-button>
  536. <el-button type="primary" @click="search()">查询</el-button>
  537. <el-button type="primary" @click="exportExcel">导出Excel</el-button>
  538. <el-button type="primary" @click="openExportList">查看导出列表</el-button>
  539. </div>
  540. </el-col>
  541. </el-row>
  542. </el-card>
  543. </el-col>
  544. </el-row>
  545. <el-row>
  546. <el-col>
  547. <el-card>
  548. <div>
  549. 退款金币总数{{ Math.abs(sumGolds) / 100 }}永久金币{{
  550. Math.abs(permanentGolds) / 100
  551. }}免费金币{{ Math.abs(freeGolds) / 100 }}任务金币{{
  552. Math.abs(taskGolds) / 100
  553. }}
  554. </div>
  555. <!-- 设置表格容器的高度和滚动样式 -->
  556. <div style="height: 520px; overflow-y: auto;margin-top:10px">
  557. <el-table
  558. :data="tableData"
  559. style="width: 100%"
  560. @sort-change="handleSortChange"
  561. height="520px"
  562. >
  563. <el-table-column
  564. type="index"
  565. label="序号"
  566. width="80px"
  567. fixed="left"
  568. >
  569. <template #default="scope">
  570. <span>{{
  571. scope.$index + 1 + (getObj.pageNum - 1) * getObj.pageSize
  572. }}</span>
  573. </template>
  574. </el-table-column>
  575. <el-table-column
  576. prop="name"
  577. label="姓名"
  578. fixed="left"
  579. width="130px"
  580. />
  581. <el-table-column
  582. prop="jwcode"
  583. label="精网号"
  584. fixed="left"
  585. width="110px"
  586. />
  587. <el-table-column prop="market" label="所属地区" width="110px"/>
  588. <el-table-column prop="goodsName" label="商品名称" width="110px" show-overflow-tooltip/>
  589. <el-table-column prop="refundType" label="退款类型" width="100px"/>
  590. <!-- <el-table-column label="金额总数" width="110px">
  591. <template #default="scope">
  592. {{
  593. scope.row.sumGold
  594. }}
  595. </template>
  596. </el-table-column> -->
  597. <el-table-column
  598. prop="sumGold"
  599. label="金额总数"
  600. width="110px"
  601. sortable="custom"
  602. />
  603. <el-table-column prop="refundModel" label="退款方式" width="110px">
  604. <template #default="scope">
  605. {{ scope.row.refundModel === 0 ? '全部退款' : scope.row.refundModel === 1 ? '部分退款' : '' }}
  606. </template>
  607. </el-table-column>
  608. <el-table-column
  609. prop="permanentGold"
  610. label="永久金币"
  611. width="110px"
  612. sortable="custom"
  613. />
  614. <el-table-column
  615. prop="freeGold"
  616. sortable="custom"
  617. label="免费金币"
  618. width="110px"
  619. />
  620. <el-table-column
  621. prop="taskGold"
  622. sortable="custom"
  623. label="任务金币"
  624. width="110px"
  625. />
  626. <!-- 修改prop为taskGold -->
  627. <el-table-column
  628. prop="remark"
  629. label="退款原因"
  630. width="160px"
  631. show-overflow-tooltip
  632. />
  633. <el-table-column prop="adminName" label="提交人" width="100px"/>
  634. <el-table-column
  635. prop="createTime"
  636. sortable="custom"
  637. label="提交时间"
  638. width="180px"
  639. >
  640. <template #default="scope">
  641. {{ moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') }}
  642. </template>
  643. </el-table-column>
  644. </el-table>
  645. </div>
  646. <!-- 分页 -->
  647. <div class="pagination" style="margin-top: 20px">
  648. <el-pagination
  649. background
  650. :page-size="getObj.pageSize"
  651. :page-sizes="[5, 10, 20, 50, 100]"
  652. layout="total, sizes, prev, pager, next, jumper"
  653. :total="total"
  654. @size-change="handlePageSizeChange"
  655. @current-change="handleCurrentChange"
  656. @jump="checkPageNumber"
  657. ></el-pagination>
  658. </div>
  659. </el-card>
  660. </el-col>
  661. </el-row>
  662. <!-- 导出弹窗 -->
  663. <el-dialog v-model="exportListVisible" title="导出列表" width="80%">
  664. <el-table :data="exportList" style="width: 100% ;height: 60vh;" :loading="exportListLoading">
  665. <el-table-column prop="fileName" label="文件名"/>
  666. <el-table-column prop="state" label="状态">
  667. <template #default="scope">
  668. <el-tag :type="getTagType(scope.row.state)"
  669. :effect="scope.row.state === 3 ? 'light' : 'plain'">
  670. {{ getTagText(scope.row.state) }}
  671. </el-tag>
  672. </template>
  673. </el-table-column>
  674. <el-table-column prop="createTime" label="创建时间">
  675. <template #default="scope">
  676. {{ moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') }}
  677. </template>
  678. </el-table-column>
  679. <el-table-column label="操作">
  680. <template #default="scope">
  681. <el-button type="primary" size="small" @click="downloadExportFile(scope.row)"
  682. :disabled="scope.row.state !== 2">
  683. 下载
  684. </el-button>
  685. </template>
  686. </el-table-column>
  687. </el-table>
  688. <template #footer>
  689. <div class="dialog-footer">
  690. <el-button text @click="exportListVisible = false">关闭</el-button>
  691. </div>
  692. </template>
  693. </el-dialog>
  694. </template>
  695. <style scoped>
  696. .status {
  697. display: flex;
  698. }
  699. .head-card {
  700. display: flex;
  701. }
  702. .head-card-element {
  703. margin-right: 20px;
  704. }
  705. .head-card-btn {
  706. margin-left: auto;
  707. }
  708. .pagination {
  709. display: flex;
  710. margin-top: 20px;
  711. }
  712. </style>