zhengyiming
2025-10-28 ff6ff2ce99fa53338a07c9987ce1c7f1e569c483
feat: init
1个文件已删除
4个文件已修改
1075 ■■■■■ 已修改文件
.env.development 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
CHANGELOG.md 943 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
config/config.ts 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/EmploymentManage/TaskManageList.vue 106 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vite.config.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -1,5 +1,5 @@
# 项目本地运行端口号
VITE_PORT = 8198
VITE_PORT = 8199
# 开发环境读取配置文件路径
VITE_PUBLIC_PATH = /
CHANGELOG.md
File was deleted
config/config.ts
@@ -4,30 +4,20 @@
  /**
   * @description 网页title
   */
  title: '灵工企业客户端',
  title: '灵工承揽端',
  errorLog: 'production',
  loginFormTitle: '灵工企业客户端',
  loginFormTitle: '灵工承揽端',
});
type AppType = 'one' | 'rz' | 'jx';
const AppSettingMap = {
  one: {
    title: '灵工企业客户端',
    loginFormTitle: '灵工企业客户端',
    MenuTitle: '灵工企业客户端',
  },
  rz: {
    title: '聚千保理赔管理工具',
    loginFormTitle: '聚千保理赔管理工具',
    MenuTitle: '聚千保理赔',
  },
  jx: {
    title: '江西保险理赔管理工具',
    loginFormTitle: '江西保险理赔管理工具',
    MenuTitle: '江西保险理赔',
    title: '灵工承揽端',
    loginFormTitle: '灵工承揽端',
    MenuTitle: '灵工承揽端',
  },
};
src/views/EmploymentManage/TaskManageList.vue
@@ -88,18 +88,18 @@
});
const operationBtns = defineOperationBtns([
  {
    data: {
      enCode: 'editBtn',
      name: '编辑',
    },
    emits: {
      onClick: (role) => goAddOrEdit(role),
    },
    extraProps: {
      hide: (row: API.GetTaskInfosQueryResultItem) => row.status === EnumTaskStatus.Complete,
    },
  },
  // {
  //   data: {
  //     enCode: 'editBtn',
  //     name: '编辑',
  //   },
  //   emits: {
  //     onClick: (role) => goAddOrEdit(role),
  //   },
  //   extraProps: {
  //     hide: (row: API.GetTaskInfosQueryResultItem) => row.status === EnumTaskStatus.Complete,
  //   },
  // },
  {
    data: {
      enCode: 'detailBtn',
@@ -109,47 +109,47 @@
      onClick: (row: API.GetTaskInfosQueryResultItem) => goDetail(row),
    },
  },
  {
    data: {
      enCode: 'publishBtn',
      name: '发布',
    },
    emits: {
      onClick: (row: API.GetTaskInfosQueryResultItem) =>
        setTaskInfoReleaseStatus(row, EnumTaskReleaseStatus.InProcess),
    },
    extraProps: {
      hide: (row: API.GetTaskInfosQueryResultItem) =>
        row.releaseStatus === EnumTaskReleaseStatus.InProcess,
    },
  },
  {
    data: {
      enCode: 'unPublishBtn',
      name: '停止发布',
    },
    emits: {
      onClick: (row: API.GetTaskInfosQueryResultItem) =>
        setTaskInfoReleaseStatus(row, EnumTaskReleaseStatus.Stopped),
    },
    extraProps: {
      hide: (row: API.GetTaskInfosQueryResultItem) =>
        row.releaseStatus === EnumTaskReleaseStatus.Stopped,
    },
  },
  {
    data: {
      enCode: 'arrangeBtn',
      name: '安排',
    },
    emits: {
      onClick: (row: API.GetTaskInfosQueryResultItem) => handleArrange(row),
    },
    extraProps: {
      hide: (row: API.GetTaskInfosQueryResultItem) =>
        row.releaseStatus === EnumTaskReleaseStatus.Stopped,
    },
  },
  // {
  //   data: {
  //     enCode: 'publishBtn',
  //     name: '发布',
  //   },
  //   emits: {
  //     onClick: (row: API.GetTaskInfosQueryResultItem) =>
  //       setTaskInfoReleaseStatus(row, EnumTaskReleaseStatus.InProcess),
  //   },
  //   extraProps: {
  //     hide: (row: API.GetTaskInfosQueryResultItem) =>
  //       row.releaseStatus === EnumTaskReleaseStatus.InProcess,
  //   },
  // },
  // {
  //   data: {
  //     enCode: 'unPublishBtn',
  //     name: '停止发布',
  //   },
  //   emits: {
  //     onClick: (row: API.GetTaskInfosQueryResultItem) =>
  //       setTaskInfoReleaseStatus(row, EnumTaskReleaseStatus.Stopped),
  //   },
  //   extraProps: {
  //     hide: (row: API.GetTaskInfosQueryResultItem) =>
  //       row.releaseStatus === EnumTaskReleaseStatus.Stopped,
  //   },
  // },
  // {
  //   data: {
  //     enCode: 'arrangeBtn',
  //     name: '安排',
  //   },
  //   emits: {
  //     onClick: (row: API.GetTaskInfosQueryResultItem) => handleArrange(row),
  //   },
  //   extraProps: {
  //     hide: (row: API.GetTaskInfosQueryResultItem) =>
  //       row.releaseStatus === EnumTaskReleaseStatus.Stopped,
  //   },
  // },
]);
const router = useRouter();
vite.config.ts
@@ -99,10 +99,10 @@
    build: {
      outDir:
        mode === 'staging'
          ? `dist/dist-flexJobAdminBClient-${VITE_AppType}-${mode}`
          ? `dist/dist-flexJobUndertake-${VITE_AppType}-${mode}`
          : `dist/${dayjs().format(
              'YYYY-MM-DD'
            )}/dist-flexJobAdminBClient-${VITE_AppType}-${mode}-${dayjs().format('YYYYMMDD')}`,
            )}/dist-flexJobUndertake-${VITE_AppType}-${mode}-${dayjs().format('YYYYMMDD')}`,
    },
    optimizeDeps: {
      include: [