diff --git a/app/db/test_task_manage.py b/app/db/test_task_manage.py index 0f6a70b..defc492 100644 --- a/app/db/test_task_manage.py +++ b/app/db/test_task_manage.py @@ -2,7 +2,7 @@ from app import useDB from app.db import test_batch_manage class test_task_manage(): def test_suite_list(self): - sql = 'select id,run_type from test_suite where status in (0,2) and run_type in ("2","Chrome");' + sql = 'select id,run_type from test_suite where status in (0,2) and isDeleted = 0 and run_type in ("2","Chrome");' idList = useDB.useDB().search(sql) return idList diff --git a/app/static/scripts/core/test_suite.js b/app/static/scripts/core/test_suite.js index 9c3cce2..d471567 100644 --- a/app/static/scripts/core/test_suite.js +++ b/app/static/scripts/core/test_suite.js @@ -89,8 +89,8 @@ var TableInit = function () { var b = '关联用例 '; var e = '执行详情 '; var c = '执行 '; -// var d = '删除 '; - return a +f+b+e+c ; + var d = '删除 '; + return a +f+b+e+c+d ; } } ]