Compare commits
2 Commits
c0dbf43805
...
21ff39b55d
| Author | SHA1 | Date |
|---|---|---|
|
|
21ff39b55d | |
|
|
7eef9c828f |
|
|
@ -10,7 +10,7 @@ module.exports = {
|
||||||
javaGitBranch: "dev",
|
javaGitBranch: "dev",
|
||||||
// 本地联调 safetyEval-service(context-path: /safetyEval,默认端口 8095)
|
// 本地联调 safetyEval-service(context-path: /safetyEval,默认端口 8095)
|
||||||
// 可通过环境变量覆盖: SAFETY_EVAL_API_HOST=http://192.168.x.x:8095
|
// 可通过环境变量覆盖: SAFETY_EVAL_API_HOST=http://192.168.x.x:8095
|
||||||
API_HOST: "http://192.168.0.103",
|
API_HOST: "http://192.168.0.149",
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
// 应用后端分支名称,部署上线需要
|
// 应用后端分支名称,部署上线需要
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,9 @@ function FilingChangeListPage(props) {
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const handleSearch = (values) => {
|
const handleSearch = (values) => {
|
||||||
router.query = { ...router.query, ...values, current: 1, size: 10 };
|
const { filingNo, ...rest } = values;
|
||||||
|
const { filingNo: _omit, ...restQuery } = router.query;
|
||||||
|
router.query = { ...restQuery, ...rest, ...(filingNo != null && filingNo !== "" ? { id: filingNo } : {}), current: 1, size: 10 };
|
||||||
getData();
|
getData();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -150,8 +150,8 @@ export default function FilingListTable({
|
||||||
))}
|
))}
|
||||||
</ControlWrapper.Select>
|
</ControlWrapper.Select>
|
||||||
</Form.Item>,
|
</Form.Item>,
|
||||||
<Form.Item key="filingNo" name="filingNo">
|
<Form.Item key="filingNo" name="filingNo" normalize={(v) => (v ? v.replace(/\D/g, "").slice(0, 20) : v)}>
|
||||||
<ControlWrapper.Input label="备案编号" placeholder="关键字搜索" allowClear />
|
<ControlWrapper.Input label="备案编号" placeholder="请输入" allowClear maxLength={20} />
|
||||||
</Form.Item>,
|
</Form.Item>,
|
||||||
<Form.Item key="filingStatus" name="filingStatus">
|
<Form.Item key="filingStatus" name="filingStatus">
|
||||||
<ControlWrapper.Select
|
<ControlWrapper.Select
|
||||||
|
|
|
||||||
|
|
@ -86,8 +86,8 @@ const QualChange = (props) => {
|
||||||
form={form}
|
form={form}
|
||||||
loading={qualReviewLoading}
|
loading={qualReviewLoading}
|
||||||
formLine={[
|
formLine={[
|
||||||
<Form.Item key="id" name="id">
|
<Form.Item key="id" name="id" normalize={(v) => (v ? v.replace(/\D/g, "").slice(0, 20) : v)}>
|
||||||
<ControlWrapper.Input label="备案编号" placeholder="请输入" allowClear />
|
<ControlWrapper.Input label="备案编号" placeholder="请输入" allowClear maxLength={20} />
|
||||||
</Form.Item>,
|
</Form.Item>,
|
||||||
<Form.Item key="filingStatusCode" name="filingStatusCode">
|
<Form.Item key="filingStatusCode" name="filingStatusCode">
|
||||||
<ControlWrapper.Select
|
<ControlWrapper.Select
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue