This commit is contained in:
tianfeng 2025-08-25 17:33:04 +08:00
parent a38c1e9da0
commit 3451ee849b
2 changed files with 7 additions and 13 deletions

View File

@ -44,7 +44,7 @@
<!-- 左侧用户信息 -->
<div class="user-info">
<div class="user-name">{{ member.memberProfile?.userNickname || 'Unknown User' }}</div>
<div class="user-id">ID: {{ member.memberProfile?.id || 'N/A' }}</div>
<div class="user-id">ID: {{ member.memberProfile?.account || 'N/A' }}</div>
<div class="user-target">
<span class="target-badge">Target: A</span>
</div>
@ -58,7 +58,7 @@
</div>
<div class="time-info">
<span class="time-label">Time (Days):</span>
<span class="time-value">{{ calculateEffectiveDays(member.target?.onlineTime) }}</span>
<span class="time-value">{{ member.target.onlineTime }}</span>
</div>
</div>
</div>

View File

@ -149,14 +149,14 @@
<h3>Work Report Help</h3>
<button class="close-btn" @click="closeHelpModal">×</button>
</div>
<div class="help-modal-body">
<div class="help-section">
<p class="help-description">
Shown below is the work report of the members "More" can view more work detailed.
</p>
</div>
<div class="help-section">
<h4>Status Description:</h4>
<div class="status-list">
@ -219,9 +219,10 @@ import { ref, onMounted } from 'vue'
import { useRouter } from 'vue-router'
import MobileHeader from '../components/MobileHeader.vue'
import { getTeamMemberWork } from '../api/teamBill.js'
import {getUserId} from "@/utils/userStore.js";
const router = useRouter()
const totalSalary = ref('12345')
const totalSalary = ref('0.00')
const showSalaryModal = ref(false)
const showHelpModal = ref(false)
const loading = ref(false)
@ -385,16 +386,9 @@ const closeHelpModal = () => {
showHelpModal.value = false
}
//
const showSalaryInfo = () => {
showSalaryModal.value = true
}
//
onMounted(() => {
// ID
const userId = router.currentRoute.value.query.userId || '1911661502909562881'
fetchWorkReports(userId)
fetchWorkReports(getUserId())
})
</script>