Commit c0fcbaff by 王志慧

fixed

1 parent b9ad2285
......@@ -30,6 +30,9 @@
</el-radio-group>
</div>
<GLTable ref="analyseTable" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams" :before-search-fn="beforeSearchFn" :pageConf="pageConf" :noDataImg="url">
<template slot="suggestions" slot-scope="scope">
<div v-html="formatSrt(scope.scope.suggestions)"></div>
</template>
<template slot="hitResult" slot-scope="scope">
<div :class="['tag', scope.scope.hitResult == 1 ? 'gre' : 'red']">
{{ scope.scope.hitResult == 1 ? '是' : '否' }}
......@@ -149,7 +152,8 @@ export default {
},
{
label: '话术建议',
prop: 'suggestions'
prop: 'suggestions',
addHtml:'suggestions'
}
]
},
......@@ -169,6 +173,9 @@ export default {
// this.getPointCategory()
},
methods: {
formatSrt(str) {
return str.replace(/\n/g, "<br/>")
},
toMinutesAndSeconds(seconds) {
seconds = Math.floor(seconds / 1000)
let formattedTime = ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!