Browse Source

deploy

master
Soleilw 4 months ago
parent
commit
1b4f132d7f

+ 0
- 1
dist/297.55b5e26e.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/673.dc6a3bad.async.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/index.html View File

</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script src="/umi.2d388095.js"></script>
<script src="/umi.5e50c73d.js"></script>
</body> </body>
</html> </html>

dist/p__Company__List__index.796ad4ff.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__Fair__List__index.8defc839.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__Fair__List__index.af7b4bc1.async.js
File diff suppressed because it is too large
View File


dist/p__Setting__Dictionary__index.57a649f3.async.js
File diff suppressed because it is too large
View File


dist/umi.5e50c73d.js
File diff suppressed because it is too large
View File


+ 13
- 7
src/components/Render/Main/Company/List/create/index.tsx View File

formRef={formRef} formRef={formRef}
onFinish={async (values: CompanyType.Basic) => { onFinish={async (values: CompanyType.Basic) => {
console.log(values) 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; delete values.location_arr;
values.photo = uploadedFilephotoName ? uploadedFilephotoName : ''; values.photo = uploadedFilephotoName ? uploadedFilephotoName : '';
values.license_path = uploadedFilelicenseName ? uploadedFilelicenseName : ''; values.license_path = uploadedFilelicenseName ? uploadedFilelicenseName : '';
message.success('提交成功') message.success('提交成功')
dispatch({ type: 'openModel/getOpenModal', payload: false }) dispatch({ type: 'openModel/getOpenModal', payload: false })
} else { } 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.nature_arr;
delete values.scale_arr; delete values.scale_arr;
let res = await addCompany(values) let res = await addCompany(values)
label="联系人" label="联系人"
name="contact" name="contact"
placeholder="请输入联系人" placeholder="请输入联系人"
rules={[{ required: true, message: '请输入联系人' }]}
/> />
</Col> </Col>
<Col span={8}> <Col span={8}>
fieldNames: selectfieldNames, fieldNames: selectfieldNames,
options: dictModel.industryPostList options: dictModel.industryPostList
}} }}
rules={[{ required: true, message: '请选择所属行业' }]}
placeholder="请选择所属行业" placeholder="请选择所属行业"
/> />
</Col> </Col>
options: dictModel.natureList, options: dictModel.natureList,
changeOnSelect: true changeOnSelect: true
}} }}
rules={[{ required: true, message: '请选择企业性质' }]}

placeholder="请选择企业性质" placeholder="请选择企业性质"
/> />
</Col> </Col>
options: dictModel.scaleList, options: dictModel.scaleList,
changeOnSelect: true changeOnSelect: true
}} }}
rules={[{ required: true, message: '请选择企业规模' }]}
placeholder="请选择企业规模" placeholder="请选择企业规模"
/> />
</Col> </Col>
options: dictModel.areaList, options: dictModel.areaList,
changeOnSelect: true changeOnSelect: true
}} }}
rules={[{ required: true, message: '请选择企业所在地区' }]}
placeholder="企业所在地区" placeholder="企业所在地区"
/> />
</Col> </Col>

+ 12
- 1
src/components/Render/Main/Fair/List/create/index.tsx View File

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

+ 1
- 1
src/components/Render/Setting/Dictionary/table/index.tsx View File

<Button type="primary" onClick={() => { <Button type="primary" onClick={() => {
dispatch({ type: 'openModel/getOpenModal', payload: true }) dispatch({ type: 'openModel/getOpenModal', payload: true })
}}> }}>
字典列表
添加字典
</Button> </Button>
]} ]}
expandable={{ expandable={{

Loading…
Cancel
Save