Commit 046a3931 by Chao Sun

商机增员样式微调

parent e2b5b205
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve --host 192.168.124.107", "start": "ng serve --host 192.168.1.25",
"buildDev": "ng build -c=dev --prod", "buildDev": "ng build -c=dev --prod",
"buildStage": "ng build -c=stage --prod", "buildStage": "ng build -c=stage --prod",
"buildProd": "ng build -c=production --prod", "buildProd": "ng build -c=production --prod",
......
.wrapper { .wrapper {
padding-bottom: 40px; padding-bottom: 40px;
font-size: 16px;
select { select {
-webkit-appearance: none; -webkit-appearance: none;
border: none; border: none;
...@@ -43,7 +44,7 @@ ...@@ -43,7 +44,7 @@
color: #fff; color: #fff;
background: #0767bf; background: #0767bf;
text-align: center; text-align: center;
bottom: 50px; bottom: 5px;
} }
.contentDetail { .contentDetail {
margin-top: 15px; margin-top: 15px;
...@@ -69,6 +70,7 @@ ...@@ -69,6 +70,7 @@
box-shadow: none; box-shadow: none;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
font-size: 16px;
} }
.sexWrapper { .sexWrapper {
display: flex; display: flex;
...@@ -134,7 +136,7 @@ ...@@ -134,7 +136,7 @@
color: #fff; color: #fff;
background: #0767bf; background: #0767bf;
text-align: center; text-align: center;
bottom: 50px; bottom: 5px;
font-size: 28px; font-size: 28px;
// color: #ff5933; // color: #ff5933;
font-weight: bold; font-weight: bold;
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
<div class="salesItem" *ngFor="let businessItem of businessList" <div class="salesItem" *ngFor="let businessItem of businessList"
[routerLink]="['/business',businessItem.opportunityId]" [routerLink]="['/business',businessItem.opportunityId]"
[queryParams]="{orderId:businessItem.orderId,leadsAssignedId:businessItem.leadsAssignedId}"> [queryParams]="{orderId:businessItem.orderId,leadsAssignedId:businessItem.leadsAssignedId}">
<div class="icon_bolck"> <div class="icon_bolck" [ngStyle]="{'background':businessItem.expertType=='1'? '#ddd' : 'none'}">
<span class="iconfont icon-xiansuo1" *ngIf="businessItem.expertType=='0'"></span> <span class="iconfont icon-xiansuo1" *ngIf="businessItem.expertType=='0'"></span>
<span class="iconfont icon-zhuanjia" *ngIf="businessItem.expertType=='1'"></span> <span class="iconfont icon-zhuanjia" style="color: #093d9b;" *ngIf="businessItem.expertType=='1'"></span>
</div> </div>
<div class="line"> <div class="line">
<div>姓名:{{businessItem.name}}</div> <div>姓名:{{businessItem.name}}</div>
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
placeholder="{{readonlyFlag ?'暂无预计报聘时间':'请选择预计报聘时间'}}" [(ngModel)]="editRecruiting.timeToOnboarding" placeholder="{{readonlyFlag ?'暂无预计报聘时间':'请选择预计报聘时间'}}" [(ngModel)]="editRecruiting.timeToOnboarding"
[disabled]="readonlyFlag" (blur)="inputBlur()" /> [disabled]="readonlyFlag" (blur)="inputBlur()" />
<input *ngIf="!readonlyFlag" class="form-control" type="date" <input *ngIf="!readonlyFlag" class="form-control" type="date"
[ngStyle]="{'margin-right':this.isPC == '1' ? '-8%' : '-4.5%'}"
placeholder="{{readonlyFlag ?'暂无预计报聘时间':'请选择预计报聘时间'}}" [(ngModel)]="editRecruiting.timeToOnboarding" placeholder="{{readonlyFlag ?'暂无预计报聘时间':'请选择预计报聘时间'}}" [(ngModel)]="editRecruiting.timeToOnboarding"
[disabled]="readonlyFlag" (blur)="inputBlur()" /> [disabled]="readonlyFlag" (blur)="inputBlur()" />
</div> </div>
......
.wrapper { .wrapper {
font-size: 16px;
select{ select{
-webkit-appearance: none; -webkit-appearance: none;
} }
...@@ -40,7 +41,7 @@ ...@@ -40,7 +41,7 @@
color: #fff; color: #fff;
background: #0767bf; background: #0767bf;
text-align: center; text-align: center;
bottom: 50px; bottom: 5px;
left: 42%; left: 42%;
} }
.contentDetail { .contentDetail {
...@@ -66,10 +67,10 @@ ...@@ -66,10 +67,10 @@
box-shadow: none; box-shadow: none;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
font-size: 16px;
} }
input[type="date"]{ input[type="date"]{
position: absolute; margin-right: -4.5%;
right: -6%;
direction: rtl; direction: rtl;
} }
.sexWrapper { .sexWrapper {
...@@ -142,7 +143,7 @@ ...@@ -142,7 +143,7 @@
color: #fff; color: #fff;
background: #0767bf; background: #0767bf;
text-align: center; text-align: center;
bottom: 50px; bottom: 5px;
font-size: 28px; font-size: 28px;
// color: #ff5933; // color: #ff5933;
font-weight: bold; font-weight: bold;
......
...@@ -39,6 +39,7 @@ export class RecruitingDetailComponent implements OnInit { ...@@ -39,6 +39,7 @@ export class RecruitingDetailComponent implements OnInit {
trackTime: any; trackTime: any;
status: any; status: any;
remarkId: any; remarkId: any;
isPC: any;
constructor( constructor(
private activateRoute: ActivatedRoute, private activateRoute: ActivatedRoute,
public lifeCommonService: LifeCommonService, public lifeCommonService: LifeCommonService,
...@@ -52,6 +53,7 @@ export class RecruitingDetailComponent implements OnInit { ...@@ -52,6 +53,7 @@ export class RecruitingDetailComponent implements OnInit {
} }
ngOnInit() { ngOnInit() {
this.isPC = this.lifeCommonService.checkDeviceType();
//潜在增员id //潜在增员id
this.potentialId = Number(this.activateRoute.snapshot.paramMap.get('id')); this.potentialId = Number(this.activateRoute.snapshot.paramMap.get('id'));
//状态 //状态
......
...@@ -24,7 +24,6 @@ export class SalaryComponent implements OnInit { ...@@ -24,7 +24,6 @@ export class SalaryComponent implements OnInit {
payScaleListQuery() { payScaleListQuery() {
this.myService.payScaleListQuery({ practitionerIdEG: this.practitionerIdEG }).subscribe((res) => { this.myService.payScaleListQuery({ practitionerIdEG: this.practitionerIdEG }).subscribe((res) => {
console.log(res)
if (res['success']) { if (res['success']) {
this.payScaleInfos = res['data']['payScaleInfos']; this.payScaleInfos = res['data']['payScaleInfos'];
} else { } else {
......
...@@ -36,7 +36,6 @@ export class SalesRankComponent implements OnInit { ...@@ -36,7 +36,6 @@ export class SalesRankComponent implements OnInit {
ngOnInit() { ngOnInit() {
this.practitionerBasicInfo = JSON.parse(localStorage.getItem("lifeCustomerInfo"))['practitionerBasicInfo']; this.practitionerBasicInfo = JSON.parse(localStorage.getItem("lifeCustomerInfo"))['practitionerBasicInfo'];
console.log(this.practitionerBasicInfo)
this.time = this.activatedRoute.snapshot.queryParams.time ? Number(this.activatedRoute.snapshot.queryParams.time) : null; this.time = this.activatedRoute.snapshot.queryParams.time ? Number(this.activatedRoute.snapshot.queryParams.time) : null;
//初始化查线上保费 //初始化查线上保费
this.rank(this.time, 1, 1) this.rank(this.time, 1, 1)
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<div class="rankInfoWrapper"> <div class="rankInfoWrapper">
<div class="rankContent"> <div class="rankContent">
<div class="tab"> <div class="tab">
<div style="font-size: 18px;">战队销售业绩预测</div> <div style="font-size: 18px;">战队销售业绩预测(预计)</div>
<ul> <ul>
<li [ngClass]="{selected:selectedSalseItem==='m'}" (click)="salesPerformanceForecastListQuery('m')">本月</li> <li [ngClass]="{selected:selectedSalseItem==='m'}" (click)="salesPerformanceForecastListQuery('m')">本月</li>
<li [ngClass]="{selected:selectedSalseItem==='q'}" (click)="salesPerformanceForecastListQuery('q')">本季</li> <li [ngClass]="{selected:selectedSalseItem==='q'}" (click)="salesPerformanceForecastListQuery('q')">本季</li>
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
<div class="content_wrapper forecast"> <div class="content_wrapper forecast">
<ul> <ul>
<li class="name">姓名</li> <li class="name">姓名</li>
<li>保费</li> <li>FYP</li>
<li>佣金</li> <li>FYC</li>
<li class="count">件数</li> <li class="count">件数</li>
<li>完成率</li> <li>完成率</li>
</ul> </ul>
......
...@@ -74,8 +74,9 @@ ...@@ -74,8 +74,9 @@
} }
.content_wrapper.forecast{ .content_wrapper.forecast{
ul li{ ul li{
width: 30%; width: 28%;
margin: 0; margin: 0;
overflow: hidden;
} }
ul li:nth-child(2),ul li:nth-child(3){ ul li:nth-child(2),ul li:nth-child(3){
text-align: right; text-align: right;
...@@ -84,10 +85,10 @@ ...@@ -84,10 +85,10 @@
width: 22%; width: 22%;
} }
ul li:nth-child(4),ul li:nth-child(5){ ul li:nth-child(4),ul li:nth-child(5){
width: 15%; width: 16%;
} }
ul li.name{ ul li.name{
width: 18%; width: 15%;
} }
} }
......
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