Commit 3ee750f4 by 张立顺

fix 回显bug修复

1 parent 8cc457fc
......@@ -281,7 +281,8 @@ export default {
},
{
label: '当日到店量/人',
prop: 'toStoreCount',
// prop: 'toStoreCount',
prop: 'enterReceptionBatch',
width: '150px',
renderHeader: createElement => {
return createElement('div', { style: 'margin-left:-10px' }, [
......
......@@ -20,7 +20,7 @@
<label>服务商:</label>
<template v-if="queryData.serviceList">
<el-tooltip effect="dark" :content="queryData.serviceList.join('、')" placement="top-start">
<span>{{queryData.serviceList.join('、') }}</span>
<span>{{ queryData.serviceList.join('、') }}</span>
</el-tooltip>
</template>
<span v-else>-</span>
......@@ -36,18 +36,35 @@
</div>
</div>
<div class="content">
<GLCombiForm ref="showSearch" class="show-search" labelWidth="110px" :formObj="searchForm" :form-data="showFormData" @handleOk="handleSearch" @handleRest="handleReset">
<GLCombiForm ref="showSearch" class="show-search" labelWidth="110px" :formObj="searchForm"
:form-data="showFormData" @handleOk="handleSearch" @handleRest="handleReset">
<template slot="score">
<el-input-range start-placeholder="请输入" end-placeholder="请输入" :displayValue="searchForm.qualityTestScore"></el-input-range>
<el-input-range start-placeholder="请输入" end-placeholder="请输入"
:displayValue="searchForm.qualityTestScore"></el-input-range>
</template>
</GLCombiForm>
<GLTable ref="recepDetail" :get-list-api="getListApi" :hasNum="false" :search-form="searchFormSearch" :table-params="tableParams" :before-search-fn="beforeSearchFn" @setTableFinishFun="setTableFinishFun" :pageConf="pageConf">
<GLTable ref="recepDetail" :get-list-api="getListApi" :hasNum="false" :search-form="searchFormSearch"
:table-params="tableParams" :before-search-fn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"
:pageConf="pageConf">
<div slot="durationHtml" slot-scope="scope">
<template v-if="scope.scope.duration">
{{ (parseInt(scope.scope.duration) / 60000).toFixed(1) }}
</template>
<template v-else>--</template>
</div>
<div slot="scoreHtml" slot-scope="scope">
<template v-if="scope.scope.score || scope.scope.score === 0">
{{ scope.scope.score }}
</template>
<template v-else>--</template>
</div>
<template slot="auth-button" slot-scope="scope">
<el-button type="text" @click="qualitDetail(scope.scope)">质检详情</el-button>
</template>
</GLTable>
</div>
<quality-detail :isQualityVisible="isQualityVisible" v-if="isQualityVisible" :detailObj="detailObj" @closeDialog="closeDialog"></quality-detail>
<quality-detail :isQualityVisible="isQualityVisible" v-if="isQualityVisible" :detailObj="detailObj"
@closeDialog="closeDialog"></quality-detail>
</div>
</template>
<script>
......@@ -96,7 +113,7 @@ export default {
listName: 'list',
tableOption: true,
tableColumns: [
{
{
label: "接待批次",
prop: "key"
},
......@@ -110,7 +127,8 @@ export default {
},
{
label: '录音时长/分钟',
prop: 'duration'
prop: 'duration',
addHtml: 'durationHtml'
},
{
label: '预计营销结果',
......@@ -118,7 +136,8 @@ export default {
},
{
label: '话术质检评分/分',
prop: 'score'
prop: 'score',
addHtml: 'scoreHtml'
}
]
},
......@@ -217,9 +236,11 @@ export default {
<style lang="scss" scoped>
.recep-wrap {
margin: 0 16px;
.header {
width: 100%;
background: #ffffff;
h2 {
font-size: 16px;
font-weight: 600;
......@@ -231,15 +252,18 @@ export default {
padding-left: 20px;
box-sizing: border-box;
}
.info-wrap {
display: flex;
flex-wrap: wrap;
padding: 32px 20px 12px 20px;
.info-item {
width: 50%;
margin-bottom: 20px;
display: flex;
align-items: flex-start;
label {
width: 154px;
text-align: right;
......@@ -247,6 +271,7 @@ export default {
color: #666666;
display: inline-block;
}
span {
font-size: 14px;
color: #1d1d1d;
......@@ -263,6 +288,7 @@ export default {
}
}
}
.content {
background: #ffffff;
padding: 20px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!