Soleilw преди 4 месеца
родител
ревизия
1b4f132d7f

+ 0
- 1
dist/297.55b5e26e.async.js
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 1
- 0
dist/673.dc6a3bad.async.js
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 1
- 1
dist/index.html Целия файл

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.2d388095.js"></script>
<script src="/umi.5e50c73d.js"></script>
</body>
</html>

dist/p__Company__List__index.796ad4ff.async.js
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 1
- 0
dist/p__Fair__List__index.8defc839.async.js
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 0
- 1
dist/p__Fair__List__index.af7b4bc1.async.js
Файловите разлики са ограничени, защото са твърде много
Целия файл


dist/p__Setting__Dictionary__index.57a649f3.async.js
Файловите разлики са ограничени, защото са твърде много
Целия файл


dist/umi.5e50c73d.js
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 13
- 7
src/components/Render/Main/Company/List/create/index.tsx Целия файл

@@ -114,10 +114,10 @@ const PagesMainCompanyListCreate: React.FC = ({ dispatch, dictModel, openModel,
formRef={formRef}
onFinish={async (values: CompanyType.Basic) => {
console.log(values)
values.province = values.location_arr[0] ? values.location_arr[0] : 0;
values.city = values.location_arr[1] ? values.location_arr[1] : 0;
values.district = values.location_arr[2] ? values.location_arr[2] : 0;
values.street = values.location_arr[3] ? values.location_arr[3] : 0;
values.province = values.location_arr && values.location_arr[0] ? values.location_arr[0] : 0;
values.city = values.location_arr && values.location_arr[1] ? values.location_arr[1] : 0;
values.district = values.location_arr && values.location_arr[2] ? values.location_arr[2] : 0;
values.street = values.location_arr && values.location_arr[3] ? values.location_arr[3] : 0;
delete values.location_arr;
values.photo = uploadedFilephotoName ? uploadedFilephotoName : '';
values.license_path = uploadedFilelicenseName ? uploadedFilelicenseName : '';
@@ -134,8 +134,8 @@ const PagesMainCompanyListCreate: React.FC = ({ dispatch, dictModel, openModel,
message.success('提交成功')
dispatch({ type: 'openModel/getOpenModal', payload: false })
} else {
values.nature = values.nature_arr.length > 0 ? values.nature_arr[values.nature_arr.length - 1] : 0;
values.scale = values.scale_arr.length > 0 ? values.scale_arr[values.scale_arr.length - 1] : 0;
values.nature = values.nature_arr && values.nature_arr.length > 0 ? values.nature_arr[values.nature_arr.length - 1] : 0;
values.scale = values.scale_arr && values.scale_arr.length > 0 ? values.scale_arr[values.scale_arr.length - 1] : 0;
delete values.nature_arr;
delete values.scale_arr;
let res = await addCompany(values)
@@ -191,6 +191,7 @@ const PagesMainCompanyListCreate: React.FC = ({ dispatch, dictModel, openModel,
label="联系人"
name="contact"
placeholder="请输入联系人"
rules={[{ required: true, message: '请输入联系人' }]}
/>
</Col>
<Col span={8}>
@@ -239,7 +240,7 @@ const PagesMainCompanyListCreate: React.FC = ({ dispatch, dictModel, openModel,
fieldNames: selectfieldNames,
options: dictModel.industryPostList
}}
rules={[{ required: true, message: '请选择所属行业' }]}
placeholder="请选择所属行业"
/>
</Col>
@@ -252,6 +253,8 @@ const PagesMainCompanyListCreate: React.FC = ({ dispatch, dictModel, openModel,
options: dictModel.natureList,
changeOnSelect: true
}}
rules={[{ required: true, message: '请选择企业性质' }]}

placeholder="请选择企业性质"
/>
</Col>
@@ -264,6 +267,8 @@ const PagesMainCompanyListCreate: React.FC = ({ dispatch, dictModel, openModel,
options: dictModel.scaleList,
changeOnSelect: true
}}
rules={[{ required: true, message: '请选择企业规模' }]}
placeholder="请选择企业规模"
/>
</Col>
@@ -278,6 +283,7 @@ const PagesMainCompanyListCreate: React.FC = ({ dispatch, dictModel, openModel,
options: dictModel.areaList,
changeOnSelect: true
}}
rules={[{ required: true, message: '请选择企业所在地区' }]}
placeholder="企业所在地区"
/>
</Col>

+ 12
- 1
src/components/Render/Main/Fair/List/create/index.tsx Целия файл

@@ -7,7 +7,8 @@ import {
ProFormDateTimeRangePicker,
ProFormDependency,
FormControlRender,
ProForm
ProForm,
ProFormSegmented
} from '@ant-design/pro-components';
import { ConfigProvider, Flex, Space, Modal, message, Form, Row, Col, Switch } from 'antd';
import { PostRecruitmentUpdate, PostRecruitmentAdd, GetCompanyInfo, GetRecruitmentDetail } from '@/apis/api';
@@ -162,6 +163,16 @@ const PagesMainFairListCreate: React.FC = ({ dispatch, dictModel, openModel, id
}}></MapComponent>
</Col>
} */}
<Col span={24}>
<ProFormSegmented
name="status"
label="职位状态"
request={async () => [
{ label: '开启', value: 1 },
{ label: '结束', value: 2 }
]}
/>
</Col>
</Row>
</ProForm>
</Modal>

+ 1
- 1
src/components/Render/Setting/Dictionary/table/index.tsx Целия файл

@@ -116,7 +116,7 @@ const PagesSettingDictionaryTable: React.FC = ({ dispatch, openModel, getId }: a
<Button type="primary" onClick={() => {
dispatch({ type: 'openModel/getOpenModal', payload: true })
}}>
字典列表
添加字典
</Button>
]}
expandable={{

Loading…
Отказ
Запис