时佳豪 пре 2 година
родитељ
комит
8f97c10671
4 измењених фајлова са 37 додато и 32 уклоњено
  1. +14
    -14
      src/page/wel.vue
  2. +5
    -6
      src/views/Statistics/ReceptionStatistical.vue
  3. +2
    -2
      src/views/Statistics/TrendAnalysis.vue
  4. +16
    -10
      src/views/admin/dept/index.vue

+ 14
- 14
src/page/wel.vue Прегледај датотеку

@@ -230,8 +230,8 @@
</el-table-column>

<el-table-column
prop="num"
label="禁忌执行率"
prop="name"
label="客户"
align="center">
</el-table-column>

@@ -502,17 +502,17 @@
<div class="pagechen">
<div class="pageboxtitle1">有效接待</div>
<div class="pageboxtitle2">
<div class="span1">{{sysSec.customerQuantity || 0}}</div>
<div class="span1">{{sysSec.activeCustomer || 0}}</div>
<div class="span2">
<span class="span2-1"> 环比:{{sysCompare.customerQuantity || 0}}</span>
<span class="span2-1"> 环比:{{sysCompare.activeCustomer || 0}}</span>
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> -->
<span class="span2-2" v-if="orderBy.customerQuantity>0">
<span class="span2-2" v-if="orderBy.activeCustomer>0">
<i class="el-icon-top" style="color: red;"></i>
{{orderBy.customerQuantity || 0}}%
{{orderBy.activeCustomer || 0}}%
</span>
<span class="span2-3" v-if="orderBy.customerQuantity<0">
<span class="span2-3" v-if="orderBy.activeCustomer<0">
<i class="el-icon-bottom" style="color: #25CEBA;"></i>
{{orderBy.customerQuantity || 0}}%
{{orderBy.activeCustomer || 0}}%
</span>
</div>
</div>
@@ -599,17 +599,17 @@
<div class="pagechen">
<div class="pageboxtitle1">有效接待</div>
<div class="pageboxtitle2">
<div class="span1">{{sysSec.customerQuantity || 0}}</div>
<div class="span1">{{sysSec.activeCustomer || 0}}</div>
<div class="span2">
<span class="span2-1"> 环比:{{sysCompare.customerQuantity || 0}}</span>
<span class="span2-1"> 环比:{{sysCompare.activeCustomer || 0}}</span>
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> -->
<span class="span2-2" v-if="orderBy.customerQuantity>0">
<span class="span2-2" v-if="orderBy.activeCustomer>0">
<i class="el-icon-top" style="color: red;"></i>
{{orderBy.customerQuantity || 0}}%
{{orderBy.activeCustomer || 0}}%
</span>
<span class="span2-3" v-if="orderBy.customerQuantity<0">
<span class="span2-3" v-if="orderBy.activeCustomer<0">
<i class="el-icon-bottom" style="color: #25CEBA;"></i>
{{orderBy.customerQuantity || 0}}%
{{orderBy.activeCustomer || 0}}%
</span>
</div>
</div>


+ 5
- 6
src/views/Statistics/ReceptionStatistical.vue Прегледај датотеку

@@ -323,6 +323,8 @@ export default {
this.customtime=[];
this.TimetoAhoose=4;
this.statDateStart= '';
this.deptId=''
this.accountId=''
this.statDateEnd= '';
this.tabtimetap(4);
this.deptFindList();
@@ -397,7 +399,9 @@ export default {
},
];
this.options.push(...res.data);
this.receptionStatisticsAllAccount();
this.accountRank();

});
},
deptChange() {
@@ -412,12 +416,7 @@ export default {
})
.then((res) => {
console.log(res);
this.repList = [
{
name: "全部",
deptId: "",
},
];
this.repList = [];
this.repList.push(...res.data);
this.accountRank();
});


+ 2
- 2
src/views/Statistics/TrendAnalysis.vue Прегледај датотеку

@@ -107,14 +107,14 @@
<div class="shang">
<div class="zuo">
<div class="text1">平均接待时长/min</div>
<div class="text2">{{Math.floor(cardobj.startSumDuration/60)||0}}</div>
<div class="text2">{{cardobj.startSumDuration||0}}</div>
</div>
<div class="you">
<img class="youimg" src="/img/waves3.png" alt="" />
</div>
</div>
<div v-if="Confirmthecontrast" class="xia">
<span class="span1">对比:{{Math.floor(cardobj.endSumDuration/60) ||0}}</span>
<span class="span1">对比:{{cardobj.endSumDuration ||0}}</span>
<span class="span2">{{cardobj.contrastSumDuration ||0}}%</span>
</div>
</div>


+ 16
- 10
src/views/admin/dept/index.vue Прегледај датотеку

@@ -216,16 +216,22 @@ export default {
this.deptList=res.data
if(this.deptList.length==0){
// this.$message.warning('没有别的部门啦!')
this.$api.api.deptDel({
houseId:this.houseId,
deptId:row.deptId
// ...this.deptForm,
})
.then(res=>{
console.log(res);
this.deptFindByPage();
this.$message.success('删除成功')
})
if(this.tableData[0].peopleCount>0){
this.$message.warning('当前部门下还有用户!')
return
}else{
this.$api.api.deptDel({
houseId:this.houseId,
deptId:row.deptId
// ...this.deptForm,
})
.then(res=>{
console.log(res);
this.deptFindByPage();
this.$message.success('删除成功')
})
}

}else{
this.deptVisible = true;
}


Loading…
Откажи
Сачувај