Commit 3621e8e5 authored by zhengjinlei's avatar zhengjinlei

录音文件名

parent d0942ce8
...@@ -398,8 +398,10 @@ class TasksApi(viewsets.ViewSet): ...@@ -398,8 +398,10 @@ class TasksApi(viewsets.ViewSet):
result = check['scoreItemRecord'] result = check['scoreItemRecord']
t_name = task_name_dict[check['taskId']] t_name = task_name_dict[check['taskId']]
total_score = 100 total_score = 100
extra = json.loads(check['extra'])
f_name = extra['filename'] if extra and 'filename' in extra.keys() else ''
detail = {'id': check['id'], 'sessionId': check['sessionId'], 'createdAt': check['createdAt'], detail = {'id': check['id'], 'sessionId': check['sessionId'], 'createdAt': check['createdAt'],
'area': t_name.split('_')[0], 'agentName': check['agentName'], 'filename': check['extra'], 'area': t_name.split('_')[0], 'agentName': check['agentName'], 'filename': f_name,
'remainTime': check['remainTime']} 'remainTime': check['remainTime']}
rule_detail = {'fwyy': 10, 'kcb': 10, 'jsy': 5, 'fwtd': 10, 'yssb': 5, 'jysb': 5, 'yycl': 10, rule_detail = {'fwyy': 10, 'kcb': 10, 'jsy': 5, 'fwtd': 10, 'yssb': 5, 'jysb': 5, 'yycl': 10,
'ywcc': 15, 'yyjlz': 15, 'fwjs': 5, 'wtgbj': 5, 'wzyhfljs': 5, 'wgzlf': 100, 'mgc': 100} 'ywcc': 15, 'yyjlz': 15, 'fwjs': 5, 'wtgbj': 5, 'wzyhfljs': 5, 'wgzlf': 100, 'mgc': 100}
......
...@@ -171,7 +171,8 @@ ...@@ -171,7 +171,8 @@
label="文件名" label="文件名"
width=""> width="">
<template slot-scope="scope"> <template slot-scope="scope">
<span style='cursor:pointer;' :title='scope.row.filename'>{{scope.row.filename}}</span> {# <span style='cursor:pointer;' :title='scope.row.filename'>{{scope.row.filename}}</span>#}
<span style='cursor:pointer;' :title='scope.row.filename' v-html="scope.row.filename"></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment