wupengfei
2025-10-31 1883a98aaf5c6fba5e3ef9c2966932b9ac170457
fix: bug
4个文件已修改
24 ■■■■■ 已修改文件
src/hooks/settlement.ts 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/enterpriseWallet.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/typings.d.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/EmploymentManage/TaskManageList.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/hooks/settlement.ts
@@ -23,14 +23,19 @@
  return { taskSelect };
}
export function useEnterpriseWalletAccessSelect() {
type EnterpriseWalletAccessSelectOptions = {
  supplierEnterpriseId: MaybeRef<string>;
};
export function useEnterpriseWalletAccessSelect(options: EnterpriseWalletAccessSelectOptions) {
  const { supplierEnterpriseId } = options;
  const queryClient = useQueryClient();
  const { data } = useQuery({
    queryKey: ['enterpriseWalletServices/getEnterpriseWalletAccessSelect'],
    queryKey: ['enterpriseWalletServices/getEnterpriseWalletAccessSelect', supplierEnterpriseId],
    queryFn: () => {
      return enterpriseWalletServices.getEnterpriseWalletAccessSelect(
        {},
        { supplierEnterpriseId: unref(supplierEnterpriseId) },
        {
          showLoading: false,
        }
src/services/api/enterpriseWallet.ts
@@ -266,8 +266,6 @@
      method: 'GET',
      params: {
        ...params,
        request: undefined,
        ...params['request'],
      },
      ...(options || {}),
    }
src/services/api/typings.d.ts
@@ -118,8 +118,8 @@
  }
  interface APIgetEnterpriseWalletAccessSelectParams {
    /** 查询已签约企业钱包通道选择器数据 */
    request?: GetEnterpriseWalletAccessSelectQuery;
    /** 供应商Id */
    supplierEnterpriseId?: string;
  }
  interface APIgetEnterpriseWalletExpandindirectOrderParams {
@@ -4654,8 +4654,6 @@
    /** 是否已配置 */
    isConfigured?: boolean;
  }
  type GetEnterpriseWalletAccessSelectQuery = Record<string, any>;
  interface GetEnterpriseWalletAccessSelectQueryOption {
    /** Id */
src/views/EmploymentManage/TaskManageList.vue
@@ -43,7 +43,7 @@
          </QueryFilterItem>
        </template>
        <template #btn>
          <el-button @click="goAddOrEdit()" type="primary">发布</el-button>
          <!-- <el-button @click="goAddOrEdit()" type="primary">发布</el-button> -->
        </template>
      </ProTableQueryFilterBar>
      <ProTableV2
@@ -284,6 +284,9 @@
    params: {
      id: row?.id ?? '',
    },
    query: {
      supplierEnterpriseId: row?.supplierEnterpriseId,
    },
  });
}
function goDetail(row: API.GetTaskInfosQueryResultItem) {