Commit 8dd54a5a by 王志慧

fixed

1 parent 81874781
...@@ -101,6 +101,9 @@ html { ...@@ -101,6 +101,9 @@ html {
border-bottom-color: #e4e7ed !important; border-bottom-color: #e4e7ed !important;
} }
.el-popover{ .el-popover{
max-height:300px; overflow:hidden;
overflow: scroll; }
.scrollHeight{
max-height:200px!important;
overflow-y: scroll;
} }
\ No newline at end of file \ No newline at end of file
...@@ -27,7 +27,11 @@ ...@@ -27,7 +27,11 @@
<div class="dialog"> <div class="dialog">
<template v-for="item in dialogList"> <template v-for="item in dialogList">
<div :class="{ 'dialog-detail': true, 'nth-child': item.role % 2 === 1 }" :key="item.id"> <div :class="{ 'dialog-detail': true, 'nth-child': item.role % 2 === 1 }" :key="item.id">
<div class="name">角色{{ (item.role % 2) + 1 }}</div> <div class="name">
<img class="role" src="@/assets/role-one.png" v-if=" item.role % 2 === 0"/>
角色{{ (item.role % 2) + 1 }}
<img class="role" src="@/assets/role-two.png" v-if=" item.role % 2 === 1"/>
</div>
<div class="dig-content" @click="currentDialog(item)"> <div class="dig-content" @click="currentDialog(item)">
{{ item.content }} {{ item.content }}
</div> </div>
...@@ -237,9 +241,14 @@ export default { ...@@ -237,9 +241,14 @@ export default {
color: #666666; color: #666666;
letter-spacing: 0; letter-spacing: 0;
line-height: 16px; line-height: 16px;
.role {
width: 40px;
height: 40px;
vertical-align: top;
margin-right:10px;
}
} }
.dig-content { .dig-content {
margin-top: 4px;
width: 404px; width: 404px;
background: #ffffff; background: #ffffff;
border-radius: 4px; border-radius: 4px;
...@@ -248,6 +257,8 @@ export default { ...@@ -248,6 +257,8 @@ export default {
padding: 10px 12px; padding: 10px 12px;
white-space: pre-wrap; white-space: pre-wrap;
text-align: left; text-align: left;
margin-left:50px;
margin-top:-20px;
} }
} }
.nth-child { .nth-child {
...@@ -255,6 +266,7 @@ export default { ...@@ -255,6 +266,7 @@ export default {
.dig-content { .dig-content {
display: inline-block; display: inline-block;
background: #ebebff; background: #ebebff;
margin-right:56px;
} }
} }
} }
......
...@@ -34,13 +34,14 @@ ...@@ -34,13 +34,14 @@
</div> </div>
</GLCombiForm> </GLCombiForm>
<GLTable ref="qualityTable" :getListApi="getListApi" :searchForm="searchFormSearch" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :pageConf="pageConf" :noDataImg="url" @setTableFinishFun="setTableFinishFun"> <GLTable ref="qualityTable" :getListApi="getListApi" :searchForm="searchFormSearch" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :pageConf="pageConf" :noDataImg="url" @setTableFinishFun="setTableFinishFun">
<div slot="store" slot-scope="scope"> <div slot="store" slot-scope="scope">
<template v-if="scope.scope.storeList && scope.scope.storeList.length > 1"> <template v-if="scope.scope.storeList && scope.scope.storeList.length > 1">
<span>{{ scope.scope.storeList.slice(0, 1).join('') }}</span> <span>{{ scope.scope.storeList.slice(0, 1).join('') }}</span>
<el-popover placement="top" width="fit-content" trigger="hover"> <el-popover placement="top" width="fit-content" trigger="hover">
<div v-for="(item, index) in scope.scope.storeList" :key="index"> <div :class="{ 'scrollHeight': scope.scope.storeList.length >= 10 }">
{{ item }} <div v-for="(item, index) in scope.scope.storeList" :key="index" > {{ item }}</div>
</div> </div>
<span class="more-info" slot="reference">...({{ scope.scope.storeList.length }})</span> <span class="more-info" slot="reference">...({{ scope.scope.storeList.length }})</span>
</el-popover> </el-popover>
...@@ -52,7 +53,7 @@ ...@@ -52,7 +53,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 +120,13 @@ export default { ...@@ -119,16 +120,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: {
...@@ -220,7 +218,7 @@ export default { ...@@ -220,7 +218,7 @@ export default {
{ {
label: '手机号', label: '手机号',
prop: 'phoneNumber', prop: 'phoneNumber',
width: '120px' width: '125px'
}, },
{ {
label: '归属门店', label: '归属门店',
...@@ -355,8 +353,8 @@ export default { ...@@ -355,8 +353,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 => {
...@@ -471,11 +469,11 @@ export default { ...@@ -471,11 +469,11 @@ export default {
<style scoped lang='scss'> <style scoped lang='scss'>
.quality-control { .quality-control {
.header { .header {
height: 136px;
display: flex; display: flex;
align-items: center; align-items: center;
background: #ffffff; background: #ffffff;
padding: 16px 20px; padding: 16px 20px;
box-sizing: border-box;
border-bottom: 16px solid #f0f1f7; border-bottom: 16px solid #f0f1f7;
.item { .item {
width: 274px; width: 274px;
......
...@@ -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>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<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> </template>
</GLCombiForm> </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">
<template slot="auth-button" slot-scope="scope"> <template slot="auth-button" slot-scope="scope">
<el-button type="text" @click="qualitDetail(scope.scope)">质检详情</el-button> <el-button type="text" @click="qualitDetail(scope.scope)">质检详情</el-button>
</template> </template>
...@@ -96,9 +96,9 @@ export default { ...@@ -96,9 +96,9 @@ export default {
listName: 'list', listName: 'list',
tableOption: true, tableOption: true,
tableColumns: [ tableColumns: [
{ {
label: "接待批次", label: '接待批次',
prop: "key" prop: 'key'
}, },
{ {
label: '开始接待时间', label: '开始接待时间',
...@@ -252,7 +252,7 @@ export default { ...@@ -252,7 +252,7 @@ export default {
color: #1d1d1d; color: #1d1d1d;
display: inline-block; display: inline-block;
cursor: pointer; cursor: pointer;
max-width: 300px; max-width: 500px;
overflow: hidden; overflow: hidden;
/* 防止文本换行 */ /* 防止文本换行 */
white-space: nowrap; white-space: nowrap;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!