-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
修改手工工单逻辑, 调整详情页兼容无执行结果 #180
Conversation
LeoQuote
commented
May 8, 2019
- 手工执行工单不再单独拥有一个状态
- 详情页解析会考虑到json解析失败和json解析后为空列表等情况
* 手工执行工单不再单独拥有一个状态 * 详情页解析会考虑到json解析失败和json解析后为空列表等情况
Codecov Report
@@ Coverage Diff @@
## master #180 +/- ##
==========================================
+ Coverage 74.18% 74.26% +0.08%
==========================================
Files 62 62
Lines 6760 6778 +18
==========================================
+ Hits 5015 5034 +19
+ Misses 1745 1744 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
详情页兼容,确实没想到
review_result.rows += [ReviewResult(inception_result=r)] | ||
rows = review_result.json() | ||
except json.decoder.JSONDecodeError: | ||
review_result.rows += [ReviewResult( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这样就不会显示提交的语句了,可以考虑decode失败的就展示提交信息
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没注意这点,可以在reviewresult里加上。