Commit Graph

652 Commits

Author SHA1 Message Date
danial
3de5d43a5a feat: 添加用户ID字段到多个请求模型和接口,更新相关文档 2025-04-29 10:00:32 +08:00
danial
d70469f585 fix: 修复沃尔玛订单界面中选择框组件的标签名称 2025-04-29 01:15:07 +08:00
danial
fbe2b7f9f2 feat: 优化沃尔玛分组管理界面,调整表单结构和按钮布局 2025-04-29 01:03:21 +08:00
danial
17ec6cf4fd feat: 更新沃尔玛账户管理界面,添加创建人字段并优化表单布局 2025-04-29 00:51:58 +08:00
danial
c0c7282b6e feat: 重构偷卡模块,新增列表和记录功能,优化组件导入 2025-04-29 00:17:32 +08:00
danial
4e903883e5 feat: 重构沃尔玛账户和分组管理界面,添加列表和统计模块切换功能 2025-04-29 00:13:21 +08:00
danial
06d031704f feat: 更新Walmart账户信息和分组展示,修改下载文件名称 2025-04-28 20:53:12 +08:00
danial
5e8e684ca5 feat: 优化Walmart信息卡片操作按钮样式及账户信息展示 2025-04-28 19:38:25 +08:00
danial
2cbc9e5d4b feat: 添加分页选项和页面大小变更功能 2025-04-28 19:16:46 +08:00
danial
718cd1d8a0 feat: 修改Walmart分组导出接口 2025-04-27 21:11:18 +08:00
danial
74292910a4 feat: 添加一个接口 2025-04-27 21:10:04 +08:00
danial
03b2ce0e4e feat: 修改下载接口 2025-04-27 20:54:31 +08:00
danial
23a76fad85 feat: 添加下载 接口 2025-04-27 20:38:35 +08:00
danial
c2cd419492 feat: 更新分组名称渲染逻辑
为分组名称添加了渲染函数,若未分组则显示“未分组”。
2025-04-27 17:04:05 +08:00
danial
2c43dd9fc3 feat: 修改接口 2025-04-27 17:03:20 +08:00
danial
484a1bd95e test: update test file 2025-04-27 16:36:50 +08:00
danial
6806a99c61 chore: update husky and lint-staged config 2025-04-27 16:35:12 +08:00
danial
cb3410d8e3 feat: 🔧测试 2025-04-27 16:29:44 +08:00
danial
8989b73744 chore: update lint-staged config 2025-04-27 16:28:30 +08:00
danial
09cb140228 test commit 2025-04-27 16:27:56 +08:00
danial
92cf43d2ba feat: 修改 分组接口 2025-04-27 16:24:07 +08:00
danial
7deede374c feat: 添加分组统计接口 2025-04-27 14:11:08 +08:00
danial
d6a956bb10 feat(iframe): 新增沃尔玛分组路由和组件
在路由中添加了新的沃尔玛分组路径,并引入相应的组件。同时,优化了分组管理页面的UI,更新了表单和表格的结构,提升了用户体验。新增的统计功能支持下载和搜索功能。
2025-04-26 23:09:24 +08:00
danial
6dd182ddfc refactor(views): update order list table and fetch logic
Simplify the order list table by removing unused templates and updating the fetch logic to use the new API endpoint. The changes improve maintainability and align with the updated API structure.
2025-04-25 00:23:39 +08:00
danial
a66eff51ee refactor(card-jd-ck): clean up and optimize account and order components
Remove unused code, update table column definitions, and simplify UI elements.
2025-04-24 23:43:57 +08:00
danial
7453842de2 chore: ⬆️升级依赖 2025-04-24 16:33:29 +08:00
danial
d89dfea58b refactor(account): remove token check from button rendering
The `checkTokenFromLogin` function was removed from the button rendering logic and its import, as it was deemed unnecessary for the component's functionality. This simplifies the code and reduces redundancy.
2025-04-07 20:35:18 +08:00
danial
6d5d2e21f1 refactor(api): update JD cookie management and related components
This commit refactors the JD cookie management API and associated components to improve maintainability and consistency. Key changes include:
- Updated API client to include `CkApi` for JD cookie operations.
- Added new models and updated existing ones for JD cookie management.
- Refactored components to use the updated API and models.
- Removed unused code and streamlined the logic for adding, updating, and deleting JD cookies.
2025-04-05 17:36:53 +08:00
danial
e8810af15f feat(api): add ck-api and related models for JD cookie management
This commit introduces a new API endpoint `ck-api` for managing JD cookies, including operations for adding, updating, deleting, and listing JD cookies. Additionally, several new models have been added to support these operations. The package manager version in `package.json` has also been updated to ensure compatibility.
2025-04-05 16:35:20 +08:00
danial
66caa6b214 build: 更新 TypeScript 编译器配置
- 将 lib 选项从 "ES2020" 修改为 "ES2022",以支持最新的 ECMAScript 特性
2025-03-31 23:36:31 +08:00
danial
ad92b36d2d refactor(views): 修改卡片兑换订单页面加载状态
- 将 useLoading 函数的初始加载状态从 true 修改为 false
- 优化页面加载逻辑,提高用户体验
2025-03-31 23:21:33 +08:00
danial
62a03edc50 refactor(card-jd-ck): 优化账户列表页面
- 注释掉 SummaryCard 组件
- 调整 useLoading 的初始加载状态为 false
2025-03-31 23:15:56 +08:00
danial
a25c44310a refactor(card-jd-ck): 重构京东CK管理页面
- 修改页面标题为"京东CK管理"
- 移除不必要的按钮和功能
- 更新表格列显示内容
- 注释掉部分API调用
- 优化页面布局和样式
2025-03-31 23:06:52 +08:00
danial
f6c40dffed refactor(card-jd-ck): 注释掉账户详情组件
在 card-jd-ck 账户页面中,注释掉了账户详情组件的引用和使用。保留了组件的定义,但暂时不再页面中渲染。
2025-03-31 22:30:05 +08:00
danial
71c78c83be feat(iframe): add AdminJdAccount and AdminJdOrder routes
Add new routes for managing JD accounts and orders in the admin interface. This includes the addition of new components for handling account details, order history, and summary views. The changes enable administrators to view and manage JD account and order data more effectively.
2025-03-31 12:28:54 +08:00
danial
d3237e9350 refactor(card-walmart-info): replace radio group with tabs for group selection
- Remove radio group component from account and order views
- Add tabs component for group selection
- Update layout and styling for better user experience
2025-03-31 00:06:28 +08:00
danial
d161cee9f7 feat(card-walmart-info): add redeem strategy selection
- Add a new form item for selecting redeem strategy
- Implement a dropdown with options for 'ck轮训' and '随机' strategies
- Import necessary components and enums for the new feature
2025-03-30 22:49:32 +08:00
danial
a06ee91c69 refactor(card): enhance type safety and add configuration option
- Improve type safety by using specific enum types for account status updates in Card C Trip Info and Card JD Info
- Add redeemOrderScheduleStrategy configuration option in Card Walmart Info
2025-03-30 22:40:20 +08:00
danial
091bc39fe3 build(api): update API client to use eslint
- Replace tslint with eslint for code linting
- Update file header comments to disable eslint instead of tslint
- Add blank lines for better readability
2025-03-30 22:38:02 +08:00
danial
d3b99f74b8 refactor(api): 更新 API 模型文件格式
- 将属性名称从驼峰式命名改为下划线命名
- 添加必要的 eslint-disable 注释
- 调整代码缩进和格式
2025-03-30 22:14:01 +08:00
danial
f03ca80132 style(api): 更新 API 生成代码
- 将 tslint 替换为 eslint
- 添加 TOTP API 的导入
- 更新文件头部注释
2025-03-30 20:40:41 +08:00
danial
6a2cef6c2e fix(order): add conditional rendering for refresh schedule tooltip
The tooltip for refreshing the schedule was being displayed for all records, regardless of their status.
2025-03-30 18:51:31 +08:00
danial
72e30c9dab refactor(card-walmart-info): 优化订单状态重置功能
- 修改了 API 调用路径,从 account 状态重置改为 order 状态重置
- 简化了重置状态方法的实现,去除了多余的嵌套
2025-03-30 16:29:44 +08:00
danial
89e6efb95d build: 添加 Java 和 OpenAPI 工具版本
- 在 .tool-versions 文件中添加 Java OpenJDK 21.0.2
- 在 package.json 中添加 @openapitools/openapi-generator-cli 2.18.4
2025-03-30 16:29:27 +08:00
danial
2833217835 chore(vscode): 移除 VSCode 配置文件
- 删除了 .vscode/settings.json 文件
- 清除了 TypeScript SDK、Vue3 Snippets、终端图片显示和差异编辑器代码透镜的设置
2025-03-30 16:06:57 +08:00
danial
fa8e3b149e ci: 添加 commitlint 校验
- 在 commit-msg 钩子中添加 pnpm commitlint --edit $1 命令- 确保每次提交都符合 commitlint 规则
2025-03-30 15:36:21 +08:00
danial
0ef83a6e62 build(deps): 更新依赖并调整项目配置
- 更新 @arco-design/web-vue 到 2.57.0
- 更新 axios 到 1.8.4
- 更新 echarts 到 5.6.0
- 更新 pinia 到 2.3.1
- 更新 rollup 到 4.38.0
- 更新 TypeScript 相关依赖
- 更新 ESLint 和 Stylelint 相关依赖
- 更新 Vite 到 5.4.15
- 添加 pnpm-workspace.yaml 配置
- 调整 .gitignore 和 .husky/pre-commit
- 修改 tsconfig.json 和 stylelint.config.js
2025-03-30 15:31:53 +08:00
danial
fe1c0d69ff fix(deploy): update healthcheck URL to use localhost
The healthcheck URL was updated from using the environment variable NGINX_CONFIG_URL to using 127.0.0.1 to ensure the healthcheck works correctly in the local environment. This change avoids potential issues with the environment variable not being properly resolved.
2025-03-30 00:36:11 +08:00
sunxiaolong
3d13780d46 style(api.md): standardize field names to use camel case
The field names in the API documentation were updated to follow camel case convention for consistency across the codebase. This change improves readability and aligns with the project's coding standards.
2025-03-29 23:54:31 +08:00
danial
f3f3b44125 feat(card-walmart-info): 添加订单刷新调度功能
- 在订单列表的操作列中添加刷新调度按钮
- 实现重置订单状态的功能
- 调用接口成功后显示成功消息并重新获取数据
2025-03-29 00:05:04 +08:00