[update] 法规符合性评估流程

This commit is contained in:
lideqin
2024-07-17 15:17:41 +08:00
parent 1c73c54583
commit 145e01e272
@@ -16,8 +16,9 @@
rowKey="standardNumber"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:loading="loading">
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<!-- 佐证材料 -->
<template v-slot:material="{text, record}">
@@ -117,6 +118,18 @@ export default {
data () {
return {
loading: false,
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + ' ' + total + ' ' + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{
title: this.$t('serialNumber'),
@@ -303,6 +316,9 @@ export default {
})
return data
},
handleTableChange (pagination) {
this.ipagination = pagination
},
handleExportXls (fileName, fileSuffix = '.xls') {
if (!fileName || typeof fileName !== 'string') {
fileName = this.$t('exportFile')