diff --git a/src/api/calibration.js b/src/api/calibration.js
index fcd2251..f9bc424 100644
--- a/src/api/calibration.js
+++ b/src/api/calibration.js
@@ -20,7 +20,7 @@ export function calibraTionImport(data) {
'Content-Type': 'multipart/form-data'
}
})
-}
+}
// 获取校准结果
export function calibraTionResult(query) {
@@ -31,8 +31,8 @@ export function calibraTionResult(query) {
})
}
-// 删除校准任务
-export function deleteCalibraTionTask(query) {
+// 删除单条校准结果
+export function deleteCalibraTionResult(query) {
return request({
url: '/media/align/result/remove',
method: 'get',
@@ -49,4 +49,13 @@ export function saveHistoryPrice(query) {
})
}
+// 导出校准结果
+export function exportCalibraTionResult(query) {
+ return request({
+ url: '/media/align/export/excel',
+ method: 'post',
+ data: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/views/mediaTool/calibrationIndex.vue b/src/views/mediaTool/calibrationIndex.vue
index f8572c9..84f06dd 100644
--- a/src/views/mediaTool/calibrationIndex.vue
+++ b/src/views/mediaTool/calibrationIndex.vue
@@ -65,7 +65,7 @@
-
@@ -73,25 +73,215 @@
{{ scope.$index + 1 }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- 新增
+
+
+ {{ scope.row.compareResult ||
+ scope.row.historyPriceCompareResult }}
+
+
+
+ {{ scope.row.compareResult ||
+ scope.row.historyPriceCompareResult }}
+
+
+
+ {{ scope.row.compareResult ||
+ scope.row.historyPriceCompareResult }}
+
-
+
-
+
删除
@@ -101,7 +291,8 @@
@@ -111,7 +302,7 @@