|
@@ -29,6 +29,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { getFileMD5, createFileChunk } from "@/utils/file";
|
|
|
+import router from '@/router'
|
|
|
export default {
|
|
|
components: {},
|
|
|
props: {},
|
|
@@ -97,7 +98,6 @@ export default {
|
|
|
// return
|
|
|
// fileChunks = [1,2,3,4,5]
|
|
|
this.len = fileChunks.length + 3
|
|
|
-
|
|
|
getFileMD5(this.form.file, async (md5) => {
|
|
|
this.record('文件MD5:' + md5)
|
|
|
var time = new Date().getTime()
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
//跳转到任务清单
|
|
|
toTaskList() {
|
|
|
// 传专题库id是查到当前专题库的导入任务,不传是查看所有导入任务
|
|
|
- this.$router.push({
|
|
|
+ router.push({
|
|
|
path: "/taskList",
|
|
|
// query:{
|
|
|
// importToId:this.form.importToId
|