#
luxiaotao1123
2024-02-27 55050d2ed17dc5635871af4bec1fa88c4b8b3887
zy-asrs-framework/src/main/resources/templates/react/Index.txt
@@ -1,6 +1,6 @@
import React, { useState, useRef, useEffect } from 'react';
import { Button, message, Modal } from 'antd';
import { Button, message, Modal, Tag  } from 'antd';
import {
    FooterToolbar,
    PageContainer,
@@ -14,7 +14,7 @@
import { statusMap } from '@/utils/enum-util'
import { repairBug } from '@/utils/common-util';
const TABLE_KEY = "pro-table-role";
const TABLE_KEY = 'pro-table-@{SIMPLEENTITYNAME}';
const handleSave = async (val) => {
    const hide = message.loading('正在添加');
@@ -168,7 +168,7 @@
                    cardBordered
                    scroll={{ x: 1300 }}
                    dateFormatter="string"
                    pagination={{ pageSize: 20 }}
                    pagination={{ pageSize: 16 }}
                    search={false}
                    toolbar={{
                        search: {
@@ -227,6 +227,7 @@
                        persistenceKey: TABLE_KEY,
                        persistenceType: 'localStorage',
                        defaultValue: {
                            // memo: { show: repairBug(TABLE_KEY, 'memo', false) },
                            option: { fixed: 'right', disable: true },
                        },
                        onChange(value) {