diff --git a/src/views/config.js b/src/views/config.js index 7aacc7c..89292da 100644 --- a/src/views/config.js +++ b/src/views/config.js @@ -239,7 +239,7 @@ var arrRe=[ rodeYLength: 100, // 通道 standardZLength: 75, // 点位标准高度,用于控制占位, 二维暂时用不到 leftOffset: 500, // 整体向右偏移量 - topOffset: 2200, // 整体向下偏移量0 + topOffset: 2100, // 整体向下偏移量0 // leftOffsetCell: -9, // 整体向右偏移单元格个数 // topOffsetCell: -8, // 整体向下偏移单元格个数 leftOffsetCell: 0, // 整体向右偏移单元格个数 diff --git a/src/views/taskManagement/index.vue b/src/views/taskManagement/index.vue index 6fc3a72..ffb4cbc 100644 --- a/src/views/taskManagement/index.vue +++ b/src/views/taskManagement/index.vue @@ -393,11 +393,21 @@ export default { buttons: [ { name: '重新下发', - event: 'handleUpdate' + event: 'handleUpdate', + disable(row, prop) { + if (row.taskStatus == '2') { + return true + } + } }, { name: '取消任务', - event: 'handleDelete' + event: 'handleDelete', + disable(row, prop) { + if (row.taskStatus == '2') { + return true + } + } } ] }