0814 需求变更
parent
f604acc05b
commit
4315e26a3e
|
|
@ -6,8 +6,8 @@
|
|||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"serve": "node node_modules/@cqsjjb/scripts/rspack.dev.server.js",
|
||||
"build": "node node_modules/@cqsjjb/scripts/rspack.build.js",
|
||||
"serve": "node node_modules/@cqsjjb/scripts/webpack.dev.server.js",
|
||||
"build": "node node_modules/@cqsjjb/scripts/webpack.build.js",
|
||||
"push": "jjb-cmd push java production",
|
||||
"clean-cache": "rimraf node_modules/.cache/webpack",
|
||||
"serve:development": "cross-env NODE_ENV=development npm run serve",
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
"lint": "eslint --ext .js,.jsx,.tsx --fix src"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ahooksjs/use-url-state": "^3.5.1",
|
||||
"@ant-design/icons": "^6.1.0",
|
||||
"@ant-design/pro-components": "^2.8.10",
|
||||
"@cqsjjb/jjb-common-decorator": "latest",
|
||||
|
|
@ -30,12 +31,12 @@
|
|||
"lodash-es": "^4.17.21",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"zy-react-library": "^1.1.41"
|
||||
"zy-react-library": "^1.3.34"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^5.4.1",
|
||||
"@babel/plugin-proposal-decorators": "^7.19.3",
|
||||
"@cqsjjb/scripts": "2.0.0-rspack.1",
|
||||
"@cqsjjb/scripts": "2.0.0",
|
||||
"@eslint-react/eslint-plugin": "^2.2.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^9.37.0",
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import { Form } from "antd";
|
|||
import Page from "zy-react-library/components/Page";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
import Table from "zy-react-library/components/Table";
|
||||
import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
|
||||
import useTable from "zy-react-library/hooks/useTable";
|
||||
import {
|
||||
FIRE_RESOURCE_PERMISSION_QUERY_KEYS,
|
||||
|
|
@ -83,7 +84,7 @@ function FireResourceStats(props) {
|
|||
cursor: "pointer",
|
||||
}}
|
||||
onClick={() => handleViewDetail(record, type)}
|
||||
onKeyDown={e => {
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter" || e.key === " ") {
|
||||
e.preventDefault();
|
||||
handleViewDetail(record, type);
|
||||
|
|
@ -100,10 +101,23 @@ function FireResourceStats(props) {
|
|||
<Search
|
||||
labelCol={{ span: 8 }}
|
||||
wrapperCol={{ span: 16 }}
|
||||
values={{
|
||||
type: "0",
|
||||
}}
|
||||
options={[
|
||||
{ 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}
|
||||
|
|
@ -155,4 +169,3 @@ function FireResourceStats(props) {
|
|||
}
|
||||
|
||||
export default Connect([NS_FIRE_RESOURCE_STATS], true)(Permission(FireResourceStats));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue