fix bug
Showing
3 changed files
with
11 additions
and
11 deletions
... | @@ -100,10 +100,10 @@ class AdminLoginView(IWABaseView, GenericView): | ... | @@ -100,10 +100,10 @@ class AdminLoginView(IWABaseView, GenericView): |
100 | def get(self, request, *args, **kwargs): | 100 | def get(self, request, *args, **kwargs): |
101 | code = request.GET.get('code', '') | 101 | code = request.GET.get('code', '') |
102 | # is_admin = request.GET.get('state', '') == 'admin' | 102 | # is_admin = request.GET.get('state', '') == 'admin' |
103 | q_number = self.get_q_number(conf.IWA_URL, code, conf.IWA_REDIRECT_URI, client_id_base64) | 103 | q_number = self.get_q_number(conf.IWA_URL, code, conf.IWA_ADMIN_REDIRECT_URI, client_id_base64) |
104 | 104 | ||
105 | # self.running_log.info('code={0}, is_admin={1}'.format(code, is_admin)) | 105 | # self.running_log.info('code={0}, is_admin={1}'.format(code, is_admin)) |
106 | self.running_log.info('[admin_users.iwalogin] [username: {0}] [params: {1}]'.format(q_number, request.data)) | 106 | self.running_log.info('[admin_users.iwalogin] [username: {0}] [params: {1}]'.format(q_number, request.GET)) |
107 | 107 | ||
108 | is_valid, data = self.validate_admin(q_number) | 108 | is_valid, data = self.validate_admin(q_number) |
109 | 109 | ... | ... |
... | @@ -1850,7 +1850,7 @@ for _, _, _, tmp_bs_reason in BS_COMPARE_LOGIC.values(): | ... | @@ -1850,7 +1850,7 @@ for _, _, _, tmp_bs_reason in BS_COMPARE_LOGIC.values(): |
1850 | # ['承租人姓名', '承租人证件号', '承租人签字', '共同承租人姓名', '共同承租人证件号', '共同承租人签字', '保证人姓名1', '保证人证件号1', '保证人签字1', '保证人姓名2', '保证人证件号2', '保证人签字2'] | 1850 | # ['承租人姓名', '承租人证件号', '承租人签字', '共同承租人姓名', '共同承租人证件号', '共同承租人签字', '保证人姓名1', '保证人证件号1', '保证人签字1', '保证人姓名2', '保证人证件号2', '保证人签字2'] |
1851 | HIL_CONTRACT_1_COMPARE_LOGIC = { | 1851 | HIL_CONTRACT_1_COMPARE_LOGIC = { |
1852 | '合同编号-每页': ('合同编号-每页', 'se_list_compare', {}, '售后回租合同中合同编号系统不一致'), | 1852 | '合同编号-每页': ('合同编号-每页', 'se_list_compare', {}, '售后回租合同中合同编号系统不一致'), |
1853 | '合同编号-正文': ('合同编号-正文', 'se_common_compare', {}, '售后回租合同第一页正文中合同编号系统不一致'), | 1853 | '合同编号-正文': ('合同编号-正文', 'se_common_compare', {}, '售后回租合同正文中合同编号系统不一致'), |
1854 | '车辆识别代码': ('车辆识别代码', 'se_common_compare', {}, '售后回租合同车辆识别代码与系统车架号不一致'), | 1854 | '车辆识别代码': ('车辆识别代码', 'se_common_compare', {}, '售后回租合同车辆识别代码与系统车架号不一致'), |
1855 | '车辆卖方': ('车辆卖方', 'se_common_compare', {}, '售后回租合同车辆卖方与系统经销商不一致'), | 1855 | '车辆卖方': ('车辆卖方', 'se_common_compare', {}, '售后回租合同车辆卖方与系统经销商不一致'), |
1856 | '车辆原始销售价格': ('车辆原始销售价格', 'se_amount_str_compare', {}, '售后回租合同车辆原始销售价格与系统车辆价格不一致'), | 1856 | '车辆原始销售价格': ('车辆原始销售价格', 'se_amount_str_compare', {}, '售后回租合同车辆原始销售价格与系统车辆价格不一致'), | ... | ... |
... | @@ -1005,10 +1005,10 @@ class DocView(GenericView, DocHandler): | ... | @@ -1005,10 +1005,10 @@ class DocView(GenericView, DocHandler): |
1005 | 1005 | ||
1006 | 1006 | ||
1007 | class CompareResultView(GenericView): | 1007 | class CompareResultView(GenericView): |
1008 | # permission_classes = [] | 1008 | permission_classes = [] |
1009 | # authentication_classes = [] | 1009 | authentication_classes = [] |
1010 | permission_classes = [IsAuthenticated] | 1010 | # permission_classes = [IsAuthenticated] |
1011 | authentication_classes = [OAuth2AuthenticationWithUser] | 1011 | # authentication_classes = [OAuth2AuthenticationWithUser] |
1012 | 1012 | ||
1013 | # 获取比对结果 | 1013 | # 获取比对结果 |
1014 | @use_args(compare_result_args, location='querystring') | 1014 | @use_args(compare_result_args, location='querystring') |
... | @@ -1307,10 +1307,10 @@ class SEContractView(GenericView): | ... | @@ -1307,10 +1307,10 @@ class SEContractView(GenericView): |
1307 | 1307 | ||
1308 | 1308 | ||
1309 | class AutoSettlementView(GenericView): | 1309 | class AutoSettlementView(GenericView): |
1310 | # permission_classes = [] | 1310 | permission_classes = [] |
1311 | # authentication_classes = [] | 1311 | authentication_classes = [] |
1312 | permission_classes = [IsAuthenticated] | 1312 | # permission_classes = [IsAuthenticated] |
1313 | authentication_classes = [OAuth2AuthenticationWithUser] | 1313 | # authentication_classes = [OAuth2AuthenticationWithUser] |
1314 | 1314 | ||
1315 | # 获取auto settlement列表 | 1315 | # 获取auto settlement列表 |
1316 | @use_args(auto_list_args, location='querystring') | 1316 | @use_args(auto_list_args, location='querystring') | ... | ... |
-
Please register or sign in to post a comment