diff --git a/hb_client/.env.development b/hb_client/.env.development index 003a43c..ef83e12 100644 --- a/hb_client/.env.development +++ b/hb_client/.env.development @@ -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, diff --git a/hb_server/apps/wpm/signals.py b/hb_server/apps/wpm/signals.py index 670f9c7..9b37b54 100644 --- a/hb_server/apps/wpm/signals.py +++ b/hb_server/apps/wpm/signals.py @@ -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