fix
parent
9c8e386773
commit
832266252a
|
|
@ -10,7 +10,8 @@ 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: "https://gbs-gateway.qhdsafety.com",
|
//API_HOST: "https://gbs-gateway.qhdsafety.com",
|
||||||
|
API_HOST: "http://192.168.0.150",
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
// 应用后端分支名称,部署上线需要
|
// 应用后端分支名称,部署上线需要
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,43 @@
|
||||||
|
|
||||||
/** 重庆市辖区(区/县) */
|
/** 重庆市辖区(区/县) */
|
||||||
export const CHONGQING_DISTRICTS = [
|
export const CHONGQING_DISTRICTS = [
|
||||||
"万州区", "涪陵区", "渝中区", "大渡口区", "江北区", "沙坪坝区", "九龙坡区", "南岸区",
|
"万州区",
|
||||||
"北碚区", "綦江区", "大足区", "渝北区", "巴南区", "黔江区", "长寿区", "江津区",
|
"涪陵区",
|
||||||
"合川区", "永川区", "南川区", "璧山区", "铜梁区", "潼南区", "荣昌区", "开州区",
|
"渝中区",
|
||||||
"梁平区", "武隆区", "城口县", "丰都县", "垫江县", "忠县", "云阳县", "奉节县",
|
"大渡口区",
|
||||||
"巫山县", "巫溪县", "石柱土家族自治县", "秀山土家族苗族自治县", "酉阳土家族苗族自治县",
|
"江北区",
|
||||||
|
"沙坪坝区",
|
||||||
|
"九龙坡区",
|
||||||
|
"南岸区",
|
||||||
|
"北碚区",
|
||||||
|
"綦江区",
|
||||||
|
"大足区",
|
||||||
|
"渝北区",
|
||||||
|
"巴南区",
|
||||||
|
"黔江区",
|
||||||
|
"长寿区",
|
||||||
|
"江津区",
|
||||||
|
"合川区",
|
||||||
|
"永川区",
|
||||||
|
"南川区",
|
||||||
|
"璧山区",
|
||||||
|
"铜梁区",
|
||||||
|
"潼南区",
|
||||||
|
"荣昌区",
|
||||||
|
"开州区",
|
||||||
|
"梁平区",
|
||||||
|
"武隆区",
|
||||||
|
"城口县",
|
||||||
|
"丰都县",
|
||||||
|
"垫江县",
|
||||||
|
"忠县",
|
||||||
|
"云阳县",
|
||||||
|
"奉节县",
|
||||||
|
"巫山县",
|
||||||
|
"巫溪县",
|
||||||
|
"石柱土家族自治县",
|
||||||
|
"秀山土家族苗族自治县",
|
||||||
|
"酉阳土家族苗族自治县",
|
||||||
"彭水苗族土家族自治县",
|
"彭水苗族土家族自治县",
|
||||||
].map((label) => ({ label, value: label }));
|
].map((label) => ({ label, value: label }));
|
||||||
|
|
||||||
|
|
@ -33,14 +65,12 @@ export const FILING_TYPE_OPTIONS = [
|
||||||
|
|
||||||
/** 监管端已备案机构 - 备案类型搜索 */
|
/** 监管端已备案机构 - 备案类型搜索 */
|
||||||
export const REGISTERED_ORG_FILING_TYPE_SEARCH_OPTIONS = [
|
export const REGISTERED_ORG_FILING_TYPE_SEARCH_OPTIONS = [
|
||||||
|
|
||||||
{ label: "审核备案", value: "1" },
|
{ label: "审核备案", value: "1" },
|
||||||
{ label: "确认备案", value: "2" },
|
{ label: "确认备案", value: "2" },
|
||||||
];
|
];
|
||||||
|
|
||||||
/** 监管端已备案机构 - 备案状态搜索(1=已备案,2=未备案) */
|
/** 监管端已备案机构 - 备案状态搜索(1=已备案,2=未备案) */
|
||||||
export const REGISTERED_ORG_FILING_RECORD_STATUS_OPTIONS = [
|
export const REGISTERED_ORG_FILING_RECORD_STATUS_OPTIONS = [
|
||||||
|
|
||||||
{ label: "已备案", value: 1 },
|
{ label: "已备案", value: 1 },
|
||||||
{ label: "未备案", value: 2 },
|
{ label: "未备案", value: 2 },
|
||||||
];
|
];
|
||||||
|
|
@ -60,13 +90,46 @@ export const ORG_ACCOUNT_STATE_OPTIONS = [
|
||||||
|
|
||||||
/** 资质范围 / 证照类型(行业) */
|
/** 资质范围 / 证照类型(行业) */
|
||||||
export const QUALIFICATION_INDUSTRY_OPTIONS = [
|
export const QUALIFICATION_INDUSTRY_OPTIONS = [
|
||||||
{ label: "煤炭开采业", value: "煤炭开采业" },
|
{ label: "煤炭开采业", value: "COAL_MINING" },
|
||||||
{ label: "金属、非金属矿及其他矿采选业", value: "金属、非金属矿及其他矿采选业" },
|
{ label: "金属、非金属矿及其他矿采选业", value: "METAL_NONMETAL_MINING" },
|
||||||
{ label: "陆地石油和天然气开采业", value: "陆地石油和天然气开采业" },
|
{ label: "陆地石油和天然气开采业", value: "ONSHORE_OIL_GAS" },
|
||||||
{ label: "陆上油气管道运输业", value: "陆上油气管道运输业" },
|
{ label: "陆上油气管道运输业", value: "ONSHORE_OIL_GAS_PIPELINE" },
|
||||||
{ label: "石油加工业,化学原料、化学品及医药制造业", value: "石油加工业,化学原料、化学品及医药制造业" },
|
{
|
||||||
{ label: "烟花爆竹制造业", value: "烟花爆竹制造业" },
|
label: "石油加工业,化学原料、化学品及医药制造业",
|
||||||
{ label: "金属冶炼", value: "金属冶炼" },
|
value: "PETROCHEMICAL_CHEMICAL_PHARMACEUTICAL",
|
||||||
|
},
|
||||||
|
{ label: "烟花爆竹制造业", value: "FIREWORKS_FIRECRACKERS" },
|
||||||
|
{ label: "金属冶炼", value: "METAL_SMELTING" },
|
||||||
|
];
|
||||||
|
|
||||||
|
export const QUALIFICATION_INDUSTRY_OPTIONS_MAP =
|
||||||
|
QUALIFICATION_INDUSTRY_OPTIONS.reduce(
|
||||||
|
(acc, cur) => ({ ...acc, [cur.value]: cur.label }),
|
||||||
|
{},
|
||||||
|
);
|
||||||
|
|
||||||
|
/** 国民经济行业分类(GB/T 4754-2017 门类) */
|
||||||
|
export const ECONOMY_INDUSTRY_OPTIONS = [
|
||||||
|
{ label: "农、林、牧、渔业", value: "A" },
|
||||||
|
{ label: "采矿业", value: "B" },
|
||||||
|
{ label: "制造业", value: "C" },
|
||||||
|
{ label: "电力、热力、燃气及水生产和供应业", value: "D" },
|
||||||
|
{ label: "建筑业", value: "E" },
|
||||||
|
{ label: "批发和零售业", value: "F" },
|
||||||
|
{ label: "交通运输、仓储和邮政业", value: "G" },
|
||||||
|
{ label: "住宿和餐饮业", value: "H" },
|
||||||
|
{ label: "信息传输、软件和信息技术服务业", value: "I" },
|
||||||
|
{ label: "金融业", value: "J" },
|
||||||
|
{ label: "房地产业", value: "K" },
|
||||||
|
{ label: "租赁和商务服务业", value: "L" },
|
||||||
|
{ label: "科学研究和技术服务业", value: "M" },
|
||||||
|
{ label: "水利、环境和公共设施管理业", value: "N" },
|
||||||
|
{ label: "居民服务、修理和其他服务业", value: "O" },
|
||||||
|
{ label: "教育", value: "P" },
|
||||||
|
{ label: "卫生和社会工作", value: "Q" },
|
||||||
|
{ label: "文化、体育和娱乐业", value: "R" },
|
||||||
|
{ label: "公共管理、社会保障和社会组织", value: "S" },
|
||||||
|
{ label: "国际组织", value: "T" },
|
||||||
];
|
];
|
||||||
|
|
||||||
/** 人员类型 */
|
/** 人员类型 */
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import {
|
||||||
Row,
|
Row,
|
||||||
Select,
|
Select,
|
||||||
Space,
|
Space,
|
||||||
Flex
|
Flex,
|
||||||
} from "antd";
|
} from "antd";
|
||||||
import AttachmentUpload from "~/components/AttachmentUpload";
|
import AttachmentUpload from "~/components/AttachmentUpload";
|
||||||
import BaiduMapPicker from "~/components/BaiduMapPicker";
|
import BaiduMapPicker from "~/components/BaiduMapPicker";
|
||||||
|
|
@ -24,6 +24,8 @@ import {
|
||||||
ENTERPRISE_STATUS_OPTIONS,
|
ENTERPRISE_STATUS_OPTIONS,
|
||||||
REGISTERED_ORG_FILING_RECORD_STATUS_OPTIONS,
|
REGISTERED_ORG_FILING_RECORD_STATUS_OPTIONS,
|
||||||
REGISTERED_ORG_FILING_TYPE_SEARCH_OPTIONS,
|
REGISTERED_ORG_FILING_TYPE_SEARCH_OPTIONS,
|
||||||
|
QUALIFICATION_INDUSTRY_OPTIONS,
|
||||||
|
ECONOMY_INDUSTRY_OPTIONS,
|
||||||
} from "~/enumerate/enterpriseOptions";
|
} from "~/enumerate/enterpriseOptions";
|
||||||
import { NS_ORG_INFO } from "~/enumerate/namespace";
|
import { NS_ORG_INFO } from "~/enumerate/namespace";
|
||||||
|
|
||||||
|
|
@ -188,18 +190,26 @@ function OrgInfoPage(props) {
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name="safetyIndustryCategoryName"
|
name="safetyIndustryCategoryCode"
|
||||||
label="安全生产监管行业类别"
|
label="安全生产监管行业类别"
|
||||||
rules={[
|
rules={[
|
||||||
{ required: true, message: "请输入安全生产监管行业类别" },
|
{ required: true, message: "请选择安全生产监管行业类别" },
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<Input
|
<Select
|
||||||
placeholder="请输入安全生产监管行业类别"
|
options={QUALIFICATION_INDUSTRY_OPTIONS}
|
||||||
|
mode="multiple"
|
||||||
|
placeholder="请选择安全生产监管行业类别"
|
||||||
allowClear
|
allowClear
|
||||||
maxLength={100}
|
onChange={(value, option) => {
|
||||||
|
form.setFieldValue(
|
||||||
|
"safetyIndustryCategoryName",
|
||||||
|
option?.map((item) => item.label).join(",") || "",
|
||||||
|
);
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
<Form.Item name="safetyIndustryCategoryName" noStyle />
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
|
|
@ -337,12 +347,19 @@ function OrgInfoPage(props) {
|
||||||
name="economyIndustryCode"
|
name="economyIndustryCode"
|
||||||
label="国民经济行业分类(GB/T4754-2017)"
|
label="国民经济行业分类(GB/T4754-2017)"
|
||||||
>
|
>
|
||||||
<Input
|
<Select
|
||||||
placeholder="请输入国民经济行业分类"
|
options={ECONOMY_INDUSTRY_OPTIONS}
|
||||||
|
placeholder="请选择国民经济行业分类"
|
||||||
allowClear
|
allowClear
|
||||||
maxLength={50}
|
onChange={(value, option) => {
|
||||||
|
form.setFieldValue(
|
||||||
|
"economyIndustryName",
|
||||||
|
option?.label || "",
|
||||||
|
);
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
<Form.Item name="economyIndustryName" noStyle />
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ export default function BasicInfoStep({ form, disabled }) {
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
options={QUALIFICATION_INDUSTRY_OPTIONS}
|
options={QUALIFICATION_INDUSTRY_OPTIONS}
|
||||||
|
mode="multiple"
|
||||||
placeholder="请选择证照类型"
|
placeholder="请选择证照类型"
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,17 @@ import { Button, Form, Tag, Table, Typography, Select } from "antd";
|
||||||
import SearchForm from "@cqsjjb/jjb-react-admin-component/SearchForm";
|
import SearchForm from "@cqsjjb/jjb-react-admin-component/SearchForm";
|
||||||
import ControlWrapper from "@cqsjjb/jjb-react-admin-component/ControlWrapper";
|
import ControlWrapper from "@cqsjjb/jjb-react-admin-component/ControlWrapper";
|
||||||
import TableAction from "@cqsjjb/jjb-react-admin-component/TableAction";
|
import TableAction from "@cqsjjb/jjb-react-admin-component/TableAction";
|
||||||
import { CHONGQING_DISTRICTS } from "~/enumerate/enterpriseOptions";
|
import {
|
||||||
|
CHONGQING_DISTRICTS,
|
||||||
|
QUALIFICATION_INDUSTRY_OPTIONS_MAP,
|
||||||
|
} from "~/enumerate/enterpriseOptions";
|
||||||
import {
|
import {
|
||||||
FILING_FORM_MODE,
|
FILING_FORM_MODE,
|
||||||
getFilingStatusOptions,
|
getFilingStatusOptions,
|
||||||
|
|
||||||
isQualFilingEditable,
|
isQualFilingEditable,
|
||||||
QUAL_FILING_STATUS_COLOR,
|
QUAL_FILING_STATUS_COLOR,
|
||||||
} from "~/enumerate/qualFilingOptions";
|
} from "~/enumerate/qualFilingOptions";
|
||||||
|
|
||||||
import { CHANGE_COUNT_STYLE, getChangeCount } from "~/utils/enterpriseForm";
|
import { CHANGE_COUNT_STYLE, getChangeCount } from "~/utils/enterpriseForm";
|
||||||
|
|
||||||
export default function FilingListTable({
|
export default function FilingListTable({
|
||||||
|
|
@ -35,19 +38,34 @@ export default function FilingListTable({
|
||||||
const statusOptions = getFilingStatusOptions(mode);
|
const statusOptions = getFilingStatusOptions(mode);
|
||||||
|
|
||||||
const canEditRow = (record) => {
|
const canEditRow = (record) => {
|
||||||
|
|
||||||
if (mode === FILING_FORM_MODE.CHANGE) {
|
if (mode === FILING_FORM_MODE.CHANGE) {
|
||||||
|
|
||||||
return [1, 3, 5].includes(record.filingStatusCode);
|
return [1, 3, 5].includes(record.filingStatusCode);
|
||||||
}
|
}
|
||||||
return [3, 5].includes(record.filingStatusCode);
|
return [3, 5].includes(record.filingStatusCode);
|
||||||
};
|
};
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
{ title: "备案属地", dataIndex: "filingTerritoryName", width: 120, ellipsis: true },
|
{
|
||||||
|
title: "备案属地",
|
||||||
|
dataIndex: "filingTerritoryName",
|
||||||
|
width: 120,
|
||||||
|
ellipsis: true,
|
||||||
|
},
|
||||||
{ title: "备案单位", dataIndex: "filingUnitName", ellipsis: true },
|
{ title: "备案单位", dataIndex: "filingUnitName", ellipsis: true },
|
||||||
{ title: "备案编号", dataIndex: "filingNo", width: 200 },
|
{ title: "备案编号", dataIndex: "filingNo", width: 200 },
|
||||||
{ title: "安全评价业务范围", dataIndex: "businessScope", ellipsis: true },
|
{
|
||||||
|
title: "安全评价业务范围",
|
||||||
|
dataIndex: "businessScope",
|
||||||
|
ellipsis: true,
|
||||||
|
render: (_, record) => {
|
||||||
|
if (Array.isArray(record.businessScope)) {
|
||||||
|
return record.businessScope
|
||||||
|
.map((item) => QUALIFICATION_INDUSTRY_OPTIONS_MAP[item])
|
||||||
|
.join("、");
|
||||||
|
}
|
||||||
|
return record.businessScope || "-";
|
||||||
|
},
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
if (showChangeCount) {
|
if (showChangeCount) {
|
||||||
|
|
@ -57,7 +75,8 @@ export default function FilingListTable({
|
||||||
width: 90,
|
width: 90,
|
||||||
render: (_, record) => {
|
render: (_, record) => {
|
||||||
const count = getChangeCount(record);
|
const count = getChangeCount(record);
|
||||||
const style = count > 0 ? CHANGE_COUNT_STYLE.active : CHANGE_COUNT_STYLE.zero;
|
const style =
|
||||||
|
count > 0 ? CHANGE_COUNT_STYLE.active : CHANGE_COUNT_STYLE.zero;
|
||||||
if (count <= 0) {
|
if (count <= 0) {
|
||||||
return <span style={style}>{count}</span>;
|
return <span style={style}>{count}</span>;
|
||||||
}
|
}
|
||||||
|
|
@ -78,14 +97,10 @@ export default function FilingListTable({
|
||||||
dataIndex: "filingStatusName",
|
dataIndex: "filingStatusName",
|
||||||
width: 110,
|
width: 110,
|
||||||
render: (_, record) => {
|
render: (_, record) => {
|
||||||
const obj= QUAL_FILING_STATUS_COLOR[record.filingStatusCode]
|
const obj = QUAL_FILING_STATUS_COLOR[record.filingStatusCode];
|
||||||
const color = obj?.color || "default";
|
const color = obj?.color || "default";
|
||||||
const name = obj?.label || "-";
|
const name = obj?.label || "-";
|
||||||
return (
|
return obj ? <Tag color={color}>{name || "-"}</Tag> : "--";
|
||||||
obj?<Tag color={color}>
|
|
||||||
{name || "-"}
|
|
||||||
</Tag>:"--"
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -98,7 +113,11 @@ export default function FilingListTable({
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
size="small"
|
size="small"
|
||||||
onClick={() => history.push(`/container/qualApplication/filingForm?mode=${mode}&id=${record.id}&readOnly=1`)}
|
onClick={() =>
|
||||||
|
history.push(
|
||||||
|
`/container/qualApplication/filingForm?mode=${mode}&id=${record.id}&readOnly=1`,
|
||||||
|
)
|
||||||
|
}
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
|
|
@ -107,13 +126,26 @@ export default function FilingListTable({
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
size="small"
|
size="small"
|
||||||
onClick={() => history.push(`/container/qualApplication/filingForm?mode=${mode}&id=${record.id}`)}
|
onClick={() =>
|
||||||
|
history.push(
|
||||||
|
`/container/qualApplication/filingForm?mode=${mode}&id=${record.id}`,
|
||||||
|
)
|
||||||
|
}
|
||||||
>
|
>
|
||||||
修改
|
修改
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
{mode === FILING_FORM_MODE.APPLICATION && isQualFilingEditable(record.filingStatusCode) && onDelete && (
|
{mode === FILING_FORM_MODE.APPLICATION &&
|
||||||
<Button type="link" size="small" danger onClick={() => onDelete(record)}>删除</Button>
|
isQualFilingEditable(record.filingStatusCode) &&
|
||||||
|
onDelete && (
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
size="small"
|
||||||
|
danger
|
||||||
|
onClick={() => onDelete(record)}
|
||||||
|
>
|
||||||
|
删除
|
||||||
|
</Button>
|
||||||
)}
|
)}
|
||||||
</TableAction>
|
</TableAction>
|
||||||
),
|
),
|
||||||
|
|
@ -131,9 +163,13 @@ export default function FilingListTable({
|
||||||
listTitle
|
listTitle
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
extra={onCreate && (
|
extra={
|
||||||
<Button type="primary" onClick={onCreate}>{createLabel}</Button>
|
onCreate && (
|
||||||
)}
|
<Button type="primary" onClick={onCreate}>
|
||||||
|
{createLabel}
|
||||||
|
</Button>
|
||||||
|
)
|
||||||
|
}
|
||||||
>
|
>
|
||||||
<SearchForm
|
<SearchForm
|
||||||
style={{ marginBottom: 24 }}
|
style={{ marginBottom: 24 }}
|
||||||
|
|
@ -141,7 +177,11 @@ export default function FilingListTable({
|
||||||
loading={loading}
|
loading={loading}
|
||||||
formLine={[
|
formLine={[
|
||||||
<Form.Item key="filingUnitName" name="filingUnitName">
|
<Form.Item key="filingUnitName" name="filingUnitName">
|
||||||
<ControlWrapper.Input label="备案单位" placeholder="关键字搜索" allowClear />
|
<ControlWrapper.Input
|
||||||
|
label="备案单位"
|
||||||
|
placeholder="关键字搜索"
|
||||||
|
allowClear
|
||||||
|
/>
|
||||||
</Form.Item>,
|
</Form.Item>,
|
||||||
<Form.Item key="filingTerritoryCode" name="filingTerritoryCode">
|
<Form.Item key="filingTerritoryCode" name="filingTerritoryCode">
|
||||||
<ControlWrapper.Select
|
<ControlWrapper.Select
|
||||||
|
|
@ -151,23 +191,30 @@ export default function FilingListTable({
|
||||||
style={{ width: "100%" }}
|
style={{ width: "100%" }}
|
||||||
>
|
>
|
||||||
{CHONGQING_DISTRICTS.map((d) => (
|
{CHONGQING_DISTRICTS.map((d) => (
|
||||||
<Select.Option key={d.value} value={d.value}>{d.label}</Select.Option>
|
<Select.Option key={d.value} value={d.value}>
|
||||||
|
{d.label}
|
||||||
|
</Select.Option>
|
||||||
))}
|
))}
|
||||||
</ControlWrapper.Select>
|
</ControlWrapper.Select>
|
||||||
</Form.Item>,
|
</Form.Item>,
|
||||||
<Form.Item key="filingNo" name="filingNo">
|
<Form.Item key="filingNo" name="filingNo">
|
||||||
<ControlWrapper.Input label="备案编号" placeholder="关键字搜索" allowClear />
|
<ControlWrapper.Input
|
||||||
|
label="备案编号"
|
||||||
|
placeholder="关键字搜索"
|
||||||
|
allowClear
|
||||||
|
/>
|
||||||
</Form.Item>,
|
</Form.Item>,
|
||||||
<Form.Item key="filingStatusCode" name="filingStatusCode">
|
<Form.Item key="filingStatusCode" name="filingStatusCode">
|
||||||
<ControlWrapper.Select
|
<ControlWrapper.Select
|
||||||
label="备案状态"
|
label="备案状态"
|
||||||
placeholder="全部"
|
placeholder="全部"
|
||||||
|
|
||||||
showSearch={false}
|
showSearch={false}
|
||||||
style={{ width: "100%" }}
|
style={{ width: "100%" }}
|
||||||
>
|
>
|
||||||
{statusOptions.map((opt) => (
|
{statusOptions.map((opt) => (
|
||||||
<Select.Option key={opt.value} value={opt.value}>{opt.label}</Select.Option>
|
<Select.Option key={opt.value} value={opt.value}>
|
||||||
|
{opt.label}
|
||||||
|
</Select.Option>
|
||||||
))}
|
))}
|
||||||
</ControlWrapper.Select>
|
</ControlWrapper.Select>
|
||||||
</Form.Item>,
|
</Form.Item>,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/** 资质申请前置条件核验(提交前展示,对齐原型) */
|
/** 资质申请前置条件核验(提交前展示,对齐原型) */
|
||||||
|
|
||||||
/** 人员相关三项暂不校验(机构库数据不足),恢复时改为 false */
|
/** 人员相关三项暂不校验(机构库数据不足),恢复时改为 false */
|
||||||
const SKIP_PERSONNEL_VERIFY = false;
|
const SKIP_PERSONNEL_VERIFY = true;
|
||||||
|
|
||||||
const KEY_POSITIONS = ["负责人", "技术负责人", "质量负责人"];
|
const KEY_POSITIONS = ["负责人", "技术负责人", "质量负责人"];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import { tools } from "@cqsjjb/jjb-common-lib";
|
||||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||||
import { NS_QUAL_REVIEW } from "~/enumerate/namespace";
|
import { NS_QUAL_REVIEW } from "~/enumerate/namespace";
|
||||||
import { VERIFY_STATUS_MAP } from "~/enumerate/constant";
|
import { VERIFY_STATUS_MAP } from "~/enumerate/constant";
|
||||||
|
import { QUALIFICATION_INDUSTRY_OPTIONS_MAP } from "~/enumerate/enterpriseOptions";
|
||||||
import {
|
import {
|
||||||
FILING_CODE_TO_CONFIRM,
|
FILING_CODE_TO_CONFIRM,
|
||||||
REVIEW_BUSINESS_SCOPE_OPTIONS,
|
REVIEW_BUSINESS_SCOPE_OPTIONS,
|
||||||
|
|
@ -67,6 +68,12 @@ const ExpertVerification = (props) => {
|
||||||
dataIndex: "businessScope",
|
dataIndex: "businessScope",
|
||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
render: (_, record) => {
|
||||||
|
if(Array.isArray(record.businessScope)){
|
||||||
|
return record.businessScope.map(item => QUALIFICATION_INDUSTRY_OPTIONS_MAP[item]).join("、");
|
||||||
|
}
|
||||||
|
return record.businessScope || "-";
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "确认状态",
|
title: "确认状态",
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||||
import { NS_QUAL_REVIEW } from "~/enumerate/namespace";
|
import { NS_QUAL_REVIEW } from "~/enumerate/namespace";
|
||||||
import StaffViewModal from "~/components/StaffViewModal";
|
import StaffViewModal from "~/components/StaffViewModal";
|
||||||
import PreviewUrlButton from "~/components/PreviewUrlButton/index";
|
import PreviewUrlButton from "~/components/PreviewUrlButton/index";
|
||||||
|
import { QUALIFICATION_INDUSTRY_OPTIONS_MAP } from "~/enumerate/enterpriseOptions";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -81,7 +82,7 @@ const FilingTabs = ({
|
||||||
label: "1.备案基本信息",
|
label: "1.备案基本信息",
|
||||||
children: (
|
children: (
|
||||||
<Descriptions column={2} bordered size="small" style={{ background: "#fff" }}>
|
<Descriptions column={2} bordered size="small" style={{ background: "#fff" }}>
|
||||||
<Descriptions.Item label="申请的业务范围" span={2}>{detail.businessScope}</Descriptions.Item>
|
<Descriptions.Item label="申请的业务范围" span={2}>{Array.isArray(detail.businessScope) ? detail.businessScope.map(item => QUALIFICATION_INDUSTRY_OPTIONS_MAP[item]).join("、") : detail.businessScope || "-"}</Descriptions.Item>
|
||||||
<Descriptions.Item label="备案属地">{detail.filingTerritoryName}</Descriptions.Item>
|
<Descriptions.Item label="备案属地">{detail.filingTerritoryName}</Descriptions.Item>
|
||||||
<Descriptions.Item label="备案单位">{detail.filingUnitName}</Descriptions.Item>
|
<Descriptions.Item label="备案单位">{detail.filingUnitName}</Descriptions.Item>
|
||||||
<Descriptions.Item label="备案单位类型">{detail.filingUnitTypeName}</Descriptions.Item>
|
<Descriptions.Item label="备案单位类型">{detail.filingUnitTypeName}</Descriptions.Item>
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import { tools } from "@cqsjjb/jjb-common-lib";
|
||||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||||
import { NS_QUAL_REVIEW } from "~/enumerate/namespace";
|
import { NS_QUAL_REVIEW } from "~/enumerate/namespace";
|
||||||
import { FILING_STATUS_MAP, FILING_STATUS_MAP_CHANGE } from "~/enumerate/constant";
|
import { FILING_STATUS_MAP, FILING_STATUS_MAP_CHANGE } from "~/enumerate/constant";
|
||||||
|
import { QUALIFICATION_INDUSTRY_OPTIONS_MAP } from "~/enumerate/enterpriseOptions";
|
||||||
|
|
||||||
const { router } = tools;
|
const { router } = tools;
|
||||||
|
|
||||||
|
|
@ -50,7 +51,14 @@ const QualChange = (props) => {
|
||||||
{ title: "机构名称", dataIndex: "filingUnitName", width: 220, ellipsis: true },
|
{ title: "机构名称", dataIndex: "filingUnitName", width: 220, ellipsis: true },
|
||||||
{ title: "机构类型", dataIndex: "filingUnitTypeName", width: 100 },
|
{ title: "机构类型", dataIndex: "filingUnitTypeName", width: 100 },
|
||||||
{ title: "备案编号", dataIndex: "id", width: 140, ellipsis: true },
|
{ title: "备案编号", dataIndex: "id", width: 140, ellipsis: true },
|
||||||
{ title: "经营范围", dataIndex: "businessScope", width: 180, ellipsis: true },
|
{ title: "经营范围", dataIndex: "businessScope", width: 180, ellipsis: true,
|
||||||
|
render: (_, record) => {
|
||||||
|
if(Array.isArray(record.businessScope)){
|
||||||
|
return record.businessScope.map(item => QUALIFICATION_INDUSTRY_OPTIONS_MAP[item]).join("、");
|
||||||
|
}
|
||||||
|
return record.businessScope || "-";
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "备案状态",
|
title: "备案状态",
|
||||||
dataIndex: "filingStatusCode",
|
dataIndex: "filingStatusCode",
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import { tools } from "@cqsjjb/jjb-common-lib";
|
||||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||||
import { NS_QUAL_REVIEW } from "~/enumerate/namespace";
|
import { NS_QUAL_REVIEW } from "~/enumerate/namespace";
|
||||||
import { FILING_STATUS_MAP } from "~/enumerate/constant";
|
import { FILING_STATUS_MAP } from "~/enumerate/constant";
|
||||||
|
import { QUALIFICATION_INDUSTRY_OPTIONS_MAP } from "~/enumerate/enterpriseOptions";
|
||||||
import {
|
import {
|
||||||
REVIEW_BUSINESS_SCOPE_OPTIONS,
|
REVIEW_BUSINESS_SCOPE_OPTIONS,
|
||||||
REVIEW_UNIT_TYPE_OPTIONS,
|
REVIEW_UNIT_TYPE_OPTIONS,
|
||||||
|
|
@ -55,7 +56,14 @@ const QualConfirm = (props) => {
|
||||||
{ title: "机构名称", dataIndex: "filingUnitName", width: 220, ellipsis: true },
|
{ title: "机构名称", dataIndex: "filingUnitName", width: 220, ellipsis: true },
|
||||||
{ title: "机构类型", dataIndex: "filingUnitTypeName", width: 100 },
|
{ title: "机构类型", dataIndex: "filingUnitTypeName", width: 100 },
|
||||||
{ title: "证书编号", dataIndex: "qualCertNo", width: 140, ellipsis: true },
|
{ title: "证书编号", dataIndex: "qualCertNo", width: 140, ellipsis: true },
|
||||||
{ title: "安全评价业务范围", dataIndex: "businessScope", width: 180, ellipsis: true },
|
{ title: "安全评价业务范围", dataIndex: "businessScope", width: 180, ellipsis: true,
|
||||||
|
render: (_, record) => {
|
||||||
|
if(Array.isArray(record.businessScope)){
|
||||||
|
return record.businessScope.map(item => QUALIFICATION_INDUSTRY_OPTIONS_MAP[item]).join("、");
|
||||||
|
}
|
||||||
|
return record.businessScope || "-";
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "确认状态",
|
title: "确认状态",
|
||||||
dataIndex: "filingStatusCode",
|
dataIndex: "filingStatusCode",
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ import ControlWrapper from "@cqsjjb/jjb-react-admin-component/ControlWrapper";
|
||||||
import { AntdTableFuncControl } from "@cqsjjb/jjb-common-decorator/antd";
|
import { AntdTableFuncControl } from "@cqsjjb/jjb-common-decorator/antd";
|
||||||
import { tools } from "@cqsjjb/jjb-common-lib";
|
import { tools } from "@cqsjjb/jjb-common-lib";
|
||||||
import { PUBLICITY_STATUS_MAP } from "~/enumerate/constant";
|
import { PUBLICITY_STATUS_MAP } from "~/enumerate/constant";
|
||||||
|
import { QUALIFICATION_INDUSTRY_OPTIONS_MAP } from "~/enumerate/enterpriseOptions";
|
||||||
|
|
||||||
const { TextArea } = Input;
|
const { TextArea } = Input;
|
||||||
|
|
||||||
|
|
@ -121,6 +122,12 @@ const QualPublicity = (props) => {
|
||||||
dataIndex: "businessScope",
|
dataIndex: "businessScope",
|
||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
render: (_, record) => {
|
||||||
|
if(Array.isArray(record.businessScope)){
|
||||||
|
return record.businessScope.map(item => QUALIFICATION_INDUSTRY_OPTIONS_MAP[item]).join("、");
|
||||||
|
}
|
||||||
|
return record.businessScope || "-";
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{ title: "审核部门", dataIndex: "reviewDept", width: 120, ellipsis: true },
|
{ title: "审核部门", dataIndex: "reviewDept", width: 120, ellipsis: true },
|
||||||
{ title: "审核通过时间", dataIndex: "reviewTime", width: 120 },
|
{ title: "审核通过时间", dataIndex: "reviewTime", width: 120 },
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,9 @@ import { AntdTableFuncControl } from "@cqsjjb/jjb-common-decorator/antd";
|
||||||
import { tools } from "@cqsjjb/jjb-common-lib";
|
import { tools } from "@cqsjjb/jjb-common-lib";
|
||||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||||
import { NS_QUAL_REVIEW } from "~/enumerate/namespace";
|
import { NS_QUAL_REVIEW } from "~/enumerate/namespace";
|
||||||
|
import {
|
||||||
|
QUALIFICATION_INDUSTRY_OPTIONS_MAP,
|
||||||
|
} from "~/enumerate/enterpriseOptions";
|
||||||
import { REVIEW_STATUS_MAP, EXPERT_STATUS_MAP } from "~/enumerate/constant";
|
import { REVIEW_STATUS_MAP, EXPERT_STATUS_MAP } from "~/enumerate/constant";
|
||||||
import {
|
import {
|
||||||
REVIEW_BUSINESS_SCOPE_OPTIONS,
|
REVIEW_BUSINESS_SCOPE_OPTIONS,
|
||||||
|
|
@ -60,7 +62,14 @@ const QualReview = (props) => {
|
||||||
{ title: "机构名称", dataIndex: "filingUnitName", width: 220, ellipsis: true },
|
{ title: "机构名称", dataIndex: "filingUnitName", width: 220, ellipsis: true },
|
||||||
{ title: "机构类型", dataIndex: "filingUnitTypeName", width: 100 },
|
{ title: "机构类型", dataIndex: "filingUnitTypeName", width: 100 },
|
||||||
{ title: "证书编号", dataIndex: "qualCertNo", width: 140, ellipsis: true },
|
{ title: "证书编号", dataIndex: "qualCertNo", width: 140, ellipsis: true },
|
||||||
{ title: "安全评价业务范围", dataIndex: "businessScope", width: 180, ellipsis: true },
|
{ title: "安全评价业务范围", dataIndex: "businessScope", width: 180, ellipsis: true,
|
||||||
|
render: (_, record) => {
|
||||||
|
if(Array.isArray(record.businessScope)){
|
||||||
|
return record.businessScope.map(item => QUALIFICATION_INDUSTRY_OPTIONS_MAP[item]).join("、");
|
||||||
|
}
|
||||||
|
return record.businessScope || "-";
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "专家核验",
|
title: "专家核验",
|
||||||
dataIndex: "expertStatus",
|
dataIndex: "expertStatus",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue