|
|
|
@ -46,7 +46,8 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="状态" prop="status" width="140" show-overflow-tooltip>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag v-if="scope.row.status" :type="statusFilterType(scope.row.status)">{{ status[scope.row.status] }}
|
|
|
|
|
<el-tag v-if="scope.row.status" :type="statusFilterType(scope.row.status)">
|
|
|
|
|
{{ status[scope.row.status] }}
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
@ -64,15 +65,18 @@
|
|
|
|
|
<el-button type="text" size="small" slot="reference">下载
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-popconfirm>
|
|
|
|
|
<el-popconfirm v-if="scope.row.status==4" @confirm="deleteData(scope.row.id)" confirm-button-text='删除'
|
|
|
|
|
cancel-button-text='不用了' icon="el-icon-info" icon-color="red" title="是否确认要删除这条数据?">
|
|
|
|
|
<el-popconfirm v-if="scope.row.status==4" @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>
|
|
|
|
|
</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 +104,7 @@
|
|
|
|
|
filterQuery: {
|
|
|
|
|
taskId: null,
|
|
|
|
|
id: null,
|
|
|
|
|
status: "3",
|
|
|
|
|
status: null,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
syncTime: null,
|
|
|
|
@ -225,7 +229,8 @@
|
|
|
|
|
.then(() => {
|
|
|
|
|
this.createSchedule(type);
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.createSchedule(type);
|
|
|
|
|
}
|
|
|
|
@ -248,7 +253,8 @@
|
|
|
|
|
this.$alert(response.message, '提示', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
type: "warning",
|
|
|
|
|
callback: action => {}
|
|
|
|
|
callback: action => {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
@ -284,7 +290,8 @@
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
handleChange(response, files, fileList) {
|
|
|
|
|
console.log(response);
|
|
|
|
@ -316,7 +323,6 @@
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
downFile(rows) {
|
|
|
|
|
alert(1)
|
|
|
|
|
infoByStatus({
|
|
|
|
|
'id': rows.id
|
|
|
|
|
}).then(res => {
|
|
|
|
@ -344,11 +350,13 @@
|
|
|
|
|
}
|
|
|
|
|
this.getList();
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
mounted() {},
|
|
|
|
|
mounted() {
|
|
|
|
|
},
|
|
|
|
|
components: {},
|
|
|
|
|
created() {
|
|
|
|
|
this.headers = {
|
|
|
|
|