not change
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -320,7 +320,7 @@ class CaseController(ControllerBase):
|
||||
if payload.monitorPerson != '不替换' and payload.monitorPerson != '':
|
||||
case_qs.update(monitorPerson=payload.monitorPerson)
|
||||
|
||||
# 批量替换事件
|
||||
# 批量替换时间
|
||||
@route.post("/case/timeReplace/", url_name='case-time-replace')
|
||||
@transaction.atomic
|
||||
def bulk_replace_time(self, payload: ExetimeReplaceSchema):
|
||||
|
||||
@@ -267,9 +267,9 @@ class TestDemandController(ControllerBase):
|
||||
if len(test_items) <= 0:
|
||||
# 查询testDemand
|
||||
design_item.odField.add(TestDemand.objects.filter(id=test_item_id).first())
|
||||
return ChenResponse(status=200, code=200, message='添加关联测试项成功...')
|
||||
else:
|
||||
return ChenResponse(status=400, code=400, message='设计需求不存在,请检查...')
|
||||
return ChenResponse(status=200, code=200, message='添加关联测试项成功...')
|
||||
|
||||
# 找出已关联的测试项给前端的cascader
|
||||
@route.post('/testDemand/getExistRelatedTestDemand', url_name="testDemand-getExistRelatedTestDemand")
|
||||
|
||||
@@ -10,6 +10,7 @@ def create_list_1():
|
||||
return ['1']
|
||||
|
||||
class Project(CoreModel):
|
||||
objects = models.Manager()
|
||||
ident = models.CharField(max_length=64, blank=True, null=True, verbose_name="项目标识",
|
||||
help_text="项目标识", unique=True) # 唯一
|
||||
name = models.CharField(max_length=100, blank=True, null=True, verbose_name="项目名称", help_text="项目名称")
|
||||
|
||||
Reference in New Issue
Block a user