Commit 2918c39c by 王志慧

fixed

1 parent c0734c76
......@@ -50,6 +50,12 @@
<span v-else>{{ scope.scope.storeList.join('') }}</span>
</template>
</div>
<div slot="seconds" slot-scope="scope">
<template v-if="scope.scope.seconds">
{{(scope.scope.seconds/60).toFixed(1)}}
</template>
<template v-else>--</template>
</div>
<div slot="service" slot-scope="scope">
<template v-if="scope.scope.serviceList && scope.scope.serviceList.length > 1">
<span>{{ scope.scope.serviceList.slice(0, 1).join('') }}</span>
......@@ -165,7 +171,7 @@ export default {
{
label: '手机号',
name: 'phoneNumber',
placeholder: "请输入手机号(至少4位)",
placeholder: '请输入手机号(至少4位)',
type: 'input',
maxlength: '20',
isClear: true
......@@ -232,6 +238,7 @@ export default {
{
label: '录音时长/分钟',
prop: 'seconds',
addHtml: 'seconds',
width: '150px'
},
{
......@@ -300,7 +307,7 @@ export default {
{
label: '话术质检评分/分',
prop: 'score',
addHtml: "scoreHtml",
addHtml: 'scoreHtml',
width: '170px',
renderHeader: createElement => {
return createElement('div', { style: 'margin-left:-10px' }, [
......@@ -334,6 +341,7 @@ export default {
watch: {
'searchForm.searchdate'(newVal) {
this.statisticsEmployeeBadge(newVal)
this.$refs.qualityTable.refreshTable(true, true)
}
},
mounted() {
......@@ -362,10 +370,10 @@ export default {
},
recepDetail(row) {
if (!row.score && row.score != 0) {
this.$confirm("质检分析中,请耐心等待", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
this.$confirm('质检分析中,请耐心等待', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
return
}
......@@ -391,7 +399,7 @@ export default {
this.searchFormSearch.searchdate = Util.dateFormate(this.searchForm.searchdate, 'YYYY-MM-DD')
}
console.log(this.$global)
this.searchFormSearch.serviceMerchantNo=this.$globalState.session.merchantId
this.searchFormSearch.serviceMerchantNo = this.$globalState.session.merchantId
if (this.searchFormSearch.qualityTestScore) {
this.searchFormSearch.qualityTestScoreBegin = this.searchFormSearch.qualityTestScore[0]
this.searchFormSearch.qualityTestScoreEnd = this.searchFormSearch.qualityTestScore[1]
......@@ -425,7 +433,7 @@ export default {
})
},
handleSearch() {
if (this.searchForm.phoneNumber&&this.searchForm.phoneNumber.length < 4) {
if (this.searchForm.phoneNumber && this.searchForm.phoneNumber.length < 4) {
return
}
this.$refs.qualityTable.refreshTable(true, true)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!