|
@@ -76,7 +76,7 @@
|
|
|
></BImportExcel>
|
|
|
<BExportExcel :title="'导出'" :filename="'岗位信息'"
|
|
|
:url="'companyService/post/export'"
|
|
|
- :params="{...searchParams, isExport: true, rows:10000,postIDList:formState.selectedRowKeys.join(',')}"></BExportExcel>
|
|
|
+ :params="{...exportSearchParams, isExport: true, rows:10000,postIDList:formState.selectedRowKeys.join(',')}"></BExportExcel>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
@@ -136,6 +136,12 @@ export default defineComponent({
|
|
|
professionName: null,
|
|
|
recordStatus: null
|
|
|
});
|
|
|
+ // 导出Excel查询参数
|
|
|
+ const exportSearchParams = computed(() => {
|
|
|
+ let data = JSON.parse(JSON.stringify(searchParams));
|
|
|
+ data.pageSize = formState.total;
|
|
|
+ return data;
|
|
|
+ })
|
|
|
const expand = ref(false);
|
|
|
const companyList = ref<SelectProps['options']>();
|
|
|
const postStatusList = [{name: '启用', value: 1}, {name: '禁用', value: 0}];
|
|
@@ -198,15 +204,15 @@ export default defineComponent({
|
|
|
}
|
|
|
},
|
|
|
// {title: '工种名称', dataIndex: 'workName', key: 'workName', align: "center"},
|
|
|
- {title: '文化程度', dataIndex: 'cultureLevelName', key: 'cultureLevelName', width: 150, align: "center"},
|
|
|
+ {title: '学历要求', dataIndex: 'cultureLevelName', key: 'cultureLevelName', width: 150, align: "center"},
|
|
|
{
|
|
|
title: '薪酬', dataIndex: 'postSalary', key: 'postSalary', align: "center", customRender: (item) => {
|
|
|
const salary = showSalary(item.record.minSalary,item.record.maxSalary);/*`${item.record.minSalary ?? ""}-${item.record.maxSalary ?? ""}`*/
|
|
|
return salary;
|
|
|
}
|
|
|
},
|
|
|
- {title: '联系人', dataIndex: 'userName', key: 'userName', align: "center"},
|
|
|
- {title: '联系电话', dataIndex: 'userMobile', key: 'userMobile', width: 200, align: "center"},
|
|
|
+ {title: '联系人', dataIndex: 'contactName', key: 'contactName', align: "center"},
|
|
|
+ {title: '联系电话', dataIndex: 'contactMobile', key: 'contactMobile', width: 200, align: "center"},
|
|
|
{title: '推荐数量', dataIndex: 'recommendNum',key: 'recommendNum',width: 100, align: "center"},
|
|
|
{title: '操作', key: 'operation', fixed: 'right', width: 240, align: "center"},
|
|
|
];
|
|
@@ -327,7 +333,8 @@ export default defineComponent({
|
|
|
expand,
|
|
|
postStatusList,
|
|
|
companyList,
|
|
|
- onDetail
|
|
|
+ onDetail,
|
|
|
+ exportSearchParams
|
|
|
};
|
|
|
},
|
|
|
created() {
|