Commit 02bc737d by Sweet Zhang

测试报聘新增字段

parent 0dd13d49
...@@ -15,7 +15,13 @@ export class EmployQuery { ...@@ -15,7 +15,13 @@ export class EmployQuery {
public subsystemOwnerId?:number, public subsystemOwnerId?:number,
public subsystemOwner?:string, public subsystemOwner?:string,
public branchId?:number, public branchId?:number,
public branch?:string public branch?:string,
public s3SubordinateSystemName?:string,
public s3TeamLeaderName?:string,
public s2SubordinateSystemName?:string,
public s2TeamLeaderName?:string,
public s1SubordinateSystemName?:string,
public s1TeamLeaderName?:string,
) { ) {
} }
} }
\ No newline at end of file
...@@ -17,16 +17,32 @@ ...@@ -17,16 +17,32 @@
<div>{{membership?.introducer}}</div> <div>{{membership?.introducer}}</div>
</div> </div>
<div class="contentItem"> <div class="contentItem">
<span>体系名</span> <span>分公司</span>
<div>{{membership?.subsystem}}</div> <div>{{membership?.branch}}</div>
</div>
<div class="contentItem">
<span>S3纵队</span>
<div>{{membership?.s3SubordinateSystemName}}</div>
</div>
<div class="contentItem">
<span>纵队负责人</span>
<div>{{membership?.s3TeamLeaderName}}</div>
</div>
<div class="contentItem">
<span>S2体系</span>
<div>{{membership?.s2SubordinateSystemName}}</div>
</div> </div>
<div class="contentItem"> <div class="contentItem">
<span>体系负责人</span> <span>体系负责人</span>
<div>{{membership?.subsystemOwner}}</div> <div>{{membership?.s2TeamLeaderName}}</div>
</div> </div>
<div class="contentItem"> <div class="contentItem">
<span>分公司</span> <span>S1分部</span>
<div>{{membership?.branch}}</div> <div>{{membership?.s1SubordinateSystemName}}</div>
</div>
<div class="contentItem">
<span>分部负责人</span>
<div>{{membership?.s1TeamLeaderName}}</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
.content { .content {
padding: 10px 5px; padding: 10px 5px;
position: relative; position: relative;
padding-bottom: 70px;
.contentDetail { .contentDetail {
.contentItem { .contentItem {
display: flex; display: flex;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<ul> <ul>
<li *ngFor="let fileUploadItem of fileUploadItemList"> <li *ngFor="let fileUploadItem of fileUploadItemList">
<a href="{{fileUploadItem.filePath}}" download="{{fileUploadItem.itemName}}" target="_blank" *ngIf="!judgmentFile(fileUploadItem.filePath)"> <a href="{{fileUploadItem.filePath}}" download="{{fileUploadItem.itemName}}" target="_blank" *ngIf="!judgmentFile(fileUploadItem.filePath)">
<div> <div style="overflow-x: hidden; white-space: nowrap;text-overflow: ellipsis;">
<i class="iconfont icon-pdf"></i> <i class="iconfont icon-pdf"></i>
<span title="{{fileUploadItem.itemName}}">{{fileUploadItem.itemName}}</span> <span title="{{fileUploadItem.itemName}}">{{fileUploadItem.itemName}}</span>
</div> </div>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
</a> </a>
<a href="javascript:;" [routerLink]="'/video'" *ngIf="judgmentFile(fileUploadItem.filePath)" (click)="setVideoPath(fileUploadItem.filePath)"> <a href="javascript:;" [routerLink]="'/video'" *ngIf="judgmentFile(fileUploadItem.filePath)" (click)="setVideoPath(fileUploadItem.filePath)">
<div> <div style="overflow-x: hidden; white-space: nowrap;text-overflow: ellipsis;">
<img src="assets/images/videoIcon.png" alt="视频" *ngIf="judgmentFile(fileUploadItem.filePath)" style=" width: 26px; <img src="assets/images/videoIcon.png" alt="视频" *ngIf="judgmentFile(fileUploadItem.filePath)" style=" width: 26px;
margin-right: 6px;"> margin-right: 6px;">
<span title="{{fileUploadItem.itemName}}">{{fileUploadItem.itemName}}</span> <span title="{{fileUploadItem.itemName}}">{{fileUploadItem.itemName}}</span>
......
...@@ -41,7 +41,7 @@ export class FileUploadComponent implements OnInit { ...@@ -41,7 +41,7 @@ export class FileUploadComponent implements OnInit {
let filename = picUrl; //文件路径地址 let filename = picUrl; //文件路径地址
let index1 = filename.lastIndexOf("."); let index1 = filename.lastIndexOf(".");
let index2 = filename.length; let index2 = filename.length;
let postf = filename.substring(index1, index2); //获取文bai件后缀名duzhi let postf = filename.substring(index1, index2).toLowerCase(); //获取文bai件后缀名duzhi
//判断文件后缀名是否等于视频文件的后缀名 //判断文件后缀名是否等于视频文件的后缀名
if (postf===".avi"||postf===".mp4"||postf===".rmvb"||postf===".mov") { if (postf===".avi"||postf===".mp4"||postf===".rmvb"||postf===".mov") {
return true return true
......
...@@ -7,15 +7,15 @@ ...@@ -7,15 +7,15 @@
<ul class="dateContent"> <ul class="dateContent">
<li> <li>
<ListItem <ListItem DatePicker [mode]="'month'" [(ngModel)]="searchDateFormat" (onOk)="onOk($event)">
DatePicker {{searchDateFormat | date:'yyyy-MM'}} <i class="iconfont icon-xiangxia" style="margin-left: 10px;"></i>
[mode]="'month'" </ListItem>
[(ngModel)]="searchDateFormat"
(onOk)="onOk($event)" <span> - </span>
>
{{searchDate}} <i class="iconfont icon-xiangxia" style="margin-left: 10px;"></i> <ListItem DatePicker [mode]="'month'" [(ngModel)]="searchDateEndFormat" (onOk)="onOk($event)">
{{searchDateEndFormat | date:'yyyy-MM'}} <i class="iconfont icon-xiangxia" style="margin-left: 10px;"></i>
</ListItem> </ListItem>
</li> </li>
</ul> </ul>
<ul class="detailLists"> <ul class="detailLists">
......
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { LifeCommonService } from 'src/app/common/life-common.service';
import { MyService } from '../my.service'; import { MyService } from '../my.service';
@Component({ @Component({
...@@ -10,12 +11,12 @@ export class IntegrationDetailComponent implements OnInit { ...@@ -10,12 +11,12 @@ export class IntegrationDetailComponent implements OnInit {
integralGrantInfos:Array<any>; integralGrantInfos:Array<any>;
lists:Array<any>; lists:Array<any>;
status:number = 1; status:number = 1;
searchDate:string = '2022年';
searchDateFormat:Date = new Date(2022, 1); searchDateFormat:Date = new Date(2022, 1);
constructor(private myService:MyService) { } searchDateEndFormat:Date = new Date(2022, 1);
constructor(private myService:MyService,private lifeCommonService:LifeCommonService) { }
ngOnInit() { ngOnInit() {
this.queryPractitionerIntegralList(); this.queryPractitionerIntegralList(this.lifeCommonService.dateFormat(this.searchDateFormat,'yyyy-MM-01'),this.lifeCommonService.dateFormat(this.searchDateEndFormat,'yyyy-MM-01'));
} }
queryLists(status){ queryLists(status){
this.status = status; this.status = status;
...@@ -29,20 +30,7 @@ export class IntegrationDetailComponent implements OnInit { ...@@ -29,20 +30,7 @@ export class IntegrationDetailComponent implements OnInit {
}) })
} }
currentDateFormat(date, format: string = 'yyyy-mm'): any {
const pad = (n: number): string => (n < 10 ? `0${n}` : n.toString());
return format
.replace('yyyy', date.getFullYear())
.replace('mm', pad(date.getMonth() + 1))
.replace('dd', pad(date.getDate()))
.replace('HH', pad(date.getHours()))
.replace('MM', pad(date.getMinutes()))
.replace('ss', pad(date.getSeconds()));
}
onOk(result: Date) { onOk(result: Date) {
this.searchDate = this.currentDateFormat(result); this.queryPractitionerIntegralList(this.lifeCommonService.dateFormat(this.searchDateFormat,'yyyy-MM-01'),this.lifeCommonService.dateFormat(this.searchDateEndFormat,'yyyy-MM-01'));
this.searchDateFormat = result;
this.queryPractitionerIntegralList(this.searchDate + '-01')
} }
} }
<div class="integrationContainer"> <div class="integrationContainer">
<header> <header>
<div class="left"> <div class="left">
<div><strong>{{practitionerIntegrals?.integralCountNumber}}</strong><i class="iconfont icon-zhuyishixiang" [routerLink]="'/integration_rule'"></i></div> <div><strong>{{practitionerIntegrals?.integralCountNumber ? practitionerIntegrals?.integralCountNumber : 0}}</strong><i class="iconfont icon-zhuyishixiang" [routerLink]="'/integration_rule'"></i></div>
<div style="font-size: 12px;">{{practitionerIntegrals?.integralNumberOld}} 积分有效期至 {{practitionerIntegrals?.effectiveOld}}</div> <div style="font-size: 12px;">{{practitionerIntegrals?.integralNumberOld}} 积分有效期至 {{practitionerIntegrals?.effectiveOld}}</div>
</div> </div>
<div class="right"> <div class="right">
......
...@@ -157,14 +157,14 @@ ...@@ -157,14 +157,14 @@
<span>介绍人</span> <span>介绍人</span>
<div (click)="vagueSearch(2)" style="padding-right: 12px;">{{defalutIntroducer}}</div> <div (click)="vagueSearch(2)" style="padding-right: 12px;">{{defalutIntroducer}}</div>
</div> </div>
<div class="contentItem"> <!-- <div class="contentItem">
<span>体系名</span> <span>体系名</span>
<div><input type="text" [(ngModel)]="employQuery.subsystem" class="form-control" disabled/></div> <div><input type="text" [(ngModel)]="employQuery.subsystem" class="form-control" disabled/></div>
</div> </div>
<div class="contentItem"> <div class="contentItem">
<span>体系负责人</span> <span>体系负责人</span>
<div><input type="text" [(ngModel)]="employQuery.subsystemOwner" class="form-control" disabled/></div> <div><input type="text" [(ngModel)]="employQuery.subsystemOwner" class="form-control" disabled/></div>
</div> </div> -->
<div class="contentItem"> <div class="contentItem">
<span>分公司</span> <span>分公司</span>
<div *ngIf="employQuery.mdDropOptionId != 30"> <div *ngIf="employQuery.mdDropOptionId != 30">
...@@ -178,6 +178,30 @@ ...@@ -178,6 +178,30 @@
</option> </option>
</select> </select>
</div> </div>
<div class="contentItem">
<span>S3纵队</span>
<div>{{employQuery?.s3SubordinateSystemName}}</div>
</div>
<div class="contentItem">
<span>纵队负责人</span>
<div>{{employQuery?.s3TeamLeaderName}}</div>
</div>
<div class="contentItem">
<span>S2体系</span>
<div>{{employQuery?.s2SubordinateSystemName}}</div>
</div>
<div class="contentItem">
<span>体系负责人</span>
<div>{{employQuery?.s2TeamLeaderName}}</div>
</div>
<div class="contentItem">
<span>S1分部</span>
<div>{{employQuery?.s1SubordinateSystemName}}</div>
</div>
<div class="contentItem">
<span>分部负责人</span>
<div>{{employQuery?.s1TeamLeaderName}}</div>
</div>
<!-- <div class="contentItem"> <!-- <div class="contentItem">
<span>分公司</span> <span>分公司</span>
<div *ngIf="defalutMentor !='请选择辅导人' && defalutMentor != '/'"> <div *ngIf="defalutMentor !='请选择辅导人' && defalutMentor != '/'">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment