添加页面
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Date: 2025-10-16 15:15:47
|
||||
* @LastEditors: shirlwang
|
||||
* @LastEditTime: 2025-11-04 16:34:54
|
||||
* @LastEditTime: 2025-11-05 17:29:18
|
||||
-->
|
||||
<template>
|
||||
<view>
|
||||
@@ -11,17 +11,17 @@
|
||||
<view class="kinggang">
|
||||
<view>
|
||||
<view class="num-title" style="color: #1A62CE">重点毕业生数</view>
|
||||
<view>1120</view>
|
||||
<view>{{infoData.allPersonCount}}</view>
|
||||
</view>
|
||||
<text style="color: #B5C1D1;">|</text>
|
||||
<view>
|
||||
<view class="num-title" style="color: #16ACB7">累计需求数</view>
|
||||
<view>1120</view>
|
||||
<view>{{infoData.demandNum}}</view>
|
||||
</view>
|
||||
<text style="color: #B5C1D1;">|</text>
|
||||
<view>
|
||||
<view class="num-title" style="color: #6A57D1">累计服务数</view>
|
||||
<view>1120</view>
|
||||
<view>{{infoData.fwNum}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="trace-line">
|
||||
@@ -60,6 +60,7 @@
|
||||
<view style="color: #EF7325;">{{getDictLabel(item.currentStatus, qcjy_xqlc)}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="view-more-btn" @click="viewMore">查看更多内容</view>
|
||||
<view class="titles">
|
||||
<view class="title-item active"><view>待服务毕业生列表</view></view>
|
||||
<view>共 {{jobListcount}} 条信息</view>
|
||||
@@ -92,6 +93,7 @@
|
||||
<view @click="tiao(item)">服务</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="view-more-btn" @click="goPersonalList">查看更多内容</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
@@ -149,11 +151,17 @@ function back() {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
|
||||
};
|
||||
function viewMore() {
|
||||
uni.navigateTo({
|
||||
url: '/packageRc/pages/needs/needsList'
|
||||
});
|
||||
}
|
||||
let qcjy_xqlx = ref([])
|
||||
let qcjy_xqlc = ref([])
|
||||
let infoData = ref({})
|
||||
import {getDicts} from '@/apiRc/system/dict'
|
||||
import {getStatistic} from '@/apiRc/personinfo/index'
|
||||
onMounted(() => {
|
||||
getlist();
|
||||
getlistyujing();
|
||||
@@ -163,6 +171,9 @@ onMounted(() => {
|
||||
getDicts('qcjy_xqlc').then(res => {
|
||||
qcjy_xqlc.value = res.data
|
||||
});
|
||||
getStatistic().then(res => {
|
||||
infoData.value = res.data
|
||||
})
|
||||
});
|
||||
function getDictLabel(value, list) {
|
||||
const item = list.find(item => item.dictValue === value);
|
||||
@@ -171,7 +182,7 @@ function getDictLabel(value, list) {
|
||||
async function getlist(){
|
||||
|
||||
try {
|
||||
const res = await personInfoList();
|
||||
const res = await personInfoList({pageNum: 1, pageSize: 5})
|
||||
console.log("res", res);
|
||||
jobList.value = res.rows || [];
|
||||
jobListcount.value=res.total || 0
|
||||
@@ -183,7 +194,7 @@ async function getlist(){
|
||||
async function getlistyujing(){
|
||||
|
||||
try {
|
||||
const res = await personAlertList();
|
||||
const res = await personAlertList({pageNum: 1, pageSize: 5});
|
||||
console.log("res", res);
|
||||
jobList1.value = res.rows || [];
|
||||
jobList1count.value=res.total || 0
|
||||
@@ -259,11 +270,6 @@ function cancelReturn() {
|
||||
returnReasonPopup.value.close()
|
||||
}
|
||||
}
|
||||
function viewMore() {
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/jobList/jobList'
|
||||
// })
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
@@ -622,4 +628,16 @@ view{box-sizing: border-box;display: block;}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.view-more-btn{
|
||||
padding: 10rpx 56rpx;
|
||||
background: #FFFFFF;
|
||||
color: #4C6EFB;
|
||||
border: 1rpx solid #4C6EFB;
|
||||
text-align: center;
|
||||
border-radius: 40rpx;
|
||||
width: fit-content;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user