소스 검색

修改样式

message
corala 2 년 전
부모
커밋
ed3ad78104
3개의 변경된 파일59개의 추가작업 그리고 48개의 파일을 삭제
  1. +7
    -3
      pages/center/Piabodata/Employeesstatistics.vue
  2. +49
    -43
      pages/center/consumer/newFollowup/newFollowup.vue
  3. +3
    -2
      pages/mine/details.vue

+ 7
- 3
pages/center/Piabodata/Employeesstatistics.vue 파일 보기

@@ -217,9 +217,9 @@
{{item.name.substring(0,4)}}</view>
<view class="progress-cus">
<view class="color1" v-if="index==0" :style="'width:'+ item.zxl||0 + '%'" ></view>
<view class="color2" v-if="index==1" :style="'width:'+ getPercent(item.zxl,4)+ '%'" ></view>
<view class="color3" v-if="index==2" :style="'width:'+ getPercent(item.zxl,4) + '%'" ></view>
<view class="color4" v-if="index>2" :style="'width:'+ getPercent(item.zxl,4)+ '%'" ></view>
<view class="color2" v-if="index==1" :style="'width:'+ getPercent(item.zxl,5)+ '%'" ></view>
<view class="color3" v-if="index==2" :style="'width:'+ getPercent(item.zxl,5) + '%'" ></view>
<view class="color4" v-if="index>2" :style="'width:'+ getPercent(item.zxl,5)+ '%'" ></view>
</view>
<view class="jindu-zxl" >{{item.zxl==null?0:item.zxl}}次</view>
</view>
@@ -316,6 +316,10 @@
let index0 = this.newlisttabinfo4.result[0]
let percent = num/(index0.zxl) * 100
return percent.toFixed(2)
}else if(this.newlisttabinfo5.result&&this.newlisttabinfo5.result.length&&type==5){
let index0 = this.newlisttabinfo5.result[0]
let percent = num/(index0.zxl) * 100
return percent.toFixed(2)
}else{
return 0
}


+ 49
- 43
pages/center/consumer/newFollowup/newFollowup.vue 파일 보기

@@ -1,20 +1,17 @@
<template>
<view class="box">
<view class="screen">
<!-- 录音标示 -->
<view class="screen-record">
<view class="screen-record-text">
最新状态
</view>
<view class="screen-record-tab">
<view v-for="(item,index) in stateList" :key="index">
<view :class="[screen.state==index?'screen-record-chose':'screen-record-nochose']"
@click="screen.state=index">
{{item.stageName}}
</view>
<!-- 最新状态 -->
<view class="screen">
<view class="screen-counselor">
<view class="screen-text">
最新状态
</view>
<view class="screen-sel" @click="selectshow = true">
<input v-model="screen.stageName" type="text" placeholder='请选择'
class="screen-inp" disabled />
<image class="screen-sel-img" src="/static/images/right-arrow.png" mode=""></image>
</view>
</view>
</view>
<!-- 录音标示 -->
<view class="screen-record">
<view class="screen-record-text">
@@ -69,9 +66,8 @@
保存
</view>
</view>
<u-select v-model="selectshow" value-name="id" label-name="stageName" :list="stateList" @confirm="actionSelectCallback"></u-select>
</view>


</view>
</template>

@@ -85,8 +81,11 @@
selectTipshow: false,
buildingID: '',
keyword: '',
stageIndex: '',
screen: {
state: '0',
stageId: '',
stageCode: '',
stageName: '',
con: "",
level: '1'
},
@@ -115,13 +114,18 @@
// this.getMyCustom()
// this.getFreeList()
this.getNewStatus()
this.getCustomerType();
},
methods: {
//选择顾问
//最新状态
actionSelectCallback(e) {
this.screen.agentId = e[0].value;
this.screen.agentIdtext = e[0].label;
console.log(e)
this.screen.stageId = e[0].value;
this.screen.stageName = e[0].label;
this.stateList.forEach((item, index) => {
if (item.stageName == this.screen.stageName) {
this.screen.stageCode = item.stageCode
}
})
},
getCustomerType() {
this.$u.get("/customer/queryKeyWords").then(res => {
@@ -132,20 +136,24 @@
})
},
getNewStatus() {
var that = this;
let premo = {
houseId: uni.getStorageSync('buildingID').id
}
this.$u.post('/customer/getStage', premo)
.then(res => {
res.map((item, index) => {
if (item.stageName == this.clientStageName) {
this.screen.state = index
}
})
if(res&& res.length){
res.forEach((item, index) => {
if (item.stageName == this.clientStageName) {
this.screen.stageId=res[index].id
this.screen.stageCode=res[index].stageCode
this.screen.stageName=res[index].stageName
}
})
this.stateList = res
}else{
this.stateList = []
}
})

},
checkbox(idx) {
console.log(idx)
@@ -183,16 +191,15 @@
})
// console.log(type)
let param = {
"stageCode": this.stateList[this.screen.state].stageCode,
"stageName": this.stateList[this.screen.state].stageName,
"stageCode": this.screen.stageCode,
"stageName": this.screen.stageName,
"remarks": this.screen.con,
orgCode: this.orgCode,
words,
// "settingTime":"",
"agentRelationPo": {
"customerId": this.customerId,
"level": this.screen.level,
"state": this.stateList[this.screen.state].id
"state": this.screen.stageId
}
}
this.$u.post('/customer/addZkDailyWorkRecord', param)
@@ -214,40 +221,39 @@
}

.screen {
// box-sizing: border-box;
// padding: 0 30rpx;
background: #FFFFFF;

.screen-counselor {
display: flex;
align-items: center;
height: 106rpx;
// padding: 40rpx 30rpx 36rpx 30rpx;
padding: 0 30rpx;
box-sizing: border-box;
border-bottom: 1px solid #CCCCCC;
border-bottom: 1rpx solid #CCCCCC;
padding: 0 30rpx;

.screen-text {
margin: 40rpx 0 36rpx 0;
font-size: 30rpx;
font-weight: 400;
color: #333333;
line-height: 30rpx;
line-height: 106rpx;
}

.screen-sel {
display: flex;
justify-content: space-between;
justify-content: flex-end;
align-items: center;
width: 500rpx;
margin-left: 60rpx;

.screen-sel-img {
margin: 40rpx 0 36rpx 0;
width: 14rpx;
height: 30rpx;
flex-shrink: 0;
width: 12rpx;
height: 28rpx;
}

.screen-inp {
margin-top: 20rpx;
padding: 0 20rpx;
text-align: right;
}
}
}


+ 3
- 2
pages/mine/details.vue 파일 보기

@@ -1411,11 +1411,12 @@
.scroll-Y .text .content {
margin-left: 30rpx;
text-align: left;
padding: 0 20rpx;
padding: 15rpx 20rpx;
line-height: 42rpx;
background: #f8f8f8;
border-radius: 12rpx;
max-width: 460rpx;
color: #999;
color: #505050;
position: relative;

.tankuangcss {


불러오는 중...
취소
저장