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
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
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
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
36065c33d4
feat(login): add clear '采购方登录' title to buyer login page
2026-04-02 09:57:53 +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
lewis_yan
5ab5cca95e
feat(login): add /login/supplier route for supplier portal
2026-04-02 09:51:53 +08:00
lewis_yan
bd58c714ea
feat(login): add supplierLogin API method for supplier portal
2026-04-02 09:51:24 +08:00
lewis_yan
2efd971449
chore: remove version upgrade log from user dropdown menu
2026-04-02 09:32:16 +08:00
lewis_yan
4582dd5ef4
Merge branch 'develop' of http://192.168.80.90:8086/pisteams/pis into develop
2026-04-02 09:22:18 +08:00
lewis_yan
27b98bc73f
feat(dashboard): complete buyer/supplier dashboard redesign
...
Backend:
- Fix JWT auth header format (use "JWT " prefix)
- Fix DashboardView to return data for superadmin users
- Return empty structure when no business data exists
- Use serializers for response validation
Frontend:
- Redesign BuyerDashboard with new UI matching design spec
- Redesign SupplierDashboard with consistent styling
- Add role switcher for users with both buyer/supplier roles
- Fix FontAwesome icon class names (fa vs fas)
- Update tagsView title when switching roles via mitt event
- Add i18n translations for dashboard
Auth fixes:
- Fix token storage to use sessionStorage instead of Cookies
- Add route initialization guard to prevent duplicate routing
- Fix login flow for token handling
Files:
- Add BuyerDashboard, SupplierDashboard, KpiCard, TrendChart components
- Add dashboard API and Pinia store
- Add mitt event type for tagsView name update
2026-04-02 09:20:12 +08:00
nebula_chen
92c4f5d524
调整部分前端效果;增加报价单逾期写入履历表
2026-04-01 19:35:54 +08:00
lewis_yan
c55263f742
feat(dashboard): add dashboard route
2026-04-01 19:11:03 +08:00
lewis_yan
5106cfcdaa
feat(dashboard): add buyer/supplier dashboard pages
2026-04-01 19:10:31 +08:00
lewis_yan
15d06266b7
feat(dashboard): add dashboard Vue components
2026-04-01 19:09:24 +08:00
lewis_yan
c4a754753e
feat(dashboard): add dashboard API and Pinia store
2026-04-01 19:08:27 +08:00
allen_xiong
6d4e431a39
Merge branch 'develop' into 'develop'
...
新增邮件类型;调整部分前端效果
See merge request pisteams/pis!34
2026-04-01 09:36:20 +00:00
nebula_chen
0a1d5e29fb
新增邮件类型;调整部分前端效果
...
询价单详情页仅查看模式显示“询价单操作日志”;修改受邀供应商均报价提醒采购人员邮件文案;新增超过报价截止时间提醒采购人员邮件模板及调用
2026-04-01 17:18:59 +08:00
allen_xiong
670bb9c12f
Merge branch 'develop' into 'develop'
...
新增 - 所有供应商均提交报价邮件通知采购商;供应商用户信息表及相应序列化器
See merge request pisteams/pis!33
2026-04-01 06:49:42 +00:00
nebula_chen
c3ecfbfd56
实现询价操作日志查询接口;实现前端页面“询价操作日志查询”
2026-04-01 14:47:31 +08:00
lewis_yan
08e3767d6b
chore: use /api proxy in web .env.production
...
Switch VITE_API_URL from direct backend URL to /api proxy,
allowing nginx to handle routing to the backend container.
2026-04-01 11:47:40 +08:00
nebula_chen
0424a3e3f4
补充询价操作履历表更新逻辑;修复前端bug--报价单仅拉起10条数据;杂采报价相应表结构名更新前缀pis_misc_
2026-04-01 11:02:35 +08:00
lewis_yan
0a541826d4
chore: remove redundant Install & Build stage (Docker handles build)
2026-04-01 10:58:51 +08:00
lewis_yan
a44a0d847e
fix: correct COPY paths in web Dockerfile (build context is project root)
2026-04-01 10:54:26 +08:00
lewis_yan
30ba17c91e
chore: use pnpm instead of yarn in Jenkinsfile
2026-04-01 10:53:43 +08:00
lewis_yan
cf22b8cfe5
chore: use pnpm instead of yarn in web Dockerfile
2026-04-01 10:51:25 +08:00
lewis_yan
e0545af483
chore: restore Dockerfiles and update Jenkinsfile paths
...
- Add web/Dockerfile for frontend image build
- Add backend/Dockerfile for backend image build
- Update Jenkinsfile paths from docker_env/ to web/ and backend/
Note: docker_env directory was removed; Dockerfiles now placed in respective app directories.
2026-04-01 10:50:06 +08:00
lewis_yan
56aca2107b
chore: add pnpm-lock.yaml for faster builds
2026-04-01 10:39:57 +08:00
lewis_yan
f50c55408d
fix: push latest tag after build
2026-04-01 10:28:10 +08:00
allen_xiong
bf531c13fa
Merge branch 'develop' into 'develop'
...
报价单详情窗口、询价单详情窗口、比价窗口转为对应路由页面;
See merge request pisteams/pis!32
2026-04-01 01:12:05 +00:00
nebula_chen
fb308ca691
报价单详情窗口、询价单详情窗口、比价窗口转为对应路由页面;
2026-03-31 19:37:45 +08:00
lewis_yan
37027bf068
chore: remove deploy stage, only build and push to Harbor
2026-03-31 19:23:42 +08:00
lewis_yan
66c7721ced
fix: use usernamePassword instead of sshUserPrivateKey for deploy
2026-03-31 19:22:14 +08:00
lewis_yan
05d6932cbe
chore: rename image names to pis-backend and pis-web
2026-03-31 17:38:01 +08:00
lewis_yan
1b98690567
chore: update SERVER_HOST to actual deployment server IP
2026-03-31 17:37:12 +08:00
lewis_yan
6a17de2231
chore: update HARBOR_URL to actual Harbor address
2026-03-31 17:36:33 +08:00
lewis_yan
c228095c8f
fix(jenkins): install Node.js and yarn if not present
2026-03-31 17:25:18 +08:00
lewis_yan
e7f5e6e8fa
feat(jenkins): add frontend CI/CD pipeline
2026-03-31 16:50:40 +08:00