Commit eb6e9b00 authored by duxinyuan's avatar duxinyuan

dxy321

parent 33b12621
......@@ -81,7 +81,10 @@
</footer>
</section>
<div v-show="initTabNumMain === 2" style="width:7.5rem;height:.78rem;background-color:rgba(255,147,24,1);text-align:center;color:rgba(255,255,255,1);font-size:.28rem;line-height:.78rem">
该时段总计:业绩 {{total1}} 实收 {{total2}}
城市该时间总计:业绩 {{total1}} 实收 {{total2}}
</div>
<div v-show="initTabNumMain === 2" style="width:7.5rem;height:.78rem;background-color:rgba(255,147,24,1);text-align:center;color:rgba(255,255,255,1);font-size:.28rem;line-height:.78rem">
公司该时间总计:业绩 {{total1}} 实收 {{total2}}
</div>
<div class="loading-gif-block" v-show="isLoadFlag">正在加载...</div>
</main>
......
......@@ -28,7 +28,7 @@
<img :src="index1*2+1 < item.scall/0.5-0.5 ? sr : ar" class="personScall-r" @click="changeStarR(stars,index1,index)">
</div>
<!--<img :src="index1 < item.scall ? starOn : starOff" class="starclass" v-for="item1,index1 in stars" @click="changeStar(stars,index1,index)">-->
<div style="float:left;height:.7rem;margin-right:.3rem;margin-left:.3rem;">
<div style="float:left;height:.7rem;margin-right:.3rem;margin-left:.5rem;">
<span style="line-height:.7rem;font-size:.28rem;font-family:PingFangSC-Regular;font-weight:4500;color:rgba(39,39,39,1);">{{item.pj}}</span>
</div>
</div>
......@@ -62,18 +62,18 @@
objs : [
{
name : '专业' ,
scall : 1 ,
pj :'非常满意'
scall : 0.5 ,
pj :'很差'
},
{
name : '态度' ,
scall : 2.5 ,
pj :'非常满意'
scall : 0.5 ,
pj :'很差'
},
{
name : '着装' ,
scall : 3 ,
pj :'非常满意'
scall : 0.5 ,
pj :'很差'
}
]
}),
......@@ -81,10 +81,12 @@
changeStarL ( obj , index ,i) {
let that = this ;
that.objs[i].scall = index+0.5 ;
that.objs[i].pj = that.changeStr(index+0.5) ;
},
changeStarR ( obj , index ,i) {
let that = this ;
that.objs[i].scall = index+1 ;
that.objs[i].pj = that.changeStr(index+1) ;
},
autoTextarea(e,height) {
if ( e.target.scrollHeight >height ){
......@@ -92,8 +94,25 @@
e.target.style.height = e.target.scrollHeight +'px';
}
},
changeStr (_fen){
if(_fen >= 4) {
return '非常推荐';
} else if(_fen >= 3) {
return '很好';
} else if(_fen >= 2) {
return '一般';
} else if(_fen >= 1) {
return '很差';
} else {
return '非常差';
};
},
commit (){
let that = this ;
if(that.desc.length<5){
layer.tipsX("经纪人评价需要大于5个字");
return false ;
}
let data = {
evaluate_grade : that.objs[0].scall*2,
evaluate_grade_attitude : that.objs[1].scall*2,
......@@ -104,8 +123,6 @@
source : 10 ,
record_id : 722 ,
agent_id : 6472,
}
console.log(data);
that.axios({
......
......@@ -31,6 +31,7 @@
<div class="leftDiv" v-show="item.type == 91 || item.type == 92"> 中介费类型: <!--{{getType(item.type)}}-->{{item.type_ext==0?'正常':'多收'}} </div>
<div class="rightDiv" v-show="item.type == 91 || item.type == 92"> 应收金额: {{(Math.floor(((item.price-0)*(item.type_ext == 0 ? 0.7 : 0))*100)/100).toFixed(2)}} </div>
<div class="leftDiv" v-show="item.type == 91"> 被收取方: <{{item.type_ext==1?'房东':'客户'}} </div>
<div class="woalDiv" v-show="item.type == 91 || item.type == 92"> 多收金额:{{(Math.floor((item.money - ((item.price-0)*(item.type_ext == 0 ? 0.7 : 0)) + (item.received_money-0)*(item.type_ext == 0 ? 1 : 0) )*100)/100).toFixed(2)}}</div>
<div class="leftDiv"> 手续费: {{item.transaction_fee}}</div>
......
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