lewis
ebd32e3bc8
Merge branch 'develop' into 'develop'
...
更新邮件模板;修改供应商用户信息模型定义;修改部分信息编辑模式下可修改信息代码的bug;调整比价前端效果
See merge request pisteams/pis!37
2026-04-03 02:40:25 +00:00
nebula_chen
af9406db3a
Merge branch 'develop' into 'develop'
...
# Conflicts:
# backend/apps/pisadmin/basicinfo/views/email_template.py
2026-04-03 02:23:36 +00:00
nebula_chen
3c50ad5d40
修改供应商用户信息表序列化器;修改操作日志写入逻辑;新增前端操作日志在询价单发布后显示供应商报价一览;调整报价单详情页成本结构前端设计
2026-04-03 10:20:32 +08:00
lewis_yan
5273e787f8
chore(dashboard): remove debug print statements
2026-04-03 09:44:32 +08:00
lewis_yan
720cf60d97
fix(dashboard): superadmin sees all supplier quotes, KPI及时的率, and UI polish
...
- Fix superadmin supplier dashboard: show all quotes instead of filtering by username
- Fix Count('id') -> Count('autoid') in trend queries
- Add quote_timely_rate, on_time_quotes, overdue_quotes to supplier KPI
- Add status field to supplier pending quotes
- Buyer chart now uses real trend data from backend
- Supplier quote list height matches buyer task list
- Remove KPI card top color bars
- Enlarge KPI card text (title: 18px, value: 52px) and center align
2026-04-03 09:43:28 +08:00
lewis_yan
57236e1633
docs: add PR template for standardized pull requests
...
- Add change description, related issues
- Add change type checklist (Feature/Bugfix/Hotfix/Refactor)
- Add self-check checklist for pre-commit compliance
- Add reviewer notes section
2026-04-03 09:22:44 +08:00
lewis_yan
16871c3333
feat(git): add husky + lint-staged for frontend
...
- Add .husky/pre-commit hook running lint-staged
- Add .lintstagedrc.json for staged file linting
- Add prepare script for husky setup on npm install
2026-04-03 09:22:24 +08:00
lewis_yan
921a1e2179
feat(git): add pre-commit with ruff for backend
...
- Add .pre-commit-config.yaml with ruff (lint + format)
- Add pre-commit and ruff to requirements.txt
- Ruff replaces flake8 + black + isort (10-100x faster)
2026-04-03 09:19:32 +08:00
lewis_yan
68eb2687c9
docs: add Git collaboration implementation plan
...
Plan for:
- Backend pre-commit with ruff (.pre-commit-config.yaml)
- Frontend husky + lint-staged setup
- PR template (.github/PULL_REQUEST_TEMPLATE.md)
2026-04-03 09:07:07 +08:00
lewis_yan
89de7b9da5
docs: update Git collaboration design - remove team size reference
2026-04-03 09:02:16 +08:00
lewis_yan
114720e557
docs: add Git collaboration design specification
...
Establish standard Git workflow for 6-person team:
- Standard Git Flow branch model
- PR/MR template and review process
- Code review etiquette (1-approver rule)
- Git Hooks: pre-commit for backend, husky for frontend
- Jenkins CI/CD integration
- Branch protection rules
2026-04-03 08:58:58 +08:00
nebula_chen
67b6cae723
更新邮件模板;修改供应商用户信息模型定义;修改部分信息编辑模式下可修改信息代码的bug;调整比价前端效果
2026-04-02 20:12:32 +08:00
lewis_yan
8d649ba43e
docs: update AI Agent design for AVC - use domestic LLM
...
Changes:
- Company name: AVC internal Agent development
- Model: Switch to domestic Chinese models (Qwen/ChatGLM)
2026-04-02 19:41:37 +08:00
lewis_yan
16c25dae4d
docs: add AI Agent design specification
...
Enterprise internal AI Agent design including:
- LangChain/LangGraph based multi-agent architecture
- Hybrid router (rule + small model intent classification)
- Tools layer design (SQL Server, API, file parsing, RAG, etc.)
- Storage layer (Milvus, SQL Server, Redis)
- Deployment architecture
2026-04-02 19:36:36 +08:00
lewis_yan
5c8317f490
feat(dashboard): highlight task count in red on dashboard section titles
...
Show pending task count in parentheses with red highlight on both buyer
and supplier dashboard section headers for better visibility.
2026-04-02 19:18:25 +08:00
lewis_yan
2134f6573f
refactor(dashboard): unify buyer and supplier dashboards with right sidebar
...
- Replace notification card with home image and quick navigation
- Add welcome header text to both dashboards
- Fix dashboard API URL to use /api prefix consistently
- Adjust task table to flex-grow and fill available height
- Reduce quick nav icon and padding sizes
- Update responsive breakpoints
2026-04-02 18:31:42 +08:00
lewis_yan
65078bce29
feat(login): update page titles to distinguish buyer and supplier portals
...
- Change buyer login title to "采购询报价系统 - 采购端"
- Change supplier login title to "采购询报价系统 - 供应商端"
2026-04-02 17:34:32 +08:00
lewis_yan
279f7a052b
fix(pisadmin): remove duplicate /api prefix in dashboard API URL
...
VITE_API_URL in production already includes /api, so the hardcoded
/api in the URL was causing double /api/ path (api/api/...).
2026-04-02 14:31:09 +08:00
lewis_yan
5e1c5d793c
fix(scripts): improve Windows PowerShell compatibility
...
- Add note recommending Git Bash over PowerShell for best compatibility
- start-celery.ps1: use cmd /c approach with --pool solo to avoid
billiard multiprocessing issues on Windows; improve process tracking
- Remove Set-Location from scripts as it's unnecessary
2026-04-02 14:28:41 +08:00
lewis_yan
7a8b4ff7d5
docs: add Windows Celery PowerShell compatibility notes
...
Document known issues with Celery on Windows PowerShell (billiard
multiprocessing incompatibility) and recommend using Git Bash instead.
2026-04-02 14:28:37 +08:00
lewis_yan
2e861cd0cb
fix(infra): update REDIS_HOST to deployment server
...
Change REDIS_HOST from local address to deployment server address.
2026-04-02 14:28:33 +08:00
lewis_yan
4fe91758e4
chore: update favicon.ico
2026-04-02 13:55:27 +08:00
lewis_yan
eb7c97f807
chore(login): remove debug console.log statements from account.vue
2026-04-02 11:33:04 +08:00
lewis_yan
ab37702ee4
feat(celery): register check-quote-deadline-expired beat schedule
2026-04-02 10:45:41 +08:00
lewis_yan
b508242456
feat(celery): add check_quote_deadline_expired periodic task
2026-04-02 10:45:11 +08:00
lewis_yan
03edefa636
feat(email): register TEMPLATE_QUOTE_DEADLINE_EXPIRED template
2026-04-02 10:44:24 +08:00
lewis_yan
6d2723b220
feat(email): add quote deadline expired notification templates
2026-04-02 10:43:46 +08:00
lewis_yan
90539f9b9c
docs: add quote deadline email notification design spec
2026-04-02 10:40:19 +08:00
lewis_yan
98563d279e
Merge branch 'develop' of http://192.168.80.90:8086/pisteams/pis into develop
2026-04-02 10:32:15 +08:00
lewis_yan
45eccc45ec
test: update Django+DRF testing infrastructure
...
- pytest.ini: use application.test_settings for MSSQL compatibility
- conftest.py: move to backend root; use UserFactory with Sequence
- application/test_settings.py: NoCreateTestDatabase patch for MSSQL
- test_serializers.py: use chinese error keys (django_restql behavior)
- test_views.py: use API response code assertions (SuccessResponse format)
2026-04-02 10:26:12 +08:00
lewis_yan
5a65c441bd
feat(login): add /api/login/supplier/ route in application urls
2026-04-02 10:25:55 +08:00
lewis_yan
8a4498feaf
fix: set layout logo title to 'PIS'
2026-04-02 10:24:49 +08:00
lewis_yan
f35ab7dbf9
feat: set menu bar title to 'PIS', login pages use full name
2026-04-02 10:22:48 +08:00
lewis_yan
8d0c9b0607
revert: restore full title on login pages, menu bar will use separate PIS setting
2026-04-02 10:22:24 +08:00
lewis_yan
449151df3c
fix: hardcode 'PIS' as site title in login pages
2026-04-02 10:21:31 +08:00
lewis_yan
7bb0d406bd
feat(login): update site brand title to 'Procurement Inquiry System'
2026-04-02 10:15:44 +08:00
lewis_yan
6b8d31e4a3
fix: add lodash import to supplier.vue
2026-04-02 10:14:30 +08:00
allen_xiong
ceaa3bdc1f
Merge branch 'develop' into 'develop'
...
Develop
See merge request pisteams/pis!36
2026-04-02 02:07:05 +00:00
lewis_yan
f54d7b85a3
fix(login): allow /login/supplier route to be accessed without token
2026-04-02 10:01:03 +08:00
lewis_yan
e05ad38dc1
feat(login): use supplier-specific background image for supplier login page
2026-04-02 09:59:13 +08:00
lewis_yan
eb1e8c3f5d
test: add CurrencyViewSet tests for basicinfo
2026-04-02 09:58:36 +08:00
lewis_yan
8d46b5c4fa
test: add CurrencySerializer tests for basicinfo
2026-04-02 09:58:19 +08:00
lewis_yan
5df83edb1e
test: add CurrencyFactory and UnitFactory for basicinfo app
2026-04-02 09:58:03 +08:00
lewis_yan
36065c33d4
feat(login): add clear '采购方登录' title to buyer login page
2026-04-02 09:57:53 +08:00
lewis_yan
dfc0c742c2
test: add basicinfo tests directory
2026-04-02 09:57:10 +08:00
lewis_yan
6ba1f57453
test: add UserFactory for system models
2026-04-02 09:57:02 +08:00
lewis_yan
23b892b05e
test: add global conftest.py with fixtures
2026-04-02 09:56:52 +08:00
lewis_yan
f09af5b0ce
test: add global tests directory structure
2026-04-02 09:56:41 +08:00
lewis_yan
388efbe918
test: add pytest.ini configuration
2026-04-02 09:56:29 +08:00
lewis_yan
0b27dd143e
feat(login): add supplier login page component
...
- Create supplier.vue with green theme to distinguish from buyer portal
- Modify account.vue to dynamically select login API based on URL
2026-04-02 09:54:14 +08:00