[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" rowKey="standardNumber"
:columns="columns" :columns="columns"
:dataSource="dataSource" :dataSource="dataSource"
:pagination="false" :pagination="ipagination"
:loading="loading"> :loading="loading"
@change="handleTableChange">
<!-- 佐证材料 --> <!-- 佐证材料 -->
<template v-slot:material="{text, record}"> <template v-slot:material="{text, record}">
@@ -117,6 +118,18 @@ export default {
data () { data () {
return { return {
loading: false, 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: [ columns: [
{ {
title: this.$t('serialNumber'), title: this.$t('serialNumber'),
@@ -303,6 +316,9 @@ export default {
}) })
return data return data
}, },
handleTableChange (pagination) {
this.ipagination = pagination
},
handleExportXls (fileName, fileSuffix = '.xls') { handleExportXls (fileName, fileSuffix = '.xls') {
if (!fileName || typeof fileName !== 'string') { if (!fileName || typeof fileName !== 'string') {
fileName = this.$t('exportFile') fileName = this.$t('exportFile')