Commit a2015e3d by 前端

fixed

1 parent 81874781
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
</div> </div>
<div slot="seconds" slot-scope="scope"> <div slot="seconds" slot-scope="scope">
<template v-if="scope.scope.seconds"> <template v-if="scope.scope.seconds">
{{(scope.scope.seconds/60).toFixed(1)}} {{ (scope.scope.seconds / 60).toFixed(1) }}
</template> </template>
<template v-else>--</template> <template v-else>--</template>
</div> </div>
...@@ -119,16 +119,13 @@ export default { ...@@ -119,16 +119,13 @@ export default {
} }
}, },
{ {
icon: "score", icon: 'score',
text: "话术平均质检评分", text: '话术平均质检评分',
formatter: (data) => { formatter: data => {
let strHtml = let strHtml = data.averageQualityTestScore || data.averageQualityTestScore == 0 ? `<span style="font-weight:700;font-size:26px;">${data.averageQualityTestScore}</span>分` : `<span style="font-weight:700;font-size:22px;">统计中</span>`
data.averageQualityTestScore || data.averageQualityTestScore == 0
? `<span style="font-weight:700;font-size:26px;">${data.averageQualityTestScore}</span>分`
: `<span style="font-weight:700;font-size:22px;">统计中</span>`
return strHtml return strHtml
}, },
tooltip: "统计当日所有员工的质检平均分,分值越高整体表现越好" tooltip: '统计当日所有员工的质检平均分,分值越高整体表现越好'
} }
], ],
statistics: { statistics: {
...@@ -355,8 +352,8 @@ export default { ...@@ -355,8 +352,8 @@ export default {
getServiceStore() { getServiceStore() {
this.$apis.quality this.$apis.quality
.listShop4sByRef({ .listShop4sByRef({
currentPage:1, currentPage: 1,
pageSize:99999, pageSize: 99999,
partnerMerchantId: this.$globalState.session.merchantId partnerMerchantId: this.$globalState.session.merchantId
}) })
.then(res => { .then(res => {
...@@ -368,7 +365,8 @@ export default { ...@@ -368,7 +365,8 @@ export default {
let searchdate = Util.dateFormate(val, 'YYYY-MM-DD') let searchdate = Util.dateFormate(val, 'YYYY-MM-DD')
this.$apis.quality this.$apis.quality
.statisticsEmployeeBadge({ .statisticsEmployeeBadge({
searchdate searchdate,
serviceMerchantNo: this.$globalState.session.merchantId
}) })
.then(res => { .then(res => {
this.statistics = res this.statistics = res
...@@ -468,7 +466,7 @@ export default { ...@@ -468,7 +466,7 @@ export default {
} }
} }
</script> </script>
<style scoped lang='scss'> <style scoped lang="scss">
.quality-control { .quality-control {
.header { .header {
height: 136px; height: 136px;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<label>服务商:</label> <label>服务商:</label>
<template v-if="queryData.serviceList"> <template v-if="queryData.serviceList">
<el-tooltip effect="dark" :content="queryData.serviceList.join('、')" placement="top-start"> <el-tooltip effect="dark" :content="queryData.serviceList.join('、')" placement="top-start">
<span>{{queryData.serviceList.join('、') }}</span> <span>{{ queryData.serviceList.join('、') }}</span>
</el-tooltip> </el-tooltip>
</template> </template>
<span v-else>-</span> <span v-else>-</span>
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
name: 'recepTime', name: 'recepTime',
// addHtml:'recepTime', // addHtml:'recepTime',
isClear: true, isClear: true,
pickerOptions: 'rangePickerOptions' pickerOptions: 'afterRangePickerOptions'
}, },
{ {
label: '质检评分', label: '质检评分',
...@@ -97,8 +97,8 @@ export default { ...@@ -97,8 +97,8 @@ export default {
tableOption: true, tableOption: true,
tableColumns: [ tableColumns: [
{ {
label: "接待批次", label: '接待批次',
prop: "key" prop: 'key'
}, },
{ {
label: '开始接待时间', label: '开始接待时间',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!