|
@@ -125,6 +125,8 @@
|
|
|
</template>
|
|
|
<template v-if="column.key === 'operation'">
|
|
|
<div class="table-operation">
|
|
|
+ <a-button type="link" size="small" functioncode="T01030201" @click="onDetail(record.jobHuntID)">查看
|
|
|
+ </a-button>
|
|
|
<a-button type="link" size="small" functioncode="T01030203" @click='onEdit(record.jobHuntID)'>编辑
|
|
|
</a-button>
|
|
|
<a-button type="link" size="small" functioncode="T01030204" @click="onDel(record)">删除</a-button>
|
|
@@ -140,15 +142,15 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
-import {reactive, ref, computed, defineComponent, createVNode} from 'vue';
|
|
|
-import type {FormInstance, TableColumnsType, TableProps, SelectProps} from 'ant-design-vue';
|
|
|
-import {getJobHuntList, delJobHunt} from '@/api/jobUserManager/jobhunt';
|
|
|
+import {computed, createVNode, defineComponent, reactive, ref} from 'vue';
|
|
|
+import type {FormInstance, SelectProps, TableColumnsType, TableProps} from 'ant-design-vue';
|
|
|
+import {message, Modal} from "ant-design-vue";
|
|
|
+import {delJobHunt, getJobHuntList} from '@/api/jobUserManager/jobhunt';
|
|
|
import {getSysDictionaryList} from '@/api/system/dictionary';
|
|
|
import {getPaginationTotalTitle} from '@/utils/common';
|
|
|
import dayjs from 'dayjs';
|
|
|
import BImportExcel from "@/components/basic/excel/importExcel/importExcel.vue";
|
|
|
import BExportExcel from "@/components/basic/excel/exportExcel/exportExcel.vue";
|
|
|
-import {message, Modal} from "ant-design-vue";
|
|
|
import {ExclamationCircleOutlined} from "@ant-design/icons-vue";
|
|
|
import type {ImportProps} from "@/components/basic/excel/importExcel/ImportProps";
|
|
|
import {useTabsViewStore} from "@/store/modules/tabsView";
|
|
@@ -208,7 +210,7 @@ export default defineComponent({
|
|
|
}
|
|
|
},
|
|
|
{title: '推荐数量', key: 'recommendNum', align: "center"},
|
|
|
- {title: '操作', key: 'operation', fixed: 'right', width: 170, align: "center"},
|
|
|
+ {title: '操作', key: 'operation', fixed: 'right', width: 220, align: "center"},
|
|
|
];
|
|
|
const pagination = computed(() => ({
|
|
|
total: formState.total,
|
|
@@ -323,6 +325,10 @@ export default defineComponent({
|
|
|
tabsViewStore.addTabByPath('/jobusermgr/jobhunt/edit', {id: id});
|
|
|
};
|
|
|
|
|
|
+ const onDetail = (id: string) => {
|
|
|
+ tabsViewStore.addTabByPath('/jobusermgr/jobhunt/detail', {id: id});
|
|
|
+ };
|
|
|
+
|
|
|
const onRecommendCompanyPost = (item) => {
|
|
|
recommendRef.value.show(item.professionID, item.professionName, item.jobHuntID, item.jobUserName, 0,
|
|
|
item.parentProfessionID, item.cultureRank, item.workYear, item.minSalary, item.maxSalary,
|
|
@@ -379,6 +385,7 @@ export default defineComponent({
|
|
|
getJobHuntTypeList,
|
|
|
getJobUserTypeList,
|
|
|
getIsAccomplishList,
|
|
|
+ onDetail
|
|
|
};
|
|
|
},
|
|
|
created() {
|