|
@@ -32,7 +32,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<!-- 卡片部分 --> |
|
|
<!-- 卡片部分 --> |
|
|
<div class="page-container"> |
|
|
<div class="page-container"> |
|
|
<div class="pagechen" @click="toDetail('/ReceivingRecords/index', customtime.join(','))"> |
|
|
|
|
|
|
|
|
<div class="pagechen" @click="toDetail('/ReceivingRecords/index', '', '接待记录')"> |
|
|
<div class="pageboxtitle1">平均接待时长(分钟)</div> |
|
|
<div class="pageboxtitle1">平均接待时长(分钟)</div> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="span1">{{ cardlist.datalist.avgDuration || 0 }}</div> |
|
|
<div class="span1">{{ cardlist.datalist.avgDuration || 0 }}</div> |
|
@@ -52,7 +52,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="pagechen" @click="toDetail('/ReceivingRecords/index')"> |
|
|
|
|
|
|
|
|
<div class="pagechen" @click="toDetail('/ReceivingRecords/index', '', '接待记录')"> |
|
|
<div class="pageboxtitle1">平均执行率(%)</div> |
|
|
<div class="pageboxtitle1">平均执行率(%)</div> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="span1">{{ cardlist.datalist.fraction || 0 }}</div> |
|
|
<div class="span1">{{ cardlist.datalist.fraction || 0 }}</div> |
|
@@ -60,7 +60,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ cardlist.sequential.fraction || 0 }}</span |
|
|
环比:{{ cardlist.sequential.fraction || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.fraction || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="cardlist.liftlist.fraction > 0"> |
|
|
<span class="span2-2" v-if="cardlist.liftlist.fraction > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ cardlist.liftlist.fraction || 0 }}% |
|
|
{{ cardlist.liftlist.fraction || 0 }}% |
|
@@ -73,7 +72,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="pagechen"> |
|
|
|
|
|
|
|
|
<div class="pagechen" @click="toDetail('/ReceivingRecords/index', '', '接待记录')"> |
|
|
<div class="pageboxtitle1">接待量 (次)</div> |
|
|
<div class="pageboxtitle1">接待量 (次)</div> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="span1">{{ cardlist.datalist.receptionCount || 0 }}</div> |
|
|
<div class="span1">{{ cardlist.datalist.receptionCount || 0 }}</div> |
|
@@ -92,7 +91,11 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="pagechen"> |
|
|
|
|
|
|
|
|
<!-- validInvalid;//是否为有效接待 0:有效 1:无效 --> |
|
|
|
|
|
<div |
|
|
|
|
|
class="pagechen" |
|
|
|
|
|
@click="toDetail('/ReceivingRecords/index', 'validInvalid,0', '接待记录')" |
|
|
|
|
|
> |
|
|
<div class="pageboxtitle1">有效接待(次)</div> |
|
|
<div class="pageboxtitle1">有效接待(次)</div> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="span1">{{ cardlist.datalist.activeCustomer || 0 }}</div> |
|
|
<div class="span1">{{ cardlist.datalist.activeCustomer || 0 }}</div> |
|
@@ -100,7 +103,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ cardlist.sequential.activeCustomer || 0 }}</span |
|
|
环比:{{ cardlist.sequential.activeCustomer || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.activeCustomer || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="cardlist.liftlist.activeCustomer > 0"> |
|
|
<span class="span2-2" v-if="cardlist.liftlist.activeCustomer > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ cardlist.liftlist.activeCustomer || 0 }} |
|
|
{{ cardlist.liftlist.activeCustomer || 0 }} |
|
@@ -123,7 +125,10 @@ |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div style="margin-top: 20px" class="page-container"> |
|
|
<div style="margin-top: 20px" class="page-container"> |
|
|
<div class="pagechen"> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
class="pagechen" |
|
|
|
|
|
@click="toDetail('/ReceivingRecords/index', 'taboo,1', '接待记录')" |
|
|
|
|
|
> |
|
|
<div class="pageboxtitle1">违禁接待次数(次)</div> |
|
|
<div class="pageboxtitle1">违禁接待次数(次)</div> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="span1"> |
|
|
<div class="span1"> |
|
@@ -133,7 +138,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ cardlist.sequential.prohibitedCustomer || 0 }}</span |
|
|
环比:{{ cardlist.sequential.prohibitedCustomer || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.prohibitedCustomer || 0}}%</span> --> |
|
|
|
|
|
<span |
|
|
<span |
|
|
class="span2-2" |
|
|
class="span2-2" |
|
|
v-if="cardlist.liftlist.prohibitedCustomer > 0" |
|
|
v-if="cardlist.liftlist.prohibitedCustomer > 0" |
|
@@ -151,7 +155,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="pagechen"> |
|
|
|
|
|
|
|
|
<div class="pagechen" @click="toDetail('/ReceivingRecords/index', '', '接待记录')"> |
|
|
<div class="pageboxtitle1">违禁接待占比(%)</div> |
|
|
<div class="pageboxtitle1">违禁接待占比(%)</div> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="span1">{{ cardlist.datalist.prohibitedZb || 0 }}</div> |
|
|
<div class="span1">{{ cardlist.datalist.prohibitedZb || 0 }}</div> |
|
@@ -159,7 +163,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ cardlist.sequential.prohibitedZb || 0 }}</span |
|
|
环比:{{ cardlist.sequential.prohibitedZb || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.prohibitedZb || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="cardlist.liftlist.prohibitedZb > 0"> |
|
|
<span class="span2-2" v-if="cardlist.liftlist.prohibitedZb > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ cardlist.liftlist.prohibitedZb || 0 }}% |
|
|
{{ cardlist.liftlist.prohibitedZb || 0 }}% |
|
@@ -171,7 +174,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="pagechen"> |
|
|
|
|
|
|
|
|
<div class="pagechen" @click="toDetail('/Statistics/ConsultantBrand', '', '顾问排名')"> |
|
|
<div class="pageboxtitle1">顾问(人)</div> |
|
|
<div class="pageboxtitle1">顾问(人)</div> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="pageboxtitle2"> |
|
|
<div class="span1">{{ cardlist.datalist.accountNum || 0 }}</div> |
|
|
<div class="span1">{{ cardlist.datalist.accountNum || 0 }}</div> |
|
@@ -179,7 +182,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ cardlist.sequential.accountNum || 0 }}</span |
|
|
环比:{{ cardlist.sequential.accountNum || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="cardlist.liftlist.accountNum > 0"> |
|
|
<span class="span2-2" v-if="cardlist.liftlist.accountNum > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ cardlist.liftlist.accountNum || 0 }} |
|
|
{{ cardlist.liftlist.accountNum || 0 }} |
|
@@ -548,7 +550,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.equipmentQuantityWithSold || 0 }}</span |
|
|
环比:{{ sysCompare.equipmentQuantityWithSold || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.avgDuration || 0}}%</span> --> |
|
|
|
|
|
<span |
|
|
<span |
|
|
class="span2-2" |
|
|
class="span2-2" |
|
|
v-if="orderBy.equipmentQuantityWithSold > 0" |
|
|
v-if="orderBy.equipmentQuantityWithSold > 0" |
|
@@ -574,7 +575,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.activeEquipmentQuantity || 0 }}</span |
|
|
环比:{{ sysCompare.activeEquipmentQuantity || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.fraction || 0}}%</span> --> |
|
|
|
|
|
<span |
|
|
<span |
|
|
class="span2-2" |
|
|
class="span2-2" |
|
|
v-if="orderBy.activeEquipmentQuantity > 0" |
|
|
v-if="orderBy.activeEquipmentQuantity > 0" |
|
@@ -601,7 +601,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.activeUserQuantity || 0 }}</span |
|
|
环比:{{ sysCompare.activeUserQuantity || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.prohibitedCustomer || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.activeUserQuantity > 0"> |
|
|
<span class="span2-2" v-if="orderBy.activeUserQuantity > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.activeUserQuantity || 0 }} |
|
|
{{ orderBy.activeUserQuantity || 0 }} |
|
@@ -623,7 +622,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.receptionCount || 0 }}</span |
|
|
环比:{{ sysCompare.receptionCount || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.prohibitedZb || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.receptionCount > 0"> |
|
|
<span class="span2-2" v-if="orderBy.receptionCount > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.receptionCount || 0 }} |
|
|
{{ orderBy.receptionCount || 0 }} |
|
@@ -643,7 +641,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.activeCustomer || 0 }}</span |
|
|
环比:{{ sysCompare.activeCustomer || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.activeCustomer > 0"> |
|
|
<span class="span2-2" v-if="orderBy.activeCustomer > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.activeCustomer || 0 }} |
|
|
{{ orderBy.activeCustomer || 0 }} |
|
@@ -663,7 +660,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.prohibitedCount || 0 }}</span |
|
|
环比:{{ sysCompare.prohibitedCount || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.prohibitedCount > 0"> |
|
|
<span class="span2-2" v-if="orderBy.prohibitedCount > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.prohibitedCount || 0 }} |
|
|
{{ orderBy.prohibitedCount || 0 }} |
|
@@ -683,7 +679,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.receptionTimeWithAvg || 0 }}</span |
|
|
环比:{{ sysCompare.receptionTimeWithAvg || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.receptionTimeWithAvg > 0"> |
|
|
<span class="span2-2" v-if="orderBy.receptionTimeWithAvg > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.receptionTimeWithAvg || 0 }} |
|
|
{{ orderBy.receptionTimeWithAvg || 0 }} |
|
@@ -703,7 +698,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.receptionTime || 0 }}</span |
|
|
环比:{{ sysCompare.receptionTime || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.receptionTime > 0"> |
|
|
<span class="span2-2" v-if="orderBy.receptionTime > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.receptionTime || 0 }} |
|
|
{{ orderBy.receptionTime || 0 }} |
|
@@ -728,7 +722,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.receptionCount || 0 }}</span |
|
|
环比:{{ sysCompare.receptionCount || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.prohibitedZb || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.receptionCount > 0"> |
|
|
<span class="span2-2" v-if="orderBy.receptionCount > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.receptionCount || 0 }} |
|
|
{{ orderBy.receptionCount || 0 }} |
|
@@ -749,7 +742,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.activeCustomer || 0 }}</span |
|
|
环比:{{ sysCompare.activeCustomer || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.activeCustomer > 0"> |
|
|
<span class="span2-2" v-if="orderBy.activeCustomer > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.activeCustomer || 0 }} |
|
|
{{ orderBy.activeCustomer || 0 }} |
|
@@ -789,7 +781,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.receptionTime || 0 }}</span |
|
|
环比:{{ sysCompare.receptionTime || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.receptionTime > 0"> |
|
|
<span class="span2-2" v-if="orderBy.receptionTime > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.receptionTime || 0 }} |
|
|
{{ orderBy.receptionTime || 0 }} |
|
@@ -810,7 +801,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.receptionTimeWithAvg || 0 }}</span |
|
|
环比:{{ sysCompare.receptionTimeWithAvg || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.receptionTimeWithAvg > 0"> |
|
|
<span class="span2-2" v-if="orderBy.receptionTimeWithAvg > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.receptionTimeWithAvg || 0 }} |
|
|
{{ orderBy.receptionTimeWithAvg || 0 }} |
|
@@ -832,7 +822,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.avgFration || 0 }}</span |
|
|
环比:{{ sysCompare.avgFration || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.avgDuration || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.avgFration > 0"> |
|
|
<span class="span2-2" v-if="orderBy.avgFration > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.avgFration || 0 }}% |
|
|
{{ orderBy.avgFration || 0 }}% |
|
@@ -853,7 +842,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.prohibitedCount || 0 }}</span |
|
|
环比:{{ sysCompare.prohibitedCount || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.accountNum || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.prohibitedCount > 0"> |
|
|
<span class="span2-2" v-if="orderBy.prohibitedCount > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.prohibitedCount || 0 }} |
|
|
{{ orderBy.prohibitedCount || 0 }} |
|
@@ -874,7 +862,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.activeEquipmentQuantity || 0 }}</span |
|
|
环比:{{ sysCompare.activeEquipmentQuantity || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.fraction || 0}}%</span> --> |
|
|
|
|
|
<span |
|
|
<span |
|
|
class="span2-2" |
|
|
class="span2-2" |
|
|
v-if="orderBy.activeEquipmentQuantity > 0" |
|
|
v-if="orderBy.activeEquipmentQuantity > 0" |
|
@@ -903,7 +890,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.activeEquipmentQuantityZB || 0 }}</span |
|
|
环比:{{ sysCompare.activeEquipmentQuantityZB || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.prohibitedCustomer || 0}}%</span> --> |
|
|
|
|
|
<span |
|
|
<span |
|
|
class="span2-2" |
|
|
class="span2-2" |
|
|
v-if="orderBy.activeEquipmentQuantityZB > 0" |
|
|
v-if="orderBy.activeEquipmentQuantityZB > 0" |
|
@@ -930,7 +916,6 @@ |
|
|
<span class="span2-1"> |
|
|
<span class="span2-1"> |
|
|
环比:{{ sysCompare.activeHouseQuantity || 0 }}</span |
|
|
环比:{{ sysCompare.activeHouseQuantity || 0 }}</span |
|
|
> |
|
|
> |
|
|
<!-- <span class="span2-2">{{cardlist.liftlist.activeCustomer || 0}}%</span> --> |
|
|
|
|
|
<span class="span2-2" v-if="orderBy.activeHouseQuantity > 0"> |
|
|
<span class="span2-2" v-if="orderBy.activeHouseQuantity > 0"> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
<i class="el-icon-top" style="color: red"></i> |
|
|
{{ orderBy.activeHouseQuantity || 0 }} |
|
|
{{ orderBy.activeHouseQuantity || 0 }} |
|
@@ -1095,6 +1080,7 @@ |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { getStore, setStore } from "@/util/store"; |
|
|
import { getStore, setStore } from "@/util/store"; |
|
|
|
|
|
import { mapGetters } from "vuex"; |
|
|
export default { |
|
|
export default { |
|
|
name: "Wel", |
|
|
name: "Wel", |
|
|
data() { |
|
|
data() { |
|
@@ -1135,8 +1121,12 @@ export default { |
|
|
info: {}, |
|
|
info: {}, |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
computed: { |
|
|
|
|
|
...mapGetters(["permissions"]), |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
mounted() { |
|
|
mounted() { |
|
|
// location.reload(); |
|
|
|
|
|
this.role = localStorage.getItem("orgType"); |
|
|
this.role = localStorage.getItem("orgType"); |
|
|
this.info = getStore({ name: "userInfo" }); |
|
|
this.info = getStore({ name: "userInfo" }); |
|
|
if (this.role == 3) { |
|
|
if (this.role == 3) { |
|
@@ -1151,34 +1141,44 @@ export default { |
|
|
this.findProhibitedRecord(); |
|
|
this.findProhibitedRecord(); |
|
|
// 获取设备 |
|
|
// 获取设备 |
|
|
this.findAllZkEquipment(); |
|
|
this.findAllZkEquipment(); |
|
|
} |
|
|
|
|
|
// else if(this.role==0){ |
|
|
|
|
|
// // 系统 |
|
|
|
|
|
// // this.zkhousePage() |
|
|
|
|
|
// this.waitingForOperation() |
|
|
|
|
|
// } |
|
|
|
|
|
// else if(this.role==1){ |
|
|
|
|
|
// // 代理商 |
|
|
|
|
|
// // this.zkhousePage() |
|
|
|
|
|
// } |
|
|
|
|
|
else { |
|
|
|
|
|
|
|
|
} else { |
|
|
// 公司 |
|
|
// 公司 |
|
|
this.waitingForOperation(); |
|
|
this.waitingForOperation(); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
// 跳转详情 |
|
|
// 跳转详情 |
|
|
toDetail(path, params1 = '', params2 = '') { |
|
|
|
|
|
console.log(path); |
|
|
|
|
|
console.log(params1) |
|
|
|
|
|
if (path == '') return |
|
|
|
|
|
|
|
|
toDetail(path, params2 = "", name) { |
|
|
|
|
|
if (path == "") return; |
|
|
|
|
|
if (!this.hasRoute(name, this.$router.options.routes)) { |
|
|
|
|
|
this.$message.error('您没有此权限,请联系管理员添加该菜单权限') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
this.$router.push({ |
|
|
this.$router.push({ |
|
|
path: path, |
|
|
path: path, |
|
|
query: { |
|
|
query: { |
|
|
date: params1, // 筛选时间 |
|
|
|
|
|
|
|
|
date: this.customtime.join(","), // 筛选时间 |
|
|
types: params2, // 类型 |
|
|
types: params2, // 类型 |
|
|
|
|
|
}, |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 是否存在此路由 |
|
|
|
|
|
hasRoute(name, routeList) { |
|
|
|
|
|
!routeList && |
|
|
|
|
|
((routeList = this.$router.options.routes), console.log("执行")); |
|
|
|
|
|
for (let i = 0; i < routeList.length; i++) { |
|
|
|
|
|
if (routeList[i].name === name) { |
|
|
|
|
|
return true; |
|
|
|
|
|
} |
|
|
|
|
|
if (routeList[i].children) { |
|
|
|
|
|
let flag = this.hasRoute(name, routeList[i].children); |
|
|
|
|
|
if (flag) { |
|
|
|
|
|
return flag; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
return false; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
goinfo(row) { |
|
|
goinfo(row) { |
|
@@ -1201,8 +1201,6 @@ export default { |
|
|
let dang = this.getCurrentTime(); |
|
|
let dang = this.getCurrentTime(); |
|
|
let timevt = this.timestampToTime(new Date(dang).getTime() + num); |
|
|
let timevt = this.timestampToTime(new Date(dang).getTime() + num); |
|
|
let newtime = [dang, timevt]; |
|
|
let newtime = [dang, timevt]; |
|
|
// console.log(newtime) |
|
|
|
|
|
// return |
|
|
|
|
|
if (ind == 1) { |
|
|
if (ind == 1) { |
|
|
this.$router.push({ |
|
|
this.$router.push({ |
|
|
path: "/Customer/AgentManagement", |
|
|
path: "/Customer/AgentManagement", |
|
@@ -1435,7 +1433,7 @@ export default { |
|
|
confirmtime() { |
|
|
confirmtime() { |
|
|
this.statDateStart = this.customtime[0]; |
|
|
this.statDateStart = this.customtime[0]; |
|
|
this.statDateEnd = this.customtime[1]; |
|
|
this.statDateEnd = this.customtime[1]; |
|
|
console.log(this.customtime) |
|
|
|
|
|
|
|
|
console.log(this.customtime); |
|
|
this.TimetoAhoose = 5; |
|
|
this.TimetoAhoose = 5; |
|
|
if (this.role == 3) { |
|
|
if (this.role == 3) { |
|
|
this.getgicd(); |
|
|
this.getgicd(); |
|
|