瀏覽代碼

修改任务模块按钮显示逻辑

pull/99/head
余菲 1 年之前
父節點
當前提交
162f26d6f1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/views/task-manage/tools/table.js

+ 2
- 2
src/views/task-manage/tools/table.js 查看文件

@@ -134,7 +134,7 @@ const data = reactive({
text: true,
onClick: editHandle.bind(null, row, 'update')
},
show: row.status > 10 || row.inspectionType !== 1,
show: row.status < 11 && row.inspectionType === 1,
auth: 'task:all:edit'
},
{
@@ -145,7 +145,7 @@ const data = reactive({
onPositiveClick: deleteData.bind(null, row.id)
},
auth: 'task:all:delete',
show: row.status > 15 || row.inspectionType !== 1,
show: row.status < 16 && row.inspectionType === 1,
ButtonProps: {
text: true,
type: 'primary'

Loading…
取消
儲存