import {Badge, Button, ButtonGroup, Form, Pagination, Table} from "react-bootstrap"; import Router from "next/router"; import {getPathSearchParamObj} from "../utils/window"; import $ from 'jquery' export const AddBtn = ({onClick}) => export const DataBaseBtn = ({handleShow, handleDel}) => () export const DataStatus = ({status}) => status == 1 ? YES :NO export const ModalBtn = ({handleClose, handleSubmit}) => () export const OptionStatus = ({status}) => { return ( <> > ) } export const SearchBtn = ({handleSearch, handleReset}) => { return ( ) } export const PageBreadcrumb = () => { return PageBreadcrumb
} export const PagePagination = ({page, pageSize, totalCount, totalPage}) => { return () } export const PageTable = ({children}) => { return ({ const paramObj = getPathSearchParamObj(); paramObj.pageSize = e.target.value const url = location.pathname + '?' + $.param(paramObj) Router.push(url) }} > { const paramObj = getPathSearchParamObj(); paramObj.page = page - 1 const url = location.pathname + '?' + $.param(paramObj) Router.push(url) }}/> { const paramObj = getPathSearchParamObj(); paramObj.page = page + 1 const url = location.pathname + '?' + $.param(paramObj) Router.push(url) }}/> Current:{page} TotalPage:{totalPage} TotalCount:{totalCount}
2021年12月4日星期六
components/page.js
订阅:
博文评论 (Atom)
-
import '../styles/globals.css' import 'bootstrap/dist/css/bootstrap.min.css'; import 'react-toastify/dist/ReactToastif...
-
sudo apt update sudo apt install openjdk-11-jdk java -version
-
心情 伤心 万念俱灰 伤心欲绝 五内如焚 肝肠寸断 触景伤心 闷闷不乐 哭泣 泣不成声 泪如雨下 抱头大哭 撕心裂肺 哀天叫地 着急 心急如焚 坐立不安
没有评论:
发表评论