Selaa lähdekoodia

deploy

master
Soleilw 6 kuukautta sitten
vanhempi
commit
805d22a8a5

+ 0
- 95
dist/211.0ff698da.async.js
File diff suppressed because it is too large
Näytä tiedosto


+ 95
- 0
dist/211.b77e5633.async.js
File diff suppressed because it is too large
Näytä tiedosto


dist/720.da4d1e00.async.js
File diff suppressed because it is too large
Näytä tiedosto


+ 1
- 1
dist/index.html Näytä tiedosto

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.eb8daf1a.js"></script>
<script src="/umi.ce320309.js"></script>
</body>
</html>

dist/p__Jobseeker__List__index.07297ed5.async.js
File diff suppressed because it is too large
Näytä tiedosto


dist/umi.ce320309.js
File diff suppressed because it is too large
Näytä tiedosto


+ 44
- 24
src/components/Render/Main/Jobseeker/List/export/index.tsx Näytä tiedosto

@@ -242,24 +242,44 @@ const PagesMainJobseekerListExport: React.FC = ({ dispatch, dictModel, openModel
相片或身份证复印处
</td>
</tr>
{/* 放第二条到第五条数据 */}
{detail.intros && detail.intros.length > 5 && detail.intros.slice(1, 5).map((item, index) => (<>
<tr style={{ height: '30px' }}>
<td colSpan={5}>{item.content}</td>
</tr>
</>))}
{/* 放第六条数据以及后面的 */}
{detail.intros && detail.intros.length > 5 && detail.intros.slice(5).map((item, index) => (<>
<tr style={{ height: '30px' }}>
<td colSpan={9}>{item.content}</td>
</tr>
</>))}
<tr style={{ height: '30px' }}>
<td colSpan={9}></td>
</tr>
<tr style={{ height: '30px' }}>
<td colSpan={9}></td>
</tr>
{
detail.intros && detail.intros.length > 5 ? <>
{/* 放第二条到第五条数据 */}
{detail.intros && detail.intros.length > 5 && detail.intros.slice(1, 5).map((item, index) => (<>
<tr style={{ height: '30px' }}>
<td colSpan={5}>{item.content}</td>
</tr>
</>))}
{/* 放第六条数据以及后面的 */}
{detail.intros && detail.intros.length > 5 && detail.intros.slice(5).map((item, index) => (<>
<tr style={{ height: '30px' }}>
<td colSpan={9}>{item.content}</td>
</tr>
</>))}
<tr style={{ height: '30px' }}>
<td colSpan={9}></td>
</tr>
<tr style={{ height: '30px' }}>
<td colSpan={9}></td>
</tr>
</> : <>
{detail.intros && detail.intros.slice(1, detail.intros.length).map((item, index) => (<>
<tr style={{ height: '30px' }}>
<td colSpan={9}>{item.content}</td>
</tr>
</>))}
{
detail.intros.length < 5 && <>
{Array(7 - detail.intros.length).fill(0).map((item, index) => (<>
<tr style={{ height: '30px' }}>
<td colSpan={9}></td>
</tr>
</>))}
</>
}
</>
}

</> : <>
<tr style={{ height: '30px' }}>
<td rowSpan={7} style={{ width: '10%', textAlign: 'center' }}>介绍工作情况</td>
@@ -298,17 +318,17 @@ const PagesMainJobseekerListExport: React.FC = ({ dispatch, dictModel, openModel
</td>
</tr>
{/* 帮扶情况 */}

{detail.assists && detail.assists.length > 0 && detail.assists.slice(1).map((item, index) => (<>
<tr style={{ height: '30px' }}>
<td colSpan={9}>{item.content}</td>
</tr>
</>))}
<tr style={{ height: '30px' }}>
<td colSpan={9}></td>
</tr>
<tr style={{ height: '30px' }}>
<td colSpan={9}></td>
</tr>
{Array(4 - detail.assists.length).fill(0).map((item, index) => (<>
<tr style={{ height: '30px' }}>
<td colSpan={9}></td>
</tr>
</>))}
</> : <>
<tr style={{ height: '30px' }}>
<td rowSpan={4} style={{ width: '10%', textAlign: 'center' }}>帮扶情况</td>

+ 20
- 7
src/components/Render/Main/Jobseeker/List/resume/help/assist/index.tsx Näytä tiedosto

@@ -5,9 +5,9 @@ import {
EditableProTable,
ProFormCascader,
} from '@ant-design/pro-components';
import { ConfigProvider, Flex, Space, message, Image, Row, Col, Cascader } from 'antd';
import { ConfigProvider, Flex, Space, message, Image, Row, Col, Cascader, Popconfirm } from 'antd';
import {
PostJobapplicantAddassistandintro, GetJobapplicantListassist, GetJobapplicantAssistdetail, PostJobapplicantUpdateassist
PostJobapplicantAddassistandintro, GetJobapplicantListassist, GetJobapplicantAssistdetail, PostJobapplicantDelassist, PostJobapplicantUpdateassist
} from '@/apis/api';

const PagesMainJobseekerListResumeHelpAssist: React.FC = ({ dispatch, dictModel, openModel, id }: any) => {
@@ -73,13 +73,26 @@ const PagesMainJobseekerListResumeHelpAssist: React.FC = ({ dispatch, dictModel,
>
编辑
</a>,
<a
key="delete"
onClick={() => {
<Popconfirm
title="是否删除"
onConfirm={(e) => {
PostJobapplicantDelassist({ id: record.id }).then(res => {
message.success('删除成功')
actionRef.current.reload();

})
}}
okText="删除"
cancelText="取消"
>
删除
</a>,
<a
key="delete"
>
删除
</a>
</Popconfirm>


],
},
]}

+ 37
- 26
src/components/Render/Main/Jobseeker/List/resume/help/recommend/index.tsx Näytä tiedosto

@@ -6,7 +6,7 @@ import {
EditableProTable,
ProFormCascader,
} from '@ant-design/pro-components';
import { ConfigProvider, Flex, Space, message, Image, Row, Col, Cascader } from 'antd';
import { ConfigProvider, Flex, Space, message, Image, Row, Col, Cascader, Popconfirm } from 'antd';
import {
PostJobapplicantAddassistandintro, GetJobapplicantListintro, GetJobapplicantIntrodetail, PostJobapplicantUpdateintro, PostJobapplicantDelintro
} from '@/apis/api';
@@ -52,39 +52,50 @@ const PagesMainJobseekerListResumeHelpRecommend: React.FC = ({ dispatch, dictMod
}

}}
columns={[ {
columns={[{
title: 'ID',
dataIndex: 'id',
editable: false,
width: 100

},
{
title: '介绍情况',
dataIndex: 'content'
},
{
title: '操作',
valueType: 'option',
width: 200,
render: (text, record, _, action) => [
<a
key="editable"
onClick={async () => {
action?.startEditable?.(record.id);
}}
>
编辑
</a>,
{
title: '介绍情况',
dataIndex: 'content'
},
{
title: '操作',
valueType: 'option',
width: 200,
render: (text, record, _, action) => [
<a
key="editable"
onClick={async () => {
action?.startEditable?.(record.id);
}}
>
编辑
</a>,
<Popconfirm
title="是否删除"
onConfirm={(e) => {
PostJobapplicantDelintro({ id: record.id }).then(res => {
message.success('删除成功')
actionRef.current.reload();
})
}}
okText="删除"
cancelText="取消"
>
<a
key="delete"
onClick={() => {
}}
>
删除
</a>,
],
},
</a>
</Popconfirm>

],
},
]}
editable={{
type: 'single',
@@ -93,11 +104,11 @@ const PagesMainJobseekerListResumeHelpRecommend: React.FC = ({ dispatch, dictMod
console.log(rowKey, data, row)
data.customer_id = id.customer_id;
if (rowKey && originList.findIndex(item => item.id === rowKey) !== -1) {
let res1 = await PostJobapplicantUpdateintro({ id: rowKey, customer_id: data.customer_id, content: data.content})
let res1 = await PostJobapplicantUpdateintro({ id: rowKey, customer_id: data.customer_id, content: data.content })
message.success('提交成功')
actionRef.current.reload();
} else {
let res1 = await PostJobapplicantAddassistandintro({ customer_id: data.customer_id, intro_content: [data.content]})
let res1 = await PostJobapplicantAddassistandintro({ customer_id: data.customer_id, intro_content: [data.content] })
message.success('提交成功')
actionRef.current.reload();
}

Loading…
Peruuta
Tallenna