0814 需求变更

master
LiuJiaNan 2026-08-24 16:29:33 +08:00
parent 0e60d45a84
commit c0be81f91c
3 changed files with 17 additions and 2 deletions

View File

@ -20,6 +20,7 @@ export default antfu({
"react-hooks-extra/no-unnecessary-use-prefix": "off", "react-hooks-extra/no-unnecessary-use-prefix": "off",
"react-hooks-extra/prefer-use-state-lazy-initialization": "off", "react-hooks-extra/prefer-use-state-lazy-initialization": "off",
"react-hooks/exhaustive-deps": "off", "react-hooks/exhaustive-deps": "off",
"react/no-implicit-key": "off",
}, },
javascript: { javascript: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "warn", "no-console": process.env.NODE_ENV === "production" ? "error" : "warn",

View File

@ -18,6 +18,7 @@
"lint": "eslint --ext .js,.jsx,.tsx --fix src" "lint": "eslint --ext .js,.jsx,.tsx --fix src"
}, },
"dependencies": { "dependencies": {
"@ahooksjs/use-url-state": "^3.5.1",
"@ant-design/icons": "^6.1.0", "@ant-design/icons": "^6.1.0",
"@ant-design/pro-components": "^2.8.10", "@ant-design/pro-components": "^2.8.10",
"@cqsjjb/jjb-common-decorator": "latest", "@cqsjjb/jjb-common-decorator": "latest",
@ -33,7 +34,7 @@
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-pdf": "10.4.1", "react-pdf": "10.4.1",
"react-to-print": "^3.2.0", "react-to-print": "^3.2.0",
"zy-react-library": "^1.3.31" "zy-react-library": "^1.3.34"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^5.4.1", "@antfu/eslint-config": "^5.4.1",

View File

@ -42,7 +42,7 @@ function List(props) {
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={false}>
<Search <Search
values={{ dateType: "1" }} values={{ dateType: "1", type: "0" }}
options={[ options={[
{ {
name: "dateType", name: "dateType",
@ -54,6 +54,19 @@ function List(props) {
...(dateType === "2" ? [{ name: "dateMonth", label: "月份", render: FORM_ITEM_RENDER_ENUM.DATE_MONTH }] : []), ...(dateType === "2" ? [{ name: "dateMonth", label: "月份", render: FORM_ITEM_RENDER_ENUM.DATE_MONTH }] : []),
...(dateType === "3" ? [{ name: "dates", label: "自定义", render: FORM_ITEM_RENDER_ENUM.DATE_RANGE }] : []), ...(dateType === "3" ? [{ name: "dates", label: "自定义", render: FORM_ITEM_RENDER_ENUM.DATE_RANGE }] : []),
{ name: "corpName", label: "企业名称" }, { name: "corpName", label: "企业名称" },
{
name: "type",
label: "企业类型",
render: FORM_ITEM_RENDER_ENUM.SELECT,
items: [
{ bianma: "0", name: "普通企业" },
{ bianma: "1", name: "集团单位" },
{ bianma: "2", name: "股份单位" },
{ bianma: "3", name: "相关方企业" },
{ bianma: "4", name: "货主单位" },
{ bianma: "5", name: "驻港单位" },
],
},
]} ]}
form={form} form={form}
onFinish={getData} onFinish={getData}