ソースを参照

reactor:工单状态为9时不能操作;

zhangchong 6 ヶ月 前
コミット
6fd211bea2
1 ファイル変更4 行追加5 行削除
  1. 4 5
      src/views/statistics/call/detailIndexCall.vue

+ 4 - 5
src/views/statistics/call/detailIndexCall.vue

@@ -1,6 +1,6 @@
 <template>
 	<div class="statistics-call-detail-index-container layout-padding">
-    <div class="layout-padding-auto layout-padding-view pd20">
+		<div class="layout-padding-auto layout-padding-view pd20">
 			<ProTable
 				ref="proTableRef"
 				:columns="columns"
@@ -19,7 +19,7 @@
 					<el-button link type="primary" @click="onDownload(row)" title="下载录音" v-if="row.recordingAbsolutePath">下载录音</el-button>
 				</template>
 				<template #orderTitle="{ row }">
-					<order-detail :order="row" @updateList="queryList">{{ row.orderTitle }}</order-detail>
+					<order-detail :order="{id:row.orderId,...row }" @updateList="queryList">{{ row.orderTitle }}</order-detail>
 				</template>
 			</ProTable>
 		</div>
@@ -137,12 +137,11 @@ const onDownload = (row: any) => {
 						.then((res: any) => {
 							downloadFileByStream(res, row.audioFile);
 						})
-						.catch(() => {
-						});
+						.catch(() => {});
 					break;
 				case 'ZiGong':
 				case 'LuZhou':
-					downloadFileBySrc( themeConfig.value.recordPrefix + row.audioFile, row.audioFile);
+					downloadFileBySrc(themeConfig.value.recordPrefix + row.audioFile, row.audioFile);
 					// window.open(themeConfig.value.recordPrefix + row.audioFile)
 					break;
 			}