|
|
|
@ -37,10 +37,7 @@
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column label="任务ID" prop="taskId" width="180" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="任务类型" prop="idDatas" width="140" show-overflow-tooltip>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ type[scope.row.idDatas] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<el-table-column label="任务类型" prop="type" width="140" show-overflow-tooltip>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column
|
|
|
|
|
label="状态"
|
|
|
|
@ -67,22 +64,27 @@
|
|
|
|
|
<el-table-column label="同步信息" prop="remark" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="文件路径" prop="cacheFilePath" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="操作" fixed="right" width="160">
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-popconfirm @confirm="downFile(scope.row)" confirm-button-text='下载' cancel-button-text='不用了'
|
|
|
|
|
class="mr10" icon="el-icon-info" icon-color="blck" title="是否确认要下载文件?"
|
|
|
|
|
v-if="scope.row.cacheFilePath">
|
|
|
|
|
<el-button type="text" size="small" slot="reference">下载
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-popconfirm>
|
|
|
|
|
<el-popconfirm @confirm="deleteData(scope.row.id)" confirm-button-text='删除'
|
|
|
|
|
cancel-button-text='不用了' icon="el-icon-info" icon-color="red" title="是否确认要删除这条数据?">
|
|
|
|
|
<el-button type="text" size="small" slot="reference">删除
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-popconfirm>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="downFile(scope.row)"
|
|
|
|
|
>下载
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.native.stop="deleteData(scope.row.id)"
|
|
|
|
|
>删除
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<el-pagination :current-page="filterQuery.page" :page-size="filterQuery.limit" @current-change="handleCurrentChange"
|
|
|
|
|
<el-pagination :current-page="filterQuery.page" :page-size="filterQuery.limit"
|
|
|
|
|
@current-change="handleCurrentChange"
|
|
|
|
|
layout="prev, pager, next" :total="total"></el-pagination>
|
|
|
|
|
</el-card>
|
|
|
|
|
|
|
|
|
@ -100,7 +102,7 @@
|
|
|
|
|
deleteUploadStatus,
|
|
|
|
|
updateConfig,
|
|
|
|
|
connectUpper,
|
|
|
|
|
uploadInfoByStatus
|
|
|
|
|
uploadInfoByStatus, infoByStatus
|
|
|
|
|
} from "../../api/sync/dataSyncStatus";
|
|
|
|
|
import store from "@/store";
|
|
|
|
|
|
|
|
|
@ -313,7 +315,8 @@
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
handleChange(response, files, fileList) {
|
|
|
|
|
console.log(response);
|
|
|
|
@ -371,11 +374,13 @@
|
|
|
|
|
}
|
|
|
|
|
this.getList();
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
mounted() {},
|
|
|
|
|
mounted() {
|
|
|
|
|
},
|
|
|
|
|
components: {},
|
|
|
|
|
created() {
|
|
|
|
|
this.headers = {
|
|
|
|
|