不合格审理返回decision_2 bug
This commit is contained in:
parent
801b41221e
commit
6b5b5e9911
|
@ -2,8 +2,8 @@
|
|||
ENV = 'development'
|
||||
|
||||
# base api
|
||||
#VUE_APP_BASE_API = 'http://127.0.0.1:8000/api'
|
||||
VUE_APP_BASE_API = 'http://47.95.0.242:2222/api'
|
||||
VUE_APP_BASE_API = 'http://127.0.0.1:8000/api'
|
||||
#VUE_APP_BASE_API = 'http://47.95.0.242:2222/api'
|
||||
|
||||
|
||||
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
|
||||
|
|
|
@ -46,10 +46,10 @@ def handleTicket(sender, instance, created, **kwargs):
|
|||
wp = wt.wproduct
|
||||
decision = WProduct.NG_BACK_WORK
|
||||
|
||||
if 'decision_1' in ticket_data and ticket_data['decision_1']:
|
||||
decision = ticket_data['decision_1']
|
||||
elif 'decision_2' in ticket_data and ticket_data['decision_2']:
|
||||
if 'decision_2' in ticket_data and ticket_data['decision_2']:
|
||||
decision = ticket_data['decision_2']
|
||||
elif 'decision_1' in ticket_data and ticket_data['decision_1']:
|
||||
decision = ticket_data['decision_1']
|
||||
|
||||
|
||||
wp.ng_sign = decision
|
||||
|
|
Loading…
Reference in New Issue