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 移动到上一...
-
# ubuntu远程服务器 # 登录 ``` sudo apt install ssh ssh root@127.0.0.1 -p 22 ``` # 下载远程服务器文件 (在本地客户端) ``` scp -r root@服务器ip:/root/code /user/ciel/w...
没有评论:
发表评论