wupengfei
7 天以前 96f971701544e7f43752cc9d5891e52224112385
src/views/TaskManage/components/SignDetailView.vue
@@ -1,7 +1,7 @@
<template>
  <LoadingLayout :loading="state.loading">
    <AppContainer>
      <ProTableV2 v-bind="proTableProps" :columns="signColumns" :operationBtns="signOperationBtns">
      <ProTableV2 v-bind="proTableProps" :columns="signColumns" :showOperationColumn="false">
      </ProTableV2>
    </AppContainer>
  </LoadingLayout>
@@ -9,7 +9,7 @@
<script setup lang="ts">
import { ProTableV2, LoadingLayout, AppContainer, useTable } from '@bole-core/components';
import * as taskServices from '@/services/api/task';
import * as userResumeServices from '@/services/api/userResume';
defineOptions({
  name: 'SignDetailView',
@@ -48,15 +48,15 @@
} = useTable(
  async ({ pageIndex, pageSize }, extraParamState) => {
    try {
      let params: API.GetTaskInfosQuery = {
      let params: API.GetUserResumesQuery = {
        pageModel: {
          rows: pageSize,
          page: pageIndex,
          orderInput: extraParamState.orderInput,
        },
        enterpriseId: id,
        taskInfoId: id,
      };
      let res = await taskServices.getTaskInfos(params, {
      let res = await userResumeServices.getUserResumes(params, {
        showLoading: !state.loading,
      });
      return res;
@@ -66,7 +66,10 @@
    defaultExtraParams: {
      orderInput: [{ property: 'id', order: EnumPagedListOrder.Asc }],
    },
    columnsRenderProps: {},
    columnsRenderProps: {
      hireStatus: { type: 'enum', valueEnum: EnumTaskUserHireStatusText },
      gender: { type: 'enum', valueEnum: EnumUserGenderText },
    },
  }
);
</script>