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 (
{
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}
)
}
export const PageTable = ({children}) => {
return (
2021年12月4日星期六
components/page.js
订阅:
博文评论 (Atom)
-
gsettings set org.gnome.desktop.interface clock-show-seconds true
-
Move https://www.cnblogs.com/zzqcn/p/4656518.html - 字符 - h 左移一个字符 - l 右移一个字符 - 单词 - w,W 移动到下一个单词开头,大写是以空格分隔的单词 - b,B 移动到上一...
-
vim ~/.bashrc 在最后面加入如下函数代码 function title(){ if [ -z "$ORIG"] ;then ORIG=$PS1 fi TITLE="\[\e]2;$*\a\]" PS1=${ORIG}${TI...
没有评论:
发表评论