bug fix
parent
67a82667f2
commit
7eef9c828f
|
|
@ -10,7 +10,7 @@ module.exports = {
|
|||
javaGitBranch: "dev",
|
||||
// 本地联调 safetyEval-service(context-path: /safetyEval,默认端口 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: {
|
||||
// 应用后端分支名称,部署上线需要
|
||||
|
|
|
|||
|
|
@ -48,7 +48,9 @@ function FilingChangeListPage(props) {
|
|||
}, []);
|
||||
|
||||
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();
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -150,8 +150,8 @@ export default function FilingListTable({
|
|||
))}
|
||||
</ControlWrapper.Select>
|
||||
</Form.Item>,
|
||||
<Form.Item key="filingNo" name="filingNo">
|
||||
<ControlWrapper.Input label="备案编号" placeholder="关键字搜索" allowClear />
|
||||
<Form.Item key="filingNo" name="filingNo" normalize={(v) => (v ? v.replace(/\D/g, "").slice(0, 20) : v)}>
|
||||
<ControlWrapper.Input label="备案编号" placeholder="请输入" allowClear maxLength={20} />
|
||||
</Form.Item>,
|
||||
<Form.Item key="filingStatus" name="filingStatus">
|
||||
<ControlWrapper.Select
|
||||
|
|
|
|||
|
|
@ -86,8 +86,8 @@ const QualChange = (props) => {
|
|||
form={form}
|
||||
loading={qualReviewLoading}
|
||||
formLine={[
|
||||
<Form.Item key="id" name="id">
|
||||
<ControlWrapper.Input label="备案编号" placeholder="请输入" allowClear />
|
||||
<Form.Item key="id" name="id" normalize={(v) => (v ? v.replace(/\D/g, "").slice(0, 20) : v)}>
|
||||
<ControlWrapper.Input label="备案编号" placeholder="请输入" allowClear maxLength={20} />
|
||||
</Form.Item>,
|
||||
<Form.Item key="filingStatusCode" name="filingStatusCode">
|
||||
<ControlWrapper.Select
|
||||
|
|
|
|||
Loading…
Reference in New Issue