|
@@ -85,6 +85,9 @@
|
|
|
<div class="value">{{ report.reportData.commentNum }}个(5个)</div>
|
|
<div class="value">{{ report.reportData.commentNum }}个(5个)</div>
|
|
|
<div class="itemDetail" @click="reportClick('commentNum')">进入点评</div>
|
|
<div class="itemDetail" @click="reportClick('commentNum')">进入点评</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="mask" v-if="report.reportLosding">
|
|
|
|
|
+ <van-loading type="spinner" color="#1989fa" />
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</van-collapse-item>
|
|
</van-collapse-item>
|
|
|
<!-- 色卡 销售员和销售部主管显示-->
|
|
<!-- 色卡 销售员和销售部主管显示-->
|
|
@@ -161,6 +164,9 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <div class="mask" v-if="pantone.pantoneLosding">
|
|
|
|
|
+ <van-loading type="spinner" color="#1989fa" />
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</van-collapse-item>
|
|
</van-collapse-item>
|
|
|
</van-collapse>
|
|
</van-collapse>
|
|
@@ -243,7 +249,7 @@ export default {
|
|
|
bagColor: '#88abda',
|
|
bagColor: '#88abda',
|
|
|
visitDetail: [
|
|
visitDetail: [
|
|
|
{
|
|
{
|
|
|
- leftTable: '进2个月拜访率:',
|
|
|
|
|
|
|
+ leftTable: '近2个月拜访率:',
|
|
|
leftProp: 'visitRateInThePastTwoMonths',
|
|
leftProp: 'visitRateInThePastTwoMonths',
|
|
|
leftUnit: '%',
|
|
leftUnit: '%',
|
|
|
leftIsClick: false,
|
|
leftIsClick: false,
|
|
@@ -260,7 +266,7 @@ export default {
|
|
|
bagColor: '#8f82bc',
|
|
bagColor: '#8f82bc',
|
|
|
visitDetail: [
|
|
visitDetail: [
|
|
|
{
|
|
{
|
|
|
- leftTable: '进3个月拜访率:',
|
|
|
|
|
|
|
+ leftTable: '近3个月拜访率:',
|
|
|
leftProp: 'visitRateInThePastThreeMonths',
|
|
leftProp: 'visitRateInThePastThreeMonths',
|
|
|
leftUnit: '%',
|
|
leftUnit: '%',
|
|
|
leftIsClick: false,
|
|
leftIsClick: false,
|
|
@@ -391,11 +397,13 @@ export default {
|
|
|
},
|
|
},
|
|
|
report: {
|
|
report: {
|
|
|
title: '',
|
|
title: '',
|
|
|
|
|
+ reportLosding: true,
|
|
|
reportData: {},
|
|
reportData: {},
|
|
|
},
|
|
},
|
|
|
pantone: {
|
|
pantone: {
|
|
|
title: '色卡',
|
|
title: '色卡',
|
|
|
tip: '',
|
|
tip: '',
|
|
|
|
|
+ pantoneLosding: true,
|
|
|
pantoneData: {},
|
|
pantoneData: {},
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
@@ -447,12 +455,14 @@ export default {
|
|
|
this.report.title = '日报';
|
|
this.report.title = '日报';
|
|
|
}
|
|
}
|
|
|
getReportTarget().then((res) => {
|
|
getReportTarget().then((res) => {
|
|
|
|
|
+ this.report.reportLosding = false;
|
|
|
this.report.reportData = res.data || {};
|
|
this.report.reportData = res.data || {};
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
getPantoneData() {
|
|
getPantoneData() {
|
|
|
if (this.empLevel == 2 || this.empLevel == 3) {
|
|
if (this.empLevel == 2 || this.empLevel == 3) {
|
|
|
getReportMaterial().then((res) => {
|
|
getReportMaterial().then((res) => {
|
|
|
|
|
+ this.pantone.pantoneLosding = false;
|
|
|
this.pantone.tip = res.data.tip;
|
|
this.pantone.tip = res.data.tip;
|
|
|
this.pantone.pantoneData = res.data;
|
|
this.pantone.pantoneData = res.data;
|
|
|
delete this.pantone.pantoneData.tip;
|
|
delete this.pantone.pantoneData.tip;
|
|
@@ -572,6 +582,16 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ .mask {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.8);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|