police 添加数据统计接口

This commit is contained in:
wangyilin 2024-11-08 16:24:25 +08:00
parent 36506f3ffb
commit 34d4a9ed06
6 changed files with 28 additions and 17 deletions

View File

@ -1,6 +1,6 @@
.nameTitle {
position: absolute;
top: 277rpx;
top: 19%;
left: 55px;
height: 125rpx;
background-color: #fff;

View File

@ -1,6 +1,6 @@
.nameTitle {
position: absolute;
top: 277rpx;
top: 19%;
left: 55px;
height: 125rpx;
background-color: #fff;
@ -26,6 +26,9 @@
margin-left: -8px;
}
}
.nameTitle .itemSchool:nth-child(4) {
border-right: none;
}
.swiperDemoItem {
color: #3886d0;
display: flex;

View File

@ -17,16 +17,13 @@ page {
}
.project {
display: flex;
justify-content: space-between;
flex-flow: wrap;
text-align: center;
//display: flex;
//justify-content: space-between;
//flex-flow: wrap;
//text-align: center;
view {
width: 45%;
height: 100rpx;
border: 1px solid #cccccc;
line-height: 100rpx;
width: 100%;
margin: 8px 0 8px 0;
}
}

View File

@ -3,7 +3,7 @@
<view v-if="number !== 0" class="myProjectItem" v-for="(item, index) in myProjectList" :key="index">
<view style="display: flex; justify-content: space-between">
<text>{{ item?.name }}</text>
<!--<text>进行中</text>-->
<text>单位类型{{ item?.type.label }}</text>
</view>
<view class="myProjectIndex"
>地址
@ -15,7 +15,16 @@
</view>
<view class="project">
<view @click="projectClick(item?.name, serviceProject)" v-for="(serviceProject, index) in item.serviceProjectList" :key="index">
{{ serviceProject.name }}
<view style="border: 1px solid #cccccc;color: #9b9b9f">
<view style="display: flex; justify-content: space-between">
<text>项目名称{{serviceProject.name}}</text>
<text>项目类型{{serviceProject.type.label}}</text>
</view>
<view style="display: flex; justify-content: space-between">
<text>项目负责人{{serviceProject.projectManagerMiniProgramUserInfo?.name?serviceProject.projectManagerMiniProgramUserInfo?.name:'无分配项目经理'}}</text>
</view>
<view>责任单位{{serviceProject.securityUnitName}}</view>
</view>
</view>
</view>
</view>

View File

@ -61,7 +61,7 @@
<text>职位:{{ item.workPost ? item.workPost : '创建者' }}</text>
</view>
<view style="display: flex;justify-content: space-between">
<text>保安证件:{{ item.securityNumber ? item.securityNumber : '125241256451' }}</text>
<text>保安证件:{{ item.securityNumber ? item.securityNumber : '' }}</text>
<text>出生年月:{{ dayjs(item.dateOfBirth).format('YYYY-MM-DD') }}</text>
</view>
<view style="display: flex;justify-content: space-between">

View File

@ -15,6 +15,7 @@ export interface MyProjectList {
securityUnitId: string;
street?: string;
streetName?: string;
type?:any
}
export interface ContactPersonInfo {
@ -30,17 +31,18 @@ export interface ServiceProjectList {
name?: string;
remark?: string;
securityUserTotal?: number;
securityUnitName?:string;
serviceArea?: number;
snowFlakeId?: string;
staffTotal?: number;
type?: string;
type?: any;
projectManagerMiniProgramUserInfo?: ProgramUserInfo
}
export interface ProgramUserInfo {
idCard: null
name: string
telephone: string
idCard?: null
name?: string
telephone?: string
}
export interface ServiceProjectSecurityUserPagerVo {