@@ -751,6 +775,7 @@ const profileStats = computed(() => {
let mbtiCount = 0
let sbtiCount = 0
let anyTestCount = 0
+ let cooperationCount = 0
for (const u of list) {
const hasFace = !!(
u.faceMbtiType ||
@@ -767,8 +792,9 @@ const profileStats = computed(() => {
if (hasMbti) mbtiCount++
if (hasSbti) sbtiCount++
if (hasFace || hasMbti || hasSbti || hasDisc || hasPdp) anyTestCount++
+ if (u.cooperationModeCode || u.cooperationModeTitle || u.cooperationChosenAt) cooperationCount++
}
- return { faceCount, mbtiCount, sbtiCount, anyTestCount }
+ return { faceCount, mbtiCount, sbtiCount, anyTestCount, cooperationCount }
})
async function loadUsers() {
@@ -1242,6 +1268,16 @@ onMounted(() => {
}
}
+ &.profile-summary--six {
+ grid-template-columns: repeat(6, minmax(0, 1fr));
+ @media (max-width: 1280px) {
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+ }
+ @media (max-width: 900px) {
+ grid-template-columns: repeat(2, 1fr);
+ }
+ }
+
@media (max-width: 900px) {
grid-template-columns: repeat(2, 1fr);
}
@@ -1278,6 +1314,7 @@ onMounted(() => {
&.ic-indigo { background: #eef2ff; }
&.ic-violet { background: #f5f3ff; }
&.ic-amber { background: #fffbeb; }
+ &.ic-coop { background: #f0fdf4; }
}
.summary-body {
@@ -1380,6 +1417,29 @@ onMounted(() => {
}
}
+ .coop-cell {
+ display: flex;
+ flex-direction: column;
+ gap: 2px;
+ line-height: 1.35;
+ }
+ .coop-title {
+ font-size: 13px;
+ font-weight: 500;
+ color: #111827;
+ }
+ .coop-code {
+ font-size: 12px;
+ color: #6b7280;
+ }
+ .coop-time {
+ font-size: 12px;
+ color: #9ca3af;
+ }
+ .coop-empty {
+ color: #d1d5db;
+ }
+
.user-info-cell {
display: flex;
align-items: center;
diff --git a/admin/src/views/superadmin/CooperationChoicesPanel.vue b/admin/src/views/superadmin/CooperationChoicesPanel.vue
new file mode 100644
index 0000000..c01467e
--- /dev/null
+++ b/admin/src/views/superadmin/CooperationChoicesPanel.vue
@@ -0,0 +1,193 @@
+
+
+
+ 先选择要查看的企业,再加载或导出该企业在小程序中记录的用户合作意向(与表 mbti_user_cooperation_choices 一致)。
+
+
+
+
+
+
+
+ 查询
+ 导出 CSV
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/admin/src/views/superadmin/EnterpriseHub.vue b/admin/src/views/superadmin/EnterpriseHub.vue
index 8588b57..5c15563 100644
--- a/admin/src/views/superadmin/EnterpriseHub.vue
+++ b/admin/src/views/superadmin/EnterpriseHub.vue
@@ -27,6 +27,7 @@
+