|
|
|
|
@ -361,7 +361,7 @@ export default {
|
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
|
handleDelete(row) {
|
|
|
|
|
const ids = row.id || this.ids
|
|
|
|
|
this.$modal.confirm('是否确认删除评分任务编号为"' + ids + '"的数据项?').then(function() {
|
|
|
|
|
this.$modal.confirm('是否确认删除该数据项?').then(function() {
|
|
|
|
|
return delVote(ids)
|
|
|
|
|
}).then(() => {
|
|
|
|
|
this.getList()
|
|
|
|
|
@ -370,9 +370,9 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
|
handleExport() {
|
|
|
|
|
/*this.download('kaohe/vote/export', {
|
|
|
|
|
this.download('kaohe/vote/export', {
|
|
|
|
|
...this.queryParams
|
|
|
|
|
}, `vote_${new Date().getTime()}.xlsx`)*/
|
|
|
|
|
}, `vote_${new Date().getTime()}.xlsx`)
|
|
|
|
|
},
|
|
|
|
|
goVotepage(row){
|
|
|
|
|
this.$router.push({ path: '/votepage', query: { id: row.id }});
|
|
|
|
|
|